QuickSight / Paginator / ListTemplates

ListTemplates#

class QuickSight.Paginator.ListTemplates#
paginator = client.get_paginator('list_templates')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    AwsAccountId='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.

  • 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

{
    'TemplateSummaryList': [
        {
            'Arn': 'string',
            'TemplateId': 'string',
            'Name': 'string',
            'LatestVersionNumber': 123,
            'CreatedTime': datetime(2015, 1, 1),
            'LastUpdatedTime': datetime(2015, 1, 1)
        },
    ],
    'Status': 123,
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • TemplateSummaryList (list) –

      A structure containing information about the templates in the list.

      • (dict) –

        The template summary.

        • Arn (string) –

          A summary of a template.

        • TemplateId (string) –

          The ID of the template. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

        • Name (string) –

          A display name for the template.

        • LatestVersionNumber (integer) –

          A structure containing a list of version numbers for the template summary.

        • CreatedTime (datetime) –

          The last time that this template was created.

        • LastUpdatedTime (datetime) –

          The last time that this template was updated.

    • Status (integer) –

      The HTTP status of the request.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.