blib/lib/Paws/IAM/Tag.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/IAM/SummaryMapType.pm ↑ Summary blib/lib/Paws/IAM/User.pm »
1 # Generated by default/object.tt
2 package Paws::IAM::Tag;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Key => (is => 'ro', isa => 'Str', required => 1);
5 1 has Value => (is => 'ro', isa => 'Str', required => 1);
6  
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::IAM::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::IAM::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::IAM::Tag object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Key
34  
35 =head1 DESCRIPTION
36  
37 A structure that represents user-provided metadata that can be
38 associated with an IAM resource. For more information about tagging,
39 see Tagging IAM resources
40 (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the
41 I<IAM User Guide>.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 B<REQUIRED> Key => Str
47  
48 The key name that can be used to look up or retrieve the associated
49 value. For example, C<Department> or C<Cost Center> are common choices.
50  
51  
52 =head2 B<REQUIRED> Value => Str
53  
54 The value associated with this tag. For example, tags with a key name
55 of C<Department> could have values such as C<Human Resources>,
56 C<Accounting>, and C<Support>. Tags with a key name of C<Cost Center>
57 might have values that consist of the number associated with the
58 different cost centers in your company. Typically, many resources have
59 tags with the same key name but with different values.
60  
61 AWS always interprets the tag C<Value> as a single string. If you need
62 to store an array, you can store comma-separated values in the string.
63 However, you must interpret the value in your code.
64  
65  
66  
67 =head1 SEE ALSO
68  
69 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
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  
« blib/lib/Paws/IAM/SummaryMapType.pm ↑ Summary blib/lib/Paws/IAM/User.pm »