aws-sdk-ec2 1.543.0 → 1.544.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: b35e1fcdc623df36da4dea5976fa3f26fd6acff2cc00124fb6dca8be9e180d1a
4
- data.tar.gz: fb0e788732cf492139866e3e422fdf98df0f2192e9c8badc437fd2083991e2a4
3
+ metadata.gz: 6aa15629da193eefc2018558543cf65940143f4c65764b79d07c3d3b3271226b
4
+ data.tar.gz: 8350f6d3a65d6f56cb2e9dc5eb4b365207a119a57c6356b035b3eb4739ff0d49
5
5
  SHA512:
6
- metadata.gz: 185e09bc22662e54414cd81a60bf31f0e0d8390a4d07e96816b47e85d3384a978ca26a59545f072d5106fa0c55dbdd30233639953c4bd0978f8cda9b62f6a6e1
7
- data.tar.gz: 73b72b7fc80baf150e4f37afc3b8f2db88fd80b116ad9547a9bfa30bd50c7d703b7e7a8f7ffe702d3c8006e6a0ad3263acbf4a26dcf3769dbef24c88c69c7bd3
6
+ metadata.gz: 05e1fe7a1fc0f3bb62f995ba92bb1b909c40872983dad13b8e622f3a2570e95d300dfbf4b60a701a2716826ad3ef2e545b5c293c16bbb7586e0b3eadfaef8c79
7
+ data.tar.gz: f75d2026f48284f1fa32e0b9d80877f5cca67e1f6b2df909e99ca3fdd50c954b43904c4cd8c0dd5e93163ca7421b3195faee9ddcf127d2bdd8af557cfbbec0ee
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.544.0 (2025-07-31)
5
+ ------------------
6
+
7
+ * Feature - Added support for the force option for the EC2 instance terminate command. This feature enables customers to recover resources associated with an instance stuck in the shutting-down state as a result of rare issues caused by a frozen operating system or an underlying hardware problem.
8
+
4
9
  1.543.0 (2025-07-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.543.0
1
+ 1.544.0
@@ -65782,6 +65782,13 @@ module Aws::EC2
65782
65782
  # Constraints: Up to 1000 instance IDs. We recommend breaking up this
65783
65783
  # request into smaller batches.
65784
65784
  #
65785
+ # @option params [Boolean] :force
65786
+ # Forces the instances to terminate. The instance will first attempt a
65787
+ # graceful shutdown, which includes flushing file system caches and
65788
+ # metadata. If the graceful shutdown fails to complete within the
65789
+ # timeout period, the instance shuts down forcibly without flushing the
65790
+ # file system caches and metadata.
65791
+ #
65785
65792
  # @option params [Boolean] :skip_os_shutdown
65786
65793
  # Specifies whether to bypass the graceful OS shutdown process when the
65787
65794
  # instance is terminated.
@@ -65830,6 +65837,7 @@ module Aws::EC2
65830
65837
  #
65831
65838
  # resp = client.terminate_instances({
65832
65839
  # instance_ids: ["InstanceId"], # required
65840
+ # force: false,
65833
65841
  # skip_os_shutdown: false,
65834
65842
  # dry_run: false,
65835
65843
  # })
@@ -66413,7 +66421,7 @@ module Aws::EC2
66413
66421
  tracer: tracer
66414
66422
  )
66415
66423
  context[:gem_name] = 'aws-sdk-ec2'
66416
- context[:gem_version] = '1.543.0'
66424
+ context[:gem_version] = '1.544.0'
66417
66425
  Seahorse::Client::Request.new(handlers, context)
66418
66426
  end
66419
66427
 
@@ -16335,6 +16335,7 @@ module Aws::EC2
16335
16335
  TerminateConnectionStatusSet.member = Shapes::ShapeRef.new(shape: TerminateConnectionStatus, location_name: "item")
16336
16336
 
16337
16337
  TerminateInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
16338
+ TerminateInstancesRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
16338
16339
  TerminateInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
16339
16340
  TerminateInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
16340
16341
  TerminateInstancesRequest.struct_class = Types::TerminateInstancesRequest
@@ -1561,10 +1561,17 @@ module Aws::EC2
1561
1561
  # @example Request syntax with placeholder values
1562
1562
  #
1563
1563
  # instance.terminate({
1564
+ # force: false,
1564
1565
  # skip_os_shutdown: false,
1565
1566
  # dry_run: false,
