blib/lib/Paws/ECS/Tag.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ECS::Tag;
3 use Moose;
4 has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']);
5 has Value => (is => 'ro', isa => 'Str', request_name => 'value', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::ECS::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::ECS::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::ECS::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.
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 either keys or values as it is reserved for AWS
78 use. You cannot edit or delete tag keys or values with this prefix.
79 Tags with this prefix do not count against your tags per resource
80 limit.
81  
82 =back
83  
84  
85 =head1 ATTRIBUTES
86  
87  
88 =head2 Key => Str
89  
90 One part of a key-value pair that make up a tag. A C<key> is a general
91 label that acts like a category for more specific tag values.
92  
93  
94 =head2 Value => Str
95  
96 The optional part of a key-value pair that make up a tag. A C<value>
97 acts as a descriptor within a tag category (key).
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, describing an object used in L<Paws::ECS>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112