| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DMS::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::DMS::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::DMS::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::DMS::Tag object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Key | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | A user-defined key-value pair that describes metadata added to an AWS | ||
| 38 | DMS resource and that is used by operations such as the following: | ||
| 39 | |||
| 40 | =over | ||
| 41 | |||
| 42 | =item * | ||
| 43 | |||
| 44 | C<AddTagsToResource> | ||
| 45 | |||
| 46 | =item * | ||
| 47 | |||
| 48 | C<ListTagsForResource> | ||
| 49 | |||
| 50 | =item * | ||
| 51 | |||
| 52 | C<RemoveTagsFromResource> | ||
| 53 | |||
| 54 | =back | ||
| 55 | |||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 Key => Str | ||
| 61 | |||
| 62 | A key is the required name of the tag. The string value can be 1-128 | ||
| 63 | Unicode characters in length and can't be prefixed with "aws:" or | ||
| 64 | "dms:". The string can only contain only the set of Unicode letters, | ||
| 65 | digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular | ||
| 66 | expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Value => Str | ||
| 70 | |||
| 71 | A value is the optional value of the tag. The string value can be 1-256 | ||
| 72 | Unicode characters in length and can't be prefixed with "aws:" or | ||
| 73 | "dms:". The string can only contain only the set of Unicode letters, | ||
| 74 | digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular | ||
| 75 | expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, describing an object used in L<Paws::DMS> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut | ||
| 90 |