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

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AuditManager::UpdateAssessmentControl;
3 use Moose;
4 has AssessmentId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'assessmentId', required => 1);
5 has CommentBody => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'commentBody');
6 has ControlId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'controlId', required => 1);
7 has ControlSetId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'controlSetId', required => 1);
8 has ControlStatus => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'controlStatus');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAssessmentControl');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AuditManager::UpdateAssessmentControlResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AuditManager::UpdateAssessmentControl - Arguments for method UpdateAssessmentControl on L<Paws::AuditManager>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateAssessmentControl on the
27 L<AWS Audit Manager|Paws::AuditManager> service. Use the attributes of this class
28 as arguments to method UpdateAssessmentControl.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAssessmentControl.
31  
32 =head1 SYNOPSIS
33  
34 my $auditmanager = Paws->service('AuditManager');
35 my $UpdateAssessmentControlResponse =
36 $auditmanager->UpdateAssessmentControl(
37 AssessmentId => 'MyUUID',
38 ControlId => 'MyUUID',
39 ControlSetId => 'MyControlSetId',
40 CommentBody => 'MyControlCommentBody', # OPTIONAL
41 ControlStatus => 'UNDER_REVIEW', # OPTIONAL
42 );
43  
44 # Results:
45 my $Control = $UpdateAssessmentControlResponse->Control;
46  
47 # Returns a L<Paws::AuditManager::UpdateAssessmentControlResponse> object.
48  
49 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/auditmanager/UpdateAssessmentControl>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 B<REQUIRED> AssessmentId => Str
56  
57 The identifier for the specified assessment.
58  
59  
60  
61 =head2 CommentBody => Str
62  
63 The comment body text for the specified control.
64  
65  
66  
67 =head2 B<REQUIRED> ControlId => Str
68  
69 The identifier for the specified control.
70  
71  
72  
73 =head2 B<REQUIRED> ControlSetId => Str
74  
75 The identifier for the specified control set.
76  
77  
78  
79 =head2 ControlStatus => Str
80  
81 The status of the specified control.
82  
83 Valid values are: C<"UNDER_REVIEW">, C<"REVIEWED">, C<"INACTIVE">
84  
85  
86 =head1 SEE ALSO
87  
88 This class forms part of L<Paws>, documenting arguments for method UpdateAssessmentControl in L<Paws::AuditManager>
89  
90 =head1 BUGS and CONTRIBUTIONS
91  
92 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
93  
94 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
95  
96 =cut
97