aws-sdk-cloudformation 1.108.0 → 1.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e956fef2b06cf5a90b6588711f38c73e1d65c9586a06e59354e28339ed7500ee
4
- data.tar.gz: e699eb2605981585c9692754f998dd5010fa52695d91735e77f06723b1b6d0b6
3
+ metadata.gz: 3c602b9bb29407b7d1b76f13fc23f2caf0c3ed987422cb3eea0e6a55aa9b8324
4
+ data.tar.gz: eec478eedaa7a92f74fa4f1bc6a20a6104ed7bcbfb57e5de0717acf2110589fe
5
5
  SHA512:
6
- metadata.gz: e01b13bda70b72ae7633ebea485f2acf72ba174f1e7fd163cdc9d0721035a62b96794b942bf9c39526a1429708aebaa52d953573e1606790c1c81eaff682b885
7
- data.tar.gz: c37ca03b4caff48b9b4b4ac7280d9141481c29e23b848601f4656aa7fe3ea02f07022af044e499d5c30d30f774df13580eac017d1b60b472d79bd78bfda3ea40
6
+ metadata.gz: a395fe678152146a86ef89c6d2a2c5223c6f09158d5b58af0f748fa260e70dc5e105d287c54a21a4abbe0f8fa6b3740a3728644a3ef364a8e46a09ad5b453f6e
7
+ data.tar.gz: 060c0c35b0317ff330412a439ebceb0ab6e734eb47847ed551fbf0bd8b8c8b81946951a6e9811305c80b19664467b99ee6d2e92d0b5760e1e056cf72d0f757d0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.109.0 (2024-05-22)
5
+ ------------------
6
+
7
+ * Feature - Added DeletionMode FORCE_DELETE_STACK for deleting a stack that is stuck in DELETE_FAILED state due to resource deletion failure.
8
+
4
9
  1.108.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.108.0
1
+ 1.109.0
@@ -2184,6 +2184,15 @@ module Aws::CloudFormation
2184
2184
  # token in the following format:
2185
2185
  # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`.
2186
2186
  #
2187
+ # @option params [String] :deletion_mode
2188
+ # Specifies the deletion mode for the stack. Possible values are:
2189
+ #
2190
+ # * `STANDARD` - Use the standard behavior. Specifying this value is the
2191
+ # same as not specifying this parameter.
2192
+ #
2193
+ # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a
2194
+ # `DELETE_FAILED` state due to resource deletion failure.
2195
+ #
2187
2196
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2188
2197
  #
2189
2198
  # @example Request syntax with placeholder values
@@ -2193,6 +2202,7 @@ module Aws::CloudFormation
2193
2202
  # retain_resources: ["LogicalResourceId"],
2194
2203
  # role_arn: "RoleARN",
2195
2204
  # client_request_token: "ClientRequestToken",
2205
+ # deletion_mode: "STANDARD", # accepts STANDARD, FORCE_DELETE_STACK
2196
2206
  # })
2197
2207
  #
2198
2208
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack AWS API Documentation
@@ -3766,6 +3776,7 @@ module Aws::CloudFormation
3766
3776
  # resp.stacks[0].drift_information.stack_drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED"
3767
3777
  # resp.stacks[0].drift_information.last_check_timestamp #=> Time
3768
3778
  # resp.stacks[0].retain_except_on_create #=> Boolean
3779
+ # resp.stacks[0].deletion_mode #=> String, one of "STANDARD", "FORCE_DELETE_STACK"
3769
3780
  # resp.stacks[0].detailed_status #=> String, one of "CONFIGURATION_COMPLETE", "VALIDATION_FAILED"
3770
3781
  # resp.next_token #=> String
3771
3782
  #
@@ -8367,7 +8378,7 @@ module Aws::CloudFormation
8367
8378
  params: params,
8368
8379
  config: config)
8369
8380
  context[:gem_name] = 'aws-sdk-cloudformation'
8370
- context[:gem_version] = '1.108.0'
8381
+ context[:gem_version] = '1.109.0'
8371
8382
  Seahorse::Client::Request.new(handlers, context)
8372
8383
  end
8373
8384
 
@@ -104,6 +104,7 @@ module Aws::CloudFormation
104
104
  DeleteStackInstancesOutput = Shapes::StructureShape.new(name: 'DeleteStackInstancesOutput')
105
105
  DeleteStackSetInput = Shapes::StructureShape.new(name: 'DeleteStackSetInput')
106
106
  DeleteStackSetOutput = Shapes::StructureShape.new(name: 'DeleteStackSetOutput')
107
+ DeletionMode = Shapes::StringShape.new(name: 'DeletionMode')
107
108
  DeletionTime = Shapes::TimestampShape.new(name: 'DeletionTime')
