blib/lib/Paws/SSM/CreateAssociationBatch.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SSM::CreateAssociationBatch;
3 use Moose;
4 has Entries => (is => 'ro', isa => 'ArrayRef[Paws::SSM::CreateAssociationBatchRequestEntry]', required => 1);
5  
6 use MooseX::ClassAttribute;
7  
8 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAssociationBatch');
9 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::CreateAssociationBatchResult');
10 class_has _result_key => (isa => 'Str', is => 'ro');
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::SSM::CreateAssociationBatch - Arguments for method CreateAssociationBatch on L<Paws::SSM>
18  
19 =head1 DESCRIPTION
20  
21 This class represents the parameters used for calling the method CreateAssociationBatch on the
22 L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class
23 as arguments to method CreateAssociationBatch.
24  
25 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAssociationBatch.
26  
27 =head1 SYNOPSIS
28  
29 my $ssm = Paws->service('SSM');
30 my $CreateAssociationBatchResult = $ssm->CreateAssociationBatch(
31 Entries => [
32 {
33 Name => 'MyDocumentARN',
34 ApplyOnlyAtCronInterval => 1, # OPTIONAL
35 AssociationName => 'MyAssociationName', # OPTIONAL
36 AutomationTargetParameterName =>
37 'MyAutomationTargetParameterName', # min: 1, max: 50; OPTIONAL
38 CalendarNames => [ 'MyCalendarNameOrARN', ... ], # OPTIONAL
39 ComplianceSeverity => 'CRITICAL'
40 , # values: CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED; OPTIONAL
41 DocumentVersion => 'MyDocumentVersion', # OPTIONAL
42 InstanceId => 'MyInstanceId', # OPTIONAL
43 MaxConcurrency => 'MyMaxConcurrency', # min: 1, max: 7; OPTIONAL
44 MaxErrors => 'MyMaxErrors', # min: 1, max: 7; OPTIONAL
45 OutputLocation => {
46 S3Location => {
47 OutputS3BucketName =>
48 'MyS3BucketName', # min: 3, max: 63; OPTIONAL
49 OutputS3KeyPrefix => 'MyS3KeyPrefix', # max: 500; OPTIONAL
50 OutputS3Region => 'MyS3Region', # min: 3, max: 20; OPTIONAL
51 }, # OPTIONAL
52 }, # OPTIONAL
53 Parameters => { 'MyParameterName' => [ 'MyParameterValue', ... ], }
54 , # OPTIONAL
55 ScheduleExpression =>
56 'MyScheduleExpression', # min: 1, max: 256; OPTIONAL
57 SyncCompliance => 'AUTO', # values: AUTO, MANUAL; OPTIONAL
58 TargetLocations => [
59 {
60 Accounts => [ 'MyAccount', ... ], # min: 1, max: 50; OPTIONAL
61 ExecutionRoleName =>
62 'MyExecutionRoleName', # min: 1, max: 64; OPTIONAL
63 Regions => [ 'MyRegion', ... ], # min: 1, max: 50; OPTIONAL
64 TargetLocationMaxConcurrency =>
65 'MyMaxConcurrency', # min: 1, max: 7; OPTIONAL
66 TargetLocationMaxErrors =>
67 'MyMaxErrors', # min: 1, max: 7; OPTIONAL
68 },
69 ...
70 ], # min: 1, max: 100; OPTIONAL
71 Targets => [
72 {
73 Key => 'MyTargetKey', # min: 1, max: 163; OPTIONAL
74 Values => [ 'MyTargetValue', ... ], # max: 50; OPTIONAL
75 },
76 ...
77 ], # max: 5; OPTIONAL
78 },
79 ...
80 ],
81  
82 );
83  
84 # Results:
85 my $Failed = $CreateAssociationBatchResult->Failed;
86 my $Successful = $CreateAssociationBatchResult->Successful;
87  
88 # Returns a L<Paws::SSM::CreateAssociationBatchResult> object.
89  
90 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.
91 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/CreateAssociationBatch>
92  
93 =head1 ATTRIBUTES
94  
95  
96 =head2 B<REQUIRED> Entries => ArrayRef[L<Paws::SSM::CreateAssociationBatchRequestEntry>]
97  
98 One or more associations.
99  
100  
101  
102  
103 =head1 SEE ALSO
104  
105 This class forms part of L<Paws>, documenting arguments for method CreateAssociationBatch in L<Paws::SSM>
106  
107 =head1 BUGS and CONTRIBUTIONS
108  
109 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
110  
111 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
112  
113 =cut
114