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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ApplicationInsights::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::ApplicationInsights::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::ApplicationInsights::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::ApplicationInsights::Tag object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Key
34  
35 =head1 DESCRIPTION
36  
37 An object that defines the tags associated with an application. A
38 I<tag> is a label that you optionally define and associate with an
39 application. Tags can help you categorize and manage resources in
40 different ways, such as by purpose, owner, environment, or other
41 criteria.
42  
43 Each tag consists of a required I<tag key> and an associated I<tag
44 value>, both of which you define. A tag key is a general label that
45 acts as a category for a more specific tag value. A tag value acts as a
46 descriptor within a tag key. A tag key can contain as many as 128
47 characters. A tag value can contain as many as 256 characters. The
48 characters can be Unicode letters, digits, white space, or one of the
49 following symbols: _ . : / = + -. The following additional restrictions
50 apply to tags:
51  
52 =over
53  
54 =item *
55  
56 Tag keys and values are case sensitive.
57  
58 =item *
59  
60 For each associated resource, each tag key must be unique and it can
61 have only one value.
62  
63 =item *
64  
65 The C<aws:> prefix is reserved for use by AWS; you canE<rsquo>t use it
66 in any tag keys or values that you define. In addition, you can't edit
67 or remove tag keys or values that use this prefix.
68  
69 =back
70  
71  
72 =head1 ATTRIBUTES
73  
74  
75 =head2 B<REQUIRED> Key => Str
76  
77 One part of a key-value pair that defines a tag. The maximum length of
78 a tag key is 128 characters. The minimum length is 1 character.
79  
80  
81 =head2 B<REQUIRED> Value => Str
82  
83 The optional part of a key-value pair that defines a tag. The maximum
84 length of a tag value is 256 characters. The minimum length is 0
85 characters. If you don't want an application to have a specific tag
86 value, don't specify a value for this parameter.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::ApplicationInsights>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101