line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::CloudFormation; |
2
|
1
|
|
|
1
|
|
7010
|
use Moose; |
|
1
|
|
|
3
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
3246
|
|
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
21
|
|
3
|
16
|
|
|
16
|
0
|
66
|
sub service { 'cloudformation' } |
4
|
1
|
|
|
1
|
0
|
5
|
sub version { '2010-05-15' } |
5
|
3
|
|
|
3
|
0
|
21
|
sub flattened_arrays { 0 } |
6
|
|
|
|
|
|
|
has max_attempts => (is => 'ro', isa => 'Int', default => 5); |
7
|
|
|
|
|
|
|
has retry => (is => 'ro', isa => 'HashRef', default => sub { |
8
|
|
|
|
|
|
|
{ base => 'rand', type => 'exponential', growth_factor => 2 } |
9
|
|
|
|
|
|
|
}); |
10
|
|
|
|
|
|
|
has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ |
11
|
|
|
|
|
|
|
] }); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::QueryCaller', 'Paws::Net::XMLResponse'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub CancelUpdateStack { |
17
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
18
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::CancelUpdateStack', @_); |
19
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
sub ContinueUpdateRollback { |
22
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
23
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ContinueUpdateRollback', @_); |
24
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
sub CreateChangeSet { |
27
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
28
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::CreateChangeSet', @_); |
29
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
sub CreateStack { |
32
|
1
|
|
|
1
|
1
|
11
|
my $self = shift; |
33
|
1
|
|
|
|
|
7
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::CreateStack', @_); |
34
|
1
|
|
|
|
|
2662
|
return $self->caller->do_call($self, $call_object); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
sub CreateStackInstances { |
37
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
38
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::CreateStackInstances', @_); |
39
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
sub CreateStackSet { |
42
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
43
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::CreateStackSet', @_); |
44
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
sub DeleteChangeSet { |
47
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
48
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DeleteChangeSet', @_); |
49
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub DeleteStack { |
52
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
53
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DeleteStack', @_); |
54
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
sub DeleteStackInstances { |
57
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
58
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DeleteStackInstances', @_); |
59
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
60
|
|
|
|
|
|
|
} |
61
|
|
|
|
|
|
|
sub DeleteStackSet { |
62
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
63
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DeleteStackSet', @_); |
64
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
sub DescribeAccountLimits { |
67
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
68
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeAccountLimits', @_); |
69
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
sub DescribeChangeSet { |
72
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
73
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeChangeSet', @_); |
74
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
sub DescribeStackEvents { |
77
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
78
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeStackEvents', @_); |
79
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
80
|
|
|
|
|
|
|
} |
81
|
|
|
|
|
|
|
sub DescribeStackInstance { |
82
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
83
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeStackInstance', @_); |
84
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
sub DescribeStackResource { |
87
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
88
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeStackResource', @_); |
89
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
sub DescribeStackResources { |
92
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
93
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeStackResources', @_); |
94
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
95
|
|
|
|
|
|
|
} |
96
|
|
|
|
|
|
|
sub DescribeStacks { |
97
|
1
|
|
|
1
|
1
|
212
|
my $self = shift; |
98
|
1
|
|
|
|
|
6
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeStacks', @_); |
99
|
1
|
|
|
|
|
381
|
return $self->caller->do_call($self, $call_object); |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
sub DescribeStackSet { |
102
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
103
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeStackSet', @_); |
104
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
105
|
|
|
|
|
|
|
} |
106
|
|
|
|
|
|
|
sub DescribeStackSetOperation { |
107
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
108
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::DescribeStackSetOperation', @_); |
109
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
110
|
|
|
|
|
|
|
} |
111
|
|
|
|
|
|
|
sub EstimateTemplateCost { |
112
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
113
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::EstimateTemplateCost', @_); |
114
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
115
|
|
|
|
|
|
|
} |
116
|
|
|
|
|
|
|
sub ExecuteChangeSet { |
117
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
118
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ExecuteChangeSet', @_); |
119
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
sub GetStackPolicy { |
122
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
123
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::GetStackPolicy', @_); |
124
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
125
|
|
|
|
|
|
|
} |
126
|
|
|
|
|
|
|
sub GetTemplate { |
127
|
1
|
|
|
1
|
1
|
266
|
my $self = shift; |
128
|
1
|
|
|
|
|
6
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::GetTemplate', @_); |
129
|
1
|
|
|
|
|
543
|
return $self->caller->do_call($self, $call_object); |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
sub GetTemplateSummary { |
132
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
133
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::GetTemplateSummary', @_); |
134
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
135
|
|
|
|
|
|
|
} |
136
|
|
|
|
|
|
|
sub ListChangeSets { |
137
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
138
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListChangeSets', @_); |
139
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
140
|
|
|
|
|
|
|
} |
141
|
|
|
|
|
|
|
sub ListExports { |
142
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
143
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListExports', @_); |
144
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
145
|
|
|
|
|
|
|
} |
146
|
|
|
|
|
|
|
sub ListImports { |
147
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
148
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListImports', @_); |
149
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
sub ListStackInstances { |
152
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
153
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListStackInstances', @_); |
154
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
155
|
|
|
|
|
|
|
} |
156
|
|
|
|
|
|
|
sub ListStackResources { |
157
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
158
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListStackResources', @_); |
159
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
160
|
|
|
|
|
|
|
} |
161
|
|
|
|
|
|
|
sub ListStacks { |
162
|
2
|
|
|
2
|
1
|
423
|
my $self = shift; |
163
|
2
|
|
|
|
|
12
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListStacks', @_); |
164
|
2
|
|
|
|
|
813
|
return $self->caller->do_call($self, $call_object); |
165
|
|
|
|
|
|
|
} |
166
|
|
|
|
|
|
|
sub ListStackSetOperationResults { |
167
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
168
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListStackSetOperationResults', @_); |
169
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
170
|
|
|
|
|
|
|
} |
171
|
|
|
|
|
|
|
sub ListStackSetOperations { |
172
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
173
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListStackSetOperations', @_); |
174
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
175
|
|
|
|
|
|
|
} |
176
|
|
|
|
|
|
|
sub ListStackSets { |
177
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
178
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ListStackSets', @_); |
179
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
sub SetStackPolicy { |
182
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
183
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::SetStackPolicy', @_); |
184
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
sub SignalResource { |
187
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
188
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::SignalResource', @_); |
189
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
190
|
|
|
|
|
|
|
} |
191
|
|
|
|
|
|
|
sub StopStackSetOperation { |
192
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
193
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::StopStackSetOperation', @_); |
194
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
195
|
|
|
|
|
|
|
} |
196
|
|
|
|
|
|
|
sub UpdateStack { |
197
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
198
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::UpdateStack', @_); |
199
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
sub UpdateStackSet { |
202
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
203
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::UpdateStackSet', @_); |
204
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
205
|
|
|
|
|
|
|
} |
206
|
|
|
|
|
|
|
sub UpdateTerminationProtection { |
207
|
0
|
|
|
0
|
1
|
0
|
my $self = shift; |
208
|
0
|
|
|
|
|
0
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::UpdateTerminationProtection', @_); |
209
|
0
|
|
|
|
|
0
|
return $self->caller->do_call($self, $call_object); |
210
|
|
|
|
|
|
|
} |
211
|
|
|
|
|
|
|
sub ValidateTemplate { |
212
|
1
|
|
|
1
|
1
|
209
|
my $self = shift; |
213
|
1
|
|
|
|
|
7
|
my $call_object = $self->new_with_coercions('Paws::CloudFormation::ValidateTemplate', @_); |
214
|
1
|
|
|
|
|
384
|
return $self->caller->do_call($self, $call_object); |
215
|
|
|
|
|
|
|
} |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
sub DescribeAllStackEvents { |
218
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
219
|
|
|
|
|
|
|
|
220
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
221
|
0
|
|
|
|
|
|
my $result = $self->DescribeStackEvents(@_); |
222
|
0
|
|
|
|
|
|
my $next_result = $result; |
223
|
|
|
|
|
|
|
|
224
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
225
|
0
|
|
|
|
|
|
while ($next_result->NextToken) { |
226
|
0
|
|
|
|
|
|
$next_result = $self->DescribeStackEvents(@_, NextToken => $next_result->NextToken); |
227
|
0
|
|
|
|
|
|
push @{ $result->StackEvents }, @{ $next_result->StackEvents }; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
} |
229
|
0
|
|
|
|
|
|
return $result; |
230
|
|
|
|
|
|
|
} else { |
231
|
0
|
|
|
|
|
|
while ($result->NextToken) { |
232
|
0
|
|
|
|
|
|
$callback->($_ => 'StackEvents') foreach (@{ $result->StackEvents }); |
|
0
|
|
|
|
|
|
|
233
|
0
|
|
|
|
|
|
$result = $self->DescribeStackEvents(@_, NextToken => $result->NextToken); |
234
|
|
|
|
|
|
|
} |
235
|
0
|
|
|
|
|
|
$callback->($_ => 'StackEvents') foreach (@{ $result->StackEvents }); |
|
0
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
} |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
return undef |
239
|
0
|
|
|
|
|
|
} |
240
|
|
|
|
|
|
|
sub DescribeAllStacks { |
241
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
242
|
|
|
|
|
|
|
|
243
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
244
|
0
|
|
|
|
|
|
my $result = $self->DescribeStacks(@_); |
245
|
0
|
|
|
|
|
|
my $next_result = $result; |
246
|
|
|
|
|
|
|
|
247
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
248
|
0
|
|
|
|
|
|
while ($next_result->NextToken) { |
249
|
0
|
|
|
|
|
|
$next_result = $self->DescribeStacks(@_, NextToken => $next_result->NextToken); |
250
|
0
|
|
|
|
|
|
push @{ $result->Stacks }, @{ $next_result->Stacks }; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
} |
252
|
0
|
|
|
|
|
|
return $result; |
253
|
|
|
|
|
|
|
} else { |
254
|
0
|
|
|
|
|
|
while ($result->NextToken) { |
255
|
0
|
|
|
|
|
|
$callback->($_ => 'Stacks') foreach (@{ $result->Stacks }); |
|
0
|
|
|
|
|
|
|
256
|
0
|
|
|
|
|
|
$result = $self->DescribeStacks(@_, NextToken => $result->NextToken); |
257
|
|
|
|
|
|
|
} |
258
|
0
|
|
|
|
|
|
$callback->($_ => 'Stacks') foreach (@{ $result->Stacks }); |
|
0
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
return undef |
262
|
0
|
|
|
|
|
|
} |
263
|
|
|
|
|
|
|
sub ListAllExports { |
264
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
265
|
|
|
|
|
|
|
|
266
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
267
|
0
|
|
|
|
|
|
my $result = $self->ListExports(@_); |
268
|
0
|
|
|
|
|
|
my $next_result = $result; |
269
|
|
|
|
|
|
|
|
270
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
271
|
0
|
|
|
|
|
|
while ($next_result->NextToken) { |
272
|
0
|
|
|
|
|
|
$next_result = $self->ListExports(@_, NextToken => $next_result->NextToken); |
273
|
0
|
|
|
|
|
|
push @{ $result->Exports }, @{ $next_result->Exports }; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
} |
275
|
0
|
|
|
|
|
|
return $result; |
276
|
|
|
|
|
|
|
} else { |
277
|
0
|
|
|
|
|
|
while ($result->NextToken) { |
278
|
0
|
|
|
|
|
|
$callback->($_ => 'Exports') foreach (@{ $result->Exports }); |
|
0
|
|
|
|
|
|
|
279
|
0
|
|
|
|
|
|
$result = $self->ListExports(@_, NextToken => $result->NextToken); |
280
|
|
|
|
|
|
|
} |
281
|
0
|
|
|
|
|
|
$callback->($_ => 'Exports') foreach (@{ $result->Exports }); |
|
0
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
} |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
return undef |
285
|
0
|
|
|
|
|
|
} |
286
|
|
|
|
|
|
|
sub ListAllImports { |
287
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
288
|
|
|
|
|
|
|
|
289
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
290
|
0
|
|
|
|
|
|
my $result = $self->ListImports(@_); |
291
|
0
|
|
|
|
|
|
my $next_result = $result; |
292
|
|
|
|
|
|
|
|
293
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
294
|
0
|
|
|
|
|
|
while ($next_result->NextToken) { |
295
|
0
|
|
|
|
|
|
$next_result = $self->ListImports(@_, NextToken => $next_result->NextToken); |
296
|
0
|
|
|
|
|
|
push @{ $result->Imports }, @{ $next_result->Imports }; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
} |
298
|
0
|
|
|
|
|
|
return $result; |
299
|
|
|
|
|
|
|
} else { |
300
|
0
|
|
|
|
|
|
while ($result->NextToken) { |
301
|
0
|
|
|
|
|
|
$callback->($_ => 'Imports') foreach (@{ $result->Imports }); |
|
0
|
|
|
|
|
|
|
302
|
0
|
|
|
|
|
|
$result = $self->ListImports(@_, NextToken => $result->NextToken); |
303
|
|
|
|
|
|
|
} |
304
|
0
|
|
|
|
|
|
$callback->($_ => 'Imports') foreach (@{ $result->Imports }); |
|
0
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
} |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
return undef |
308
|
0
|
|
|
|
|
|
} |
309
|
|
|
|
|
|
|
sub ListAllStackResources { |
310
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
311
|
|
|
|
|
|
|
|
312
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
313
|
0
|
|
|
|
|
|
my $result = $self->ListStackResources(@_); |
314
|
0
|
|
|
|
|
|
my $next_result = $result; |
315
|
|
|
|
|
|
|
|
316
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
317
|
0
|
|
|
|
|
|
while ($next_result->NextToken) { |
318
|
0
|
|
|
|
|
|
$next_result = $self->ListStackResources(@_, NextToken => $next_result->NextToken); |
319
|
0
|
|
|
|
|
|
push @{ $result->StackResourceSummaries }, @{ $next_result->StackResourceSummaries }; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
} |
321
|
0
|
|
|
|
|
|
return $result; |
322
|
|
|
|
|
|
|
} else { |
323
|
0
|
|
|
|
|
|
while ($result->NextToken) { |
324
|
0
|
|
|
|
|
|
$callback->($_ => 'StackResourceSummaries') foreach (@{ $result->StackResourceSummaries }); |
|
0
|
|
|
|
|
|
|
325
|
0
|
|
|
|
|
|
$result = $self->ListStackResources(@_, NextToken => $result->NextToken); |
326
|
|
|
|
|
|
|
} |
327
|
0
|
|
|
|
|
|
$callback->($_ => 'StackResourceSummaries') foreach (@{ $result->StackResourceSummaries }); |
|
0
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
} |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
return undef |
331
|
0
|
|
|
|
|
|
} |
332
|
|
|
|
|
|
|
sub ListAllStacks { |
333
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
334
|
|
|
|
|
|
|
|
335
|
0
|
0
|
|
|
|
|
my $callback = shift @_ if (ref($_[0]) eq 'CODE'); |
336
|
0
|
|
|
|
|
|
my $result = $self->ListStacks(@_); |
337
|
0
|
|
|
|
|
|
my $next_result = $result; |
338
|
|
|
|
|
|
|
|
339
|
0
|
0
|
|
|
|
|
if (not defined $callback) { |
340
|
0
|
|
|
|
|
|
while ($next_result->NextToken) { |
341
|
0
|
|
|
|
|
|
$next_result = $self->ListStacks(@_, NextToken => $next_result->NextToken); |
342
|
0
|
|
|
|
|
|
push @{ $result->StackSummaries }, @{ $next_result->StackSummaries }; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
} |
344
|
0
|
|
|
|
|
|
return $result; |
345
|
|
|
|
|
|
|
} else { |
346
|
0
|
|
|
|
|
|
while ($result->NextToken) { |
347
|
0
|
|
|
|
|
|
$callback->($_ => 'StackSummaries') foreach (@{ $result->StackSummaries }); |
|
0
|
|
|
|
|
|
|
348
|
0
|
|
|
|
|
|
$result = $self->ListStacks(@_, NextToken => $result->NextToken); |
349
|
|
|
|
|
|
|
} |
350
|
0
|
|
|
|
|
|
$callback->($_ => 'StackSummaries') foreach (@{ $result->StackSummaries }); |
|
0
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
} |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
return undef |
354
|
0
|
|
|
|
|
|
} |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
|
357
|
0
|
|
|
0
|
0
|
|
sub operations { qw/CancelUpdateStack ContinueUpdateRollback CreateChangeSet CreateStack CreateStackInstances CreateStackSet DeleteChangeSet DeleteStack DeleteStackInstances DeleteStackSet DescribeAccountLimits DescribeChangeSet DescribeStackEvents DescribeStackInstance DescribeStackResource DescribeStackResources DescribeStacks DescribeStackSet DescribeStackSetOperation EstimateTemplateCost ExecuteChangeSet GetStackPolicy GetTemplate GetTemplateSummary ListChangeSets ListExports ListImports ListStackInstances ListStackResources ListStacks ListStackSetOperationResults ListStackSetOperations ListStackSets SetStackPolicy SignalResource StopStackSetOperation UpdateStack UpdateStackSet UpdateTerminationProtection ValidateTemplate / } |
358
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
1; |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
### main pod documentation begin ### |
362
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
=head1 NAME |
364
|
|
|
|
|
|
|
|
365
|
|
|
|
|
|
|
Paws::CloudFormation - Perl Interface to AWS AWS CloudFormation |
366
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
=head1 SYNOPSIS |
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
use Paws; |
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
my $obj = Paws->service('CloudFormation'); |
372
|
|
|
|
|
|
|
my $res = $obj->Method( |
373
|
|
|
|
|
|
|
Arg1 => $val1, |
374
|
|
|
|
|
|
|
Arg2 => [ 'V1', 'V2' ], |
375
|
|
|
|
|
|
|
# if Arg3 is an object, the HashRef will be used as arguments to the constructor |
376
|
|
|
|
|
|
|
# of the arguments type |
377
|
|
|
|
|
|
|
Arg3 => { Att1 => 'Val1' }, |
378
|
|
|
|
|
|
|
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to |
379
|
|
|
|
|
|
|
# the constructor of the arguments type |
380
|
|
|
|
|
|
|
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], |
381
|
|
|
|
|
|
|
); |
382
|
|
|
|
|
|
|
|
383
|
|
|
|
|
|
|
=head1 DESCRIPTION |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
AWS CloudFormation |
386
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
AWS CloudFormation allows you to create and manage AWS infrastructure |
388
|
|
|
|
|
|
|
deployments predictably and repeatedly. You can use AWS CloudFormation |
389
|
|
|
|
|
|
|
to leverage AWS products, such as Amazon Elastic Compute Cloud, Amazon |
390
|
|
|
|
|
|
|
Elastic Block Store, Amazon Simple Notification Service, Elastic Load |
391
|
|
|
|
|
|
|
Balancing, and Auto Scaling to build highly-reliable, highly scalable, |
392
|
|
|
|
|
|
|
cost-effective applications without creating or configuring the |
393
|
|
|
|
|
|
|
underlying AWS infrastructure. |
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
With AWS CloudFormation, you declare all of your resources and |
396
|
|
|
|
|
|
|
dependencies in a template file. The template defines a collection of |
397
|
|
|
|
|
|
|
resources as a single unit called a stack. AWS CloudFormation creates |
398
|
|
|
|
|
|
|
and deletes all member resources of the stack together and manages all |
399
|
|
|
|
|
|
|
dependencies between the resources for you. |
400
|
|
|
|
|
|
|
|
401
|
|
|
|
|
|
|
For more information about AWS CloudFormation, see the AWS |
402
|
|
|
|
|
|
|
CloudFormation Product Page. |
403
|
|
|
|
|
|
|
|
404
|
|
|
|
|
|
|
Amazon CloudFormation makes use of other AWS products. If you need |
405
|
|
|
|
|
|
|
additional technical information about a specific AWS product, you can |
406
|
|
|
|
|
|
|
find the product's technical documentation at docs.aws.amazon.com. |
407
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
=head1 METHODS |
409
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
=head2 CancelUpdateStack(StackName => Str, [ClientRequestToken => Str]) |
411
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::CancelUpdateStack> |
413
|
|
|
|
|
|
|
|
414
|
|
|
|
|
|
|
Returns: nothing |
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
Cancels an update on the specified stack. If the call completes |
417
|
|
|
|
|
|
|
successfully, the stack rolls back the update and reverts to the |
418
|
|
|
|
|
|
|
previous stack configuration. |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
You can cancel only stacks that are in the UPDATE_IN_PROGRESS state. |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
|
423
|
|
|
|
|
|
|
=head2 ContinueUpdateRollback(StackName => Str, [ClientRequestToken => Str, ResourcesToSkip => ArrayRef[Str|Undef], RoleARN => Str]) |
424
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ContinueUpdateRollback> |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ContinueUpdateRollbackOutput> instance |
428
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
For a specified stack that is in the C<UPDATE_ROLLBACK_FAILED> state, |
430
|
|
|
|
|
|
|
continues rolling it back to the C<UPDATE_ROLLBACK_COMPLETE> state. |
431
|
|
|
|
|
|
|
Depending on the cause of the failure, you can manually fix the error |
432
|
|
|
|
|
|
|
and continue the rollback. By continuing the rollback, you can return |
433
|
|
|
|
|
|
|
your stack to a working state (the C<UPDATE_ROLLBACK_COMPLETE> state), |
434
|
|
|
|
|
|
|
and then try to update the stack again. |
435
|
|
|
|
|
|
|
|
436
|
|
|
|
|
|
|
A stack goes into the C<UPDATE_ROLLBACK_FAILED> state when AWS |
437
|
|
|
|
|
|
|
CloudFormation cannot roll back all changes after a failed stack |
438
|
|
|
|
|
|
|
update. For example, you might have a stack that is rolling back to an |
439
|
|
|
|
|
|
|
old database instance that was deleted outside of AWS CloudFormation. |
440
|
|
|
|
|
|
|
Because AWS CloudFormation doesn't know the database was deleted, it |
441
|
|
|
|
|
|
|
assumes that the database instance still exists and attempts to roll |
442
|
|
|
|
|
|
|
back to it, causing the update rollback to fail. |
443
|
|
|
|
|
|
|
|
444
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
=head2 CreateChangeSet(ChangeSetName => Str, StackName => Str, [Capabilities => ArrayRef[Str|Undef], ChangeSetType => Str, ClientToken => Str, Description => Str, NotificationARNs => ArrayRef[Str|Undef], Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>], ResourceTypes => ArrayRef[Str|Undef], RoleARN => Str, RollbackConfiguration => L<Paws::CloudFormation::RollbackConfiguration>, Tags => ArrayRef[L<Paws::CloudFormation::Tag>], TemplateBody => Str, TemplateURL => Str, UsePreviousTemplate => Bool]) |
446
|
|
|
|
|
|
|
|
447
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::CreateChangeSet> |
448
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::CreateChangeSetOutput> instance |
450
|
|
|
|
|
|
|
|
451
|
|
|
|
|
|
|
Creates a list of changes that will be applied to a stack so that you |
452
|
|
|
|
|
|
|
can review the changes before executing them. You can create a change |
453
|
|
|
|
|
|
|
set for a stack that doesn't exist or an existing stack. If you create |
454
|
|
|
|
|
|
|
a change set for a stack that doesn't exist, the change set shows all |
455
|
|
|
|
|
|
|
of the resources that AWS CloudFormation will create. If you create a |
456
|
|
|
|
|
|
|
change set for an existing stack, AWS CloudFormation compares the |
457
|
|
|
|
|
|
|
stack's information with the information that you submit in the change |
458
|
|
|
|
|
|
|
set and lists the differences. Use change sets to understand which |
459
|
|
|
|
|
|
|
resources AWS CloudFormation will create or change, and how it will |
460
|
|
|
|
|
|
|
change resources in an existing stack, before you create or update a |
461
|
|
|
|
|
|
|
stack. |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
To create a change set for a stack that doesn't exist, for the |
464
|
|
|
|
|
|
|
C<ChangeSetType> parameter, specify C<CREATE>. To create a change set |
465
|
|
|
|
|
|
|
for an existing stack, specify C<UPDATE> for the C<ChangeSetType> |
466
|
|
|
|
|
|
|
parameter. After the C<CreateChangeSet> call successfully completes, |
467
|
|
|
|
|
|
|
AWS CloudFormation starts creating the change set. To check the status |
468
|
|
|
|
|
|
|
of the change set or to review it, use the DescribeChangeSet action. |
469
|
|
|
|
|
|
|
|
470
|
|
|
|
|
|
|
When you are satisfied with the changes the change set will make, |
471
|
|
|
|
|
|
|
execute the change set by using the ExecuteChangeSet action. AWS |
472
|
|
|
|
|
|
|
CloudFormation doesn't make changes until you execute the change set. |
473
|
|
|
|
|
|
|
|
474
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
=head2 CreateStack(StackName => Str, [Capabilities => ArrayRef[Str|Undef], ClientRequestToken => Str, DisableRollback => Bool, EnableTerminationProtection => Bool, NotificationARNs => ArrayRef[Str|Undef], OnFailure => Str, Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>], ResourceTypes => ArrayRef[Str|Undef], RoleARN => Str, RollbackConfiguration => L<Paws::CloudFormation::RollbackConfiguration>, StackPolicyBody => Str, StackPolicyURL => Str, Tags => ArrayRef[L<Paws::CloudFormation::Tag>], TemplateBody => Str, TemplateURL => Str, TimeoutInMinutes => Int]) |
476
|
|
|
|
|
|
|
|
477
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::CreateStack> |
478
|
|
|
|
|
|
|
|
479
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::CreateStackOutput> instance |
480
|
|
|
|
|
|
|
|
481
|
|
|
|
|
|
|
Creates a stack as specified in the template. After the call completes |
482
|
|
|
|
|
|
|
successfully, the stack creation starts. You can check the status of |
483
|
|
|
|
|
|
|
the stack via the DescribeStacks API. |
484
|
|
|
|
|
|
|
|
485
|
|
|
|
|
|
|
|
486
|
|
|
|
|
|
|
=head2 CreateStackInstances(Accounts => ArrayRef[Str|Undef], Regions => ArrayRef[Str|Undef], StackSetName => Str, [OperationId => Str, OperationPreferences => L<Paws::CloudFormation::StackSetOperationPreferences>]) |
487
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::CreateStackInstances> |
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::CreateStackInstancesOutput> instance |
491
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
Creates stack instances for the specified accounts, within the |
493
|
|
|
|
|
|
|
specified regions. A stack instance refers to a stack in a specific |
494
|
|
|
|
|
|
|
account and region. C<Accounts> and C<Regions> are required |
495
|
|
|
|
|
|
|
parametersE<mdash>you must specify at least one account and one region. |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
|
498
|
|
|
|
|
|
|
=head2 CreateStackSet(StackSetName => Str, [Capabilities => ArrayRef[Str|Undef], ClientRequestToken => Str, Description => Str, Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>], Tags => ArrayRef[L<Paws::CloudFormation::Tag>], TemplateBody => Str, TemplateURL => Str]) |
499
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::CreateStackSet> |
501
|
|
|
|
|
|
|
|
502
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::CreateStackSetOutput> instance |
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
Creates a stack set. |
505
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
|
507
|
|
|
|
|
|
|
=head2 DeleteChangeSet(ChangeSetName => Str, [StackName => Str]) |
508
|
|
|
|
|
|
|
|
509
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DeleteChangeSet> |
510
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DeleteChangeSetOutput> instance |
512
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
Deletes the specified change set. Deleting change sets ensures that no |
514
|
|
|
|
|
|
|
one executes the wrong change set. |
515
|
|
|
|
|
|
|
|
516
|
|
|
|
|
|
|
If the call successfully completes, AWS CloudFormation successfully |
517
|
|
|
|
|
|
|
deleted the change set. |
518
|
|
|
|
|
|
|
|
519
|
|
|
|
|
|
|
|
520
|
|
|
|
|
|
|
=head2 DeleteStack(StackName => Str, [ClientRequestToken => Str, RetainResources => ArrayRef[Str|Undef], RoleARN => Str]) |
521
|
|
|
|
|
|
|
|
522
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DeleteStack> |
523
|
|
|
|
|
|
|
|
524
|
|
|
|
|
|
|
Returns: nothing |
525
|
|
|
|
|
|
|
|
526
|
|
|
|
|
|
|
Deletes a specified stack. Once the call completes successfully, stack |
527
|
|
|
|
|
|
|
deletion starts. Deleted stacks do not show up in the DescribeStacks |
528
|
|
|
|
|
|
|
API if the deletion has been completed successfully. |
529
|
|
|
|
|
|
|
|
530
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
=head2 DeleteStackInstances(Accounts => ArrayRef[Str|Undef], Regions => ArrayRef[Str|Undef], RetainStacks => Bool, StackSetName => Str, [OperationId => Str, OperationPreferences => L<Paws::CloudFormation::StackSetOperationPreferences>]) |
532
|
|
|
|
|
|
|
|
533
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DeleteStackInstances> |
534
|
|
|
|
|
|
|
|
535
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DeleteStackInstancesOutput> instance |
536
|
|
|
|
|
|
|
|
537
|
|
|
|
|
|
|
Deletes stack instances for the specified accounts, in the specified |
538
|
|
|
|
|
|
|
regions. |
539
|
|
|
|
|
|
|
|
540
|
|
|
|
|
|
|
|
541
|
|
|
|
|
|
|
=head2 DeleteStackSet(StackSetName => Str) |
542
|
|
|
|
|
|
|
|
543
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DeleteStackSet> |
544
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DeleteStackSetOutput> instance |
546
|
|
|
|
|
|
|
|
547
|
|
|
|
|
|
|
Deletes a stack set. Before you can delete a stack set, all of its |
548
|
|
|
|
|
|
|
member stack instances must be deleted. For more information about how |
549
|
|
|
|
|
|
|
to do this, see DeleteStackInstances. |
550
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
|
552
|
|
|
|
|
|
|
=head2 DescribeAccountLimits([NextToken => Str]) |
553
|
|
|
|
|
|
|
|
554
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeAccountLimits> |
555
|
|
|
|
|
|
|
|
556
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeAccountLimitsOutput> instance |
557
|
|
|
|
|
|
|
|
558
|
|
|
|
|
|
|
Retrieves your account's AWS CloudFormation limits, such as the maximum |
559
|
|
|
|
|
|
|
number of stacks that you can create in your account. |
560
|
|
|
|
|
|
|
|
561
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
=head2 DescribeChangeSet(ChangeSetName => Str, [NextToken => Str, StackName => Str]) |
563
|
|
|
|
|
|
|
|
564
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeChangeSet> |
565
|
|
|
|
|
|
|
|
566
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeChangeSetOutput> instance |
567
|
|
|
|
|
|
|
|
568
|
|
|
|
|
|
|
Returns the inputs for the change set and a list of changes that AWS |
569
|
|
|
|
|
|
|
CloudFormation will make if you execute the change set. For more |
570
|
|
|
|
|
|
|
information, see Updating Stacks Using Change Sets in the AWS |
571
|
|
|
|
|
|
|
CloudFormation User Guide. |
572
|
|
|
|
|
|
|
|
573
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
=head2 DescribeStackEvents([NextToken => Str, StackName => Str]) |
575
|
|
|
|
|
|
|
|
576
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeStackEvents> |
577
|
|
|
|
|
|
|
|
578
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeStackEventsOutput> instance |
579
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
Returns all stack related events for a specified stack in reverse |
581
|
|
|
|
|
|
|
chronological order. For more information about a stack's event |
582
|
|
|
|
|
|
|
history, go to Stacks in the AWS CloudFormation User Guide. |
583
|
|
|
|
|
|
|
|
584
|
|
|
|
|
|
|
You can list events for stacks that have failed to create or have been |
585
|
|
|
|
|
|
|
deleted by specifying the unique stack identifier (stack ID). |
586
|
|
|
|
|
|
|
|
587
|
|
|
|
|
|
|
|
588
|
|
|
|
|
|
|
=head2 DescribeStackInstance(StackInstanceAccount => Str, StackInstanceRegion => Str, StackSetName => Str) |
589
|
|
|
|
|
|
|
|
590
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeStackInstance> |
591
|
|
|
|
|
|
|
|
592
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeStackInstanceOutput> instance |
593
|
|
|
|
|
|
|
|
594
|
|
|
|
|
|
|
Returns the stack instance that's associated with the specified stack |
595
|
|
|
|
|
|
|
set, AWS account, and region. |
596
|
|
|
|
|
|
|
|
597
|
|
|
|
|
|
|
For a list of stack instances that are associated with a specific stack |
598
|
|
|
|
|
|
|
set, use ListStackInstances. |
599
|
|
|
|
|
|
|
|
600
|
|
|
|
|
|
|
|
601
|
|
|
|
|
|
|
=head2 DescribeStackResource(LogicalResourceId => Str, StackName => Str) |
602
|
|
|
|
|
|
|
|
603
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeStackResource> |
604
|
|
|
|
|
|
|
|
605
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeStackResourceOutput> instance |
606
|
|
|
|
|
|
|
|
607
|
|
|
|
|
|
|
Returns a description of the specified resource in the specified stack. |
608
|
|
|
|
|
|
|
|
609
|
|
|
|
|
|
|
For deleted stacks, DescribeStackResource returns resource information |
610
|
|
|
|
|
|
|
for up to 90 days after the stack has been deleted. |
611
|
|
|
|
|
|
|
|
612
|
|
|
|
|
|
|
|
613
|
|
|
|
|
|
|
=head2 DescribeStackResources([LogicalResourceId => Str, PhysicalResourceId => Str, StackName => Str]) |
614
|
|
|
|
|
|
|
|
615
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeStackResources> |
616
|
|
|
|
|
|
|
|
617
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeStackResourcesOutput> instance |
618
|
|
|
|
|
|
|
|
619
|
|
|
|
|
|
|
Returns AWS resource descriptions for running and deleted stacks. If |
620
|
|
|
|
|
|
|
C<StackName> is specified, all the associated resources that are part |
621
|
|
|
|
|
|
|
of the stack are returned. If C<PhysicalResourceId> is specified, the |
622
|
|
|
|
|
|
|
associated resources of the stack that the resource belongs to are |
623
|
|
|
|
|
|
|
returned. |
624
|
|
|
|
|
|
|
|
625
|
|
|
|
|
|
|
Only the first 100 resources will be returned. If your stack has more |
626
|
|
|
|
|
|
|
resources than this, you should use C<ListStackResources> instead. |
627
|
|
|
|
|
|
|
|
628
|
|
|
|
|
|
|
For deleted stacks, C<DescribeStackResources> returns resource |
629
|
|
|
|
|
|
|
information for up to 90 days after the stack has been deleted. |
630
|
|
|
|
|
|
|
|
631
|
|
|
|
|
|
|
You must specify either C<StackName> or C<PhysicalResourceId>, but not |
632
|
|
|
|
|
|
|
both. In addition, you can specify C<LogicalResourceId> to filter the |
633
|
|
|
|
|
|
|
returned result. For more information about resources, the |
634
|
|
|
|
|
|
|
C<LogicalResourceId> and C<PhysicalResourceId>, go to the AWS |
635
|
|
|
|
|
|
|
CloudFormation User Guide. |
636
|
|
|
|
|
|
|
|
637
|
|
|
|
|
|
|
A C<ValidationError> is returned if you specify both C<StackName> and |
638
|
|
|
|
|
|
|
C<PhysicalResourceId> in the same request. |
639
|
|
|
|
|
|
|
|
640
|
|
|
|
|
|
|
|
641
|
|
|
|
|
|
|
=head2 DescribeStacks([NextToken => Str, StackName => Str]) |
642
|
|
|
|
|
|
|
|
643
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeStacks> |
644
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeStacksOutput> instance |
646
|
|
|
|
|
|
|
|
647
|
|
|
|
|
|
|
Returns the description for the specified stack; if no stack name was |
648
|
|
|
|
|
|
|
specified, then it returns the description for all the stacks created. |
649
|
|
|
|
|
|
|
|
650
|
|
|
|
|
|
|
If the stack does not exist, an C<AmazonCloudFormationException> is |
651
|
|
|
|
|
|
|
returned. |
652
|
|
|
|
|
|
|
|
653
|
|
|
|
|
|
|
|
654
|
|
|
|
|
|
|
=head2 DescribeStackSet(StackSetName => Str) |
655
|
|
|
|
|
|
|
|
656
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeStackSet> |
657
|
|
|
|
|
|
|
|
658
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeStackSetOutput> instance |
659
|
|
|
|
|
|
|
|
660
|
|
|
|
|
|
|
Returns the description of the specified stack set. |
661
|
|
|
|
|
|
|
|
662
|
|
|
|
|
|
|
|
663
|
|
|
|
|
|
|
=head2 DescribeStackSetOperation(OperationId => Str, StackSetName => Str) |
664
|
|
|
|
|
|
|
|
665
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::DescribeStackSetOperation> |
666
|
|
|
|
|
|
|
|
667
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::DescribeStackSetOperationOutput> instance |
668
|
|
|
|
|
|
|
|
669
|
|
|
|
|
|
|
Returns the description of the specified stack set operation. |
670
|
|
|
|
|
|
|
|
671
|
|
|
|
|
|
|
|
672
|
|
|
|
|
|
|
=head2 EstimateTemplateCost([Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>], TemplateBody => Str, TemplateURL => Str]) |
673
|
|
|
|
|
|
|
|
674
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::EstimateTemplateCost> |
675
|
|
|
|
|
|
|
|
676
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::EstimateTemplateCostOutput> instance |
677
|
|
|
|
|
|
|
|
678
|
|
|
|
|
|
|
Returns the estimated monthly cost of a template. The return value is |
679
|
|
|
|
|
|
|
an AWS Simple Monthly Calculator URL with a query string that describes |
680
|
|
|
|
|
|
|
the resources required to run the template. |
681
|
|
|
|
|
|
|
|
682
|
|
|
|
|
|
|
|
683
|
|
|
|
|
|
|
=head2 ExecuteChangeSet(ChangeSetName => Str, [ClientRequestToken => Str, StackName => Str]) |
684
|
|
|
|
|
|
|
|
685
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ExecuteChangeSet> |
686
|
|
|
|
|
|
|
|
687
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ExecuteChangeSetOutput> instance |
688
|
|
|
|
|
|
|
|
689
|
|
|
|
|
|
|
Updates a stack using the input information that was provided when the |
690
|
|
|
|
|
|
|
specified change set was created. After the call successfully |
691
|
|
|
|
|
|
|
completes, AWS CloudFormation starts updating the stack. Use the |
692
|
|
|
|
|
|
|
DescribeStacks action to view the status of the update. |
693
|
|
|
|
|
|
|
|
694
|
|
|
|
|
|
|
When you execute a change set, AWS CloudFormation deletes all other |
695
|
|
|
|
|
|
|
change sets associated with the stack because they aren't valid for the |
696
|
|
|
|
|
|
|
updated stack. |
697
|
|
|
|
|
|
|
|
698
|
|
|
|
|
|
|
If a stack policy is associated with the stack, AWS CloudFormation |
699
|
|
|
|
|
|
|
enforces the policy during the update. You can't specify a temporary |
700
|
|
|
|
|
|
|
stack policy that overrides the current policy. |
701
|
|
|
|
|
|
|
|
702
|
|
|
|
|
|
|
|
703
|
|
|
|
|
|
|
=head2 GetStackPolicy(StackName => Str) |
704
|
|
|
|
|
|
|
|
705
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::GetStackPolicy> |
706
|
|
|
|
|
|
|
|
707
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::GetStackPolicyOutput> instance |
708
|
|
|
|
|
|
|
|
709
|
|
|
|
|
|
|
Returns the stack policy for a specified stack. If a stack doesn't have |
710
|
|
|
|
|
|
|
a policy, a null value is returned. |
711
|
|
|
|
|
|
|
|
712
|
|
|
|
|
|
|
|
713
|
|
|
|
|
|
|
=head2 GetTemplate([ChangeSetName => Str, StackName => Str, TemplateStage => Str]) |
714
|
|
|
|
|
|
|
|
715
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::GetTemplate> |
716
|
|
|
|
|
|
|
|
717
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::GetTemplateOutput> instance |
718
|
|
|
|
|
|
|
|
719
|
|
|
|
|
|
|
Returns the template body for a specified stack. You can get the |
720
|
|
|
|
|
|
|
template for running or deleted stacks. |
721
|
|
|
|
|
|
|
|
722
|
|
|
|
|
|
|
For deleted stacks, GetTemplate returns the template for up to 90 days |
723
|
|
|
|
|
|
|
after the stack has been deleted. |
724
|
|
|
|
|
|
|
|
725
|
|
|
|
|
|
|
If the template does not exist, a C<ValidationError> is returned. |
726
|
|
|
|
|
|
|
|
727
|
|
|
|
|
|
|
|
728
|
|
|
|
|
|
|
=head2 GetTemplateSummary([StackName => Str, StackSetName => Str, TemplateBody => Str, TemplateURL => Str]) |
729
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::GetTemplateSummary> |
731
|
|
|
|
|
|
|
|
732
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::GetTemplateSummaryOutput> instance |
733
|
|
|
|
|
|
|
|
734
|
|
|
|
|
|
|
Returns information about a new or existing template. The |
735
|
|
|
|
|
|
|
C<GetTemplateSummary> action is useful for viewing parameter |
736
|
|
|
|
|
|
|
information, such as default parameter values and parameter types, |
737
|
|
|
|
|
|
|
before you create or update a stack or stack set. |
738
|
|
|
|
|
|
|
|
739
|
|
|
|
|
|
|
You can use the C<GetTemplateSummary> action when you submit a |
740
|
|
|
|
|
|
|
template, or you can get template information for a stack set, or a |
741
|
|
|
|
|
|
|
running or deleted stack. |
742
|
|
|
|
|
|
|
|
743
|
|
|
|
|
|
|
For deleted stacks, C<GetTemplateSummary> returns the template |
744
|
|
|
|
|
|
|
information for up to 90 days after the stack has been deleted. If the |
745
|
|
|
|
|
|
|
template does not exist, a C<ValidationError> is returned. |
746
|
|
|
|
|
|
|
|
747
|
|
|
|
|
|
|
|
748
|
|
|
|
|
|
|
=head2 ListChangeSets(StackName => Str, [NextToken => Str]) |
749
|
|
|
|
|
|
|
|
750
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListChangeSets> |
751
|
|
|
|
|
|
|
|
752
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListChangeSetsOutput> instance |
753
|
|
|
|
|
|
|
|
754
|
|
|
|
|
|
|
Returns the ID and status of each active change set for a stack. For |
755
|
|
|
|
|
|
|
example, AWS CloudFormation lists change sets that are in the |
756
|
|
|
|
|
|
|
C<CREATE_IN_PROGRESS> or C<CREATE_PENDING> state. |
757
|
|
|
|
|
|
|
|
758
|
|
|
|
|
|
|
|
759
|
|
|
|
|
|
|
=head2 ListExports([NextToken => Str]) |
760
|
|
|
|
|
|
|
|
761
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListExports> |
762
|
|
|
|
|
|
|
|
763
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListExportsOutput> instance |
764
|
|
|
|
|
|
|
|
765
|
|
|
|
|
|
|
Lists all exported output values in the account and region in which you |
766
|
|
|
|
|
|
|
call this action. Use this action to see the exported output values |
767
|
|
|
|
|
|
|
that you can import into other stacks. To import values, use the |
768
|
|
|
|
|
|
|
C<Fn::ImportValue> function. |
769
|
|
|
|
|
|
|
|
770
|
|
|
|
|
|
|
For more information, see AWS CloudFormation Export Stack Output |
771
|
|
|
|
|
|
|
Values. |
772
|
|
|
|
|
|
|
|
773
|
|
|
|
|
|
|
|
774
|
|
|
|
|
|
|
=head2 ListImports(ExportName => Str, [NextToken => Str]) |
775
|
|
|
|
|
|
|
|
776
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListImports> |
777
|
|
|
|
|
|
|
|
778
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListImportsOutput> instance |
779
|
|
|
|
|
|
|
|
780
|
|
|
|
|
|
|
Lists all stacks that are importing an exported output value. To modify |
781
|
|
|
|
|
|
|
or remove an exported output value, first use this action to see which |
782
|
|
|
|
|
|
|
stacks are using it. To see the exported output values in your account, |
783
|
|
|
|
|
|
|
see ListExports. |
784
|
|
|
|
|
|
|
|
785
|
|
|
|
|
|
|
For more information about importing an exported output value, see the |
786
|
|
|
|
|
|
|
C<Fn::ImportValue> function. |
787
|
|
|
|
|
|
|
|
788
|
|
|
|
|
|
|
|
789
|
|
|
|
|
|
|
=head2 ListStackInstances(StackSetName => Str, [MaxResults => Int, NextToken => Str, StackInstanceAccount => Str, StackInstanceRegion => Str]) |
790
|
|
|
|
|
|
|
|
791
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListStackInstances> |
792
|
|
|
|
|
|
|
|
793
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListStackInstancesOutput> instance |
794
|
|
|
|
|
|
|
|
795
|
|
|
|
|
|
|
Returns summary information about stack instances that are associated |
796
|
|
|
|
|
|
|
with the specified stack set. You can filter for stack instances that |
797
|
|
|
|
|
|
|
are associated with a specific AWS account name or region. |
798
|
|
|
|
|
|
|
|
799
|
|
|
|
|
|
|
|
800
|
|
|
|
|
|
|
=head2 ListStackResources(StackName => Str, [NextToken => Str]) |
801
|
|
|
|
|
|
|
|
802
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListStackResources> |
803
|
|
|
|
|
|
|
|
804
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListStackResourcesOutput> instance |
805
|
|
|
|
|
|
|
|
806
|
|
|
|
|
|
|
Returns descriptions of all resources of the specified stack. |
807
|
|
|
|
|
|
|
|
808
|
|
|
|
|
|
|
For deleted stacks, ListStackResources returns resource information for |
809
|
|
|
|
|
|
|
up to 90 days after the stack has been deleted. |
810
|
|
|
|
|
|
|
|
811
|
|
|
|
|
|
|
|
812
|
|
|
|
|
|
|
=head2 ListStacks([NextToken => Str, StackStatusFilter => ArrayRef[Str|Undef]]) |
813
|
|
|
|
|
|
|
|
814
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListStacks> |
815
|
|
|
|
|
|
|
|
816
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListStacksOutput> instance |
817
|
|
|
|
|
|
|
|
818
|
|
|
|
|
|
|
Returns the summary information for stacks whose status matches the |
819
|
|
|
|
|
|
|
specified StackStatusFilter. Summary information for stacks that have |
820
|
|
|
|
|
|
|
been deleted is kept for 90 days after the stack is deleted. If no |
821
|
|
|
|
|
|
|
StackStatusFilter is specified, summary information for all stacks is |
822
|
|
|
|
|
|
|
returned (including existing stacks and stacks that have been deleted). |
823
|
|
|
|
|
|
|
|
824
|
|
|
|
|
|
|
|
825
|
|
|
|
|
|
|
=head2 ListStackSetOperationResults(OperationId => Str, StackSetName => Str, [MaxResults => Int, NextToken => Str]) |
826
|
|
|
|
|
|
|
|
827
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListStackSetOperationResults> |
828
|
|
|
|
|
|
|
|
829
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListStackSetOperationResultsOutput> instance |
830
|
|
|
|
|
|
|
|
831
|
|
|
|
|
|
|
Returns summary information about the results of a stack set operation. |
832
|
|
|
|
|
|
|
|
833
|
|
|
|
|
|
|
|
834
|
|
|
|
|
|
|
=head2 ListStackSetOperations(StackSetName => Str, [MaxResults => Int, NextToken => Str]) |
835
|
|
|
|
|
|
|
|
836
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListStackSetOperations> |
837
|
|
|
|
|
|
|
|
838
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListStackSetOperationsOutput> instance |
839
|
|
|
|
|
|
|
|
840
|
|
|
|
|
|
|
Returns summary information about operations performed on a stack set. |
841
|
|
|
|
|
|
|
|
842
|
|
|
|
|
|
|
|
843
|
|
|
|
|
|
|
=head2 ListStackSets([MaxResults => Int, NextToken => Str, Status => Str]) |
844
|
|
|
|
|
|
|
|
845
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ListStackSets> |
846
|
|
|
|
|
|
|
|
847
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ListStackSetsOutput> instance |
848
|
|
|
|
|
|
|
|
849
|
|
|
|
|
|
|
Returns summary information about stack sets that are associated with |
850
|
|
|
|
|
|
|
the user. |
851
|
|
|
|
|
|
|
|
852
|
|
|
|
|
|
|
|
853
|
|
|
|
|
|
|
=head2 SetStackPolicy(StackName => Str, [StackPolicyBody => Str, StackPolicyURL => Str]) |
854
|
|
|
|
|
|
|
|
855
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::SetStackPolicy> |
856
|
|
|
|
|
|
|
|
857
|
|
|
|
|
|
|
Returns: nothing |
858
|
|
|
|
|
|
|
|
859
|
|
|
|
|
|
|
Sets a stack policy for a specified stack. |
860
|
|
|
|
|
|
|
|
861
|
|
|
|
|
|
|
|
862
|
|
|
|
|
|
|
=head2 SignalResource(LogicalResourceId => Str, StackName => Str, Status => Str, UniqueId => Str) |
863
|
|
|
|
|
|
|
|
864
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::SignalResource> |
865
|
|
|
|
|
|
|
|
866
|
|
|
|
|
|
|
Returns: nothing |
867
|
|
|
|
|
|
|
|
868
|
|
|
|
|
|
|
Sends a signal to the specified resource with a success or failure |
869
|
|
|
|
|
|
|
status. You can use the SignalResource API in conjunction with a |
870
|
|
|
|
|
|
|
creation policy or update policy. AWS CloudFormation doesn't proceed |
871
|
|
|
|
|
|
|
with a stack creation or update until resources receive the required |
872
|
|
|
|
|
|
|
number of signals or the timeout period is exceeded. The SignalResource |
873
|
|
|
|
|
|
|
API is useful in cases where you want to send signals from anywhere |
874
|
|
|
|
|
|
|
other than an Amazon EC2 instance. |
875
|
|
|
|
|
|
|
|
876
|
|
|
|
|
|
|
|
877
|
|
|
|
|
|
|
=head2 StopStackSetOperation(OperationId => Str, StackSetName => Str) |
878
|
|
|
|
|
|
|
|
879
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::StopStackSetOperation> |
880
|
|
|
|
|
|
|
|
881
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::StopStackSetOperationOutput> instance |
882
|
|
|
|
|
|
|
|
883
|
|
|
|
|
|
|
Stops an in-progress operation on a stack set and its associated stack |
884
|
|
|
|
|
|
|
instances. |
885
|
|
|
|
|
|
|
|
886
|
|
|
|
|
|
|
|
887
|
|
|
|
|
|
|
=head2 UpdateStack(StackName => Str, [Capabilities => ArrayRef[Str|Undef], ClientRequestToken => Str, NotificationARNs => ArrayRef[Str|Undef], Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>], ResourceTypes => ArrayRef[Str|Undef], RoleARN => Str, RollbackConfiguration => L<Paws::CloudFormation::RollbackConfiguration>, StackPolicyBody => Str, StackPolicyDuringUpdateBody => Str, StackPolicyDuringUpdateURL => Str, StackPolicyURL => Str, Tags => ArrayRef[L<Paws::CloudFormation::Tag>], TemplateBody => Str, TemplateURL => Str, UsePreviousTemplate => Bool]) |
888
|
|
|
|
|
|
|
|
889
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::UpdateStack> |
890
|
|
|
|
|
|
|
|
891
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::UpdateStackOutput> instance |
892
|
|
|
|
|
|
|
|
893
|
|
|
|
|
|
|
Updates a stack as specified in the template. After the call completes |
894
|
|
|
|
|
|
|
successfully, the stack update starts. You can check the status of the |
895
|
|
|
|
|
|
|
stack via the DescribeStacks action. |
896
|
|
|
|
|
|
|
|
897
|
|
|
|
|
|
|
To get a copy of the template for an existing stack, you can use the |
898
|
|
|
|
|
|
|
GetTemplate action. |
899
|
|
|
|
|
|
|
|
900
|
|
|
|
|
|
|
For more information about creating an update template, updating a |
901
|
|
|
|
|
|
|
stack, and monitoring the progress of the update, see Updating a Stack. |
902
|
|
|
|
|
|
|
|
903
|
|
|
|
|
|
|
|
904
|
|
|
|
|
|
|
=head2 UpdateStackSet(StackSetName => Str, [Capabilities => ArrayRef[Str|Undef], Description => Str, OperationId => Str, OperationPreferences => L<Paws::CloudFormation::StackSetOperationPreferences>, Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>], Tags => ArrayRef[L<Paws::CloudFormation::Tag>], TemplateBody => Str, TemplateURL => Str, UsePreviousTemplate => Bool]) |
905
|
|
|
|
|
|
|
|
906
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::UpdateStackSet> |
907
|
|
|
|
|
|
|
|
908
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::UpdateStackSetOutput> instance |
909
|
|
|
|
|
|
|
|
910
|
|
|
|
|
|
|
Updates the stack set and I<all> associated stack instances. |
911
|
|
|
|
|
|
|
|
912
|
|
|
|
|
|
|
Even if the stack set operation created by updating the stack set fails |
913
|
|
|
|
|
|
|
(completely or partially, below or above a specified failure |
914
|
|
|
|
|
|
|
tolerance), the stack set is updated with your changes. Subsequent |
915
|
|
|
|
|
|
|
CreateStackInstances calls on the specified stack set use the updated |
916
|
|
|
|
|
|
|
stack set. |
917
|
|
|
|
|
|
|
|
918
|
|
|
|
|
|
|
|
919
|
|
|
|
|
|
|
=head2 UpdateTerminationProtection(EnableTerminationProtection => Bool, StackName => Str) |
920
|
|
|
|
|
|
|
|
921
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::UpdateTerminationProtection> |
922
|
|
|
|
|
|
|
|
923
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::UpdateTerminationProtectionOutput> instance |
924
|
|
|
|
|
|
|
|
925
|
|
|
|
|
|
|
Updates termination protection for the specified stack. If a user |
926
|
|
|
|
|
|
|
attempts to delete a stack with termination protection enabled, the |
927
|
|
|
|
|
|
|
operation fails and the stack remains unchanged. For more information, |
928
|
|
|
|
|
|
|
see Protecting a Stack From Being Deleted in the I<AWS CloudFormation |
929
|
|
|
|
|
|
|
User Guide>. |
930
|
|
|
|
|
|
|
|
931
|
|
|
|
|
|
|
For nested stacks, termination protection is set on the root stack and |
932
|
|
|
|
|
|
|
cannot be changed directly on the nested stack. |
933
|
|
|
|
|
|
|
|
934
|
|
|
|
|
|
|
|
935
|
|
|
|
|
|
|
=head2 ValidateTemplate([TemplateBody => Str, TemplateURL => Str]) |
936
|
|
|
|
|
|
|
|
937
|
|
|
|
|
|
|
Each argument is described in detail in: L<Paws::CloudFormation::ValidateTemplate> |
938
|
|
|
|
|
|
|
|
939
|
|
|
|
|
|
|
Returns: a L<Paws::CloudFormation::ValidateTemplateOutput> instance |
940
|
|
|
|
|
|
|
|
941
|
|
|
|
|
|
|
Validates a specified template. AWS CloudFormation first checks if the |
942
|
|
|
|
|
|
|
template is valid JSON. If it isn't, AWS CloudFormation checks if the |
943
|
|
|
|
|
|
|
template is valid YAML. If both these checks fail, AWS CloudFormation |
944
|
|
|
|
|
|
|
returns a template validation error. |
945
|
|
|
|
|
|
|
|
946
|
|
|
|
|
|
|
|
947
|
|
|
|
|
|
|
|
948
|
|
|
|
|
|
|
|
949
|
|
|
|
|
|
|
=head1 PAGINATORS |
950
|
|
|
|
|
|
|
|
951
|
|
|
|
|
|
|
Paginator methods are helpers that repetively call methods that return partial results |
952
|
|
|
|
|
|
|
|
953
|
|
|
|
|
|
|
=head2 DescribeAllStackEvents(sub { },[NextToken => Str, StackName => Str]) |
954
|
|
|
|
|
|
|
|
955
|
|
|
|
|
|
|
=head2 DescribeAllStackEvents([NextToken => Str, StackName => Str]) |
956
|
|
|
|
|
|
|
|
957
|
|
|
|
|
|
|
|
958
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
959
|
|
|
|
|
|
|
|
960
|
|
|
|
|
|
|
- StackEvents, passing the object as the first parameter, and the string 'StackEvents' as the second parameter |
961
|
|
|
|
|
|
|
|
962
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFormation::DescribeStackEventsOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
963
|
|
|
|
|
|
|
|
964
|
|
|
|
|
|
|
|
965
|
|
|
|
|
|
|
=head2 DescribeAllStacks(sub { },[NextToken => Str, StackName => Str]) |
966
|
|
|
|
|
|
|
|
967
|
|
|
|
|
|
|
=head2 DescribeAllStacks([NextToken => Str, StackName => Str]) |
968
|
|
|
|
|
|
|
|
969
|
|
|
|
|
|
|
|
970
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
971
|
|
|
|
|
|
|
|
972
|
|
|
|
|
|
|
- Stacks, passing the object as the first parameter, and the string 'Stacks' as the second parameter |
973
|
|
|
|
|
|
|
|
974
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFormation::DescribeStacksOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
975
|
|
|
|
|
|
|
|
976
|
|
|
|
|
|
|
|
977
|
|
|
|
|
|
|
=head2 ListAllExports(sub { },[NextToken => Str]) |
978
|
|
|
|
|
|
|
|
979
|
|
|
|
|
|
|
=head2 ListAllExports([NextToken => Str]) |
980
|
|
|
|
|
|
|
|
981
|
|
|
|
|
|
|
|
982
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
983
|
|
|
|
|
|
|
|
984
|
|
|
|
|
|
|
- Exports, passing the object as the first parameter, and the string 'Exports' as the second parameter |
985
|
|
|
|
|
|
|
|
986
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFormation::ListExportsOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
987
|
|
|
|
|
|
|
|
988
|
|
|
|
|
|
|
|
989
|
|
|
|
|
|
|
=head2 ListAllImports(sub { },ExportName => Str, [NextToken => Str]) |
990
|
|
|
|
|
|
|
|
991
|
|
|
|
|
|
|
=head2 ListAllImports(ExportName => Str, [NextToken => Str]) |
992
|
|
|
|
|
|
|
|
993
|
|
|
|
|
|
|
|
994
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
995
|
|
|
|
|
|
|
|
996
|
|
|
|
|
|
|
- Imports, passing the object as the first parameter, and the string 'Imports' as the second parameter |
997
|
|
|
|
|
|
|
|
998
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFormation::ListImportsOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
999
|
|
|
|
|
|
|
|
1000
|
|
|
|
|
|
|
|
1001
|
|
|
|
|
|
|
=head2 ListAllStackResources(sub { },StackName => Str, [NextToken => Str]) |
1002
|
|
|
|
|
|
|
|
1003
|
|
|
|
|
|
|
=head2 ListAllStackResources(StackName => Str, [NextToken => Str]) |
1004
|
|
|
|
|
|
|
|
1005
|
|
|
|
|
|
|
|
1006
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1007
|
|
|
|
|
|
|
|
1008
|
|
|
|
|
|
|
- StackResourceSummaries, passing the object as the first parameter, and the string 'StackResourceSummaries' as the second parameter |
1009
|
|
|
|
|
|
|
|
1010
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFormation::ListStackResourcesOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1011
|
|
|
|
|
|
|
|
1012
|
|
|
|
|
|
|
|
1013
|
|
|
|
|
|
|
=head2 ListAllStacks(sub { },[NextToken => Str, StackStatusFilter => ArrayRef[Str|Undef]]) |
1014
|
|
|
|
|
|
|
|
1015
|
|
|
|
|
|
|
=head2 ListAllStacks([NextToken => Str, StackStatusFilter => ArrayRef[Str|Undef]]) |
1016
|
|
|
|
|
|
|
|
1017
|
|
|
|
|
|
|
|
1018
|
|
|
|
|
|
|
If passed a sub as first parameter, it will call the sub for each element found in : |
1019
|
|
|
|
|
|
|
|
1020
|
|
|
|
|
|
|
- StackSummaries, passing the object as the first parameter, and the string 'StackSummaries' as the second parameter |
1021
|
|
|
|
|
|
|
|
1022
|
|
|
|
|
|
|
If not, it will return a a L<Paws::CloudFormation::ListStacksOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. |
1023
|
|
|
|
|
|
|
|
1024
|
|
|
|
|
|
|
|
1025
|
|
|
|
|
|
|
|
1026
|
|
|
|
|
|
|
|
1027
|
|
|
|
|
|
|
|
1028
|
|
|
|
|
|
|
=head1 SEE ALSO |
1029
|
|
|
|
|
|
|
|
1030
|
|
|
|
|
|
|
This service class forms part of L<Paws> |
1031
|
|
|
|
|
|
|
|
1032
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
1033
|
|
|
|
|
|
|
|
1034
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
1035
|
|
|
|
|
|
|
|
1036
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
1037
|
|
|
|
|
|
|
|
1038
|
|
|
|
|
|
|
=cut |
1039
|
|
|
|
|
|
|
|