aws-sdk-cloudformation 1.87.0 → 1.88.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffbf8c0045f7e0347d781bf85b2154ecf017f44b643eec5ccd62bdc22e800d4c
4
- data.tar.gz: 9f9c9a9874aad1ea4246ff82ce3f307cf96ea7ba9132a0c07cc4610d57b3bca8
3
+ metadata.gz: 4dfec2692a79a91a154928b6e345e4f4984b47f4de15923176a2c5b3951cabc3
4
+ data.tar.gz: d067aebb34ff4fa54287e141eac9c422518c2743f0fe5e84095562a4504a993f
5
5
  SHA512:
6
- metadata.gz: 19ca82e649885083ae84276cbee6e413bbb627ea7abca2d0b0804963c819cde781a296cb7248e593cd12f4455b17eb6e00b66f8dc7159b05815b2ba63ad7b273
7
- data.tar.gz: ee8165a1ec2d754c060c29b75324619dda275496c23dd8a0977a8fbf67fc5c7ddc917401c1fc1f78f0679f58c591953f8d99d9615d1551ca47af157c697d158e
6
+ metadata.gz: 01ce8f110fa6b080e0546d1453699b6f53775d21785d2789292e94077eef7f1c4d82b993fff8a6f9a7394858942e083ab65c8296af4703fd5e4afad0366ba4c2
7
+ data.tar.gz: 29681523066befa41cbc23fc2735809bac07e00e27ff3a750b528df39a7ecd9d85cb158a5089b5d99457661425913a2b4cdc26f5642c8a4b54a364757bcdc8e4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.88.0 (2023-07-28)
5
+ ------------------
6
+
7
+ * Feature - This SDK release is for the feature launch of AWS CloudFormation RetainExceptOnCreate. It adds a new parameter retainExceptOnCreate in the following APIs: CreateStack, UpdateStack, RollbackStack, ExecuteChangeSet.
8
+
4
9
  1.87.0 (2023-07-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.88.0
@@ -1349,6 +1349,18 @@ module Aws::CloudFormation
1349
1349
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
1350
1350
  # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
1351
1351
  #
1352
+ # @option params [Boolean] :retain_except_on_create
1353
+ # This deletion policy deletes newly created resources, but retains
1354
+ # existing resources, when a stack operation is rolled back. This
1355
+ # ensures new, empty, and unused resources are deleted, while critical
1356
+ # resources and their data are retained. `RetainExceptOnCreate` can be
1357
+ # specified for any resource that supports the [ DeletionPolicy][1]
1358
+ # attribute.
1359
+ #
1360
+ #
1361
+ #
1362
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
1363
+ #
1352
1364
  # @return [Types::CreateStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1353
1365
  #
1354
1366
  # * {Types::CreateStackOutput#stack_id #stack_id} => String
@@ -1393,6 +1405,7 @@ module Aws::CloudFormation
1393
1405
  # ],
1394
1406
  # client_request_token: "ClientRequestToken",
1395
1407
  # enable_termination_protection: false,
1408
+ # retain_except_on_create: false,
1396
1409
  # })
1397
1410
  #
1398
1411
  # @example Response structure
@@ -3305,6 +3318,7 @@ module Aws::CloudFormation
3305
3318
  # resp.stacks[0].root_id #=> String
3306
3319
  # resp.stacks[0].drift_information.stack_drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED"
3307
3320
  # resp.stacks[0].drift_information.last_check_timestamp #=> Time
3321
+ # resp.stacks[0].retain_except_on_create #=> Boolean
3308
3322
  # resp.next_token #=> String
3309
3323
  #
3310
3324
  #
@@ -3871,6 +3885,18 @@ module Aws::CloudFormation
3871
3885
  #
3872
3886
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html
3873
3887
  #
3888
+ # @option params [Boolean] :retain_except_on_create
3889
+ # This deletion policy deletes newly created resources, but retains
3890
+ # existing resources, when a stack operation is rolled back. This
3891
+ # ensures new, empty, and unused resources are deleted, while critical
3892
+ # resources and their data are retained. `RetainExceptOnCreate` can be
3893
+ # specified for any resource that supports the [ DeletionPolicy][1]
3894
+ # attribute.
3895
+ #
3896
+ #
3897
+ #
3898
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
3899
+ #
3874
3900
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3875
3901
  #
3876
3902
  # @example Request syntax with placeholder values
@@ -3880,6 +3906,7 @@ module Aws::CloudFormation
3880
3906
  # stack_name: "StackNameOrId",
3881
3907
  # client_request_token: "ClientRequestToken",
3882
3908
  # disable_rollback: false,
3909
+ # retain_except_on_create: false,
3883
3910
  # })
3884
3911
  #
3885
3912
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet AWS API Documentation
@@ -5679,6 +5706,18 @@ module Aws::CloudFormation
5679
5706
  # @option params [String] :client_request_token
5680
5707
  # A unique identifier for this `RollbackStack` request.
5681
5708
  #
5709
+ # @option params [Boolean] :retain_except_on_create
5710
+ # This deletion policy deletes newly created resources, but retains
5711
+ # existing resources, when a stack operation is rolled back. This
5712
+ # ensures new, empty, and unused resources are deleted, while critical
5713
+ # resources and their data are retained. `RetainExceptOnCreate` can be
5714
+ # specified for any resource that supports the [ DeletionPolicy][1]
5715
+ # attribute.
5716
+ #
5717
+ #
5718
+ #
5719
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
5720
+ #
5682
5721
  # @return [Types::RollbackStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5683
5722
  #
5684
5723
  # * {Types::RollbackStackOutput#stack_id #stack_id} => String
@@ -5689,6 +5728,7 @@ module Aws::CloudFormation
5689
5728
  # stack_name: "StackNameOrId", # required
5690
5729
  # role_arn: "RoleARN",
5691
5730
  # client_request_token: "ClientRequestToken",
5731
+ # retain_except_on_create: false,
5692
5732
  # })
5693
5733
  #
5694
5734
  # @example Response structure
@@ -6363,6 +6403,18 @@ module Aws::CloudFormation
6363
6403
  # token in the following format:
6364
6404
  # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`.
6365
6405
  #
6406
+ # @option params [Boolean] :retain_except_on_create
6407
+ # This deletion policy deletes newly created resources, but retains
6408
+ # existing resources, when a stack operation is rolled back. This
6409
+ # ensures new, empty, and unused resources are deleted, while critical
6410
+ # resources and their data are retained. `RetainExceptOnCreate` can be
6411
+ # specified for any resource that supports the [ DeletionPolicy][1]
6412
+ # attribute.
6413
+ #
6414
+ #
6415
+ #
6416
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
6417
+ #
6366
6418
  # @return [Types::UpdateStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6367
6419
  #
6368
6420
  # * {Types::UpdateStackOutput#stack_id #stack_id} => String
@@ -6407,6 +6459,7 @@ module Aws::CloudFormation
6407
6459
  # ],
6408
6460
  # disable_rollback: false,
6409
6461
  # client_request_token: "ClientRequestToken",
6462
+ # retain_except_on_create: false,
6410
6463
  # })
6411
6464
  #
6412
6465
  # @example Response structure
@@ -7123,7 +7176,7 @@ module Aws::CloudFormation
7123
7176
  params: params,
7124
7177
  config: config)
