File Coverage

blib/lib/Paws/Route53/ListResourceRecordSets.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Route53::ListResourceRecordSets;
3 1     1   436 use Moose;
  1         2  
  1         8  
4             has HostedZoneId => (is => 'ro', isa => 'Str', uri_name => 'Id', traits => ['ParamInURI'], required => 1);
5             has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']);
6             has StartRecordIdentifier => (is => 'ro', isa => 'Str', query_name => 'identifier', traits => ['ParamInQuery']);
7             has StartRecordName => (is => 'ro', isa => 'Str', query_name => 'name', traits => ['ParamInQuery']);
8             has StartRecordType => (is => 'ro', isa => 'Str', query_name => 'type', traits => ['ParamInQuery']);
9              
10 1     1   5924 use MooseX::ClassAttribute;
  1         4  
  1         10  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListResourceRecordSets');
13             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/hostedzone/{Id}/rrset');
14             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListResourceRecordSetsResponse');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17            
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::Route53::ListResourceRecordSets - Arguments for method ListResourceRecordSets on Paws::Route53
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method ListResourceRecordSets on the
29             Amazon Route 53 service. Use the attributes of this class
30             as arguments to method ListResourceRecordSets.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResourceRecordSets.
33              
34             As an example:
35              
36             $service_obj->ListResourceRecordSets(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 B<REQUIRED> HostedZoneId => Str
44              
45             The ID of the hosted zone that contains the resource record sets that
46             you want to list.
47              
48              
49              
50             =head2 MaxItems => Str
51              
52             (Optional) The maximum number of resource records sets to include in
53             the response body for this request. If the response includes more than
54             C<maxitems> resource record sets, the value of the C<IsTruncated>
55             element in the response is C<true>, and the values of the
56             C<NextRecordName> and C<NextRecordType> elements in the response
57             identify the first resource record set in the next group of C<maxitems>
58             resource record sets.
59              
60              
61              
62             =head2 StartRecordIdentifier => Str
63              
64             I<Weighted resource record sets only:> If results were truncated for a
65             given DNS name and type, specify the value of C<NextRecordIdentifier>
66             from the previous response to get the next resource record set that has
67             the current DNS name and type.
68              
69              
70              
71             =head2 StartRecordName => Str
72              
73             The first name in the lexicographic ordering of resource record sets
74             that you want to list.
75              
76              
77              
78             =head2 StartRecordType => Str
79              
80             The type of resource record set to begin the record listing from.
81              
82             Valid values for basic resource record sets: C<A> | C<AAAA> | C<CAA> |
83             C<CNAME> | C<MX> | C<NAPTR> | C<NS> | C<PTR> | C<SOA> | C<SPF> | C<SRV>
84             | C<TXT>
85              
86             Values for weighted, latency, geo, and failover resource record sets:
87             C<A> | C<AAAA> | C<CAA> | C<CNAME> | C<MX> | C<NAPTR> | C<PTR> | C<SPF>
88             | C<SRV> | C<TXT>
89              
90             Values for alias resource record sets:
91              
92             =over
93              
94             =item *
95              
96             B<CloudFront distribution>: A or AAAA
97              
98             =item *
99              
100             B<Elastic Beanstalk environment that has a regionalized subdomain>: A
101              
102             =item *
103              
104             B<ELB load balancer>: A | AAAA
105              
106             =item *
107              
108             B<Amazon S3 bucket>: A
109              
110             =item *
111              
112             B<Another resource record set in this hosted zone:> The type of the
113             resource record set that the alias references.
114              
115             =back
116              
117             Constraint: Specifying C<type> without specifying C<name> returns an
118             C<InvalidInput> error.
119              
120             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">
121              
122              
123             =head1 SEE ALSO
124              
125             This class forms part of L<Paws>, documenting arguments for method ListResourceRecordSets in L<Paws::Route53>
126              
127             =head1 BUGS and CONTRIBUTIONS
128              
129             The source code is located here: https://github.com/pplu/aws-sdk-perl
130              
131             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
132              
133             =cut
134