Lists all the private hosted zones that a specified VPC is associated with, regardless of which Amazon Web Services account or Amazon Web Services service owns the hosted zones. The HostedZoneOwner
structure in the response contains one of the following values:
See https://www.paws-r-sdk.com/docs/route53_list_hosted_zones_by_vpc/ for full documentation.
route53_list_hosted_zones_by_vpc(
VPCId,
VPCRegion,
MaxItems = NULL,
NextToken = NULL
)
[required] The ID of the Amazon VPC that you want to list hosted zones for.
[required] For the Amazon VPC that you specified for VPCId
, the Amazon Web
Services Region that you created the VPC in.
(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.
If the previous response included a NextToken
element, the specified
VPC is associated with more hosted zones. To get more hosted zones,
submit another
list_hosted_zones_by_vpc
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.