blib/lib/Paws/Config/PutRemediationConfigurations.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::Config::PutRemediationConfigurations;
3 use Moose;
4 has RemediationConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::Config::RemediationConfiguration]', required => 1);
5  
6 use MooseX::ClassAttribute;
7  
8 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutRemediationConfigurations');
9 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::PutRemediationConfigurationsResponse');
10 class_has _result_key => (isa => 'Str', is => 'ro');
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::Config::PutRemediationConfigurations - Arguments for method PutRemediationConfigurations on L<Paws::Config>
18  
19 =head1 DESCRIPTION
20  
21 This class represents the parameters used for calling the method PutRemediationConfigurations on the
22 L<AWS Config|Paws::Config> service. Use the attributes of this class
23 as arguments to method PutRemediationConfigurations.
24  
25 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutRemediationConfigurations.
26  
27 =head1 SYNOPSIS
28  
29 my $config = Paws->service('Config');
30 my $PutRemediationConfigurationsResponse =
31 $config->PutRemediationConfigurations(
32 RemediationConfigurations => [
33 {
34 ConfigRuleName => 'MyConfigRuleName', # min: 1, max: 128
35 TargetId => 'MyStringWithCharLimit256', # min: 1, max: 256
36 TargetType => 'SSM_DOCUMENT', # values: SSM_DOCUMENT
37 Arn => 'MyStringWithCharLimit1024', # min: 1, max: 1024; OPTIONAL
38 Automatic => 1, # OPTIONAL
39 CreatedByService =>
40 'MyStringWithCharLimit1024', # min: 1, max: 1024; OPTIONAL
41 ExecutionControls => {
42 SsmControls => {
43 ConcurrentExecutionRatePercentage =>
44 1, # min: 1, max: 100; OPTIONAL
45 ErrorPercentage => 1, # min: 1, max: 100; OPTIONAL
46 }, # OPTIONAL
47 }, # OPTIONAL
48 MaximumAutomaticAttempts => 1, # min: 1, max: 25; OPTIONAL
49 Parameters => {
50 'MyStringWithCharLimit256' => {
51 ResourceValue => {
52 Value => 'RESOURCE_ID', # values: RESOURCE_ID
53  
54 }, # OPTIONAL
55 StaticValue => {
56 Values => [
57 'MyStringWithCharLimit256', ... # min: 1, max: 256
58 ], # max: 25
59  
60 }, # OPTIONAL
61 }, # key: min: 1, max: 256
62 }, # max: 25; OPTIONAL
63 ResourceType => 'MyString', # OPTIONAL
64 RetryAttemptSeconds => 1, # min: 1, max: 2678000; OPTIONAL
65 TargetVersion => 'MyString', # OPTIONAL
66 },
67 ...
68 ],
69  
70 );
71  
72 # Results:
73 my $FailedBatches = $PutRemediationConfigurationsResponse->FailedBatches;
74  
75 # Returns a L<Paws::Config::PutRemediationConfigurationsResponse> object.
76  
77 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.
78 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/PutRemediationConfigurations>
79  
80 =head1 ATTRIBUTES
81  
82  
83 =head2 B<REQUIRED> RemediationConfigurations => ArrayRef[L<Paws::Config::RemediationConfiguration>]
84  
85 A list of remediation configuration objects.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method PutRemediationConfigurations in L<Paws::Config>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101