delete_theme_alias

delete_theme_alias(**kwargs)

Deletes the version of the theme that the specified theme alias points to. If you provide a specific alias, you delete the version of the theme that the alias points to.

See also: AWS API Documentation

Request Syntax

response = client.delete_theme_alias(
    AwsAccountId='string',
    ThemeId='string',
    AliasName='string'
)
Parameters
  • AwsAccountId (string) --

    [REQUIRED]

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

  • ThemeId (string) --

    [REQUIRED]

    The ID for the theme that the specified alias is for.

  • AliasName (string) --

    [REQUIRED]

    The unique name for the theme alias to delete.

Return type

dict

Returns

Response Syntax

{
    'AliasName': 'string',
    'Arn': 'string',
    'RequestId': 'string',
    'Status': 123,
    'ThemeId': 'string'
}

Response Structure

  • (dict) --

    • AliasName (string) --

      The name for the theme alias.

    • Arn (string) --

      The Amazon Resource Name (ARN) of the theme resource using the deleted alias.

    • 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 associated with the deletion.

Exceptions

  • QuickSight.Client.exceptions.ConflictException
  • QuickSight.Client.exceptions.InvalidParameterValueException
  • QuickSight.Client.exceptions.ResourceNotFoundException
  • QuickSight.Client.exceptions.ThrottlingException
  • QuickSight.Client.exceptions.UnsupportedUserEditionException
  • QuickSight.Client.exceptions.InternalFailureException