Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_theme

delete_theme(**kwargs)

Deletes a theme.

See also: AWS API Documentation

Request Syntax

response = client.delete_theme(
    AwsAccountId='string',
    ThemeId='string',
    VersionNumber=123
)
Parameters
  • AwsAccountId (string) --

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the theme that you're deleting.

  • ThemeId (string) --

    [REQUIRED]

    An ID for the theme that you want to delete.

  • VersionNumber (integer) --

    The version of the theme that you want to delete.

    Note: If you don't provide a version number, you're using this call to DeleteTheme to delete all versions of the theme.
Return type

dict

Returns

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