File Coverage

blib/lib/Paws/Route53/ListHostedZonesByName.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Route53::ListHostedZonesByName;
3 1     1   363 use Moose;
  1     1   4  
  1         9  
  1         492  
  1         2  
  1         9  
4             has DNSName => (is => 'ro', isa => 'Str', query_name => 'dnsname', traits => ['ParamInQuery']);
5             has HostedZoneId => (is => 'ro', isa => 'Str', query_name => 'hostedzoneid', traits => ['ParamInQuery']);
6             has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']);
7              
8 1     1   5931 use MooseX::ClassAttribute;
  1     1   3  
  1         9  
  1         6242  
  1         3  
  1         8  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListHostedZonesByName');
11             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/hostedzonesbyname');
12             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListHostedZonesByNameResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15            
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Route53::ListHostedZonesByName - Arguments for method ListHostedZonesByName on Paws::Route53
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method ListHostedZonesByName on the
27             Amazon Route 53 service. Use the attributes of this class
28             as arguments to method ListHostedZonesByName.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListHostedZonesByName.
31              
32             As an example:
33              
34             $service_obj->ListHostedZonesByName(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 DNSName => Str
42              
43             (Optional) For your first request to C<ListHostedZonesByName>, include
44             the C<dnsname> parameter only if you want to specify the name of the
45             first hosted zone in the response. If you don't include the C<dnsname>
46             parameter, Amazon Route 53 returns all of the hosted zones that were
47             created by the current AWS account, in ASCII order. For subsequent
48             requests, include both C<dnsname> and C<hostedzoneid> parameters. For
49             C<dnsname>, specify the value of C<NextDNSName> from the previous
50             response.
51              
52              
53              
54             =head2 HostedZoneId => Str
55              
56             (Optional) For your first request to C<ListHostedZonesByName>, do not
57             include the C<hostedzoneid> parameter.
58              
59             If you have more hosted zones than the value of C<maxitems>,
60             C<ListHostedZonesByName> returns only the first C<maxitems> hosted
61             zones. To get the next group of C<maxitems> hosted zones, submit
62             another request to C<ListHostedZonesByName> and include both C<dnsname>
63             and C<hostedzoneid> parameters. For the value of C<hostedzoneid>,
64             specify the value of the C<NextHostedZoneId> element from the previous
65             response.
66              
67              
68              
69             =head2 MaxItems => Str
70              
71             The maximum number of hosted zones to be included in the response body
72             for this request. If you have more than C<maxitems> hosted zones, then
73             the value of the C<IsTruncated> element in the response is true, and
74             the values of C<NextDNSName> and C<NextHostedZoneId> specify the first
75             hosted zone in the next group of C<maxitems> hosted zones.
76              
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, documenting arguments for method ListHostedZonesByName in L<Paws::Route53>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91