7125
7178
  context[:gem_name] = 'aws-sdk-cloudformation'
7126
- context[:gem_version] = '1.87.0'
7179
+ context[:gem_version] = '1.88.0'
7127
7180
  Seahorse::Client::Request.new(handlers, context)
7128
7181
  end
7129
7182
 
@@ -329,6 +329,7 @@ module Aws::CloudFormation
329
329
  ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
330
330
  ResourcesToImport = Shapes::ListShape.new(name: 'ResourcesToImport')
331
331
  ResourcesToSkip = Shapes::ListShape.new(name: 'ResourcesToSkip')
332
+ RetainExceptOnCreate = Shapes::BooleanShape.new(name: 'RetainExceptOnCreate')
332
333
  RetainResources = Shapes::ListShape.new(name: 'RetainResources')
333
334
  RetainStacks = Shapes::BooleanShape.new(name: 'RetainStacks')
334
335
  RetainStacksNullable = Shapes::BooleanShape.new(name: 'RetainStacksNullable')
@@ -650,6 +651,7 @@ module Aws::CloudFormation
650
651
  CreateStackInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
651
652
  CreateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
652
653
  CreateStackInput.add_member(:enable_termination_protection, Shapes::ShapeRef.new(shape: EnableTerminationProtection, location_name: "EnableTerminationProtection"))