108
109
  DeploymentTargets = Shapes::StructureShape.new(name: 'DeploymentTargets')
109
110
  DeprecatedStatus = Shapes::StringShape.new(name: 'DeprecatedStatus')
@@ -821,6 +822,7 @@ module Aws::CloudFormation
821
822
  DeleteStackInput.add_member(:retain_resources, Shapes::ShapeRef.new(shape: RetainResources, location_name: "RetainResources"))
822
823
  DeleteStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN"))
823
824
  DeleteStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
825
+ DeleteStackInput.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location_name: "DeletionMode"))
824
826
  DeleteStackInput.struct_class = Types::DeleteStackInput
825
827
 
826
828
  DeleteStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName"))
@@ -1684,6 +1686,7 @@ module Aws::CloudFormation
1684
1686
  Stack.add_member(:root_id, Shapes::ShapeRef.new(shape: StackId, location_name: "RootId"))
1685
1687
  Stack.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackDriftInformation, location_name: "DriftInformation"))
1686
1688
  Stack.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate"))
1689
+ Stack.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location_name: "DeletionMode"))
1687
1690
  Stack.add_member(:detailed_status, Shapes::ShapeRef.new(shape: DetailedStatus, location_name: "DetailedStatus"))
1688
1691
  Stack.struct_class = Types::Stack
1689
1692
 
@@ -2205,6 +2208,7 @@ module Aws::CloudFormation
2205
2208
  "apiVersion" => "2010-05-15",
2206
2209
  "endpointPrefix" => "cloudformation",
2207
2210
  "protocol" => "query",
2211
+ "protocols" => ["query"],
2208
2212
  "serviceFullName" => "AWS CloudFormation",
2209
2213
  "serviceId" => "CloudFormation",
2210
2214
  "signatureVersion" => "v4",
@@ -218,6 +218,18 @@ module Aws::CloudFormation
218
218
  data[:retain_except_on_create]
219
219
  end
220
220
 
221
+ # Specifies the deletion mode for the stack. Possible values are:
222
+ #
223
+ # * `STANDARD` - Use the standard behavior. Specifying this value is the
224
+ # same as not specifying this parameter.
225
+ #
226
+ # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a
227
+ # `DELETE_FAILED` state due to resource deletion failure.
228
+ # @return [String]
229
+ def deletion_mode
230
+ data[:deletion_mode]
231
+ end
232
+
221
233
  # The detailed status of the resource or stack. If
222
234
  # `CONFIGURATION_COMPLETE` is present, the resource or resource
223
235
  # configuration phase has completed and the stabilization of the
@@ -730,6 +742,7 @@ module Aws::CloudFormation
730
742
  # retain_resources: ["LogicalResourceId"],
731
743
  # role_arn: "RoleARN",
732
744
  # client_request_token: "ClientRequestToken",
745
+ # deletion_mode: "STANDARD", # accepts STANDARD, FORCE_DELETE_STACK
733
746
  # })
734
747
  # @param [Hash] options ({})
735
748
  # @option options [Array<String>] :retain_resources
@@ -770,6 +783,14 @@ module Aws::CloudFormation
770
783
  # stack using the console, each stack event would be assigned the same
771
784
  # token in the following format:
772
785
  # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`.
786
+ # @option options [String] :deletion_mode
787
+ # Specifies the deletion mode for the stack. Possible values are:
788
+ #
789
+ # * `STANDARD` - Use the standard behavior. Specifying this value is the
790
+ # same as not specifying this parameter.
791
+ #
792
+ # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a
793
+ # `DELETE_FAILED` state due to resource deletion failure.
773
794
  # @return [EmptyStructure]
774
795
  def delete(options = {})
775
796
  options = options.merge(stack_name: @name)
@@ -1990,13 +1990,24 @@ module Aws::CloudFormation
1990
1990
  # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`.
1991
1991
  # @return [String]
1992
1992
  #
1993
+ # @!attribute [rw] deletion_mode
1994
+ # Specifies the deletion mode for the stack. Possible values are:
1995
+ #
1996
+ # * `STANDARD` - Use the standard behavior. Specifying this value is
1997
+ # the same as not specifying this parameter.
1998
+ #
1999
+ # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a
2000
+ # `DELETE_FAILED` state due to resource deletion failure.
2001
+ # @return [String]
2002
+ #
1993
2003
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInput AWS API Documentation
1994
2004
  #
1995
2005
  class DeleteStackInput < Struct.new(
1996
2006
  :stack_name,
1997
2007
  :retain_resources,
1998
2008
  :role_arn,
1999
- :client_request_token)
2009
+ :client_request_token,
2010
+ :deletion_mode)
2000
2011
  SENSITIVE = []
2001
2012
  include Aws::Structure
