« blib/lib/Paws/Route53/EnableHostedZoneDNSSECResponse.pm
↑ Summary
blib/lib/Paws/Route53/GetAccountLimit.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Route53::GeoLocation; | ||
| 3 | use Moose; | ||
| 4 | has ContinentCode => (is => 'ro', isa => 'Str'); | ||
| 5 | has CountryCode => (is => 'ro', isa => 'Str'); | ||
| 6 | has SubdivisionCode => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Route53::GeoLocation | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Route53::GeoLocation object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ContinentCode => $value, ..., SubdivisionCode => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::GeoLocation object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ContinentCode | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | A complex type that contains information about a geographic location. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 ContinentCode => Str | ||
| 44 | |||
| 45 | The two-letter code for the continent. | ||
| 46 | |||
| 47 | Amazon Route 53 supports the following continent codes: | ||
| 48 | |||
| 49 | =over | ||
| 50 | |||
| 51 | =item * | ||
| 52 | |||
| 53 | B<AF>: Africa | ||
| 54 | |||
| 55 | =item * | ||
| 56 | |||
| 57 | B<AN>: Antarctica | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | B<AS>: Asia | ||
| 62 | |||
| 63 | =item * | ||
| 64 | |||
| 65 | B<EU>: Europe | ||
| 66 | |||
| 67 | =item * | ||
| 68 | |||
| 69 | B<OC>: Oceania | ||
| 70 | |||
| 71 | =item * | ||
| 72 | |||
| 73 | B<NA>: North America | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | B<SA>: South America | ||
| 78 | |||
| 79 | =back | ||
| 80 | |||
| 81 | Constraint: Specifying C<ContinentCode> with either C<CountryCode> or | ||
| 82 | C<SubdivisionCode> returns an C<InvalidInput> error. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 CountryCode => Str | ||
| 86 | |||
| 87 | For geolocation resource record sets, the two-letter code for a | ||
| 88 | country. | ||
| 89 | |||
| 90 | Amazon Route 53 uses the two-letter country codes that are specified in | ||
| 91 | ISO standard 3166-1 alpha-2 | ||
| 92 | (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). | ||
| 93 | |||
| 94 | |||
| 95 | =head2 SubdivisionCode => Str | ||
| 96 | |||
| 97 | For geolocation resource record sets, the two-letter code for a state | ||
| 98 | of the United States. Route 53 doesn't support any other values for | ||
| 99 | C<SubdivisionCode>. For a list of state abbreviations, see Appendix B: | ||
| 100 | TwoE<ndash>Letter State and Possession Abbreviations | ||
| 101 | (https://pe.usps.com/text/pub28/28apb.htm) on the United States Postal | ||
| 102 | Service website. | ||
| 103 | |||
| 104 | If you specify C<subdivisioncode>, you must also specify C<US> for | ||
| 105 | C<CountryCode>. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head1 SEE ALSO | ||
| 110 | |||
| 111 | This class forms part of L<Paws>, describing an object used in L<Paws::Route53> | ||
| 112 | |||
| 113 | =head1 BUGS and CONTRIBUTIONS | ||
| 114 | |||
| 115 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 116 | |||
| 117 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 118 | |||
| 119 | =cut | ||
| 120 |