« blib/lib/Paws/ECR/StartLifecyclePolicyPreviewResponse.pm
↑ Summary
blib/lib/Paws/ECR/TagResource.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ECR::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::ECR::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::ECR::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::ECR::Tag object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The metadata that you apply to a resource to help you categorize and | ||
| 38 | organize them. Each tag consists of a key and an optional value, both | ||
| 39 | of which you define. Tag keys can have a maximum character length of | ||
| 40 | 128 characters, and tag values can have a maximum length of 256 | ||
| 41 | characters. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Key => Str | ||
| 47 | |||
| 48 | One part of a key-value pair that make up a tag. A C<key> is a general | ||
| 49 | label that acts like a category for more specific tag values. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Value => Str | ||
| 53 | |||
| 54 | The optional part of a key-value pair that make up a tag. A C<value> | ||
| 55 | acts as a descriptor within a tag category (key). | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head1 SEE ALSO | ||
| 60 | |||
| 61 | This class forms part of L<Paws>, describing an object used in L<Paws::ECR> | ||
| 62 | |||
| 63 | =head1 BUGS and CONTRIBUTIONS | ||
| 64 | |||
| 65 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 66 | |||
| 67 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 68 | |||
| 69 | =cut | ||
| 70 |