2002
2013
  end
@@ -5029,7 +5040,7 @@ module Aws::CloudFormation
5029
5040
  end
5030
5041
 
5031
5042
  # @!attribute [rw] summaries
5032
- # A list of `StackInstanceResourceDriftSummary` structures that
5043
+ # A list of `StackInstanceResourceDriftsSummary` structures that
5033
5044
  # contain information about the specified stack instances.
5034
5045
  # @return [Array<Types::StackInstanceResourceDriftsSummary>]
5035
5046
  #
@@ -7682,6 +7693,16 @@ module Aws::CloudFormation
7682
7693
  # Default: `false`
7683
7694
  # @return [Boolean]
7684
7695
  #
7696
+ # @!attribute [rw] deletion_mode
7697
+ # Specifies the deletion mode for the stack. Possible values are:
7698
+ #
7699
+ # * `STANDARD` - Use the standard behavior. Specifying this value is
7700
+ # the same as not specifying this parameter.
7701
+ #
7702
+ # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a
7703
+ # `DELETE_FAILED` state due to resource deletion failure.
7704
+ # @return [String]
7705
+ #
7685
7706
  # @!attribute [rw] detailed_status
7686
7707
  # The detailed status of the resource or stack. If
7687
7708
  # `CONFIGURATION_COMPLETE` is present, the resource or resource
@@ -7722,6 +7743,7 @@ module Aws::CloudFormation
7722
7743
  :root_id,
7723
7744
  :drift_information,
7724
7745
  :retain_except_on_create,
7746
+ :deletion_mode,
7725
7747
  :detailed_status)
7726
7748
  SENSITIVE = []
7727
7749
  include Aws::Structure
@@ -9341,9 +9363,9 @@ module Aws::CloudFormation
9341
9363
  # concurrency level to ensure the number of failed accounts never
9342
9364
  # exceeds the value of `FailureToleranceCount` +1. The initial
9343
9365
  # actual concurrency is set to the lower of either the value of the
9344
- # `MaxConcurrentCount`, or the value of `MaxConcurrentCount` +1. The
9345
- # actual concurrency is then reduced proportionally by the number of
9346
- # failures. This is the default behavior.
9366
+ # `MaxConcurrentCount`, or the value of `FailureToleranceCount` +1.
9367
+ # The actual concurrency is then reduced proportionally by the
9368
+ # number of failures. This is the default behavior.
9347
9369
  #
9348
9370
  # If failure tolerance or Maximum concurrent accounts are set to
9349
9371
  # percentages, the behavior is similar.
@@ -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.108.0'
60
+ GEM_VERSION = '1.109.0'
61
61
 
62
62
  end
data/sig/client.rbs CHANGED
@@ -383,7 +383,8 @@ module Aws
383
383
  stack_name: ::String,
384
384
  ?retain_resources: Array[::String],
385
385
  ?role_arn: ::String,
386
- ?client_request_token: ::String
386
+ ?client_request_token: ::String,
387
+ ?deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK")
387
388
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
388
389
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
389
390
 
data/sig/stack.rbs CHANGED
@@ -84,6 +84,9 @@ module Aws
84
84
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#retain_except_on_create-instance_method
85
85
  def retain_except_on_create: () -> bool
86
86
 
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#deletion_mode-instance_method
88
+ def deletion_mode: () -> ("STANDARD" | "FORCE_DELETE_STACK")
89
+
87
90
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#detailed_status-instance_method
88
91
  def detailed_status: () -> ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
89
92
 
@@ -159,7 +162,8 @@ module Aws
159
162
  def delete: (
160
163
  ?retain_resources: Array[::String],
161
164
  ?role_arn: ::String,
162
- ?client_request_token: ::String
165
+ ?client_request_token: ::String,
166
+ ?deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK")
163
167
  ) -> ::Aws::EmptyStructure
164
168
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
165
169
 
data/sig/types.rbs CHANGED
@@ -296,6 +296,7 @@ module Aws::CloudFormation
296
296
  attr_accessor retain_resources: ::Array[::String]
297
297
  attr_accessor role_arn: ::String
298
298
  attr_accessor client_request_token: ::String
299
+ attr_accessor deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK")
299
300
  SENSITIVE: []
300
301
  end
301
302
 
@@ -1382,6 +1383,7 @@ module Aws::CloudFormation
1382
1383
  attr_accessor root_id: ::String
1383
1384
  attr_accessor drift_information: Types::StackDriftInformation
1384
1385
  attr_accessor retain_except_on_create: bool
1386
+ attr_accessor deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK")
1385
1387
  attr_accessor detailed_status: ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED")
1386
1388
  SENSITIVE: []
1387
1389
  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.108.0
4
+ version: 1.109.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: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
OSZAR »