654
+ CreateStackInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate"))
653
655
  CreateStackInput.struct_class = Types::CreateStackInput
654
656
 
655
657
  CreateStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName"))
@@ -968,6 +970,7 @@ module Aws::CloudFormation
968
970
  ExecuteChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName"))
969
971
  ExecuteChangeSetInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
970
972
  ExecuteChangeSetInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback"))
973
+ ExecuteChangeSetInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate"))
971
974
  ExecuteChangeSetInput.struct_class = Types::ExecuteChangeSetInput
972
975
 
973
976
  ExecuteChangeSetOutput.struct_class = Types::ExecuteChangeSetOutput
@@ -1356,6 +1359,7 @@ module Aws::CloudFormation
1356
1359
  RollbackStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName"))
1357
1360
  RollbackStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
1358
1361
  RollbackStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
1362
+ RollbackStackInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate"))
1359
1363
  RollbackStackInput.struct_class = Types::RollbackStackInput
1360
1364
 
1361
1365
  RollbackStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId"))
@@ -1420,6 +1424,7 @@ module Aws::CloudFormation
1420
1424
  Stack.add_member(:parent_id, Shapes::ShapeRef.new(shape: StackId, location_name: "ParentId"))
1421
1425
  Stack.add_member(:root_id, Shapes::ShapeRef.new(shape: StackId, location_name: "RootId"))
1422
1426
  Stack.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackDriftInformation, location_name: "DriftInformation"))
1427
+ Stack.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate"))
1423
1428
  Stack.struct_class = Types::Stack
1424
1429
 
1425
1430
  StackDriftInformation.add_member(:stack_drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, required: true, location_name: "StackDriftStatus"))
@@ -1807,6 +1812,7 @@ module Aws::CloudFormation
1807
1812
  UpdateStackInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1808
1813
  UpdateStackInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback"))
1809
1814
  UpdateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
1815
+ UpdateStackInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate"))
1810
1816
  UpdateStackInput.struct_class = Types::UpdateStackInput
1811
1817
 
1812
1818
  UpdateStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName"))
@@ -75,6 +75,7 @@ module Aws::CloudFormation
75
75
  # ],
76
76
  # client_request_token: "ClientRequestToken",
77
77
  # enable_termination_protection: false,
78
+ # retain_except_on_create: false,
78
79
  # })
79
80
  # @param [Hash] options ({})
80
81
  # @option options [required, String] :stack_name
@@ -315,6 +316,17 @@ module Aws::CloudFormation
315
316
  #
316
317
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
317
318
  # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
319
+ # @option options [Boolean] :retain_except_on_create
320
+ # This deletion policy deletes newly created resources, but retains
321
+ # existing resources, when a stack operation is rolled back. This
322
+ # ensures new, empty, and unused resources are deleted, while critical
323
+ # resources and their data are retained. `RetainExceptOnCreate` can be
324
+ # specified for any resource that supports the [ DeletionPolicy][1]
325
+ # attribute.
326
+ #
327
+ #
328
+ #
329
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
318
330
  # @return [Stack]
319
331
  def create_stack(options = {})
320
332
  Aws::Plugins::UserAgent.feature('resource') do
@@ -208,6 +208,21 @@ module Aws::CloudFormation
208
208
  data[:drift_information]
209
209
  end
210
210
 
211
+ # This deletion policy deletes newly created resources, but retains
212
+ # existing resources, when a stack operation is rolled back. This
213
+ # ensures new, empty, and unused resources are deleted, while critical
214
+ # resources and their data are retained. `RetainExceptOnCreate` can be
215
+ # specified for any resource that supports the [ DeletionPolicy][1]
216
+ # attribute.
217
+ #
218
+ #
219
+ #
220
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
221
+ # @return [Boolean]
222
+ def retain_except_on_create
223
+ data[:retain_except_on_create]
224
+ end
225
+
211
226
  # @!endgroup
212
227
 
213
228
  # @return [Client]
@@ -439,6 +454,7 @@ module Aws::CloudFormation
439
454
  # ],
440
455
  # client_request_token: "ClientRequestToken",
441
456
  # enable_termination_protection: false,
457
+ # retain_except_on_create: false,
442
458
  # })
443
459
  # @param [Hash] options ({})
444
460
  # @option options [String] :template_body
@@ -670,6 +686,17 @@ module Aws::CloudFormation
670
686
  #
