You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::ListHostedZonesByVPCRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListHostedZonesByVPCRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  vpc_id: "VPCId", # required
  vpc_region: "us-east-1", # required, accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ap-east-1, me-south-1, us-gov-west-1, us-gov-east-1, us-iso-east-1, us-isob-east-1, ap-southeast-1, ap-southeast-2, ap-south-1, 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
  max_items: 1,
  next_token: "PaginationToken",
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#max_itemsInteger

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

Returns:

  • (Integer)

    (Optional) The maximum number of hosted zones that you want Amazon Route 53 to return.

#next_tokenString

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.

Returns:

  • (String)

    If the previous response included a NextToken element, the specified VPC is associated with more hosted zones.

#vpc_idString

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

Returns:

  • (String)

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

#vpc_regionString

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

Possible values:

  • us-east-1
  • us-east-2
  • us-west-1
  • us-west-2
  • eu-west-1
  • eu-west-2
  • eu-west-3
  • eu-central-1
  • ap-east-1
  • me-south-1
  • us-gov-west-1
  • us-gov-east-1
  • us-iso-east-1
  • us-isob-east-1
  • ap-southeast-1
  • ap-southeast-2
  • ap-south-1
  • 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

Returns:

  • (String)

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