aws-sdk-cloudformation 1.80.0 → 1.82.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: 991862c4ff91b382803cc6b3fea833f48b7de96ea258478dcfc771e9259cf1e0
4
- data.tar.gz: 575ad8cfbe2a5aa9c0905a652622b009811d2d60c741dbb1305047015b654e56
3
+ metadata.gz: 6c1b61c29a5e92b925e22fa501b58f6d8950b57489f169623e0abe789f1c8506
4
+ data.tar.gz: 39f30be6695ba96a646c295e13f6029431ab3f8cf639879a9add69259cc56c0b
5
5
  SHA512:
6
- metadata.gz: f4214f5baba615ebb2eadb9c3b01685833ded03f2a7c28faadc5478dca7960221ee4bf4193f35f5c4efe81e655f4fd51206e8e21332bbcab51ad1e23b6f8a356
7
- data.tar.gz: '094477830a53c38ed2b3872bd4d148d372dbac4e405f4eafc5bf7f0e07776b32e796a844a1e97fcb999f8b14a6c95532a7454ef6aebdb887232ffaf609ed3cd6'
6
+ metadata.gz: f89cda168a3f5339567f776057e5f57fb53a9114261ad960fd9b54c8f2b7ac96053ff4f7724b772b4e767c9d734324b9c38905bbaae6e0eedeb34d5682f2eb95
7
+ data.tar.gz: 74c935233c44b57139a1d9e6ec83d13718078cba923b867a0249ce65bdac0598b37d3f25a368bfa91da58520900fb288479a038e1b6565a55ed9fe52711d75db
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.82.0 (2023-06-19)
5
+ ------------------
6
+
7
+ * Feature - Specify desired CloudFormation behavior in the event of ChangeSet execution failure using the CreateChangeSet OnStackFailure parameter
8
+
9
+ 1.81.0 (2023-06-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.80.0 (2023-06-07)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.80.0
1
+ 1.82.0
@@ -977,6 +977,34 @@ module Aws::CloudFormation
977
977
  # template. The default behavior of this action is set to `False`. To
978
978
  # include nested sets in a change set, specify `True`.
979
979
  #
980
+ # @option params [String] :on_stack_failure
981
+ # Determines what action will be taken if stack creation fails. If this
982
+ # parameter is specified, the `DisableRollback` parameter to the
983
+ # [ExecuteChangeSet][1] API operation must not be specified. This must
984
+ # be one of these values:
985
+ #
986
+ # * `DELETE` - Deletes the change set if the stack creation fails. This
987
+ # is only valid when the `ChangeSetType` parameter is set to `CREATE`.
988
+ # If the deletion of the stack fails, the status of the stack is
989
+ # `DELETE_FAILED`.
990
+ #
991
+ # * `DO_NOTHING` - if the stack creation fails, do nothing. This is
992
+ # equivalent to specifying `true` for the `DisableRollback` parameter
993
+ # to the [ExecuteChangeSet][1] API operation.
994
+ #
995
+ # * `ROLLBACK` - if the stack creation fails, roll back the stack. This
996
+ # is equivalent to specifying `false` for the `DisableRollback`
997
+ # parameter to the [ExecuteChangeSet][1] API operation.
998
+ #
999
+ # For nested stacks, when the `OnStackFailure` parameter is set to
1000
+ # `DELETE` for the change set for the parent stack, any failure in a
1001
+ # child stack will cause the parent stack creation to fail and all
1002
+ # stacks to be deleted.
1003
+ #
1004
+ #
1005
+ #
1006
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html
1007
+ #
980
1008
  # @return [Types::CreateChangeSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
981
1009
  #
982
1010
  # * {Types::CreateChangeSetOutput#id #id} => String
@@ -1030,6 +1058,7 @@ module Aws::CloudFormation
1030
1058
  # },
1031
1059
  # ],
1032
1060
  # include_nested_stacks: false,
1061
+ # on_stack_failure: "DO_NOTHING", # accepts DO_NOTHING, ROLLBACK, DELETE
1033
1062
  # })
1034
1063
  #
1035
1064
  # @example Response structure
@@ -2280,6 +2309,7 @@ module Aws::CloudFormation
2280
2309
  # * {Types::DescribeChangeSetOutput#include_nested_stacks #include_nested_stacks} => Boolean
2281
2310
  # * {Types::DescribeChangeSetOutput#parent_change_set_id #parent_change_set_id} => String
2282
2311
  # * {Types::DescribeChangeSetOutput#root_change_set_id #root_change_set_id} => String
2312
+ # * {Types::DescribeChangeSetOutput#on_stack_failure #on_stack_failure} => String
2283
2313
  #
2284
2314
  # @example Request syntax with placeholder values
2285
2315
  #
@@ -2340,6 +2370,7 @@ module Aws::CloudFormation
2340
2370
  # resp.include_nested_stacks #=> Boolean
2341
2371
  # resp.parent_change_set_id #=> String
2342
2372
  # resp.root_change_set_id #=> String
2373
+ # resp.on_stack_failure #=> String, one of "DO_NOTHING", "ROLLBACK", "DELETE"
2343
2374
  #
2344
2375
  #
2345
2376
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -3807,10 +3838,24 @@ module Aws::CloudFormation
3807
3838
  #
3808
3839
  # @option params [Boolean] :disable_rollback
3809
3840
  # Preserves the state of previously provisioned resources when an
3810
- # operation fails.
3841
+ # operation fails. This parameter can't be specified when the
3842
+ # `OnStackFailure` parameter to the [CreateChangeSet][1] API operation
3843
+ # was specified.
3844
+ #
3845
+ # * `True` - if the stack creation fails, do nothing. This is equivalent
3846
+ # to specifying `DO_NOTHING` for the `OnStackFailure` parameter to the
3847
+ # [CreateChangeSet][1] API operation.
3848
+ #
3849
+ # * `False` - if the stack creation fails, roll back the stack. This is
3850
+ # equivalent to specifying `ROLLBACK` for the `OnStackFailure`
3851
+ # parameter to the [CreateChangeSet][1] API operation.
3811
3852
  #
3812
3853
  # Default: `True`
3813
3854
  #
3855
+ #
3856
+ #
3857
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html
3858
+ #
3814
3859
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3815
3860
  #
3816
3861
  # @example Request syntax with placeholder values
@@ -6936,7 +6981,7 @@ module Aws::CloudFormation
6936
6981
  params: params,
6937
6982
  config: config)
