aws-sdk-ec2 1.502.0 → 1.503.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +29 -4
- data/lib/aws-sdk-ec2/client_api.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +31 -8
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 361debbfefe68e4b0c14cd60fc84126e78807ededd752a1b69d929dde37743e0
|
4
|
+
data.tar.gz: db7f3eedd18c9ce9fde60e6d30a228578fe6f938cde203165921f89cde796d3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c063adfbfaae20d1a1868b3dca92992f0fc2aa729a63dc46167067376512bf2c3b25dc8d144d843e77665bee1ce6307f2db0b9f5d12aecaed84d885788b5017
|
7
|
+
data.tar.gz: c7e5a38b501a2f2d8a0844b6e9c2b00920aca6688ffedda90112d091ae762bc04badfb387ed0c1fb9f5babc523629d0ec17e9be93d825d5c0db4db9241f8c432
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.503.0 (2025-01-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release changes the CreateFleet CLI and SDK's such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
|
8
|
+
|
4
9
|
1.502.0 (2025-01-23)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.503.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4107,6 +4107,11 @@ module Aws::EC2
|
|
4107
4107
|
# duration has elapsed. You can't cancel a future-dated Capacity
|
4108
4108
|
# Reservation during the commitment duration.
|
4109
4109
|
#
|
4110
|
+
# <note markdown="1"> You can't modify or cancel a Capacity Block. For more information,
|
4111
|
+
# see [Capacity Blocks for ML][1].
|
4112
|
+
#
|
4113
|
+
# </note>
|
4114
|
+
#
|
4110
4115
|
# If a future-dated Capacity Reservation enters the `delayed` state, the
|
4111
4116
|
# commitment duration is waived, and you can cancel it as soon as it
|
4112
4117
|
# enters the `active` state.
|
@@ -4118,6 +4123,10 @@ module Aws::EC2
|
|
4118
4123
|
# any open Capacity Reservation that has matching attributes and
|
4119
4124
|
# sufficient capacity.
|
4120
4125
|
#
|
4126
|
+
#
|
4127
|
+
#
|
4128
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-blocks.html
|
4129
|
+
#
|
4121
4130
|
# @option params [required, String] :capacity_reservation_id
|
4122
4131
|
# The ID of the Capacity Reservation to be cancelled.
|
4123
4132
|
#
|
@@ -6794,8 +6803,14 @@ module Aws::EC2
|
|
6794
6803
|
#
|
6795
6804
|
# @option params [String] :client_token
|
6796
6805
|
# Unique, case-sensitive identifier that you provide to ensure the
|
6797
|
-
# idempotency of the request.
|
6798
|
-
#
|
6806
|
+
# idempotency of the request. If you do not specify a client token, a
|
6807
|
+
# randomly generated token is used for the request to ensure
|
6808
|
+
# idempotency.
|
6809
|
+
#
|
6810
|
+
# For more information, see [Ensuring idempotency][1].
|
6811
|
+
#
|
6812
|
+
# **A suitable default value is auto-generated.** You should normally
|
6813
|
+
# not need to pass this option.**
|
6799
6814
|
#
|
6800
6815
|
#
|
6801
6816
|
#
|
@@ -21566,6 +21581,15 @@ module Aws::EC2
|
|
21566
21581
|
# Amazon Web Services Region that you're currently using. With Capacity
|
21567
21582
|
# Blocks, you purchase a specific instance type for a period of time.
|
21568
21583
|
#
|
21584
|
+
# To search for an available Capacity Block offering, you specify a
|
21585
|
+
# reservation duration and instance count. You must select one of the
|
21586
|
+
# following options.
|
21587
|
+
#
|
21588
|
+
# * For reservation durations<b> 1-day increments up 14 days and 7-day
|
21589
|
+
# increments up to 182 days total</b>
|
21590
|
+
#
|
21591
|
+
# * For instance count<b> 1, 2, 4, 8, 16, 32, or 64 instances</b>
|
21592
|
+
#
|
21569
21593
|
# @option params [Boolean] :dry_run
|
21570
21594
|
# Checks whether you have the required permissions for the action,
|
21571
21595
|
# without actually making the request, and provides an error response.
|
@@ -26437,7 +26461,8 @@ module Aws::EC2
|
|
26437
26461
|
# * `p3dn.24xlarge` \| `p4d.24xlarge` \| `p4de.24xlarge` \|
|
26438
26462
|
# `p5.48xlarge` \| `p5e.48xlarge` \| `p5en.48xlarge`
|
26439
26463
|
#
|
26440
|
-
# * `trn1.2xlarge` \| `trn1.32xlarge` \| `trn1n.32xlarge`
|
26464
|
+
# * `trn1.2xlarge` \| `trn1.32xlarge` \| `trn1n.32xlarge` \|
|
26465
|
+
# `trn2.48xlarge` \| `trn2u.48xlarge`
|
26441
26466
|
#
|
26442
26467
|
# For more information, see [Amazon EC2 instance topology][1] in the
|
26443
26468
|
# *Amazon EC2 User Guide*.
|
@@ -63153,7 +63178,7 @@ module Aws::EC2
|
|
63153
63178
|
tracer: tracer
|
63154
63179
|
)
|
63155
63180
|
context[:gem_name] = 'aws-sdk-ec2'
|
63156
|
-
context[:gem_version] = '1.
|
63181
|
+
context[:gem_version] = '1.503.0'
|
63157
63182
|
Seahorse::Client::Request.new(handlers, context)
|
63158
63183
|
end
|
63159
63184
|
|
@@ -5030,7 +5030,7 @@ module Aws::EC2
|
|
5030
5030
|
CreateFleetInstancesSet.member = Shapes::ShapeRef.new(shape: CreateFleetInstance, location_name: "item")
|
5031
5031
|
|
5032
5032
|
CreateFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5033
|
-
CreateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
5033
|
+
CreateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
5034
5034
|
CreateFleetRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptionsRequest, location_name: "SpotOptions"))
|
5035
5035
|
CreateFleetRequest.add_member(:on_demand_options, Shapes::ShapeRef.new(shape: OnDemandOptionsRequest, location_name: "OnDemandOptions"))
|
5036
5036
|
CreateFleetRequest.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "ExcessCapacityTerminationPolicy"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8672,8 +8672,14 @@ module Aws::EC2
|
|
8672
8672
|
#
|
8673
8673
|
# @!attribute [rw] client_token
|
8674
8674
|
# Unique, case-sensitive identifier that you provide to ensure the
|
8675
|
-
# idempotency of the request.
|
8676
|
-
#
|
8675
|
+
# idempotency of the request. If you do not specify a client token, a
|
8676
|
+
# randomly generated token is used for the request to ensure
|
8677
|
+
# idempotency.
|
8678
|
+
#
|
8679
|
+
# For more information, see [Ensuring idempotency][1].
|
8680
|
+
#
|
8681
|
+
# **A suitable default value is auto-generated.** You should normally
|
8682
|
+
# not need to pass this option.
|
8677
8683
|
#
|
8678
8684
|
#
|
8679
8685
|
#
|
@@ -34249,8 +34255,14 @@ module Aws::EC2
|
|
34249
34255
|
# valid and several attempts to launch instances have failed. For
|
34250
34256
|
# more information, see the description of the event.
|
34251
34257
|
#
|
34252
|
-
# * `launchSpecUnusable` - The price in a launch
|
34253
|
-
# valid because it is below the Spot price
|
34258
|
+
# * `launchSpecUnusable` - The price specified in a launch
|
34259
|
+
# specification is not valid because it is below the Spot price for
|
34260
|
+
# the requested Spot pools.
|
34261
|
+
#
|
34262
|
+
# Note: Even if a fleet with the `maintain` request type is in the
|
34263
|
+
# process of being canceled, it may still publish a
|
34264
|
+
# `launchSpecUnusable` event. This does not mean that the canceled
|
34265
|
+
# fleet is attempting to launch a new instance.
|
34254
34266
|
#
|
34255
34267
|
# * `registerWithLoadBalancersFailed` - An attempt to register
|
34256
34268
|
# instances with load balancers failed. For more information, see
|
@@ -42377,7 +42389,8 @@ module Aws::EC2
|
|
42377
42389
|
# @return [String]
|
42378
42390
|
#
|
42379
42391
|
# @!attribute [rw] no_device
|
42380
|
-
#
|
42392
|
+
# Suppresses the specified device included in the block device
|
42393
|
+
# mapping.
|
42381
42394
|
# @return [String]
|
42382
42395
|
#
|
42383
42396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMappingSpecification AWS API Documentation
|
@@ -43950,9 +43963,12 @@ module Aws::EC2
|
|
43950
43963
|
# @!attribute [rw] accelerator_types
|
43951
43964
|
# The accelerator types that must be on the instance type.
|
43952
43965
|
#
|
43966
|
+
# * For instance types with FPGA accelerators, specify `fpga`.
|
43967
|
+
#
|
43953
43968
|
# * For instance types with GPU accelerators, specify `gpu`.
|
43954
43969
|
#
|
43955
|
-
# * For instance types with
|
43970
|
+
# * For instance types with Inference accelerators, specify
|
43971
|
+
# `inference`.
|
43956
43972
|
#
|
43957
43973
|
# Default: Any accelerator type
|
43958
43974
|
# @return [Array<String>]
|
@@ -44433,9 +44449,12 @@ module Aws::EC2
|
|
44433
44449
|
# @!attribute [rw] accelerator_types
|
44434
44450
|
# The accelerator types that must be on the instance type.
|
44435
44451
|
#
|
44436
|
-
# *
|
44452
|
+
# * For instance types with FPGA accelerators, specify `fpga`.
|
44453
|
+
#
|
44454
|
+
# * For instance types with GPU accelerators, specify `gpu`.
|
44437
44455
|
#
|
44438
|
-
# *
|
44456
|
+
# * For instance types with Inference accelerators, specify
|
44457
|
+
# `inference`.
|
44439
44458
|
#
|
44440
44459
|
# Default: Any accelerator type
|
44441
44460
|
# @return [Array<String>]
|
@@ -66995,6 +67014,10 @@ module Aws::EC2
|
|
66995
67014
|
# If you specify a maximum price, your Spot Instances will be
|
66996
67015
|
# interrupted more frequently than if you do not specify this
|
66997
67016
|
# parameter.
|
67017
|
+
#
|
67018
|
+
# If you specify a maximum price, it must be more than USD $0.001.
|
67019
|
+
# Specifying a value below USD $0.001 will result in an
|
67020
|
+
# `InvalidParameterValue` error message.
|
66998
67021
|
# @return [String]
|
66999
67022
|
#
|
67000
67023
|
# @!attribute [rw] spot_instance_type
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.503.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: 2025-01-
|
11
|
+
date: 2025-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|