File Coverage

blib/lib/Paws/IAM/UserDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::IAM::UserDetail;
2 1     1   622 use Moose;
  1         2  
  1         11  
3             has Arn => (is => 'ro', isa => 'Str');
4             has AttachedManagedPolicies => (is => 'ro', isa => 'ArrayRef[Paws::IAM::AttachedPolicy]');
5             has CreateDate => (is => 'ro', isa => 'Str');
6             has GroupList => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7             has Path => (is => 'ro', isa => 'Str');
8             has UserId => (is => 'ro', isa => 'Str');
9             has UserName => (is => 'ro', isa => 'Str');
10             has UserPolicyList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::PolicyDetail]');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::IAM::UserDetail
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::IAM::UserDetail object:
29              
30             $service_obj->Method(Att1 => { Arn => $value, ..., UserPolicyList => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::UserDetail object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->Arn
38              
39             =head1 DESCRIPTION
40              
41             Contains information about an IAM user, including all the user's
42             policies and all the IAM groups the user is in.
43              
44             This data type is used as a response element in the
45             GetAccountAuthorizationDetails action.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 Arn => Str
51              
52            
53              
54              
55             =head2 AttachedManagedPolicies => ArrayRef[L<Paws::IAM::AttachedPolicy>]
56              
57             A list of the managed policies attached to the user.
58              
59              
60             =head2 CreateDate => Str
61              
62             The date and time, in ISO 8601 date-time format, when the user was
63             created.
64              
65              
66             =head2 GroupList => ArrayRef[Str|Undef]
67              
68             A list of IAM groups that the user is in.
69              
70              
71             =head2 Path => Str
72              
73             The path to the user. For more information about paths, see IAM
74             Identifiers in the I<Using IAM> guide.
75              
76              
77             =head2 UserId => Str
78              
79             The stable and unique string identifying the user. For more information
80             about IDs, see IAM Identifiers in the I<Using IAM> guide.
81              
82              
83             =head2 UserName => Str
84              
85             The friendly name identifying the user.
86              
87              
88             =head2 UserPolicyList => ArrayRef[L<Paws::IAM::PolicyDetail>]
89              
90             A list of the inline policies embedded in the user.
91              
92              
93              
94             =head1 SEE ALSO
95              
96             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
97              
98             =head1 BUGS and CONTRIBUTIONS
99              
100             The source code is located here: https://github.com/pplu/aws-sdk-perl
101              
102             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
103              
104             =cut
105