6938
6983
  context[:gem_name] = 'aws-sdk-cloudformation'
6939
- context[:gem_version] = '1.80.0'
6984
+ context[:gem_version] = '1.82.0'
6940
6985
  Seahorse::Client::Request.new(handlers, context)
6941
6986
  end
6942
6987
 
@@ -240,6 +240,7 @@ module Aws::CloudFormation
240
240
  NotificationARN = Shapes::StringShape.new(name: 'NotificationARN')
241
241
  NotificationARNs = Shapes::ListShape.new(name: 'NotificationARNs')
242
242
  OnFailure = Shapes::StringShape.new(name: 'OnFailure')
243
+ OnStackFailure = Shapes::StringShape.new(name: 'OnStackFailure')
243
244
  OperationIdAlreadyExistsException = Shapes::StructureShape.new(name: 'OperationIdAlreadyExistsException')
244
245
  OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
245
246
  OperationNotFoundException = Shapes::StructureShape.new(name: 'OperationNotFoundException')
@@ -618,6 +619,7 @@ module Aws::CloudFormation
618
619
  CreateChangeSetInput.add_member(:change_set_type, Shapes::ShapeRef.new(shape: ChangeSetType, location_name: "ChangeSetType"))
619
620
  CreateChangeSetInput.add_member(:resources_to_import, Shapes::ShapeRef.new(shape: ResourcesToImport, location_name: "ResourcesToImport"))
620
621
  CreateChangeSetInput.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks"))
622
+ CreateChangeSetInput.add_member(:on_stack_failure, Shapes::ShapeRef.new(shape: OnStackFailure, location_name: "OnStackFailure"))
621
623
  CreateChangeSetInput.struct_class = Types::CreateChangeSetInput
622
624
 
623
625
  CreateChangeSetOutput.add_member(:id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "Id"))
@@ -783,6 +785,7 @@ module Aws::CloudFormation
783
785
  DescribeChangeSetOutput.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks"))
784
786
  DescribeChangeSetOutput.add_member(:parent_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ParentChangeSetId"))
785
787
  DescribeChangeSetOutput.add_member(:root_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "RootChangeSetId"))
788
+ DescribeChangeSetOutput.add_member(:on_stack_failure, Shapes::ShapeRef.new(shape: OnStackFailure, location_name: "OnStackFailure"))
786
789
  DescribeChangeSetOutput.struct_class = Types::DescribeChangeSetOutput
787
790
 
788
791
  DescribeOrganizationsAccessInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs"))
@@ -9,6 +9,7 @@
9
9
 
10
10
 
11
11
  module Aws::CloudFormation
12
+ # @api private
12
13
  module Endpoints
13
14
 
14
15
  class ActivateOrganizationsAccess
@@ -928,6 +928,35 @@ module Aws::CloudFormation
928
928
  # include nested sets in a change set, specify `True`.
929
929
  # @return [Boolean]
930
930
  #
