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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Config::PutRemediationExceptions;
3 use Moose;
4 has ConfigRuleName => (is => 'ro', isa => 'Str', required => 1);
5 has ExpirationTime => (is => 'ro', isa => 'Str');
6 has Message => (is => 'ro', isa => 'Str');
7 has ResourceKeys => (is => 'ro', isa => 'ArrayRef[Paws::Config::RemediationExceptionResourceKey]', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutRemediationExceptions');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Config::PutRemediationExceptionsResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Config::PutRemediationExceptions - Arguments for method PutRemediationExceptions on L<Paws::Config>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method PutRemediationExceptions on the
25 L<AWS Config|Paws::Config> service. Use the attributes of this class
26 as arguments to method PutRemediationExceptions.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutRemediationExceptions.
29  
30 =head1 SYNOPSIS
31  
32 my $config = Paws->service('Config');
33 my $PutRemediationExceptionsResponse = $config->PutRemediationExceptions(
34 ConfigRuleName => 'MyConfigRuleName',
35 ResourceKeys => [
36 {
37 ResourceId =>
38 'MyStringWithCharLimit1024', # min: 1, max: 1024; OPTIONAL
39 ResourceType =>
40 'MyStringWithCharLimit256', # min: 1, max: 256; OPTIONAL
41 },
42 ...
43 ],
44 ExpirationTime => '1970-01-01T01:00:00', # OPTIONAL
45 Message => 'MyStringWithCharLimit1024', # OPTIONAL
46 );
47  
48 # Results:
49 my $FailedBatches = $PutRemediationExceptionsResponse->FailedBatches;
50  
51 # Returns a L<Paws::Config::PutRemediationExceptionsResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/config/PutRemediationExceptions>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> ConfigRuleName => Str
60  
61 The name of the AWS Config rule for which you want to create
62 remediation exception.
63  
64  
65  
66 =head2 ExpirationTime => Str
67  
68 The exception is automatically deleted after the expiration date.
69  
70  
71  
72 =head2 Message => Str
73  
74 The message contains an explanation of the exception.
75  
76  
77  
78 =head2 B<REQUIRED> ResourceKeys => ArrayRef[L<Paws::Config::RemediationExceptionResourceKey>]
79  
80 An exception list of resource exception keys to be processed with the
81 current request. AWS Config adds exception for each resource key. For
82 example, AWS Config adds 3 exceptions for 3 resource keys.
83  
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, documenting arguments for method PutRemediationExceptions in L<Paws::Config>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98