671
687
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
672
688
  # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
689
+ # @option options [Boolean] :retain_except_on_create
690
+ # This deletion policy deletes newly created resources, but retains
691
+ # existing resources, when a stack operation is rolled back. This
692
+ # ensures new, empty, and unused resources are deleted, while critical
693
+ # resources and their data are retained. `RetainExceptOnCreate` can be
694
+ # specified for any resource that supports the [ DeletionPolicy][1]
695
+ # attribute.
696
+ #
697
+ #
698
+ #
699
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
673
700
  # @return [Types::CreateStackOutput]
674
701
  def create(options = {})
675
702
  options = options.merge(stack_name: @name)
@@ -773,6 +800,7 @@ module Aws::CloudFormation
773
800
  # ],
774
801
  # disable_rollback: false,
775
802
  # client_request_token: "ClientRequestToken",
803
+ # retain_except_on_create: false,
776
804
  # })
777
805
  # @param [Hash] options ({})
778
806
  # @option options [String] :template_body
@@ -1009,6 +1037,17 @@ module Aws::CloudFormation
1009
1037
  # stack using the console, each stack event would be assigned the same
1010
1038
  # token in the following format:
1011
1039
  # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`.
1040
+ # @option options [Boolean] :retain_except_on_create
1041
+ # This deletion policy deletes newly created resources, but retains
1042
+ # existing resources, when a stack operation is rolled back. This
1043
+ # ensures new, empty, and unused resources are deleted, while critical
1044
+ # resources and their data are retained. `RetainExceptOnCreate` can be
1045
+ # specified for any resource that supports the [ DeletionPolicy][1]
1046
+ # attribute.
1047
+ #
1048
+ #
1049
+ #
1050
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
1012
1051
  # @return [Types::UpdateStackOutput]
1013
1052
  def update(options = {})
1014
1053
  options = options.merge(stack_name: @name)
@@ -330,6 +330,7 @@ module Aws::CloudFormation
330
330
  # An error occurred during a CloudFormation registry operation.
331
331
  #
332
332
  # @!attribute [rw] message
333
+ # An message with details about the error that occurred.
333
334
  # @return [String]
334
335
  #
335
336
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CFNRegistryException AWS API Documentation
@@ -1278,6 +1279,19 @@ module Aws::CloudFormation
1278
1279
  # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
1279
1280
  # @return [Boolean]
1280
1281
  #
1282
+ # @!attribute [rw] retain_except_on_create
1283
+ # This deletion policy deletes newly created resources, but retains
1284
+ # existing resources, when a stack operation is rolled back. This
1285
+ # ensures new, empty, and unused resources are deleted, while critical
1286
+ # resources and their data are retained. `RetainExceptOnCreate` can be
1287
+ # specified for any resource that supports the [ DeletionPolicy][1]
1288
+ # attribute.
1289
+ #
1290
+ #
1291
+ #
1292
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
1293
+ # @return [Boolean]
1294
+ #
1281
1295
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput AWS API Documentation
1282
1296
  #
1283
1297
  class CreateStackInput < Struct.new(
@@ -1297,7 +1311,8 @@ module Aws::CloudFormation
1297
1311
  :stack_policy_url,
1298
1312
  :tags,
1299
1313
  :client_request_token,
1300
- :enable_termination_protection)
1314
+ :enable_termination_protection,
1315
+ :retain_except_on_create)
1301
1316
  SENSITIVE = []
1302
1317
  include Aws::Structure
1303
1318
  end
@@ -3746,13 +3761,27 @@ module Aws::CloudFormation
3746
3761
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html
3747
3762
  # @return [Boolean]
3748
3763
  #
3764
+ # @!attribute [rw] retain_except_on_create
3765
+ # This deletion policy deletes newly created resources, but retains
3766
+ # existing resources, when a stack operation is rolled back. This
3767
+ # ensures new, empty, and unused resources are deleted, while critical
3768
+ # resources and their data are retained. `RetainExceptOnCreate` can be
3769
+ # specified for any resource that supports the [ DeletionPolicy][1]
3770
+ # attribute.
3771
+ #
3772
+ #
3773
+ #
3774
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
3775
+ # @return [Boolean]
3776
+ #
3749
3777
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput AWS API Documentation
3750
3778
  #
