aws-sdk-ec2 1.543.0 → 1.545.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: 11f2309e09f49664b9e704e3355454e0f439a3a61141ec28d2ba6acfb67ea8d3
4
+ data.tar.gz: ca7074696a8d011730400c6c34f8c14461ed10cdc034fbb0ac3770e69474c3eb
5
5
  SHA512:
6
- metadata.gz: 185e09bc22662e54414cd81a60bf31f0e0d8390a4d07e96816b47e85d3384a978ca26a59545f072d5106fa0c55dbdd30233639953c4bd0978f8cda9b62f6a6e1
7
- data.tar.gz: 73b72b7fc80baf150e4f37afc3b8f2db88fd80b116ad9547a9bfa30bd50c7d703b7e7a8f7ffe702d3c8006e6a0ad3263acbf4a26dcf3769dbef24c88c69c7bd3
6
+ metadata.gz: '06192b6a8bf2a6758f934d9f81e1650da7083fc0a74154d4484719307b5944be8170c63e9b0b4e9fe46a571505e4a0dd14bbd4c59b9d20f0835de336a1124089'
7
+ data.tar.gz: c6190333d388d905e5af844aca1aecc6f5a1705b0d72c2654917eddd3c60fb82c8de516f11a4e081d49fa7c1dd1096723a0807b27d4c2af06b7983605d8c7523
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.545.0 (2025-08-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.544.0 (2025-07-31)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.543.0 (2025-07-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.543.0
1
+ 1.545.0
@@ -99,8 +99,8 @@ module Aws::EC2
99
99
  # class name or an instance of a plugin class.
100
100
  #
101
101
  # @option options [required, Aws::CredentialProvider] :credentials
102
- # Your AWS credentials used for authentication. This can be an instance of any one of the
103
- # following classes:
102
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
103
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
104
104
  #
105
105
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
106
106
  # credentials.
@@ -128,8 +128,7 @@ module Aws::EC2
128
128
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
129
129
  # from the Cognito Identity service.
130
130
  #
131
- # When `:credentials` are not configured directly, the following
132
- # locations will be searched for credentials:
131
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
133
132
  #
134
133
  # * `Aws.config[:credentials]`
135
134
  #
@@ -143,12 +142,10 @@ module Aws::EC2
143
142
  #
144
143
  # * `~/.aws/config`
145
144
  #
146
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
147
- # are very aggressive. Construct and pass an instance of
148
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
149
- # enable retries and extended timeouts. Instance profile credential
150
- # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
151
- # to `true`.
145
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
146
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
147
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
148
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
152
149
  #
153
150
  # @option options [required, String] :region
154
151
  # The AWS region to connect to. The configured `:region` is
@@ -381,8 +378,8 @@ module Aws::EC2
381
378
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
382
379
  #
383
380
  # @option options [Aws::TokenProvider] :token_provider
384
- # Your Bearer token used for authentication. This can be an instance of any one of the
385
- # following classes:
381
+ # Your Bearer token used for authentication. This can be any class that includes and implements
382
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
386
383
  #
387
384
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
388
385
  # tokens.
@@ -65782,6 +65779,13 @@ module Aws::EC2
65782
65779
  # Constraints: Up to 1000 instance IDs. We recommend breaking up this
65783
65780
  # request into smaller batches.
65784
65781
  #
65782
+ # @option params [Boolean] :force
65783
+ # Forces the instances to terminate. The instance will first attempt a
65784
+ # graceful shutdown, which includes flushing file system caches and
65785
+ # metadata. If the graceful shutdown fails to complete within the
65786
+ # timeout period, the instance shuts down forcibly without flushing the
65787
+ # file system caches and metadata.
65788
+ #
65785
65789
  # @option params [Boolean] :skip_os_shutdown
65786
65790
  # Specifies whether to bypass the graceful OS shutdown process when the
65787
65791
  # instance is terminated.
@@ -65830,6 +65834,7 @@ module Aws::EC2
65830
65834
  #
65831
65835
  # resp = client.terminate_instances({
65832
65836
  # instance_ids: ["InstanceId"], # required
65837
+ # force: false,
65833
65838
  # skip_os_shutdown: false,
65834
65839
  # dry_run: false,
65835
65840
  # })
@@ -66413,7 +66418,7 @@ module Aws::EC2
66413
66418
  tracer: tracer
66414
66419
  )
66415
66420
  context[:gem_name] = 'aws-sdk-ec2'
66416
- context[:gem_version] = '1.543.0'
66421
+ context[:gem_version] = '1.545.0'
66417
66422
  Seahorse::Client::Request.new(handlers, context)
66418
66423
  end
66419
66424
 
@@ -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.545.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.545.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