File Coverage

blib/lib/Paws/Route53/GetGeoLocation.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::GetGeoLocation;
3 1     1   410 use Moose;
  1         2  
  1         6  
4             has ContinentCode => (is => 'ro', isa => 'Str', query_name => 'continentcode', traits => ['ParamInQuery']);
5             has CountryCode => (is => 'ro', isa => 'Str', query_name => 'countrycode', traits => ['ParamInQuery']);
6             has SubdivisionCode => (is => 'ro', isa => 'Str', query_name => 'subdivisioncode', traits => ['ParamInQuery']);
7              
8 1     1   5909 use MooseX::ClassAttribute;
  1         2  
  1         8  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetGeoLocation');
11             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/geolocation');
12             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::GetGeoLocationResponse');
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::GetGeoLocation - Arguments for method GetGeoLocation on Paws::Route53
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method GetGeoLocation on the
27             Amazon Route 53 service. Use the attributes of this class
28             as arguments to method GetGeoLocation.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetGeoLocation.
31              
32             As an example:
33              
34             $service_obj->GetGeoLocation(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 ContinentCode => Str
42              
43             Amazon Route 53 supports the following continent codes:
44              
45             =over
46              
47             =item *
48              
49             B<AF>: Africa
50              
51             =item *
52              
53             B<AN>: Antarctica
54              
55             =item *
56              
57             B<AS>: Asia
58              
59             =item *
60              
61             B<EU>: Europe
62              
63             =item *
64              
65             B<OC>: Oceania
66              
67             =item *
68              
69             B<NA>: North America
70              
71             =item *
72              
73             B<SA>: South America
74              
75             =back
76              
77              
78              
79              
80             =head2 CountryCode => Str
81              
82             Amazon Route 53 uses the two-letter country codes that are specified in
83             ISO standard 3166-1 alpha-2.
84              
85              
86              
87             =head2 SubdivisionCode => Str
88              
89             Amazon Route 53 uses the one- to three-letter subdivision codes that
90             are specified in ISO standard 3166-1 alpha-2. Amazon Route 53 doesn't
91             support subdivision codes for all countries. If you specify
92             C<SubdivisionCode>, you must also specify C<CountryCode>.
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, documenting arguments for method GetGeoLocation in L<Paws::Route53>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108