« blib/lib/Paws/Route53/ListHostedZonesResponse.pm
↑ Summary
blib/lib/Paws/Route53/ListReusableDelegationSets.pm »
| 1 | |||
| 2 | package Paws::Route53::ListResourceRecordSets; | ||
| 3 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | has HostedZoneId => (is => 'ro', isa => 'Str', uri_name => 'Id', traits => ['ParamInURI'], required => 1); | |
| 5 | 2 | has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']); | |
| 6 | 2 | has StartRecordIdentifier => (is => 'ro', isa => 'Str', query_name => 'identifier', traits => ['ParamInQuery']); | |
| 7 | 2 | has StartRecordName => (is => 'ro', isa => 'Str', query_name => 'name', traits => ['ParamInQuery']); | |
| 8 | 2 | has StartRecordType => (is => 'ro', isa => 'Str', query_name => 'type', traits => ['ParamInQuery']); | |
| 9 | |||
| 10 | |||
| 11 | 2 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 2 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListResourceRecordSets'); | |
| 14 | 2 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/hostedzone/{Id}/rrset'); | |
| 15 | 2 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | |
| 16 | 2 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListResourceRecordSetsResponse'); | |
| 17 | 2 | class_has _result_key => (isa => 'Str', is => 'ro'); | |
| 18 | |||
| 19 | |||
| 20 | 2 | 1; | |
| 21 | |||
| 22 | ### main pod documentation begin ### | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | Paws::Route53::ListResourceRecordSets - Arguments for method ListResourceRecordSets on L<Paws::Route53> | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class represents the parameters used for calling the method ListResourceRecordSets on the | ||
| 31 | L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class | ||
| 32 | as arguments to method ListResourceRecordSets. | ||
| 33 | |||
| 34 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResourceRecordSets. | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | my $route53 = Paws->service('Route53'); | ||
| 39 | my $ListResourceRecordSetsResponse = $route53->ListResourceRecordSets( | ||
| 40 | HostedZoneId => 'MyResourceId', | ||
| 41 | MaxItems => 'MyPageMaxItems', # OPTIONAL | ||
| 42 | StartRecordIdentifier => 'MyResourceRecordSetIdentifier', # OPTIONAL | ||
| 43 | StartRecordName => 'MyDNSName', # OPTIONAL | ||
| 44 | StartRecordType => 'SOA', # OPTIONAL | ||
| 45 | ); | ||
| 46 | |||
| 47 | # Results: | ||
| 48 | my $IsTruncated = $ListResourceRecordSetsResponse->IsTruncated; | ||
| 49 | my $MaxItems = $ListResourceRecordSetsResponse->MaxItems; | ||
| 50 | my $NextRecordIdentifier = | ||
| 51 | $ListResourceRecordSetsResponse->NextRecordIdentifier; | ||
| 52 | my $NextRecordName = $ListResourceRecordSetsResponse->NextRecordName; | ||
| 53 | my $NextRecordType = $ListResourceRecordSetsResponse->NextRecordType; | ||
| 54 | my $ResourceRecordSets = | ||
| 55 | $ListResourceRecordSetsResponse->ResourceRecordSets; | ||
| 56 | |||
| 57 | # Returns a L<Paws::Route53::ListResourceRecordSetsResponse> object. | ||
| 58 | |||
| 59 | 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. | ||
| 60 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/ListResourceRecordSets> | ||
| 61 | |||
| 62 | =head1 ATTRIBUTES | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> HostedZoneId => Str | ||
| 66 | |||
| 67 | The ID of the hosted zone that contains the resource record sets that | ||
| 68 | you want to list. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 MaxItems => Str | ||
| 73 | |||
| 74 | (Optional) The maximum number of resource records sets to include in | ||
| 75 | the response body for this request. If the response includes more than | ||
| 76 | C<maxitems> resource record sets, the value of the C<IsTruncated> | ||
| 77 | element in the response is C<true>, and the values of the | ||
| 78 | C<NextRecordName> and C<NextRecordType> elements in the response | ||
| 79 | identify the first resource record set in the next group of C<maxitems> | ||
| 80 | resource record sets. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 StartRecordIdentifier => Str | ||
| 85 | |||
| 86 | I<Resource record sets that have a routing policy other than simple:> | ||
| 87 | If results were truncated for a given DNS name and type, specify the | ||
| 88 | value of C<NextRecordIdentifier> from the previous response to get the | ||
| 89 | next resource record set that has the current DNS name and type. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 StartRecordName => Str | ||
| 94 | |||
| 95 | The first name in the lexicographic ordering of resource record sets | ||
| 96 | that you want to list. If the specified record name doesn't exist, the | ||
| 97 | results begin with the first resource record set that has a name | ||
| 98 | greater than the value of C<name>. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head2 StartRecordType => Str | ||
| 103 | |||
| 104 | The type of resource record set to begin the record listing from. | ||
| 105 | |||
| 106 | Valid values for basic resource record sets: C<A> | C<AAAA> | C<CAA> | | ||
| 107 | C<CNAME> | C<MX> | C<NAPTR> | C<NS> | C<PTR> | C<SOA> | C<SPF> | C<SRV> | ||
| 108 | | C<TXT> | ||
| 109 | |||
| 110 | Values for weighted, latency, geolocation, and failover resource record | ||
| 111 | sets: C<A> | C<AAAA> | C<CAA> | C<CNAME> | C<MX> | C<NAPTR> | C<PTR> | | ||
| 112 | C<SPF> | C<SRV> | C<TXT> | ||
| 113 | |||
| 114 | Values for alias resource record sets: | ||
| 115 | |||
| 116 | =over | ||
| 117 | |||
| 118 | =item * | ||
| 119 | |||
| 120 | B<API Gateway custom regional API or edge-optimized API>: A | ||
| 121 | |||
| 122 | =item * | ||
| 123 | |||
| 124 | B<CloudFront distribution>: A or AAAA | ||
| 125 | |||
| 126 | =item * | ||
| 127 | |||
| 128 | B<Elastic Beanstalk environment that has a regionalized subdomain>: A | ||
| 129 | |||
| 130 | =item * | ||
| 131 | |||
| 132 | B<Elastic Load Balancing load balancer>: A | AAAA | ||
| 133 | |||
| 134 | =item * | ||
| 135 | |||
| 136 | B<S3 bucket>: A | ||
| 137 | |||
| 138 | =item * | ||
| 139 | |||
| 140 | B<VPC interface VPC endpoint>: A | ||
| 141 | |||
| 142 | =item * | ||
| 143 | |||
| 144 | B<Another resource record set in this hosted zone:> The type of the | ||
| 145 | resource record set that the alias references. | ||
| 146 | |||
| 147 | =back | ||
| 148 | |||
| 149 | Constraint: Specifying C<type> without specifying C<name> returns an | ||
| 150 | C<InvalidInput> error. | ||
| 151 | |||
| 152 | Valid values are: C<"SOA">, C<"A">, C<"TXT">, C<"NS">, C<"CNAME">, C<"MX">, C<"NAPTR">, C<"PTR">, C<"SRV">, C<"SPF">, C<"AAAA">, C<"CAA">, C<"DS"> | ||
| 153 | |||
| 154 | |||
| 155 | =head1 SEE ALSO | ||
| 156 | |||
| 157 | This class forms part of L<Paws>, documenting arguments for method ListResourceRecordSets in L<Paws::Route53> | ||
| 158 | |||
| 159 | =head1 BUGS and CONTRIBUTIONS | ||
| 160 | |||
| 161 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 162 | |||
| 163 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 164 | |||
| 165 | =cut | ||
| 166 | |||