Module Values_2.UpdateThemePermissionsRequestSource

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. awsAccountId : Values_1.AwsAccountId.t;
    (*

    The ID of the Amazon Web Services account that contains the theme.

    *)
  2. themeId : Values_0.ShortRestrictiveResourceId.t;
    (*

    The ID for the theme.

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

    A list of resource permissions to be granted for the theme.

    *)
  4. revokePermissions : UpdateResourcePermissionList.t option;
    (*

    A list of resource permissions to be revoked from the theme.

    *)
}
Sourceval context_ : string
Sourceval make : ?grantPermissions:??? -> ?revokePermissions:??? -> awsAccountId:Values_1.AwsAccountId.t -> themeId:Values_0.ShortRestrictiveResourceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of string ] list | `String of string ]) list ] list | `String of Values_1.AwsAccountId.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