blib/lib/Paws/AuditManager/Delegation.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AuditManager::Delegation;
3 use Moose;
4 has AssessmentId => (is => 'ro', isa => 'Str', request_name => 'assessmentId', traits => ['NameInRequest']);
5 has AssessmentName => (is => 'ro', isa => 'Str', request_name => 'assessmentName', traits => ['NameInRequest']);
6 has Comment => (is => 'ro', isa => 'Str', request_name => 'comment', traits => ['NameInRequest']);
7 has ControlSetId => (is => 'ro', isa => 'Str', request_name => 'controlSetId', traits => ['NameInRequest']);
8 has CreatedBy => (is => 'ro', isa => 'Str', request_name => 'createdBy', traits => ['NameInRequest']);
9 has CreationTime => (is => 'ro', isa => 'Str', request_name => 'creationTime', traits => ['NameInRequest']);
10 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
11 has LastUpdated => (is => 'ro', isa => 'Str', request_name => 'lastUpdated', traits => ['NameInRequest']);
12 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
13 has RoleType => (is => 'ro', isa => 'Str', request_name => 'roleType', traits => ['NameInRequest']);
14 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AuditManager::Delegation
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::AuditManager::Delegation object:
34  
35 $service_obj->Method(Att1 => { AssessmentId => $value, ..., Status => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::AuditManager::Delegation object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->AssessmentId
43  
44 =head1 DESCRIPTION
45  
46 The assignment of a control set to a delegate for review.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 AssessmentId => Str
52  
53 The identifier for the associated assessment.
54  
55  
56 =head2 AssessmentName => Str
57  
58 The name of the associated assessment.
59  
60  
61 =head2 Comment => Str
62  
63 The comment related to the delegation.
64  
65  
66 =head2 ControlSetId => Str
67  
68 The identifier for the associated control set.
69  
70  
71 =head2 CreatedBy => Str
72  
73 The IAM user or role that created the delegation.
74  
75  
76 =head2 CreationTime => Str
77  
78 Specifies when the delegation was created.
79  
80  
81 =head2 Id => Str
82  
83 The unique identifier for the delegation.
84  
85  
86 =head2 LastUpdated => Str
87  
88 Specifies when the delegation was last updated.
89  
90  
91 =head2 RoleArn => Str
92  
93 The Amazon Resource Name (ARN) of the IAM role.
94  
95  
96 =head2 RoleType => Str
97  
98 The type of customer persona.
99  
100 In C<CreateAssessment>, C<roleType> can only be C<PROCESS_OWNER>.
101  
102 In C<UpdateSettings>, C<roleType> can only be C<PROCESS_OWNER>.
103  
104 In C<BatchCreateDelegationByAssessment>, C<roleType> can only be
105 C<RESOURCE_OWNER>.
106  
107  
108 =head2 Status => Str
109  
110 The status of the delegation.
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, describing an object used in L<Paws::AuditManager>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125