describe_theme_permissions
(**kwargs)¶Describes the read and write permissions for a theme.
See also: AWS API Documentation
Request Syntax
response = client.describe_theme_permissions(
AwsAccountId='string',
ThemeId='string'
)
[REQUIRED]
The ID of the Amazon Web Services account that contains the theme that you're describing.
[REQUIRED]
The ID for the theme that you want to describe permissions for.
dict
Response Syntax
{
'ThemeId': 'string',
'ThemeArn': 'string',
'Permissions': [
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
'RequestId': 'string',
'Status': 123
}
Response Structure
(dict) --
ThemeId (string) --
The ID for the theme.
ThemeArn (string) --
The Amazon Resource Name (ARN) of the theme.
Permissions (list) --
A list of resource permissions set on the theme.
(dict) --
Permission for the resource.
Principal (string) --
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
Actions (list) --
The IAM action to grant or revoke permissions on.
RequestId (string) --
The Amazon Web Services request ID for this operation.
Status (integer) --
The HTTP status of the request.
Exceptions
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.InternalFailureException