931
+ # @!attribute [rw] on_stack_failure
932
+ # Determines what action will be taken if stack creation fails. If
933
+ # this parameter is specified, the `DisableRollback` parameter to the
934
+ # [ExecuteChangeSet][1] API operation must not be specified. This must
935
+ # be one of these values:
936
+ #
937
+ # * `DELETE` - Deletes the change set if the stack creation fails.
938
+ # This is only valid when the `ChangeSetType` parameter is set to
939
+ # `CREATE`. If the deletion of the stack fails, the status of the
940
+ # stack is `DELETE_FAILED`.
941
+ #
942
+ # * `DO_NOTHING` - if the stack creation fails, do nothing. This is
943
+ # equivalent to specifying `true` for the `DisableRollback`
944
+ # parameter to the [ExecuteChangeSet][1] API operation.
945
+ #
946
+ # * `ROLLBACK` - if the stack creation fails, roll back the stack.
947
+ # This is equivalent to specifying `false` for the `DisableRollback`
948
+ # parameter to the [ExecuteChangeSet][1] API operation.
949
+ #
950
+ # For nested stacks, when the `OnStackFailure` parameter is set to
951
+ # `DELETE` for the change set for the parent stack, any failure in a
952
+ # child stack will cause the parent stack creation to fail and all
953
+ # stacks to be deleted.
954
+ #
955
+ #
956
+ #
957
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html
958
+ # @return [String]
959
+ #
931
960
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput AWS API Documentation
932
961
  #
933
962
  class CreateChangeSetInput < Struct.new(
@@ -947,7 +976,8 @@ module Aws::CloudFormation
947
976
  :description,
948
977
  :change_set_type,
949
978
  :resources_to_import,
950
- :include_nested_stacks)
979
+ :include_nested_stacks,
980
+ :on_stack_failure)
951
981
  SENSITIVE = []
952
982
  include Aws::Structure
953
983
  end
@@ -2337,6 +2367,30 @@ module Aws::CloudFormation
2337
2367
  # nested change set hierarchy.
2338
2368
  # @return [String]
2339
2369
  #
2370
+ # @!attribute [rw] on_stack_failure
2371
+ # Determines what action will be taken if stack creation fails. When
2372
+ # this parameter is specified, the `DisableRollback` parameter to the
2373
+ # [ExecuteChangeSet][1] API operation must not be specified. This must
2374
+ # be one of these values:
2375
+ #
2376
+ # * `DELETE` - Deletes the change set if the stack creation fails.
2377
+ # This is only valid when the `ChangeSetType` parameter is set to
2378
+ # `CREATE`. If the deletion of the stack fails, the status of the
2379
+ # stack is `DELETE_FAILED`.
2380
+ #
2381
+ # * `DO_NOTHING` - if the stack creation fails, do nothing. This is
2382
+ # equivalent to specifying `true` for the `DisableRollback`
2383
+ # parameter to the [ExecuteChangeSet][1] API operation.
2384
+ #
2385
+ # * `ROLLBACK` - if the stack creation fails, roll back the stack.
2386
+ # This is equivalent to specifying `false` for the `DisableRollback`
2387
+ # parameter to the [ExecuteChangeSet][1] API operation.
2388
+ #
2389
+ #
2390
+ #
2391
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html
2392
+ # @return [String]
2393
+ #
2340
2394
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput AWS API Documentation
2341
2395
  #
2342
2396
  class DescribeChangeSetOutput < Struct.new(
@@ -2358,7 +2412,8 @@ module Aws::CloudFormation
2358
2412
  :next_token,
2359
2413
  :include_nested_stacks,
2360
2414
  :parent_change_set_id,
2361
- :root_change_set_id)
2415
+ :root_change_set_id,
2416
+ :on_stack_failure)
2362
2417
  SENSITIVE = []
2363
2418
  include Aws::Structure
2364
2419
  end
@@ -3672,9 +3727,23 @@ module Aws::CloudFormation
3672
3727
  #
3673
3728
  # @!attribute [rw] disable_rollback
3674
3729
  # Preserves the state of previously provisioned resources when an
3675
- # operation fails.
3730
+ # operation fails. This parameter can't be specified when the
3731
+ # `OnStackFailure` parameter to the [CreateChangeSet][1] API operation
3732
+ # was specified.
3733
+ #
3734
+ # * `True` - if the stack creation fails, do nothing. This is
3735
+ # equivalent to specifying `DO_NOTHING` for the `OnStackFailure`
3736
+ # parameter to the [CreateChangeSet][1] API operation.
3737
+ #
3738
+ # * `False` - if the stack creation fails, roll back the stack. This
3739
+ # is equivalent to specifying `ROLLBACK` for the `OnStackFailure`
3740
+ # parameter to the [CreateChangeSet][1] API operation.
3676
3741
  #
3677
3742
  # Default: `True`
3743
+ #
3744
+ #
3745
+ #
3746
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html
3678
3747
  # @return [Boolean]
3679
3748
  #
3680
3749
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput AWS API Documentation
@@ -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.80.0'
60
+ GEM_VERSION = '1.82.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.80.0
4
+ version: 1.82.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-06-07 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core