blib/lib/Paws/Macie2/IamUser.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Macie2::IamUser;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', request_name => 'accountId', traits => ['NameInRequest']);
5 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
6 has PrincipalId => (is => 'ro', isa => 'Str', request_name => 'principalId', traits => ['NameInRequest']);
7 has UserName => (is => 'ro', isa => 'Str', request_name => 'userName', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Macie2::IamUser
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::Macie2::IamUser object:
27  
28 $service_obj->Method(Att1 => { AccountId => $value, ..., UserName => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::IamUser object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->AccountId
36  
37 =head1 DESCRIPTION
38  
39 Provides information about an Identity and Access Management (IAM) user
40 who performed an action on an affected resource.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 AccountId => Str
46  
47 The unique identifier for the Amazon Web Services account that's
48 associated with the IAM user who performed the action.
49  
50  
51 =head2 Arn => Str
52  
53 The Amazon Resource Name (ARN) of the principal that performed the
54 action. The last section of the ARN contains the name of the user who
55 performed the action.
56  
57  
58 =head2 PrincipalId => Str
59  
60 The unique identifier for the IAM user who performed the action.
61  
62  
63 =head2 UserName => Str
64  
65 The user name of the IAM user who performed the action.
66  
67  
68  
69 =head1 SEE ALSO
70  
71 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
72  
73 =head1 BUGS and CONTRIBUTIONS
74  
75 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
76  
77 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
78  
79 =cut
80