aws-sdk-cloudformation 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +88 -30
- data/lib/aws-sdk-cloudformation/client_api.rb +15 -0
- data/lib/aws-sdk-cloudformation/event.rb +10 -0
- data/lib/aws-sdk-cloudformation/resource.rb +9 -6
- data/lib/aws-sdk-cloudformation/stack.rb +42 -11
- data/lib/aws-sdk-cloudformation/types.rb +94 -21
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d0ccd7fd0851980334f9cfeaf3d4a58f28e0efa
|
4
|
+
data.tar.gz: b28a547465776c8c25564a94d648bc7a77f0788a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e14964fe6b4e438ebea8ae094e14a247cdc87962d6a83ef947730c571775515b6d7cd3c5aae1fb59e4fc7611da10ccfb7e2c2718937779ca72332361117480
|
7
|
+
data.tar.gz: 0d051aacded4a91b0760c1d5e3ebca3f87e728aeef463a7996a9f4d4f9bac118e03a0f4fe75c1fa2f591d6c93127b99c7dbac594cbc47c6f3891928f9f1dcce9
|
@@ -156,12 +156,20 @@ module Aws::CloudFormation
|
|
156
156
|
# @option params [required, String] :stack_name
|
157
157
|
# The name or the unique stack ID that is associated with the stack.
|
158
158
|
#
|
159
|
+
# @option params [String] :client_request_token
|
160
|
+
# A unique identifier for this `CancelUpdateStack` request. Specify this
|
161
|
+
# token if you plan to retry requests so that AWS CloudFormation knows
|
162
|
+
# that you're not attempting to cancel an update on a stack with the
|
163
|
+
# same name. You might retry `CancelUpdateStack` requests to ensure that
|
164
|
+
# AWS CloudFormation successfully received them.
|
165
|
+
#
|
159
166
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
160
167
|
#
|
161
168
|
# @example Request syntax with placeholder values
|
162
169
|
#
|
163
170
|
# resp = client.cancel_update_stack({
|
164
171
|
# stack_name: "StackName", # required
|
172
|
+
# client_request_token: "ClientRequestToken",
|
165
173
|
# })
|
166
174
|
#
|
167
175
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack AWS API Documentation
|
@@ -245,15 +253,22 @@ module Aws::CloudFormation
|
|
245
253
|
# to skip the dependent resources.
|
246
254
|
#
|
247
255
|
# To specify resources in a nested stack, use the following format:
|
248
|
-
# `NestedStackName.ResourceLogicalID`.
|
249
|
-
# resource (
|
250
|
-
#
|
251
|
-
# `
|
256
|
+
# `NestedStackName.ResourceLogicalID`. If the `ResourceLogicalID` is a
|
257
|
+
# stack resource (`Type: AWS::CloudFormation::Stack`), it must be in one
|
258
|
+
# of the following states: `DELETE_IN_PROGRESS`, `DELETE_COMPLETE`, or
|
259
|
+
# `DELETE_FAILED`.
|
252
260
|
#
|
253
261
|
#
|
254
262
|
#
|
255
263
|
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed
|
256
264
|
#
|
265
|
+
# @option params [String] :client_request_token
|
266
|
+
# A unique identifier for this `ContinueUpdateRollback` request. Specify
|
267
|
+
# this token if you plan to retry requests so that AWS CloudFormation
|
268
|
+
# knows that you're not attempting to continue the rollback to a stack
|
269
|
+
# with the same name. You might retry `ContinueUpdateRollback` requests
|
270
|
+
# to ensure that AWS CloudFormation successfully received them.
|
271
|
+
#
|
257
272
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
258
273
|
#
|
259
274
|
# @example Request syntax with placeholder values
|
@@ -262,6 +277,7 @@ module Aws::CloudFormation
|
|
262
277
|
# stack_name: "StackNameOrId", # required
|
263
278
|
# role_arn: "RoleARN",
|
264
279
|
# resources_to_skip: ["ResourceToSkip"],
|
280
|
+
# client_request_token: "ClientRequestToken",
|
265
281
|
# })
|
266
282
|
#
|
267
283
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback AWS API Documentation
|
@@ -273,21 +289,28 @@ module Aws::CloudFormation
|
|
273
289
|
req.send_request(options)
|
274
290
|
end
|
275
291
|
|
276
|
-
# Creates a list of changes
|
277
|
-
# the
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
# AWS CloudFormation
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
# the
|
292
|
+
# Creates a list of changes that will be applied to a stack so that you
|
293
|
+
# can review the changes before executing them. You can create a change
|
294
|
+
# set for a stack that doesn't exist or an existing stack. If you
|
295
|
+
# create a change set for a stack that doesn't exist, the change set
|
296
|
+
# shows all of the resources that AWS CloudFormation will create. If you
|
297
|
+
# create a change set for an existing stack, AWS CloudFormation compares
|
298
|
+
# the stack's information with the information that you submit in the
|
299
|
+
# change set and lists the differences. Use change sets to understand
|
300
|
+
# which resources AWS CloudFormation will create or change, and how it
|
301
|
+
# will change resources in an existing stack, before you create or
|
302
|
+
# update a stack.
|
303
|
+
#
|
304
|
+
# To create a change set for a stack that doesn't exist, for the
|
305
|
+
# `ChangeSetType` parameter, specify `CREATE`. To create a change set
|
306
|
+
# for an existing stack, specify `UPDATE` for the `ChangeSetType`
|
307
|
+
# parameter. After the `CreateChangeSet` call successfully completes,
|
308
|
+
# AWS CloudFormation starts creating the change set. To check the status
|
309
|
+
# of the change set or to review it, use the DescribeChangeSet action.
|
310
|
+
#
|
311
|
+
# When you are satisfied with the changes the change set will make,
|
312
|
+
# execute the change set by using the ExecuteChangeSet action. AWS
|
313
|
+
# CloudFormation doesn't make changes until you execute the change set.
|
291
314
|
#
|
292
315
|
# @option params [required, String] :stack_name
|
293
316
|
# The name or the unique ID of the stack for which you are creating a
|
@@ -547,12 +570,8 @@ module Aws::CloudFormation
|
|
547
570
|
#
|
548
571
|
# @option params [Array<String>] :notification_arns
|
549
572
|
# The Simple Notification Service (SNS) topic ARNs to publish stack
|
550
|
-
# related events. You can find your SNS topic ARNs using the
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
554
|
-
#
|
555
|
-
# [1]: https://console.aws.amazon.com/sns
|
573
|
+
# related events. You can find your SNS topic ARNs using the SNS console
|
574
|
+
# or your Command Line Interface (CLI).
|
556
575
|
#
|
557
576
|
# @option params [Array<String>] :capabilities
|
558
577
|
# A list of values that you must specify before AWS CloudFormation can
|
@@ -654,6 +673,13 @@ module Aws::CloudFormation
|
|
654
673
|
# propagates these tags to the resources created in the stack. A maximum
|
655
674
|
# number of 10 tags can be specified.
|
656
675
|
#
|
676
|
+
# @option params [String] :client_request_token
|
677
|
+
# A unique identifier for this `CreateStack` request. Specify this token
|
678
|
+
# if you plan to retry requests so that AWS CloudFormation knows that
|
679
|
+
# you're not attempting to create a stack with the same name. You might
|
680
|
+
# retry `CreateStack` requests to ensure that AWS CloudFormation
|
681
|
+
# successfully received them.
|
682
|
+
#
|
657
683
|
# @return [Types::CreateStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
658
684
|
#
|
659
685
|
# * {Types::CreateStackOutput#stack_id #stack_id} => String
|
@@ -686,6 +712,7 @@ module Aws::CloudFormation
|
|
686
712
|
# value: "TagValue",
|
687
713
|
# },
|
688
714
|
# ],
|
715
|
+
# client_request_token: "ClientRequestToken",
|
689
716
|
# })
|
690
717
|
#
|
691
718
|
# @example Response structure
|
@@ -760,6 +787,13 @@ module Aws::CloudFormation
|
|
760
787
|
# CloudFormation uses a temporary session that is generated from your
|
761
788
|
# user credentials.
|
762
789
|
#
|
790
|
+
# @option params [String] :client_request_token
|
791
|
+
# A unique identifier for this `DeleteStack` request. Specify this token
|
792
|
+
# if you plan to retry requests so that AWS CloudFormation knows that
|
793
|
+
# you're not attempting to delete a stack with the same name. You might
|
794
|
+
# retry `DeleteStack` requests to ensure that AWS CloudFormation
|
795
|
+
# successfully received them.
|
796
|
+
#
|
763
797
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
764
798
|
#
|
765
799
|
# @example Request syntax with placeholder values
|
@@ -768,6 +802,7 @@ module Aws::CloudFormation
|
|
768
802
|
# stack_name: "StackName", # required
|
769
803
|
# retain_resources: ["LogicalResourceId"],
|
770
804
|
# role_arn: "RoleARN",
|
805
|
+
# client_request_token: "ClientRequestToken",
|
771
806
|
# })
|
772
807
|
#
|
773
808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack AWS API Documentation
|
@@ -962,6 +997,7 @@ module Aws::CloudFormation
|
|
962
997
|
# resp.stack_events[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE"
|
963
998
|
# resp.stack_events[0].resource_status_reason #=> String
|
964
999
|
# resp.stack_events[0].resource_properties #=> String
|
1000
|
+
# resp.stack_events[0].client_request_token #=> String
|
965
1001
|
# resp.next_token #=> String
|
966
1002
|
#
|
967
1003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents AWS API Documentation
|
@@ -1282,6 +1318,13 @@ module Aws::CloudFormation
|
|
1282
1318
|
# If you specified the name of a change set, specify the stack name or
|
1283
1319
|
# ID (ARN) that is associated with the change set you want to execute.
|
1284
1320
|
#
|
1321
|
+
# @option params [String] :client_request_token
|
1322
|
+
# A unique identifier for this `ExecuteChangeSet` request. Specify this
|
1323
|
+
# token if you plan to retry requests so that AWS CloudFormation knows
|
1324
|
+
# that you're not attempting to execute a change set to update a stack
|
1325
|
+
# with the same name. You might retry `ExecuteChangeSet` requests to
|
1326
|
+
# ensure that AWS CloudFormation successfully received them.
|
1327
|
+
#
|
1285
1328
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1286
1329
|
#
|
1287
1330
|
# @example Request syntax with placeholder values
|
@@ -1289,6 +1332,7 @@ module Aws::CloudFormation
|
|
1289
1332
|
# resp = client.execute_change_set({
|
1290
1333
|
# change_set_name: "ChangeSetNameOrId", # required
|
1291
1334
|
# stack_name: "StackNameOrId",
|
1335
|
+
# client_request_token: "ClientRequestToken",
|
1292
1336
|
# })
|
1293
1337
|
#
|
1294
1338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet AWS API Documentation
|
@@ -1845,8 +1889,9 @@ module Aws::CloudFormation
|
|
1845
1889
|
# and a maximum length of 51,200 bytes. (For more information, go to
|
1846
1890
|
# [Template Anatomy][1] in the AWS CloudFormation User Guide.)
|
1847
1891
|
#
|
1848
|
-
# Conditional: You must specify
|
1849
|
-
# `TemplateURL
|
1892
|
+
# Conditional: You must specify only one of the following parameters:
|
1893
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
1894
|
+
# `true`.
|
1850
1895
|
#
|
1851
1896
|
#
|
1852
1897
|
#
|
@@ -1857,8 +1902,9 @@ module Aws::CloudFormation
|
|
1857
1902
|
# template that is located in an Amazon S3 bucket. For more information,
|
1858
1903
|
# go to [Template Anatomy][1] in the AWS CloudFormation User Guide.
|
1859
1904
|
#
|
1860
|
-
# Conditional: You must specify
|
1861
|
-
# `TemplateURL
|
1905
|
+
# Conditional: You must specify only one of the following parameters:
|
1906
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
1907
|
+
# `true`.
|
1862
1908
|
#
|
1863
1909
|
#
|
1864
1910
|
#
|
@@ -1868,6 +1914,10 @@ module Aws::CloudFormation
|
|
1868
1914
|
# Reuse the existing template that is associated with the stack that you
|
1869
1915
|
# are updating.
|
1870
1916
|
#
|
1917
|
+
# Conditional: You must specify only one of the following parameters:
|
1918
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
1919
|
+
# `true`.
|
1920
|
+
#
|
1871
1921
|
# @option params [String] :stack_policy_during_update_body
|
1872
1922
|
# Structure containing the temporary overriding stack policy body. You
|
1873
1923
|
# can specify either the `StackPolicyDuringUpdateBody` or the
|
@@ -1999,6 +2049,13 @@ module Aws::CloudFormation
|
|
1999
2049
|
# modify the stack's tags. If you specify an empty value, AWS
|
2000
2050
|
# CloudFormation removes all associated tags.
|
2001
2051
|
#
|
2052
|
+
# @option params [String] :client_request_token
|
2053
|
+
# A unique identifier for this `UpdateStack` request. Specify this token
|
2054
|
+
# if you plan to retry requests so that AWS CloudFormation knows that
|
2055
|
+
# you're not attempting to update a stack with the same name. You might
|
2056
|
+
# retry `UpdateStack` requests to ensure that AWS CloudFormation
|
2057
|
+
# successfully received them.
|
2058
|
+
#
|
2002
2059
|
# @return [Types::UpdateStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2003
2060
|
#
|
2004
2061
|
# * {Types::UpdateStackOutput#stack_id #stack_id} => String
|
@@ -2031,6 +2088,7 @@ module Aws::CloudFormation
|
|
2031
2088
|
# value: "TagValue",
|
2032
2089
|
# },
|
2033
2090
|
# ],
|
2091
|
+
# client_request_token: "ClientRequestToken",
|
2034
2092
|
# })
|
2035
2093
|
#
|
2036
2094
|
# @example Response structure
|
@@ -2127,7 +2185,7 @@ module Aws::CloudFormation
|
|
2127
2185
|
params: params,
|
2128
2186
|
config: config)
|
2129
2187
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
2130
|
-
context[:gem_version] = '1.0.0.
|
2188
|
+
context[:gem_version] = '1.0.0.rc3'
|
2131
2189
|
Seahorse::Client::Request.new(handlers, context)
|
2132
2190
|
end
|
2133
2191
|
|
@@ -35,6 +35,7 @@ module Aws::CloudFormation
|
|
35
35
|
ChangeSource = Shapes::StringShape.new(name: 'ChangeSource')
|
36
36
|
ChangeType = Shapes::StringShape.new(name: 'ChangeType')
|
37
37
|
Changes = Shapes::ListShape.new(name: 'Changes')
|
38
|
+
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
38
39
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
39
40
|
ContinueUpdateRollbackInput = Shapes::StructureShape.new(name: 'ContinueUpdateRollbackInput')
|
40
41
|
ContinueUpdateRollbackOutput = Shapes::StructureShape.new(name: 'ContinueUpdateRollbackOutput')
|
@@ -171,6 +172,7 @@ module Aws::CloudFormation
|
|
171
172
|
TemplateURL = Shapes::StringShape.new(name: 'TemplateURL')
|
172
173
|
TimeoutMinutes = Shapes::IntegerShape.new(name: 'TimeoutMinutes')
|
173
174
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
175
|
+
TokenAlreadyExistsException = Shapes::StructureShape.new(name: 'TokenAlreadyExistsException')
|
174
176
|
TransformName = Shapes::StringShape.new(name: 'TransformName')
|
175
177
|
TransformsList = Shapes::ListShape.new(name: 'TransformsList')
|
176
178
|
UpdateStackInput = Shapes::StructureShape.new(name: 'UpdateStackInput')
|
@@ -191,6 +193,7 @@ module Aws::CloudFormation
|
|
191
193
|
AllowedValues.member = Shapes::ShapeRef.new(shape: AllowedValue)
|
192
194
|
|
193
195
|
CancelUpdateStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName"))
|
196
|
+
CancelUpdateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
194
197
|
CancelUpdateStackInput.struct_class = Types::CancelUpdateStackInput
|
195
198
|
|
196
199
|
Capabilities.member = Shapes::ShapeRef.new(shape: Capability)
|
@@ -217,6 +220,7 @@ module Aws::CloudFormation
|
|
217
220
|
ContinueUpdateRollbackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName"))
|
218
221
|
ContinueUpdateRollbackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
219
222
|
ContinueUpdateRollbackInput.add_member(:resources_to_skip, Shapes::ShapeRef.new(shape: ResourcesToSkip, location_name: "ResourcesToSkip"))
|
223
|
+
ContinueUpdateRollbackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
220
224
|
ContinueUpdateRollbackInput.struct_class = Types::ContinueUpdateRollbackInput
|
221
225
|
|
222
226
|
ContinueUpdateRollbackOutput.struct_class = Types::ContinueUpdateRollbackOutput
|
@@ -255,6 +259,7 @@ module Aws::CloudFormation
|
|
255
259
|
CreateStackInput.add_member(:stack_policy_body, Shapes::ShapeRef.new(shape: StackPolicyBody, location_name: "StackPolicyBody"))
|
256
260
|
CreateStackInput.add_member(:stack_policy_url, Shapes::ShapeRef.new(shape: StackPolicyURL, location_name: "StackPolicyURL"))
|
257
261
|
CreateStackInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
262
|
+
CreateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
258
263
|
CreateStackInput.struct_class = Types::CreateStackInput
|
259
264
|
|
260
265
|
CreateStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
@@ -269,6 +274,7 @@ module Aws::CloudFormation
|
|
269
274
|
DeleteStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName"))
|
270
275
|
DeleteStackInput.add_member(:retain_resources, Shapes::ShapeRef.new(shape: RetainResources, location_name: "RetainResources"))
|
271
276
|
DeleteStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
|
277
|
+
DeleteStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
272
278
|
DeleteStackInput.struct_class = Types::DeleteStackInput
|
273
279
|
|
274
280
|
DescribeAccountLimitsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -341,6 +347,7 @@ module Aws::CloudFormation
|
|
341
347
|
|
342
348
|
ExecuteChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName"))
|
343
349
|
ExecuteChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName"))
|
350
|
+
ExecuteChangeSetInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
344
351
|
ExecuteChangeSetInput.struct_class = Types::ExecuteChangeSetInput
|
345
352
|
|
346
353
|
ExecuteChangeSetOutput.struct_class = Types::ExecuteChangeSetOutput
|
@@ -521,6 +528,7 @@ module Aws::CloudFormation
|
|
521
528
|
StackEvent.add_member(:resource_status, Shapes::ShapeRef.new(shape: ResourceStatus, location_name: "ResourceStatus"))
|
522
529
|
StackEvent.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason"))
|
523
530
|
StackEvent.add_member(:resource_properties, Shapes::ShapeRef.new(shape: ResourceProperties, location_name: "ResourceProperties"))
|
531
|
+
StackEvent.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
524
532
|
StackEvent.struct_class = Types::StackEvent
|
525
533
|
|
526
534
|
StackEvents.member = Shapes::ShapeRef.new(shape: StackEvent)
|
@@ -608,6 +616,7 @@ module Aws::CloudFormation
|
|
608
616
|
UpdateStackInput.add_member(:stack_policy_url, Shapes::ShapeRef.new(shape: StackPolicyURL, location_name: "StackPolicyURL"))
|
609
617
|
UpdateStackInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs"))
|
610
618
|
UpdateStackInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
619
|
+
UpdateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
611
620
|
UpdateStackInput.struct_class = Types::UpdateStackInput
|
612
621
|
|
613
622
|
UpdateStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
|
@@ -644,6 +653,7 @@ module Aws::CloudFormation
|
|
644
653
|
o.http_request_uri = "/"
|
645
654
|
o.input = Shapes::ShapeRef.new(shape: CancelUpdateStackInput)
|
646
655
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
647
657
|
end)
|
648
658
|
|
649
659
|
api.add_operation(:continue_update_rollback, Seahorse::Model::Operation.new.tap do |o|
|
@@ -652,6 +662,7 @@ module Aws::CloudFormation
|
|
652
662
|
o.http_request_uri = "/"
|
653
663
|
o.input = Shapes::ShapeRef.new(shape: ContinueUpdateRollbackInput)
|
654
664
|
o.output = Shapes::ShapeRef.new(shape: ContinueUpdateRollbackOutput)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
655
666
|
end)
|
656
667
|
|
657
668
|
api.add_operation(:create_change_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -673,6 +684,7 @@ module Aws::CloudFormation
|
|
673
684
|
o.output = Shapes::ShapeRef.new(shape: CreateStackOutput)
|
674
685
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
675
686
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
687
|
+
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
676
688
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientCapabilitiesException)
|
677
689
|
end)
|
678
690
|
|
@@ -691,6 +703,7 @@ module Aws::CloudFormation
|
|
691
703
|
o.http_request_uri = "/"
|
692
704
|
o.input = Shapes::ShapeRef.new(shape: DeleteStackInput)
|
693
705
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
694
707
|
end)
|
695
708
|
|
696
709
|
api.add_operation(:describe_account_limits, Seahorse::Model::Operation.new.tap do |o|
|
@@ -769,6 +782,7 @@ module Aws::CloudFormation
|
|
769
782
|
o.errors << Shapes::ShapeRef.new(shape: InvalidChangeSetStatusException)
|
770
783
|
o.errors << Shapes::ShapeRef.new(shape: ChangeSetNotFoundException)
|
771
784
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientCapabilitiesException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
772
786
|
end)
|
773
787
|
|
774
788
|
api.add_operation(:get_stack_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -879,6 +893,7 @@ module Aws::CloudFormation
|
|
879
893
|
o.input = Shapes::ShapeRef.new(shape: UpdateStackInput)
|
880
894
|
o.output = Shapes::ShapeRef.new(shape: UpdateStackOutput)
|
881
895
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientCapabilitiesException)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException)
|
882
897
|
end)
|
883
898
|
|
884
899
|
api.add_operation(:validate_template, Seahorse::Model::Operation.new.tap do |o|
|
@@ -91,6 +91,16 @@ module Aws::CloudFormation
|
|
91
91
|
data.resource_properties
|
92
92
|
end
|
93
93
|
|
94
|
+
# The token passed to the operation that generated this event.
|
95
|
+
#
|
96
|
+
# For example, if you execute a `CreateStack` operation with the token
|
97
|
+
# `token1`, then all the `StackEvents` generated by that operation will
|
98
|
+
# have `ClientRequestToken` set as `token1`.
|
99
|
+
# @return [String]
|
100
|
+
def client_request_token
|
101
|
+
data.client_request_token
|
102
|
+
end
|
103
|
+
|
94
104
|
# @!endgroup
|
95
105
|
|
96
106
|
# @return [Client]
|
@@ -49,6 +49,7 @@ module Aws::CloudFormation
|
|
49
49
|
# value: "TagValue",
|
50
50
|
# },
|
51
51
|
# ],
|
52
|
+
# client_request_token: "ClientRequestToken",
|
52
53
|
# })
|
53
54
|
# @param [Hash] options ({})
|
54
55
|
# @option options [required, String] :stack_name
|
@@ -102,12 +103,8 @@ module Aws::CloudFormation
|
|
102
103
|
# the stack will be rolled back.
|
103
104
|
# @option options [Array<String>] :notification_arns
|
104
105
|
# The Simple Notification Service (SNS) topic ARNs to publish stack
|
105
|
-
# related events. You can find your SNS topic ARNs using the
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
# [1]: https://console.aws.amazon.com/sns
|
106
|
+
# related events. You can find your SNS topic ARNs using the SNS console
|
107
|
+
# or your Command Line Interface (CLI).
|
111
108
|
# @option options [Array<String>] :capabilities
|
112
109
|
# A list of values that you must specify before AWS CloudFormation can
|
113
110
|
# create certain stacks. Some stack templates might include resources
|
@@ -201,6 +198,12 @@ module Aws::CloudFormation
|
|
201
198
|
# Key-value pairs to associate with this stack. AWS CloudFormation also
|
202
199
|
# propagates these tags to the resources created in the stack. A maximum
|
203
200
|
# number of 10 tags can be specified.
|
201
|
+
# @option options [String] :client_request_token
|
202
|
+
# A unique identifier for this `CreateStack` request. Specify this token
|
203
|
+
# if you plan to retry requests so that AWS CloudFormation knows that
|
204
|
+
# you're not attempting to create a stack with the same name. You might
|
205
|
+
# retry `CreateStack` requests to ensure that AWS CloudFormation
|
206
|
+
# successfully received them.
|
204
207
|
# @return [Stack]
|
205
208
|
def create_stack(options = {})
|
206
209
|
resp = @client.create_stack(options)
|
@@ -199,8 +199,16 @@ module Aws::CloudFormation
|
|
199
199
|
|
200
200
|
# @example Request syntax with placeholder values
|
201
201
|
#
|
202
|
-
# stack.cancel_update(
|
202
|
+
# stack.cancel_update({
|
203
|
+
# client_request_token: "ClientRequestToken",
|
204
|
+
# })
|
203
205
|
# @param [Hash] options ({})
|
206
|
+
# @option options [String] :client_request_token
|
207
|
+
# A unique identifier for this `CancelUpdateStack` request. Specify this
|
208
|
+
# token if you plan to retry requests so that AWS CloudFormation knows
|
209
|
+
# that you're not attempting to cancel an update on a stack with the
|
210
|
+
# same name. You might retry `CancelUpdateStack` requests to ensure that
|
211
|
+
# AWS CloudFormation successfully received them.
|
204
212
|
# @return [EmptyStructure]
|
205
213
|
def cancel_update(options = {})
|
206
214
|
options = options.merge(stack_name: @name)
|
@@ -235,6 +243,7 @@ module Aws::CloudFormation
|
|
235
243
|
# value: "TagValue",
|
236
244
|
# },
|
237
245
|
# ],
|
246
|
+
# client_request_token: "ClientRequestToken",
|
238
247
|
# })
|
239
248
|
# @param [Hash] options ({})
|
240
249
|
# @option options [String] :template_body
|
@@ -279,12 +288,8 @@ module Aws::CloudFormation
|
|
279
288
|
# the stack will be rolled back.
|
280
289
|
# @option options [Array<String>] :notification_arns
|
281
290
|
# The Simple Notification Service (SNS) topic ARNs to publish stack
|
282
|
-
# related events. You can find your SNS topic ARNs using the
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
# [1]: https://console.aws.amazon.com/sns
|
291
|
+
# related events. You can find your SNS topic ARNs using the SNS console
|
292
|
+
# or your Command Line Interface (CLI).
|
288
293
|
# @option options [Array<String>] :capabilities
|
289
294
|
# A list of values that you must specify before AWS CloudFormation can
|
290
295
|
# create certain stacks. Some stack templates might include resources
|
@@ -378,6 +383,12 @@ module Aws::CloudFormation
|
|
378
383
|
# Key-value pairs to associate with this stack. AWS CloudFormation also
|
379
384
|
# propagates these tags to the resources created in the stack. A maximum
|
380
385
|
# number of 10 tags can be specified.
|
386
|
+
# @option options [String] :client_request_token
|
387
|
+
# A unique identifier for this `CreateStack` request. Specify this token
|
388
|
+
# if you plan to retry requests so that AWS CloudFormation knows that
|
389
|
+
# you're not attempting to create a stack with the same name. You might
|
390
|
+
# retry `CreateStack` requests to ensure that AWS CloudFormation
|
391
|
+
# successfully received them.
|
381
392
|
# @return [Types::CreateStackOutput]
|
382
393
|
def create(options = {})
|
383
394
|
options = options.merge(stack_name: @name)
|
@@ -390,6 +401,7 @@ module Aws::CloudFormation
|
|
390
401
|
# stack.delete({
|
391
402
|
# retain_resources: ["LogicalResourceId"],
|
392
403
|
# role_arn: "RoleARN",
|
404
|
+
# client_request_token: "ClientRequestToken",
|
393
405
|
# })
|
394
406
|
# @param [Hash] options ({})
|
395
407
|
# @option options [Array<String>] :retain_resources
|
@@ -410,6 +422,12 @@ module Aws::CloudFormation
|
|
410
422
|
# was previously associated with the stack. If no role is available, AWS
|
411
423
|
# CloudFormation uses a temporary session that is generated from your
|
412
424
|
# user credentials.
|
425
|
+
# @option options [String] :client_request_token
|
426
|
+
# A unique identifier for this `DeleteStack` request. Specify this token
|
427
|
+
# if you plan to retry requests so that AWS CloudFormation knows that
|
428
|
+
# you're not attempting to delete a stack with the same name. You might
|
429
|
+
# retry `DeleteStack` requests to ensure that AWS CloudFormation
|
430
|
+
# successfully received them.
|
413
431
|
# @return [EmptyStructure]
|
414
432
|
def delete(options = {})
|
415
433
|
options = options.merge(stack_name: @name)
|
@@ -444,6 +462,7 @@ module Aws::CloudFormation
|
|
444
462
|
# value: "TagValue",
|
445
463
|
# },
|
446
464
|
# ],
|
465
|
+
# client_request_token: "ClientRequestToken",
|
447
466
|
# })
|
448
467
|
# @param [Hash] options ({})
|
449
468
|
# @option options [String] :template_body
|
@@ -451,8 +470,9 @@ module Aws::CloudFormation
|
|
451
470
|
# and a maximum length of 51,200 bytes. (For more information, go to
|
452
471
|
# [Template Anatomy][1] in the AWS CloudFormation User Guide.)
|
453
472
|
#
|
454
|
-
# Conditional: You must specify
|
455
|
-
# `TemplateURL
|
473
|
+
# Conditional: You must specify only one of the following parameters:
|
474
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
475
|
+
# `true`.
|
456
476
|
#
|
457
477
|
#
|
458
478
|
#
|
@@ -462,8 +482,9 @@ module Aws::CloudFormation
|
|
462
482
|
# template that is located in an Amazon S3 bucket. For more information,
|
463
483
|
# go to [Template Anatomy][1] in the AWS CloudFormation User Guide.
|
464
484
|
#
|
465
|
-
# Conditional: You must specify
|
466
|
-
# `TemplateURL
|
485
|
+
# Conditional: You must specify only one of the following parameters:
|
486
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
487
|
+
# `true`.
|
467
488
|
#
|
468
489
|
#
|
469
490
|
#
|
@@ -471,6 +492,10 @@ module Aws::CloudFormation
|
|
471
492
|
# @option options [Boolean] :use_previous_template
|
472
493
|
# Reuse the existing template that is associated with the stack that you
|
473
494
|
# are updating.
|
495
|
+
#
|
496
|
+
# Conditional: You must specify only one of the following parameters:
|
497
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
498
|
+
# `true`.
|
474
499
|
# @option options [String] :stack_policy_during_update_body
|
475
500
|
# Structure containing the temporary overriding stack policy body. You
|
476
501
|
# can specify either the `StackPolicyDuringUpdateBody` or the
|
@@ -592,6 +617,12 @@ module Aws::CloudFormation
|
|
592
617
|
# If you don't specify this parameter, AWS CloudFormation doesn't
|
593
618
|
# modify the stack's tags. If you specify an empty value, AWS
|
594
619
|
# CloudFormation removes all associated tags.
|
620
|
+
# @option options [String] :client_request_token
|
621
|
+
# A unique identifier for this `UpdateStack` request. Specify this token
|
622
|
+
# if you plan to retry requests so that AWS CloudFormation knows that
|
623
|
+
# you're not attempting to update a stack with the same name. You might
|
624
|
+
# retry `UpdateStack` requests to ensure that AWS CloudFormation
|
625
|
+
# successfully received them.
|
595
626
|
# @return [Types::UpdateStackOutput]
|
596
627
|
def update(options = {})
|
597
628
|
options = options.merge(stack_name: @name)
|
@@ -34,16 +34,26 @@ module Aws::CloudFormation
|
|
34
34
|
#
|
35
35
|
# {
|
36
36
|
# stack_name: "StackName", # required
|
37
|
+
# client_request_token: "ClientRequestToken",
|
37
38
|
# }
|
38
39
|
#
|
39
40
|
# @!attribute [rw] stack_name
|
40
41
|
# The name or the unique stack ID that is associated with the stack.
|
41
42
|
# @return [String]
|
42
43
|
#
|
44
|
+
# @!attribute [rw] client_request_token
|
45
|
+
# A unique identifier for this `CancelUpdateStack` request. Specify
|
46
|
+
# this token if you plan to retry requests so that AWS CloudFormation
|
47
|
+
# knows that you're not attempting to cancel an update on a stack
|
48
|
+
# with the same name. You might retry `CancelUpdateStack` requests to
|
49
|
+
# ensure that AWS CloudFormation successfully received them.
|
50
|
+
# @return [String]
|
51
|
+
#
|
43
52
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackInput AWS API Documentation
|
44
53
|
#
|
45
54
|
class CancelUpdateStackInput < Struct.new(
|
46
|
-
:stack_name
|
55
|
+
:stack_name,
|
56
|
+
:client_request_token)
|
47
57
|
include Aws::Structure
|
48
58
|
end
|
49
59
|
|
@@ -138,6 +148,7 @@ module Aws::CloudFormation
|
|
138
148
|
# stack_name: "StackNameOrId", # required
|
139
149
|
# role_arn: "RoleARN",
|
140
150
|
# resources_to_skip: ["ResourceToSkip"],
|
151
|
+
# client_request_token: "ClientRequestToken",
|
141
152
|
# }
|
142
153
|
#
|
143
154
|
# @!attribute [rw] stack_name
|
@@ -195,22 +206,32 @@ module Aws::CloudFormation
|
|
195
206
|
# necessary to skip the dependent resources.
|
196
207
|
#
|
197
208
|
# To specify resources in a nested stack, use the following format:
|
198
|
-
# `NestedStackName.ResourceLogicalID`.
|
199
|
-
# resource (
|
200
|
-
#
|
201
|
-
# `
|
209
|
+
# `NestedStackName.ResourceLogicalID`. If the `ResourceLogicalID` is a
|
210
|
+
# stack resource (`Type: AWS::CloudFormation::Stack`), it must be in
|
211
|
+
# one of the following states: `DELETE_IN_PROGRESS`,
|
212
|
+
# `DELETE_COMPLETE`, or `DELETE_FAILED`.
|
202
213
|
#
|
203
214
|
#
|
204
215
|
#
|
205
216
|
# [1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed
|
206
217
|
# @return [Array<String>]
|
207
218
|
#
|
219
|
+
# @!attribute [rw] client_request_token
|
220
|
+
# A unique identifier for this `ContinueUpdateRollback` request.
|
221
|
+
# Specify this token if you plan to retry requests so that AWS
|
222
|
+
# CloudFormation knows that you're not attempting to continue the
|
223
|
+
# rollback to a stack with the same name. You might retry
|
224
|
+
# `ContinueUpdateRollback` requests to ensure that AWS CloudFormation
|
225
|
+
# successfully received them.
|
226
|
+
# @return [String]
|
227
|
+
#
|
208
228
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackInput AWS API Documentation
|
209
229
|
#
|
210
230
|
class ContinueUpdateRollbackInput < Struct.new(
|
211
231
|
:stack_name,
|
212
232
|
:role_arn,
|
213
|
-
:resources_to_skip
|
233
|
+
:resources_to_skip,
|
234
|
+
:client_request_token)
|
214
235
|
include Aws::Structure
|
215
236
|
end
|
216
237
|
|
@@ -487,6 +508,7 @@ module Aws::CloudFormation
|
|
487
508
|
# value: "TagValue",
|
488
509
|
# },
|
489
510
|
# ],
|
511
|
+
# client_request_token: "ClientRequestToken",
|
490
512
|
# }
|
491
513
|
#
|
492
514
|
# @!attribute [rw] stack_name
|
@@ -552,12 +574,8 @@ module Aws::CloudFormation
|
|
552
574
|
#
|
553
575
|
# @!attribute [rw] notification_arns
|
554
576
|
# The Simple Notification Service (SNS) topic ARNs to publish stack
|
555
|
-
# related events. You can find your SNS topic ARNs using the
|
556
|
-
# console
|
557
|
-
#
|
558
|
-
#
|
559
|
-
#
|
560
|
-
# [1]: https://console.aws.amazon.com/sns
|
577
|
+
# related events. You can find your SNS topic ARNs using the SNS
|
578
|
+
# console or your Command Line Interface (CLI).
|
561
579
|
# @return [Array<String>]
|
562
580
|
#
|
563
581
|
# @!attribute [rw] capabilities
|
@@ -670,6 +688,14 @@ module Aws::CloudFormation
|
|
670
688
|
# maximum number of 10 tags can be specified.
|
671
689
|
# @return [Array<Types::Tag>]
|
672
690
|
#
|
691
|
+
# @!attribute [rw] client_request_token
|
692
|
+
# A unique identifier for this `CreateStack` request. Specify this
|
693
|
+
# token if you plan to retry requests so that AWS CloudFormation knows
|
694
|
+
# that you're not attempting to create a stack with the same name.
|
695
|
+
# You might retry `CreateStack` requests to ensure that AWS
|
696
|
+
# CloudFormation successfully received them.
|
697
|
+
# @return [String]
|
698
|
+
#
|
673
699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput AWS API Documentation
|
674
700
|
#
|
675
701
|
class CreateStackInput < Struct.new(
|
@@ -686,7 +712,8 @@ module Aws::CloudFormation
|
|
686
712
|
:on_failure,
|
687
713
|
:stack_policy_body,
|
688
714
|
:stack_policy_url,
|
689
|
-
:tags
|
715
|
+
:tags,
|
716
|
+
:client_request_token)
|
690
717
|
include Aws::Structure
|
691
718
|
end
|
692
719
|
|
@@ -746,6 +773,7 @@ module Aws::CloudFormation
|
|
746
773
|
# stack_name: "StackName", # required
|
747
774
|
# retain_resources: ["LogicalResourceId"],
|
748
775
|
# role_arn: "RoleARN",
|
776
|
+
# client_request_token: "ClientRequestToken",
|
749
777
|
# }
|
750
778
|
#
|
751
779
|
# @!attribute [rw] stack_name
|
@@ -774,12 +802,21 @@ module Aws::CloudFormation
|
|
774
802
|
# your user credentials.
|
775
803
|
# @return [String]
|
776
804
|
#
|
805
|
+
# @!attribute [rw] client_request_token
|
806
|
+
# A unique identifier for this `DeleteStack` request. Specify this
|
807
|
+
# token if you plan to retry requests so that AWS CloudFormation knows
|
808
|
+
# that you're not attempting to delete a stack with the same name.
|
809
|
+
# You might retry `DeleteStack` requests to ensure that AWS
|
810
|
+
# CloudFormation successfully received them.
|
811
|
+
# @return [String]
|
812
|
+
#
|
777
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInput AWS API Documentation
|
778
814
|
#
|
779
815
|
class DeleteStackInput < Struct.new(
|
780
816
|
:stack_name,
|
781
817
|
:retain_resources,
|
782
|
-
:role_arn
|
818
|
+
:role_arn,
|
819
|
+
:client_request_token)
|
783
820
|
include Aws::Structure
|
784
821
|
end
|
785
822
|
|
@@ -1271,6 +1308,7 @@ module Aws::CloudFormation
|
|
1271
1308
|
# {
|
1272
1309
|
# change_set_name: "ChangeSetNameOrId", # required
|
1273
1310
|
# stack_name: "StackNameOrId",
|
1311
|
+
# client_request_token: "ClientRequestToken",
|
1274
1312
|
# }
|
1275
1313
|
#
|
1276
1314
|
# @!attribute [rw] change_set_name
|
@@ -1283,11 +1321,21 @@ module Aws::CloudFormation
|
|
1283
1321
|
# ID (ARN) that is associated with the change set you want to execute.
|
1284
1322
|
# @return [String]
|
1285
1323
|
#
|
1324
|
+
# @!attribute [rw] client_request_token
|
1325
|
+
# A unique identifier for this `ExecuteChangeSet` request. Specify
|
1326
|
+
# this token if you plan to retry requests so that AWS CloudFormation
|
1327
|
+
# knows that you're not attempting to execute a change set to update
|
1328
|
+
# a stack with the same name. You might retry `ExecuteChangeSet`
|
1329
|
+
# requests to ensure that AWS CloudFormation successfully received
|
1330
|
+
# them.
|
1331
|
+
# @return [String]
|
1332
|
+
#
|
1286
1333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput AWS API Documentation
|
1287
1334
|
#
|
1288
1335
|
class ExecuteChangeSetInput < Struct.new(
|
1289
1336
|
:change_set_name,
|
1290
|
-
:stack_name
|
1337
|
+
:stack_name,
|
1338
|
+
:client_request_token)
|
1291
1339
|
include Aws::Structure
|
1292
1340
|
end
|
1293
1341
|
|
@@ -2334,6 +2382,14 @@ module Aws::CloudFormation
|
|
2334
2382
|
# BLOB of the properties used to create the resource.
|
2335
2383
|
# @return [String]
|
2336
2384
|
#
|
2385
|
+
# @!attribute [rw] client_request_token
|
2386
|
+
# The token passed to the operation that generated this event.
|
2387
|
+
#
|
2388
|
+
# For example, if you execute a `CreateStack` operation with the token
|
2389
|
+
# `token1`, then all the `StackEvents` generated by that operation
|
2390
|
+
# will have `ClientRequestToken` set as `token1`.
|
2391
|
+
# @return [String]
|
2392
|
+
#
|
2337
2393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent AWS API Documentation
|
2338
2394
|
#
|
2339
2395
|
class StackEvent < Struct.new(
|
@@ -2346,7 +2402,8 @@ module Aws::CloudFormation
|
|
2346
2402
|
:timestamp,
|
2347
2403
|
:resource_status,
|
2348
2404
|
:resource_status_reason,
|
2349
|
-
:resource_properties
|
2405
|
+
:resource_properties,
|
2406
|
+
:client_request_token)
|
2350
2407
|
include Aws::Structure
|
2351
2408
|
end
|
2352
2409
|
|
@@ -2662,6 +2719,7 @@ module Aws::CloudFormation
|
|
2662
2719
|
# value: "TagValue",
|
2663
2720
|
# },
|
2664
2721
|
# ],
|
2722
|
+
# client_request_token: "ClientRequestToken",
|
2665
2723
|
# }
|
2666
2724
|
#
|
2667
2725
|
# @!attribute [rw] stack_name
|
@@ -2673,8 +2731,9 @@ module Aws::CloudFormation
|
|
2673
2731
|
# byte and a maximum length of 51,200 bytes. (For more information, go
|
2674
2732
|
# to [Template Anatomy][1] in the AWS CloudFormation User Guide.)
|
2675
2733
|
#
|
2676
|
-
# Conditional: You must specify
|
2677
|
-
# `TemplateURL
|
2734
|
+
# Conditional: You must specify only one of the following parameters:
|
2735
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
2736
|
+
# `true`.
|
2678
2737
|
#
|
2679
2738
|
#
|
2680
2739
|
#
|
@@ -2687,8 +2746,9 @@ module Aws::CloudFormation
|
|
2687
2746
|
# information, go to [Template Anatomy][1] in the AWS CloudFormation
|
2688
2747
|
# User Guide.
|
2689
2748
|
#
|
2690
|
-
# Conditional: You must specify
|
2691
|
-
# `TemplateURL
|
2749
|
+
# Conditional: You must specify only one of the following parameters:
|
2750
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
2751
|
+
# `true`.
|
2692
2752
|
#
|
2693
2753
|
#
|
2694
2754
|
#
|
@@ -2698,6 +2758,10 @@ module Aws::CloudFormation
|
|
2698
2758
|
# @!attribute [rw] use_previous_template
|
2699
2759
|
# Reuse the existing template that is associated with the stack that
|
2700
2760
|
# you are updating.
|
2761
|
+
#
|
2762
|
+
# Conditional: You must specify only one of the following parameters:
|
2763
|
+
# `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to
|
2764
|
+
# `true`.
|
2701
2765
|
# @return [Boolean]
|
2702
2766
|
#
|
2703
2767
|
# @!attribute [rw] stack_policy_during_update_body
|
@@ -2844,6 +2908,14 @@ module Aws::CloudFormation
|
|
2844
2908
|
# CloudFormation removes all associated tags.
|
2845
2909
|
# @return [Array<Types::Tag>]
|
2846
2910
|
#
|
2911
|
+
# @!attribute [rw] client_request_token
|
2912
|
+
# A unique identifier for this `UpdateStack` request. Specify this
|
2913
|
+
# token if you plan to retry requests so that AWS CloudFormation knows
|
2914
|
+
# that you're not attempting to update a stack with the same name.
|
2915
|
+
# You might retry `UpdateStack` requests to ensure that AWS
|
2916
|
+
# CloudFormation successfully received them.
|
2917
|
+
# @return [String]
|
2918
|
+
#
|
2847
2919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput AWS API Documentation
|
2848
2920
|
#
|
2849
2921
|
class UpdateStackInput < Struct.new(
|
@@ -2860,7 +2932,8 @@ module Aws::CloudFormation
|
|
2860
2932
|
:stack_policy_body,
|
2861
2933
|
:stack_policy_url,
|
2862
2934
|
:notification_arns,
|
2863
|
-
:tags
|
2935
|
+
:tags,
|
2936
|
+
:client_request_token)
|
2864
2937
|
include Aws::Structure
|
2865
2938
|
end
|
2866
2939
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudformation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|