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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 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::UserIdentity;
3 use Moose;
4 has AssumedRole => (is => 'ro', isa => 'Paws::Macie2::AssumedRole', request_name => 'assumedRole', traits => ['NameInRequest']);
5 has AwsAccount => (is => 'ro', isa => 'Paws::Macie2::AwsAccount', request_name => 'awsAccount', traits => ['NameInRequest']);
6 has AwsService => (is => 'ro', isa => 'Paws::Macie2::AwsService', request_name => 'awsService', traits => ['NameInRequest']);
7 has FederatedUser => (is => 'ro', isa => 'Paws::Macie2::FederatedUser', request_name => 'federatedUser', traits => ['NameInRequest']);
8 has IamUser => (is => 'ro', isa => 'Paws::Macie2::IamUser', request_name => 'iamUser', traits => ['NameInRequest']);
9 has Root => (is => 'ro', isa => 'Paws::Macie2::UserIdentityRoot', request_name => 'root', traits => ['NameInRequest']);
10 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Macie2::UserIdentity
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::Macie2::UserIdentity object:
30  
31 $service_obj->Method(Att1 => { AssumedRole => $value, ..., Type => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::UserIdentity object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->AssumedRole
39  
40 =head1 DESCRIPTION
41  
42 Provides information about the type and other characteristics of an
43 entity that performed an action on an affected resource.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 AssumedRole => L<Paws::Macie2::AssumedRole>
49  
50 If the action was performed with temporary security credentials that
51 were obtained using the AssumeRole operation of the Security Token
52 Service (STS) API, the identifiers, session context, and other details
53 about the identity.
54  
55  
56 =head2 AwsAccount => L<Paws::Macie2::AwsAccount>
57  
58 If the action was performed using the credentials for another Amazon
59 Web Services account, the details of that account.
60  
61  
62 =head2 AwsService => L<Paws::Macie2::AwsService>
63  
64 If the action was performed by an Amazon Web Services account that
65 belongs to an Amazon Web Service, the name of the service.
66  
67  
68 =head2 FederatedUser => L<Paws::Macie2::FederatedUser>
69  
70 If the action was performed with temporary security credentials that
71 were obtained using the GetFederationToken operation of the Security
72 Token Service (STS) API, the identifiers, session context, and other
73 details about the identity.
74  
75  
76 =head2 IamUser => L<Paws::Macie2::IamUser>
77  
78 If the action was performed using the credentials for an Identity and
79 Access Management (IAM) user, the name and other details about the
80 user.
81  
82  
83 =head2 Root => L<Paws::Macie2::UserIdentityRoot>
84  
85 If the action was performed using the credentials for your Amazon Web
86 Services account, the details of your account.
87  
88  
89 =head2 Type => Str
90  
91 The type of entity that performed the action.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106