File Coverage

blib/lib/Paws/Route53/ListGeoLocations.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::ListGeoLocations;
3 1     1   290 use Moose;
  1     1   3  
  1         6  
  1         523  
  1         2  
  1         8  
4             has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']);
5             has StartContinentCode => (is => 'ro', isa => 'Str', query_name => 'startcontinentcode', traits => ['ParamInQuery']);
6             has StartCountryCode => (is => 'ro', isa => 'Str', query_name => 'startcountrycode', traits => ['ParamInQuery']);
7             has StartSubdivisionCode => (is => 'ro', isa => 'Str', query_name => 'startsubdivisioncode', traits => ['ParamInQuery']);
8              
9 1     1   5357 use MooseX::ClassAttribute;
  1     1   2  
  1         7  
  1         6255  
  1         3  
  1         8  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListGeoLocations');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/geolocations');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListGeoLocationsResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16            
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Route53::ListGeoLocations - Arguments for method ListGeoLocations on Paws::Route53
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method ListGeoLocations on the
28             Amazon Route 53 service. Use the attributes of this class
29             as arguments to method ListGeoLocations.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListGeoLocations.
32              
33             As an example:
34              
35             $service_obj->ListGeoLocations(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 MaxItems => Str
43              
44             (Optional) The maximum number of geolocations to be included in the
45             response body for this request. If more than C<MaxItems> geolocations
46             remain to be listed, then the value of the C<IsTruncated> element in
47             the response is C<true>.
48              
49              
50              
51             =head2 StartContinentCode => Str
52              
53             The code for the continent with which you want to start listing
54             locations that Amazon Route 53 supports for geolocation. If Amazon
55             Route 53 has already returned a page or more of results, if
56             C<IsTruncated> is true, and if C<NextContinentCode> from the previous
57             response has a value, enter that value in C<StartContinentCode> to
58             return the next page of results.
59              
60             Include C<StartContinentCode> only if you want to list continents.
61             Don't include C<StartContinentCode> when you're listing countries or
62             countries with their subdivisions.
63              
64              
65              
66             =head2 StartCountryCode => Str
67              
68             The code for the country with which you want to start listing locations
69             that Amazon Route 53 supports for geolocation. If Amazon Route 53 has
70             already returned a page or more of results, if C<IsTruncated> is
71             C<true>, and if C<NextCountryCode> from the previous response has a
72             value, enter that value in C<StartCountryCode> to return the next page
73             of results.
74              
75             Amazon Route 53 uses the two-letter country codes that are specified in
76             ISO standard 3166-1 alpha-2.
77              
78              
79              
80             =head2 StartSubdivisionCode => Str
81              
82             The code for the subdivision (for example, state or province) with
83             which you want to start listing locations that Amazon Route 53 supports
84             for geolocation. If Amazon Route 53 has already returned a page or more
85             of results, if C<IsTruncated> is C<true>, and if C<NextSubdivisionCode>
86             from the previous response has a value, enter that value in
87             C<StartSubdivisionCode> to return the next page of results.
88              
89             To list subdivisions of a country, you must include both
90             C<StartCountryCode> and C<StartSubdivisionCode>.
91              
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, documenting arguments for method ListGeoLocations in L<Paws::Route53>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106