« blib/lib/Paws/Route53/ListHealthChecksResponse.pm
↑ Summary
blib/lib/Paws/Route53/ListHostedZonesByVPCResponse.pm »
| 1 | |||
| 2 | package Paws::Route53::ListHostedZonesByVPC; | ||
| 3 | use Moose; | ||
| 4 | has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']); | ||
| 5 | has NextToken => (is => 'ro', isa => 'Str', query_name => 'nexttoken', traits => ['ParamInQuery']); | ||
| 6 | has VPCId => (is => 'ro', isa => 'Str', query_name => 'vpcid', traits => ['ParamInQuery'], required => 1); | ||
| 7 | has VPCRegion => (is => 'ro', isa => 'Str', query_name => 'vpcregion', traits => ['ParamInQuery'], required => 1); | ||
| 8 | |||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListHostedZonesByVPC'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/hostedzonesbyvpc'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListHostedZonesByVPCResponse'); | ||
| 16 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 17 | |||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::Route53::ListHostedZonesByVPC - Arguments for method ListHostedZonesByVPC on L<Paws::Route53> | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This class represents the parameters used for calling the method ListHostedZonesByVPC on the | ||
| 30 | L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class | ||
| 31 | as arguments to method ListHostedZonesByVPC. | ||
| 32 | |||
| 33 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListHostedZonesByVPC. | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | my $route53 = Paws->service('Route53'); | ||
| 38 | my $ListHostedZonesByVPCResponse = $route53->ListHostedZonesByVPC( | ||
| 39 | VPCId => 'MyVPCId', | ||
| 40 | VPCRegion => 'us-east-1', | ||
| 41 | MaxItems => 'MyPageMaxItems', # OPTIONAL | ||
| 42 | NextToken => 'MyPaginationToken', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $HostedZoneSummaries = | ||
| 47 | $ListHostedZonesByVPCResponse->HostedZoneSummaries; | ||
| 48 | my $MaxItems = $ListHostedZonesByVPCResponse->MaxItems; | ||
| 49 | my $NextToken = $ListHostedZonesByVPCResponse->NextToken; | ||
| 50 | |||
| 51 | # Returns a L<Paws::Route53::ListHostedZonesByVPCResponse> object. | ||
| 52 | |||
| 53 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/ListHostedZonesByVPC> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 MaxItems => Str | ||
| 60 | |||
| 61 | (Optional) The maximum number of hosted zones that you want Amazon | ||
| 62 | Route 53 to return. If the specified VPC is associated with more than | ||
| 63 | C<MaxItems> hosted zones, the response includes a C<NextToken> element. | ||
| 64 | C<NextToken> contains an encrypted token that identifies the first | ||
| 65 | hosted zone that Route 53 will return if you submit another request. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 NextToken => Str | ||
| 70 | |||
| 71 | If the previous response included a C<NextToken> element, the specified | ||
| 72 | VPC is associated with more hosted zones. To get more hosted zones, | ||
| 73 | submit another C<ListHostedZonesByVPC> request. | ||
| 74 | |||
| 75 | For the value of C<NextToken>, specify the value of C<NextToken> from | ||
| 76 | the previous response. | ||
| 77 | |||
| 78 | If the previous response didn't include a C<NextToken> element, there | ||
| 79 | are no more hosted zones to get. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> VPCId => Str | ||
| 84 | |||
| 85 | The ID of the Amazon VPC that you want to list hosted zones for. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 B<REQUIRED> VPCRegion => Str | ||
| 90 | |||
| 91 | For the Amazon VPC that you specified for C<VPCId>, the AWS Region that | ||
| 92 | you created the VPC in. | ||
| 93 | |||
| 94 | Valid values are: C<"us-east-1">, C<"us-east-2">, C<"us-west-1">, C<"us-west-2">, C<"eu-west-1">, C<"eu-west-2">, C<"eu-west-3">, C<"eu-central-1">, C<"ap-east-1">, C<"me-south-1">, C<"us-gov-west-1">, C<"us-gov-east-1">, C<"us-iso-east-1">, C<"us-isob-east-1">, C<"ap-southeast-1">, C<"ap-southeast-2">, C<"ap-south-1">, C<"ap-northeast-1">, C<"ap-northeast-2">, C<"ap-northeast-3">, C<"eu-north-1">, C<"sa-east-1">, C<"ca-central-1">, C<"cn-north-1">, C<"af-south-1">, C<"eu-south-1"> | ||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method ListHostedZonesByVPC in L<Paws::Route53> | ||
| 100 | |||
| 101 | =head1 BUGS and CONTRIBUTIONS | ||
| 102 | |||
| 103 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 104 | |||
| 105 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 106 | |||
| 107 | =cut | ||
| 108 |