QuickSight / Paginator / ListTemplateVersions

ListTemplateVersions#

class QuickSight.Paginator.ListTemplateVersions#
paginator = client.get_paginator('list_template_versions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from QuickSight.Client.list_template_versions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    AwsAccountId='string',
    TemplateId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

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

  • TemplateId (string) –

    [REQUIRED]

    The ID for the template.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • TemplateVersionSummaryList (list) –

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

      • (dict) –

        The template version.

        • Arn (string) –

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

        • VersionNumber (integer) –

          The version number of the template version.

        • CreatedTime (datetime) –

          The time that this template version was created.

        • Status (string) –

          The status of the template version.

        • Description (string) –

          The description of the template version.

    • Status (integer) –

      The HTTP status of the request.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.