Updates the resource permissions for a theme¶
Description¶
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.
Usage¶
Arguments¶
-
AwsAccountId[required] The ID of the Amazon Web Services account that contains the theme.
-
ThemeId[required] The ID for the theme.
-
GrantPermissionsA list of resource permissions to be granted for the theme.
-
RevokePermissionsA list of resource permissions to be revoked from the theme.
Value¶
A list with the following syntax:
list(
ThemeId = "string",
ThemeArn = "string",
Permissions = list(
list(
Principal = "string",
Actions = list(
"string"
)
)
),
RequestId = "string",
Status = 123
)