QuickSight / Client / create_theme_alias

create_theme_alias#

QuickSight.Client.create_theme_alias(**kwargs)#

Creates a theme alias for a theme.

See also: AWS API Documentation

Request Syntax

response = client.create_theme_alias(
    AwsAccountId='string',
    ThemeId='string',
    AliasName='string',
    ThemeVersionNumber=123
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the theme for the new theme alias.

  • ThemeId (string) –

    [REQUIRED]

    An ID for the theme alias.

  • AliasName (string) –

    [REQUIRED]

    The name that you want to give to the theme alias that you are creating. The alias name can’t begin with a $ . Alias names that start with $ are reserved by Amazon QuickSight.

  • ThemeVersionNumber (integer) –

    [REQUIRED]

    The version number of the theme.

Return type:

dict

Returns:

Response Syntax

{
    'ThemeAlias': {
        'Arn': 'string',
        'AliasName': 'string',
        'ThemeVersionNumber': 123
    },
    'Status': 123,
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • ThemeAlias (dict) –

      Information about the theme alias.

      • Arn (string) –

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

      • AliasName (string) –

        The display name of the theme alias.

      • ThemeVersionNumber (integer) –

        The version number of the theme alias.

    • Status (integer) –

      The HTTP status of the request.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

Exceptions

  • QuickSight.Client.exceptions.ConflictException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.LimitExceededException

  • QuickSight.Client.exceptions.ResourceExistsException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.UnsupportedUserEditionException

  • QuickSight.Client.exceptions.InternalFailureException