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