« blib/lib/Paws/DynamoDB/TableAutoScalingDescription.pm
↑ Summary
blib/lib/Paws/DynamoDB/TagResource.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DynamoDB::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::DynamoDB::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::DynamoDB::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::DynamoDB::Tag object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Describes a tag. A tag is a key-value pair. You can add up to 50 tags | ||
| 38 | to a single DynamoDB table. | ||
| 39 | |||
| 40 | AWS-assigned tag names and values are automatically assigned the | ||
| 41 | C<aws:> prefix, which the user cannot assign. AWS-assigned tag names do | ||
| 42 | not count towards the tag limit of 50. User-assigned tag names have the | ||
| 43 | prefix C<user:> in the Cost Allocation Report. You cannot backdate the | ||
| 44 | application of a tag. | ||
| 45 | |||
| 46 | For an overview on tagging DynamoDB resources, see Tagging for DynamoDB | ||
| 47 | (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html) | ||
| 48 | in the I<Amazon DynamoDB Developer Guide>. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> Key => Str | ||
| 54 | |||
| 55 | The key of the tag. Tag keys are case sensitive. Each DynamoDB table | ||
| 56 | can only have up to one tag with the same key. If you try to add an | ||
| 57 | existing tag (same key), the existing tag value will be updated to the | ||
| 58 | new value. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> Value => Str | ||
| 62 | |||
| 63 | The value of the tag. Tag values are case-sensitive and can be null. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB> | ||
| 70 | |||
| 71 | =head1 BUGS and CONTRIBUTIONS | ||
| 72 | |||
| 73 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 74 | |||
| 75 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 76 | |||
| 77 | =cut | ||
| 78 |