QuickSight / Client / list_theme_versions

list_theme_versions#

QuickSight.Client.list_theme_versions(**kwargs)#

Lists all the versions of the themes in the current Amazon Web Services account.

See also: AWS API Documentation

Request Syntax

response = client.list_theme_versions(
    AwsAccountId='string',
    ThemeId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the themes that you’re listing.

  • ThemeId (string) –

    [REQUIRED]

    The ID for the theme.

  • NextToken (string) – The token for the next set of results, or null if there are no more results.

  • MaxResults (integer) – The maximum number of results to be returned per request.

Return type:

dict

Returns:

Response Syntax

{
    'ThemeVersionSummaryList': [
        {
            'VersionNumber': 123,
            'Arn': 'string',
            'Description': 'string',
            'CreatedTime': datetime(2015, 1, 1),
            'Status': 'CREATION_IN_PROGRESS'|'CREATION_SUCCESSFUL'|'CREATION_FAILED'|'UPDATE_IN_PROGRESS'|'UPDATE_SUCCESSFUL'|'UPDATE_FAILED'|'DELETED'
        },
    ],
    'NextToken': 'string',
    'Status': 123,
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • ThemeVersionSummaryList (list) –

      A structure containing a list of all the versions of the specified theme.

      • (dict) –

        The theme version.

        • VersionNumber (integer) –

          The version number of the theme version.

        • Arn (string) –

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

        • Description (string) –

          The description of the theme version.

        • CreatedTime (datetime) –

          The date and time that this theme version was created.

        • Status (string) –

          The status of the theme version.

    • NextToken (string) –

      The token for the next set of results, or null if there are no more results.

    • Status (integer) –

      The HTTP status of the request.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.InvalidNextTokenException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.UnsupportedUserEditionException

  • QuickSight.Client.exceptions.InternalFailureException