blib/lib/Paws/AuditManager/CreateDelegationRequest.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::AuditManager::CreateDelegationRequest;
3 use Moose;
4 has Comment => (is => 'ro', isa => 'Str', request_name => 'comment', traits => ['NameInRequest']);
5 has ControlSetId => (is => 'ro', isa => 'Str', request_name => 'controlSetId', traits => ['NameInRequest']);
6 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
7 has RoleType => (is => 'ro', isa => 'Str', request_name => 'roleType', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::AuditManager::CreateDelegationRequest
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::AuditManager::CreateDelegationRequest object:
27  
28 $service_obj->Method(Att1 => { Comment => $value, ..., RoleType => $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::AuditManager::CreateDelegationRequest object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Comment
36  
37 =head1 DESCRIPTION
38  
39 A collection of attributes used to create a delegation for an
40 assessment in AWS Audit Manager.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Comment => Str
46  
47 A comment related to the delegation request.
48  
49  
50 =head2 ControlSetId => Str
51  
52 The unique identifier for the control set.
53  
54  
55 =head2 RoleArn => Str
56  
57 The Amazon Resource Name (ARN) of the IAM role.
58  
59  
60 =head2 RoleType => Str
61  
62 The type of customer persona.
63  
64 In C<CreateAssessment>, C<roleType> can only be C<PROCESS_OWNER>.
65  
66 In C<UpdateSettings>, C<roleType> can only be C<PROCESS_OWNER>.
67  
68 In C<BatchCreateDelegationByAssessment>, C<roleType> can only be
69 C<RESOURCE_OWNER>.
70  
71  
72  
73 =head1 SEE ALSO
74  
75 This class forms part of L<Paws>, describing an object used in L<Paws::AuditManager>
76  
77 =head1 BUGS and CONTRIBUTIONS
78  
79 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
80  
81 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
82  
83 =cut
84