« blib/lib/Paws/Route53/GetDNSSECResponse.pm
↑ Summary
blib/lib/Paws/Route53/GetGeoLocationResponse.pm »
| 1 | |||
| 2 | package Paws::Route53::GetGeoLocation; | ||
| 3 | use Moose; | ||
| 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 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetGeoLocation'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/geolocation'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::GetGeoLocationResponse'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | |||
| 17 | |||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::Route53::GetGeoLocation - Arguments for method GetGeoLocation on L<Paws::Route53> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method GetGeoLocation on the | ||
| 29 | L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class | ||
| 30 | as arguments to method GetGeoLocation. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetGeoLocation. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $route53 = Paws->service('Route53'); | ||
| 37 | my $GetGeoLocationResponse = $route53->GetGeoLocation( | ||
| 38 | ContinentCode => 'MyGeoLocationContinentCode', # OPTIONAL | ||
| 39 | CountryCode => 'MyGeoLocationCountryCode', # OPTIONAL | ||
| 40 | SubdivisionCode => 'MyGeoLocationSubdivisionCode', # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | # Results: | ||
| 44 | my $GeoLocationDetails = $GetGeoLocationResponse->GeoLocationDetails; | ||
| 45 | |||
| 46 | # Returns a L<Paws::Route53::GetGeoLocationResponse> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/GetGeoLocation> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 ContinentCode => Str | ||
| 55 | |||
| 56 | For geolocation resource record sets, a two-letter abbreviation that | ||
| 57 | identifies a continent. Amazon Route 53 supports the following | ||
| 58 | continent codes: | ||
| 59 | |||
| 60 | =over | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | B<AF>: Africa | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | B<AN>: Antarctica | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | B<AS>: Asia | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | B<EU>: Europe | ||
| 77 | |||
| 78 | =item * | ||
| 79 | |||
| 80 | B<OC>: Oceania | ||
| 81 | |||
| 82 | =item * | ||
| 83 | |||
| 84 | B<NA>: North America | ||
| 85 | |||
| 86 | =item * | ||
| 87 | |||
| 88 | B<SA>: South America | ||
| 89 | |||
| 90 | =back | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head2 CountryCode => Str | ||
| 96 | |||
| 97 | Amazon Route 53 uses the two-letter country codes that are specified in | ||
| 98 | ISO standard 3166-1 alpha-2 | ||
| 99 | (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 SubdivisionCode => Str | ||
| 104 | |||
| 105 | The code for the subdivision, such as a particular state within the | ||
| 106 | United States. For a list of US state abbreviations, see Appendix B: | ||
| 107 | TwoE<ndash>Letter State and Possession Abbreviations | ||
| 108 | (https://pe.usps.com/text/pub28/28apb.htm) on the United States Postal | ||
| 109 | Service website. For a list of all supported subdivision codes, use the | ||
| 110 | ListGeoLocations | ||
| 111 | (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListGeoLocations.html) | ||
| 112 | API. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | =head1 SEE ALSO | ||
| 118 | |||
| 119 | This class forms part of L<Paws>, documenting arguments for method GetGeoLocation in L<Paws::Route53> | ||
| 120 | |||
| 121 | =head1 BUGS and CONTRIBUTIONS | ||
| 122 | |||
| 123 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 124 | |||
| 125 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 126 | |||
| 127 | =cut | ||
| 128 |