blib/lib/Paws/AuditManager/UpdateAssessmentFramework.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::UpdateAssessmentFramework;
3 use Moose;
4 has ComplianceType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'complianceType');
5 has ControlSets => (is => 'ro', isa => 'ArrayRef[Paws::AuditManager::UpdateAssessmentFrameworkControlSet]', traits => ['NameInRequest'], request_name => 'controlSets', required => 1);
6 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description');
7 has FrameworkId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'frameworkId', required => 1);
8 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAssessmentFramework');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/assessmentFrameworks/{frameworkId}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AuditManager::UpdateAssessmentFrameworkResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AuditManager::UpdateAssessmentFramework - Arguments for method UpdateAssessmentFramework on L<Paws::AuditManager>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateAssessmentFramework on the
27 L<AWS Audit Manager|Paws::AuditManager> service. Use the attributes of this class
28 as arguments to method UpdateAssessmentFramework.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAssessmentFramework.
31  
32 =head1 SYNOPSIS
33  
34 my $auditmanager = Paws->service('AuditManager');
35 my $UpdateAssessmentFrameworkResponse =
36 $auditmanager->UpdateAssessmentFramework(
37 ControlSets => [
38 {
39 Name => 'MyControlSetName', # min: 1, max: 300
40 Controls => [
41 {
42 Id => 'MyUUID', # min: 36, max: 36; OPTIONAL
43 },
44 ...
45 ], # min: 1; OPTIONAL
46 Id => 'MyControlSetName', # min: 1, max: 300
47 },
48 ...
49 ],
50 FrameworkId => 'MyUUID',
51 Name => 'MyFrameworkName',
52 ComplianceType => 'MyComplianceType', # OPTIONAL
53 Description => 'MyFrameworkDescription', # OPTIONAL
54 );
55  
56 # Results:
57 my $Framework = $UpdateAssessmentFrameworkResponse->Framework;
58  
59 # Returns a L<Paws::AuditManager::UpdateAssessmentFrameworkResponse> object.
60  
61 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.
62 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/auditmanager/UpdateAssessmentFramework>
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 ComplianceType => Str
68  
69 The compliance type that the new custom framework supports, such as CIS
70 or HIPAA.
71  
72  
73  
74 =head2 B<REQUIRED> ControlSets => ArrayRef[L<Paws::AuditManager::UpdateAssessmentFrameworkControlSet>]
75  
76 The control sets associated with the framework.
77  
78  
79  
80 =head2 Description => Str
81  
82 The description of the framework that is to be updated.
83  
84  
85  
86 =head2 B<REQUIRED> FrameworkId => Str
87  
88 The identifier for the specified framework.
89  
90  
91  
92 =head2 B<REQUIRED> Name => Str
93  
94 The name of the framework to be updated.
95  
96  
97  
98  
99 =head1 SEE ALSO
100  
101 This class forms part of L<Paws>, documenting arguments for method UpdateAssessmentFramework in L<Paws::AuditManager>
102  
103 =head1 BUGS and CONTRIBUTIONS
104  
105 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
106  
107 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
108  
109 =cut
110