blib/lib/Paws/CloudFormation/DescribeStackResourceDrifts.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::CloudFormation::DescribeStackResourceDrifts;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int');
5 has NextToken => (is => 'ro', isa => 'Str');
6 has StackName => (is => 'ro', isa => 'Str', required => 1);
7 has StackResourceDriftStatusFilters => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeStackResourceDrifts');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::DescribeStackResourceDriftsOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeStackResourceDriftsResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CloudFormation::DescribeStackResourceDrifts - Arguments for method DescribeStackResourceDrifts on L<Paws::CloudFormation>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeStackResourceDrifts on the
25 L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class
26 as arguments to method DescribeStackResourceDrifts.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeStackResourceDrifts.
29  
30 =head1 SYNOPSIS
31  
32 my $cloudformation = Paws->service('CloudFormation');
33 my $DescribeStackResourceDriftsOutput =
34 $cloudformation->DescribeStackResourceDrifts(
35 StackName => 'MyStackNameOrId',
36 MaxResults => 1, # OPTIONAL
37 NextToken => 'MyNextToken', # OPTIONAL
38 StackResourceDriftStatusFilters => [
39 'IN_SYNC', ... # values: IN_SYNC, MODIFIED, DELETED, NOT_CHECKED
40 ], # OPTIONAL
41 );
42  
43 # Results:
44 my $NextToken = $DescribeStackResourceDriftsOutput->NextToken;
45 my $StackResourceDrifts =
46 $DescribeStackResourceDriftsOutput->StackResourceDrifts;
47  
48 # Returns a L<Paws::CloudFormation::DescribeStackResourceDriftsOutput> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudformation/DescribeStackResourceDrifts>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 MaxResults => Int
57  
58 The maximum number of results to be returned with a single call. If the
59 number of available results exceeds this maximum, the response includes
60 a C<NextToken> value that you can assign to the C<NextToken> request
61 parameter to get the next set of results.
62  
63  
64  
65 =head2 NextToken => Str
66  
67 A string that identifies the next page of stack resource drift results.
68  
69  
70  
71 =head2 B<REQUIRED> StackName => Str
72  
73 The name of the stack for which you want drift information.
74  
75  
76  
77 =head2 StackResourceDriftStatusFilters => ArrayRef[Str|Undef]
78  
79 The resource drift status values to use as filters for the resource
80 drift results returned.
81  
82 =over
83  
84 =item *
85  
86 C<DELETED>: The resource differs from its expected template
87 configuration in that the resource has been deleted.
88  
89 =item *
90  
91 C<MODIFIED>: One or more resource properties differ from their expected
92 template values.
93  
94 =item *
95  
96 C<IN_SYNC>: The resources's actual configuration matches its expected
97 template configuration.
98  
99 =item *
100  
101 C<NOT_CHECKED>: AWS CloudFormation does not currently return this
102 value.
103  
104 =back
105  
106  
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method DescribeStackResourceDrifts in L<Paws::CloudFormation>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121