| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Forecast::Tag; | ||
| 3 | use Moose; | ||
| 4 | has Key => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Value => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Forecast::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::Forecast::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::Forecast::Tag object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The optional metadata that you apply to a resource to help you | ||
| 38 | categorize and organize them. Each tag consists of a key and an | ||
| 39 | optional value, both of which you define. | ||
| 40 | |||
| 41 | The following basic restrictions apply to tags: | ||
| 42 | |||
| 43 | =over | ||
| 44 | |||
| 45 | =item * | ||
| 46 | |||
| 47 | Maximum number of tags per resource - 50. | ||
| 48 | |||
| 49 | =item * | ||
| 50 | |||
| 51 | For each resource, each tag key must be unique, and each tag key can | ||
| 52 | have only one value. | ||
| 53 | |||
| 54 | =item * | ||
| 55 | |||
| 56 | Maximum key length - 128 Unicode characters in UTF-8. | ||
| 57 | |||
| 58 | =item * | ||
| 59 | |||
| 60 | Maximum value length - 256 Unicode characters in UTF-8. | ||
| 61 | |||
| 62 | =item * | ||
| 63 | |||
| 64 | If your tagging schema is used across multiple services and resources, | ||
| 65 | remember that other services may have restrictions on allowed | ||
| 66 | characters. Generally allowed characters are: letters, numbers, and | ||
| 67 | spaces representable in UTF-8, and the following characters: + - = . _ | ||
| 68 | : / @. | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | Tag keys and values are case sensitive. | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | Do not use C<aws:>, C<AWS:>, or any upper or lowercase combination of | ||
| 77 | such as a prefix for keys as it is reserved for AWS use. You cannot | ||
| 78 | edit or delete tag keys with this prefix. Values can have this prefix. | ||
| 79 | If a tag value has C<aws> as its prefix but the key does not, then | ||
| 80 | Forecast considers it to be a user tag and will count against the limit | ||
| 81 | of 50 tags. Tags with only the key prefix of C<aws> do not count | ||
| 82 | against your tags per resource limit. | ||
| 83 | |||
| 84 | =back | ||
| 85 | |||
| 86 | |||
| 87 | =head1 ATTRIBUTES | ||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> Key => Str | ||
| 91 | |||
| 92 | One part of a key-value pair that makes up a tag. A C<key> is a general | ||
| 93 | label that acts like a category for more specific tag values. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 B<REQUIRED> Value => Str | ||
| 97 | |||
| 98 | The optional part of a key-value pair that makes up a tag. A C<value> | ||
| 99 | acts as a descriptor within a tag category (key). | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head1 SEE ALSO | ||
| 104 | |||
| 105 | This class forms part of L<Paws>, describing an object used in L<Paws::Forecast> | ||
| 106 | |||
| 107 | =head1 BUGS and CONTRIBUTIONS | ||
| 108 | |||
| 109 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 110 | |||
| 111 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 112 | |||
| 113 | =cut | ||
| 114 |