| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Athena::Tag; | ||
| 3 | use Moose; | ||
| 4 | has Key => (is => 'ro', isa => 'Str'); | ||
| 5 | has Value => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Athena::Tag | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Athena::Tag object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Key => $value, ..., Value => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Athena::Tag object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A label that you assign to a resource. In Athena, a resource can be a | ||
| 38 | workgroup or data catalog. Each tag consists of a key and an optional | ||
| 39 | value, both of which you define. For example, you can use tags to | ||
| 40 | categorize Athena workgroups or data catalogs by purpose, owner, or | ||
| 41 | environment. Use a consistent set of tag keys to make it easier to | ||
| 42 | search and filter workgroups or data catalogs in your account. For best | ||
| 43 | practices, see Tagging Best Practices | ||
| 44 | (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/). | ||
| 45 | Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values | ||
| 46 | can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and | ||
| 47 | numbers representable in UTF-8, and the following characters: + - = . _ | ||
| 48 | : / @. Tag keys and values are case-sensitive. Tag keys must be unique | ||
| 49 | per resource. If you specify more than one tag, separate them by | ||
| 50 | commas. | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Key => Str | ||
| 56 | |||
| 57 | A tag key. The tag key length is from 1 to 128 Unicode characters in | ||
| 58 | UTF-8. You can use letters and numbers representable in UTF-8, and the | ||
| 59 | following characters: + - = . _ : / @. Tag keys are case-sensitive and | ||
| 60 | must be unique per resource. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 Value => Str | ||
| 64 | |||
| 65 | A tag value. The tag value length is from 0 to 256 Unicode characters | ||
| 66 | in UTF-8. You can use letters and numbers representable in UTF-8, and | ||
| 67 | the following characters: + - = . _ : / @. Tag values are | ||
| 68 | case-sensitive. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::Athena> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |