blib/lib/Paws/IAM/UserDetail.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IAM::UserDetail;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has AttachedManagedPolicies => (is => 'ro', isa => 'ArrayRef[Paws::IAM::AttachedPolicy]');
6 has CreateDate => (is => 'ro', isa => 'Str');
7 has GroupList => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has Path => (is => 'ro', isa => 'Str');
9 has PermissionsBoundary => (is => 'ro', isa => 'Paws::IAM::AttachedPermissionsBoundary');
10 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Tag]');
11 has UserId => (is => 'ro', isa => 'Str');
12 has UserName => (is => 'ro', isa => 'Str');
13 has UserPolicyList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::PolicyDetail]');
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::IAM::UserDetail
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::IAM::UserDetail object:
33  
34 $service_obj->Method(Att1 => { Arn => $value, ..., UserPolicyList => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::UserDetail object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->Arn
42  
43 =head1 DESCRIPTION
44  
45 Contains information about an IAM user, including all the user's
46 policies and all the IAM groups the user is in.
47  
48 This data type is used as a response element in the
49 GetAccountAuthorizationDetails operation.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Arn => Str
55  
56  
57  
58  
59 =head2 AttachedManagedPolicies => ArrayRef[L<Paws::IAM::AttachedPolicy>]
60  
61 A list of the managed policies attached to the user.
62  
63  
64 =head2 CreateDate => Str
65  
66 The date and time, in ISO 8601 date-time format
67 (http://www.iso.org/iso/iso8601), when the user was created.
68  
69  
70 =head2 GroupList => ArrayRef[Str|Undef]
71  
72 A list of IAM groups that the user is in.
73  
74  
75 =head2 Path => Str
76  
77 The path to the user. For more information about paths, see IAM
78 identifiers
79 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
80 in the I<IAM User Guide>.
81  
82  
83 =head2 PermissionsBoundary => L<Paws::IAM::AttachedPermissionsBoundary>
84  
85 The ARN of the policy used to set the permissions boundary for the
86 user.
87  
88 For more information about permissions boundaries, see Permissions
89 boundaries for IAM identities
90 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
91 in the I<IAM User Guide>.
92  
93  
94 =head2 Tags => ArrayRef[L<Paws::IAM::Tag>]
95  
96 A list of tags that are associated with the user. For more information
97 about tagging, see Tagging IAM resources
98 (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the
99 I<IAM User Guide>.
100  
101  
102 =head2 UserId => Str
103  
104 The stable and unique string identifying the user. For more information
105 about IDs, see IAM identifiers
106 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
107 in the I<IAM User Guide>.
108  
109  
110 =head2 UserName => Str
111  
112 The friendly name identifying the user.
113  
114  
115 =head2 UserPolicyList => ArrayRef[L<Paws::IAM::PolicyDetail>]
116  
117 A list of the inline policies embedded in the user.
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132