Route53GlobalResolver / Paginator / ListAccessTokens

ListAccessTokens

class Route53GlobalResolver.Paginator.ListAccessTokens
paginator = client.get_paginator('list_access_tokens')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Route53GlobalResolver.Client.list_access_tokens().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    dnsViewId='string',
    filters={
        'string': [
            'string',
        ]
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • dnsViewId (string) –

    [REQUIRED]

    The ID of the DNS view to list the tokens for.

  • filters (dict) –

    Filtering parameters.

    • (string) –

      • (list) –

        • (string) –

  • 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

{
    'accessTokens': [
        {
            'id': 'string',
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'dnsViewId': 'string',
            'expiresAt': datetime(2015, 1, 1),
            'globalResolverId': 'string',
            'name': 'string',
            'status': 'CREATING'|'OPERATIONAL'|'DELETING',
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • accessTokens (list) –

      List of the tokens.

      • (dict) –

        Summary information about a token.

        • id (string) –

          The unique identifier of the token.

        • arn (string) –

          The Amazon Resource Name (ARN) of the token.

        • createdAt (datetime) –

          The date and time when the token was created.

        • dnsViewId (string) –

          The ID of the DNS view associated with the token.

        • expiresAt (datetime) –

          The date and time when the token expires.

        • globalResolverId (string) –

          The ID of the global resolver associated with the token.

        • name (string) –

          The name of the token.

        • status (string) –

          The current status of the token.

        • updatedAt (datetime) –

          The date and time when the token was last updated.

    • NextToken (string) –

      A token to resume pagination.