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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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)


4939
4940
4941
4942
4943
4944
4945
4946
# File 'lib/aws-sdk-route53/types.rb', line 4939

class ListHostedZonesByVPCRequest < Struct.new(
  :vpc_id,
  :vpc_region,
  :max_items,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#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)


4939
4940
4941
4942
4943
4944
4945
4946
# File 'lib/aws-sdk-route53/types.rb', line 4939

class ListHostedZonesByVPCRequest < Struct.new(
  :vpc_id,
  :vpc_region,
  :max_items,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

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

Returns:

  • (String)


4939
4940
4941
4942
4943
4944
4945
4946
# File 'lib/aws-sdk-route53/types.rb', line 4939

class ListHostedZonesByVPCRequest < Struct.new(
  :vpc_id,
  :vpc_region,
  :max_items,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_regionString

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

Returns:

  • (String)


4939
4940
4941
4942
4943
4944
4945
4946
# File 'lib/aws-sdk-route53/types.rb', line 4939

class ListHostedZonesByVPCRequest < Struct.new(
  :vpc_id,
  :vpc_region,
  :max_items,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end