Module Values_2.UpdateThemePermissionsResponseSource

Updates the resource permissions for a theme. Permissions apply to the action to grant or revoke permissions on, for example "quicksight:DescribeTheme". Theme permissions apply in groupings. Valid groupings include the following for the three levels of permissions, which are user, owner, or no permissions: User "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases" "quicksight:ListThemeVersions" Owner "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases" "quicksight:ListThemeVersions" "quicksight:DeleteTheme" "quicksight:UpdateTheme" "quicksight:CreateThemeAlias" "quicksight:DeleteThemeAlias" "quicksight:UpdateThemeAlias" "quicksight:UpdateThemePermissions" "quicksight:DescribeThemePermissions" To specify no permissions, omit the permissions list.

Sourcetype nonrec t = {
  1. themeId : Values_0.ShortRestrictiveResourceId.t option;
    (*

    The ID for the theme.

    *)
  2. themeArn : Values_0.Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the theme.

    *)
  3. permissions : UpdateResourcePermissionList.t option;
    (*

    The resulting list of resource permissions for the theme.

    *)
  4. requestId : Values_0.String_.t option;
    (*

    The Amazon Web Services request ID for this operation.

    *)
  5. status : Values_1.StatusCode.t option;
    (*

    The HTTP status of the request.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `InternalFailureException of Values_1.InternalFailureException.t
  3. | `InvalidParameterValueException of Values_1.InvalidParameterValueException.t
  4. | `LimitExceededException of Values_1.LimitExceededException.t
  5. | `ResourceNotFoundException of Values_1.ResourceNotFoundException.t
  6. | `ThrottlingException of Values_1.ThrottlingException.t
  7. | `UnsupportedUserEditionException of Values_1.UnsupportedUserEditionException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?themeId:??? -> ?themeArn:??? -> ?permissions:??? -> ?requestId:??? -> ?status:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalFailureException of Values_1.InternalFailureException.t | `InvalidParameterValueException of Values_1.InvalidParameterValueException.t | `LimitExceededException of Values_1.LimitExceededException.t | `ResourceNotFoundException of Values_1.ResourceNotFoundException.t | `ThrottlingException of Values_1.ThrottlingException.t | `Unknown_operation_error of string * string option | `UnsupportedUserEditionException of Values_1.UnsupportedUserEditionException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalFailureException of Values_1.InternalFailureException.t | `InvalidParameterValueException of Values_1.InvalidParameterValueException.t | `LimitExceededException of Values_1.LimitExceededException.t | `ResourceNotFoundException of Values_1.ResourceNotFoundException.t | `ThrottlingException of Values_1.ThrottlingException.t | `Unknown_operation_error of string * string option | `UnsupportedUserEditionException of Values_1.UnsupportedUserEditionException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Values_1.StatusCode.t | `List of [> `Structure of (string * [> `List of [> `String of string ] list | `String of string ]) list ] list | `String of Values_0.ShortRestrictiveResourceId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t