Route53 / Paginator / ListVPCAssociationAuthorizations

ListVPCAssociationAuthorizations#

class Route53.Paginator.ListVPCAssociationAuthorizations#
paginator = client.get_paginator('list_vpc_association_authorizations')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Route53.Client.list_vpc_association_authorizations().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.

  • MaxResults (string) – Optional: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don’t specify a value for MaxResults, Route 53 returns up to 50 VPCs per page.

  • 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.

    • StartingToken (string) –

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

Return type:

dict

Returns:

Response Syntax

{
    'HostedZoneId': 'string',
    'VPCs': [
        {
            'VPCRegion': 'us-east-1'|'us-east-2'|'us-west-1'|'us-west-2'|'eu-west-1'|'eu-west-2'|'eu-west-3'|'eu-central-1'|'eu-central-2'|'ap-east-1'|'me-south-1'|'us-gov-west-1'|'us-gov-east-1'|'us-iso-east-1'|'us-iso-west-1'|'us-isob-east-1'|'me-central-1'|'ap-southeast-1'|'ap-southeast-2'|'ap-southeast-3'|'ap-south-1'|'ap-south-2'|'ap-northeast-1'|'ap-northeast-2'|'ap-northeast-3'|'eu-north-1'|'sa-east-1'|'ca-central-1'|'cn-north-1'|'af-south-1'|'eu-south-1'|'eu-south-2'|'ap-southeast-4'|'il-central-1',
            'VPCId': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    A complex type that contains the response information for the request.

    • HostedZoneId (string) –

      The ID of the hosted zone that you can associate the listed VPCs with.

    • VPCs (list) –

      The list of VPCs that are authorized to be associated with the specified hosted zone.

      • (dict) –

        (Private hosted zones only) A complex type that contains information about an Amazon VPC.

        If you associate a private hosted zone with an Amazon VPC when you make a CreateHostedZone request, the following parameters are also required.

        • VPCRegion (string) –

          (Private hosted zones only) The region that an Amazon VPC was created in.

        • VPCId (string) –

          (Private hosted zones only) The ID of an Amazon VPC.