(self, value)
Updates the current available permissions.

        Args:
            value (Sequence[str]): The updated value of the available permissions.

        Raises:
            TypeError: If the value is not a list of strings.
            ValueError: If the value is not valid.
Updates the current available permissions.
Updates the current available permissions .
def available_permissions(self, value):
        """Updates the current available permissions.

        Args:
            value (Sequence[str]): The updated value of the available permissions.

        Raises:
            TypeError: If the value is not a list of strings.
            ValueError: If the value is not valid.
        """
        for available_permission in value:
            if not isinstance(available_permission, six.string_types):
                raise TypeError(
                    "Provided available_permissions are not a list of strings."
                )
            if available_permission.find("inRole:") != 0:
                raise ValueError(
                    "available_permissions must be prefixed with 'inRole:'."
                )
        # Make a copy of the original list.
        self._available_permissions = list(value)
def available_permissions ( self , value ) : for available_permission in value : if not isinstance ( available_permission , six . string_types ) : raise TypeError ( "Provided available_permissions are not a list of strings." ) if available_permission . find ( "inRole:" ) != 0 : raise ValueError ( "available_permissions must be prefixed with 'inRole:'." ) # Make a copy of the original list. self . _available_permissions = list ( value )