Route53GlobalResolver / Paginator / ListHostedZoneAssociations

ListHostedZoneAssociations

class Route53GlobalResolver.Paginator.ListHostedZoneAssociations
paginator = client.get_paginator('list_hosted_zone_associations')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Amazon Resource Name (ARN) of the DNS view.

  • 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

{
    'hostedZoneAssociations': [
        {
            'id': 'string',
            'resourceArn': 'string',
            'hostedZoneId': 'string',
            'hostedZoneName': 'string',
            'name': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'status': 'CREATING'|'OPERATIONAL'|'DELETING'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • hostedZoneAssociations (list) –

      List of the private hosted zone associations.

      • (dict) –

        Summary information about a hosted zone association.

        • id (string) –

          The unique identifier of the hosted zone association.

        • resourceArn (string) –

          The Amazon Resource Name (ARN) of the resource associated with the hosted zone.

        • hostedZoneId (string) –

          The ID of the hosted zone.

        • hostedZoneName (string) –

          The name of the hosted zone.

        • name (string) –

          The name of the hosted zone association.

        • createdAt (datetime) –

          The date and time when the hosted zone association was created.

        • updatedAt (datetime) –

          The date and time when the hosted zone association was last updated.

        • status (string) –

          The current status of the hosted zone association.

    • NextToken (string) –

      A token to resume pagination.