QuickSight.Client.
delete_theme
(**kwargs)¶Deletes a theme.
See also: AWS API Documentation
Request Syntax
response = client.delete_theme(
AwsAccountId='string',
ThemeId='string',
VersionNumber=123
)
[REQUIRED]
The ID of the Amazon Web Services account that contains the theme that you're deleting.
[REQUIRED]
An ID for the theme that you want to delete.
The version of the theme that you want to delete.
Note: If you don't provide a version number, you're using this call toDeleteTheme
to delete all versions of the theme.
dict
Response Syntax
{
'Arn': 'string',
'RequestId': 'string',
'Status': 123,
'ThemeId': 'string'
}
Response Structure
(dict) --
Arn (string) --
The Amazon Resource Name (ARN) of the resource.
RequestId (string) --
The Amazon Web Services request ID for this operation.
Status (integer) --
The HTTP status of the request.
ThemeId (string) --
An ID for the theme.
Exceptions
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.ConflictException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.InternalFailureException