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   420 use Moose;
  1         2  
  1         7  
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   6128 use MooseX::ClassAttribute;
  1         3  
  1         8  
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<CNAME>
83             | C<MX> | C<NAPTR> | C<NS> | C<PTR> | C<SOA> | C<SPF> | C<SRV> | C<TXT>
84              
85             Values for weighted, latency, geo, and failover resource record sets:
86             C<A> | C<AAAA> | C<CNAME> | C<MX> | C<NAPTR> | C<PTR> | C<SPF> | C<SRV>
87             | C<TXT>
88              
89             Values for alias resource record sets:
90              
91             =over
92              
93             =item *
94              
95             B<CloudFront distribution>: A or AAAA
96              
97             =item *
98              
99             B<Elastic Beanstalk environment that has a regionalized subdomain>: A
100              
101             =item *
102              
103             B<ELB load balancer>: A | AAAA
104              
105             =item *
106              
107             B<Amazon S3 bucket>: A
108              
109             =back
110              
111             Constraint: Specifying C<type> without specifying C<name> returns an
112             C<InvalidInput> error.
113              
114             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">
115              
116              
117             =head1 SEE ALSO
118              
119             This class forms part of L<Paws>, documenting arguments for method ListResourceRecordSets in L<Paws::Route53>
120              
121             =head1 BUGS and CONTRIBUTIONS
122              
123             The source code is located here: https://github.com/pplu/aws-sdk-perl
124              
125             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
126              
127             =cut
128