1566
1567
  # })
1567
1568
  # @param [Hash] options ({})
1569
+ # @option options [Boolean] :force
1570
+ # Forces the instances to terminate. The instance will first attempt a
1571
+ # graceful shutdown, which includes flushing file system caches and
1572
+ # metadata. If the graceful shutdown fails to complete within the
1573
+ # timeout period, the instance shuts down forcibly without flushing the
1574
+ # file system caches and metadata.
1568
1575
  # @option options [Boolean] :skip_os_shutdown
1569
1576
  # Specifies whether to bypass the graceful OS shutdown process when the
1570
1577
  # instance is terminated.
@@ -2160,10 +2167,17 @@ module Aws::EC2
2160
2167
  # @example Request syntax with placeholder values
2161
2168
  #
2162
2169
  # instance.batch_terminate!({
2170
+ # force: false,
2163
2171
  # skip_os_shutdown: false,
2164
2172
  # dry_run: false,
2165
2173
  # })
2166
2174
  # @param options ({})
2175
+ # @option options [Boolean] :force
2176
+ # Forces the instances to terminate. The instance will first attempt a
2177
+ # graceful shutdown, which includes flushing file system caches and
2178
+ # metadata. If the graceful shutdown fails to complete within the
2179
+ # timeout period, the instance shuts down forcibly without flushing the
2180
+ # file system caches and metadata.
2167
2181
  # @option options [Boolean] :skip_os_shutdown
2168
2182
  # Specifies whether to bypass the graceful OS shutdown process when the
2169
2183
  # instance is terminated.
@@ -72999,6 +72999,14 @@ module Aws::EC2
72999
72999
  # request into smaller batches.
73000
73000
  # @return [Array<String>]
73001
73001
  #
73002
+ # @!attribute [rw] force
73003
+ # Forces the instances to terminate. The instance will first attempt a
73004
+ # graceful shutdown, which includes flushing file system caches and
73005
+ # metadata. If the graceful shutdown fails to complete within the
73006
+ # timeout period, the instance shuts down forcibly without flushing
73007
+ # the file system caches and metadata.
73008
+ # @return [Boolean]
73009
+ #
73002
73010
  # @!attribute [rw] skip_os_shutdown
73003
73011
  # Specifies whether to bypass the graceful OS shutdown process when
73004
73012
  # the instance is terminated.
@@ -73017,6 +73025,7 @@ module Aws::EC2
73017
73025
  #
73018
73026
  class TerminateInstancesRequest < Struct.new(
73019
73027
  :instance_ids,
73028
+ :force,
73020
73029
  :skip_os_shutdown,
73021
73030
  :dry_run)
73022
73031
  SENSITIVE = []
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.543.0'
81
+ GEM_VERSION = '1.544.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -14173,6 +14173,7 @@ module Aws
14173
14173
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#terminate_instances-instance_method
14174
14174
  def terminate_instances: (
14175
14175
  instance_ids: Array[::String],
14176
+ ?force: bool,
14176
14177
  ?skip_os_shutdown: bool,
14177
14178
  ?dry_run: bool
14178
14179
  ) -> _TerminateInstancesResponseSuccess
data/sig/instance.rbs CHANGED
@@ -451,6 +451,7 @@ module Aws
451
451
 
452
452
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#terminate-instance_method
453
453
  def terminate: (
454
+ ?force: bool,
454
455
  ?skip_os_shutdown: bool,
455
456
  ?dry_run: bool
456
457
  ) -> Types::TerminateInstancesResult
@@ -559,6 +560,7 @@ module Aws
559
560
  | (?Hash[Symbol, untyped]) -> void
560
561
 
561
562
  def batch_terminate!: (
563
+ ?force: bool,
562
564
  ?skip_os_shutdown: bool,
563
565
  ?dry_run: bool
564
566
  ) -> void
data/sig/types.rbs CHANGED
@@ -15690,6 +15690,7 @@ module Aws::EC2
15690
15690
 
15691
15691
  class TerminateInstancesRequest
15692
15692
  attr_accessor instance_ids: ::Array[::String]
15693
+ attr_accessor force: bool
15693
15694
  attr_accessor skip_os_shutdown: bool
15694
15695
  attr_accessor dry_run: bool
15695
15696
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.543.0
4
+ version: 1.544.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.227.0
21
+ version: 3.228.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.227.0
31
+ version: 3.228.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement