blib/lib/Paws/Config/PutOrganizationConformancePack.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Config::PutOrganizationConformancePack;
3 use Moose;
4 has ConformancePackInputParameters => (is => 'ro', isa => 'ArrayRef[Paws::Config::ConformancePackInputParameter]');
5 has DeliveryS3Bucket => (is => 'ro', isa => 'Str');
6 has DeliveryS3KeyPrefix => (is => 'ro', isa => 'Str');
7 has ExcludedAccounts => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has OrganizationConformancePackName => (is => 'ro', isa => 'Str', required => 1);
9 has TemplateBody => (is => 'ro', isa => 'Str');
10 has TemplateS3Uri => (is => 'ro', isa => 'Str');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutOrganizationConformancePack');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::PutOrganizationConformancePackResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Config::PutOrganizationConformancePack - Arguments for method PutOrganizationConformancePack on L<Paws::Config>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method PutOrganizationConformancePack on the
28 L<AWS Config|Paws::Config> service. Use the attributes of this class
29 as arguments to method PutOrganizationConformancePack.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutOrganizationConformancePack.
32  
33 =head1 SYNOPSIS
34  
35 my $config = Paws->service('Config');
36 my $PutOrganizationConformancePackResponse =
37 $config->PutOrganizationConformancePack(
38 OrganizationConformancePackName => 'MyOrganizationConformancePackName',
39 ConformancePackInputParameters => [
40 {
41 ParameterName => 'MyParameterName', # max: 255
42 ParameterValue => 'MyParameterValue', # max: 4096
43  
44 },
45 ...
46 ], # OPTIONAL
47 DeliveryS3Bucket => 'MyDeliveryS3Bucket', # OPTIONAL
48 DeliveryS3KeyPrefix => 'MyDeliveryS3KeyPrefix', # OPTIONAL
49 ExcludedAccounts => [ 'MyAccountId', ... ], # OPTIONAL
50 TemplateBody => 'MyTemplateBody', # OPTIONAL
51 TemplateS3Uri => 'MyTemplateS3Uri', # OPTIONAL
52 );
53  
54 # Results:
55 my $OrganizationConformancePackArn =
56 $PutOrganizationConformancePackResponse->OrganizationConformancePackArn;
57  
58 # Returns a L<Paws::Config::PutOrganizationConformancePackResponse> object.
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/PutOrganizationConformancePack>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 ConformancePackInputParameters => ArrayRef[L<Paws::Config::ConformancePackInputParameter>]
67  
68 A list of C<ConformancePackInputParameter> objects.
69  
70  
71  
72 =head2 DeliveryS3Bucket => Str
73  
74 Amazon S3 bucket where AWS Config stores conformance pack templates.
75  
76 This field is optional. If used, it must be prefixed with
77 C<awsconfigconforms>.
78  
79  
80  
81 =head2 DeliveryS3KeyPrefix => Str
82  
83 The prefix for the Amazon S3 bucket.
84  
85 This field is optional.
86  
87  
88  
89 =head2 ExcludedAccounts => ArrayRef[Str|Undef]
90  
91 A list of AWS accounts to be excluded from an organization conformance
92 pack while deploying a conformance pack.
93  
94  
95  
96 =head2 B<REQUIRED> OrganizationConformancePackName => Str
97  
98 Name of the organization conformance pack you want to create.
99  
100  
101  
102 =head2 TemplateBody => Str
103  
104 A string containing full conformance pack template body. Structure
105 containing the template body with a minimum length of 1 byte and a
106 maximum length of 51,200 bytes.
107  
108  
109  
110 =head2 TemplateS3Uri => Str
111  
112 Location of file containing the template body. The uri must point to
113 the conformance pack template (max size: 300 KB).
114  
115 You must have access to read Amazon S3 bucket.
116  
117  
118  
119  
120 =head1 SEE ALSO
121  
122 This class forms part of L<Paws>, documenting arguments for method PutOrganizationConformancePack in L<Paws::Config>
123  
124 =head1 BUGS and CONTRIBUTIONS
125  
126 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
127  
128 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
129  
130 =cut
131