Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface ListHostedZonesByVPCRequest

Lists all the private hosted zones that a specified VPC is associated with, regardless of which Amazon Web Services account created the hosted zones.



MaxItems?: number

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If the specified VPC is associated with more than MaxItems hosted zones, the response includes a NextToken element. NextToken contains an encrypted token that identifies the first hosted zone that Route 53 will return if you submit another request.

NextToken?: string

If the previous response included a NextToken element, the specified VPC is associated with more hosted zones. To get more hosted zones, submit another ListHostedZonesByVPC request.

For the value of NextToken, specify the value of NextToken from the previous response.

If the previous response didn't include a NextToken element, there are no more hosted zones to get.

VPCId: undefined | string

The ID of the Amazon VPC that you want to list hosted zones for.

VPCRegion: undefined | string

For the Amazon VPC that you specified for VPCId, the Amazon Web Services Region that you created the VPC in.