| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::XRay::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::XRay::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::XRay::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::XRay::Tag object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A map that contains tag keys and tag values to attach to an AWS X-Ray | ||
| 38 | group or sampling rule. For more information about ways to use tags, | ||
| 39 | see Tagging AWS resources | ||
| 40 | (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the | ||
| 41 | I<AWS General Reference>. | ||
| 42 | |||
| 43 | The following restrictions apply to tags: | ||
| 44 | |||
| 45 | =over | ||
| 46 | |||
| 47 | =item * | ||
| 48 | |||
| 49 | Maximum number of user-applied tags per resource: 50 | ||
| 50 | |||
| 51 | =item * | ||
| 52 | |||
| 53 | Tag keys and values are case sensitive. | ||
| 54 | |||
| 55 | =item * | ||
| 56 | |||
| 57 | Don't use C<aws:> as a prefix for keys; it's reserved for AWS use. You | ||
| 58 | cannot edit or delete system tags. | ||
| 59 | |||
| 60 | =back | ||
| 61 | |||
| 62 | |||
| 63 | =head1 ATTRIBUTES | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> Key => Str | ||
| 67 | |||
| 68 | A tag key, such as C<Stage> or C<Name>. A tag key cannot be empty. The | ||
| 69 | key can be a maximum of 128 characters, and can contain only Unicode | ||
| 70 | letters, numbers, or separators, or the following special characters: | ||
| 71 | C<+ - = . _ : /> | ||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> Value => Str | ||
| 75 | |||
| 76 | An optional tag value, such as C<Production> or C<test-only>. The value | ||
| 77 | can be a maximum of 255 characters, and contain only Unicode letters, | ||
| 78 | numbers, or separators, or the following special characters: C<+ - = . | ||
| 79 | _ : /> | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head1 SEE ALSO | ||
| 84 | |||
| 85 | This class forms part of L<Paws>, describing an object used in L<Paws::XRay> | ||
| 86 | |||
| 87 | =head1 BUGS and CONTRIBUTIONS | ||
| 88 | |||
| 89 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 90 | |||
| 91 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 92 | |||
| 93 | =cut | ||
| 94 |