3751
3779
  class ExecuteChangeSetInput < Struct.new(
3752
3780
  :change_set_name,
3753
3781
  :stack_name,
3754
3782
  :client_request_token,
3755
- :disable_rollback)
3783
+ :disable_rollback,
3784
+ :retain_except_on_create)
3756
3785
  SENSITIVE = []
3757
3786
  include Aws::Structure
3758
3787
  end
@@ -6213,12 +6242,26 @@ module Aws::CloudFormation
6213
6242
  # A unique identifier for this `RollbackStack` request.
6214
6243
  # @return [String]
6215
6244
  #
6245
+ # @!attribute [rw] retain_except_on_create
6246
+ # This deletion policy deletes newly created resources, but retains
6247
+ # existing resources, when a stack operation is rolled back. This
6248
+ # ensures new, empty, and unused resources are deleted, while critical
6249
+ # resources and their data are retained. `RetainExceptOnCreate` can be
6250
+ # specified for any resource that supports the [ DeletionPolicy][1]
6251
+ # attribute.
6252
+ #
6253
+ #
6254
+ #
6255
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
6256
+ # @return [Boolean]
6257
+ #
6216
6258
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackStackInput AWS API Documentation
6217
6259
  #
6218
6260
  class RollbackStackInput < Struct.new(
6219
6261
  :stack_name,
6220
6262
  :role_arn,
6221
- :client_request_token)
6263
+ :client_request_token,
6264
+ :retain_except_on_create)
6222
6265
  SENSITIVE = []
6223
6266
  include Aws::Structure
6224
6267
  end
@@ -6606,6 +6649,19 @@ module Aws::CloudFormation
6606
6649
  # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html
6607
6650
  # @return [Types::StackDriftInformation]
6608
6651
  #
6652
+ # @!attribute [rw] retain_except_on_create
6653
+ # This deletion policy deletes newly created resources, but retains
6654
+ # existing resources, when a stack operation is rolled back. This
6655
+ # ensures new, empty, and unused resources are deleted, while critical
6656
+ # resources and their data are retained. `RetainExceptOnCreate` can be
6657
+ # specified for any resource that supports the [ DeletionPolicy][1]
6658
+ # attribute.
6659
+ #
6660
+ #
6661
+ #
6662
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
6663
+ # @return [Boolean]
6664
+ #
6609
6665
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Stack AWS API Documentation
6610
6666
  #
6611
6667
  class Stack < Struct.new(
@@ -6630,7 +6686,8 @@ module Aws::CloudFormation
6630
6686
  :enable_termination_protection,
6631
6687
  :parent_id,
6632
6688
  :root_id,
6633
- :drift_information)
6689
+ :drift_information,
6690
+ :retain_except_on_create)
6634
6691
  SENSITIVE = []
6635
6692
  include Aws::Structure
6636
6693
  end
@@ -9444,6 +9501,19 @@ module Aws::CloudFormation
9444
9501
  # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`.
9445
9502
  # @return [String]
9446
9503
  #
9504
+ # @!attribute [rw] retain_except_on_create
9505
+ # This deletion policy deletes newly created resources, but retains
9506
+ # existing resources, when a stack operation is rolled back. This
9507
+ # ensures new, empty, and unused resources are deleted, while critical
9508
+ # resources and their data are retained. `RetainExceptOnCreate` can be
9509
+ # specified for any resource that supports the [ DeletionPolicy][1]
9510
+ # attribute.
9511
+ #
9512
+ #
9513
+ #
9514
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
9515
+ # @return [Boolean]
9516
+ #
9447
9517
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput AWS API Documentation
9448
9518
  #
9449
9519
  class UpdateStackInput < Struct.new(
@@ -9463,7 +9533,8 @@ module Aws::CloudFormation
9463
9533
  :notification_arns,
9464
9534
  :tags,
9465
9535
  :disable_rollback,
9466
- :client_request_token)
9536
+ :client_request_token,
9537
+ :retain_except_on_create)
9467
9538
  SENSITIVE = []
9468
9539
  include Aws::Structure
9469
9540
  end
@@ -57,6 +57,6 @@ require_relative 'aws-sdk-cloudformation/customizations'
57
57
  # @!group service
58
58
  module Aws::CloudFormation
59
59
 
60
- GEM_VERSION = '1.87.0'
60
+ GEM_VERSION = '1.88.0'
61
61
 
62
62
  end
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.87.0
4
+ version: 1.88.0
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: 2023-07-24 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core