aws-sdk-ec2 1.392.0 → 1.394.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +7 -3
- data/lib/aws-sdk-ec2/client_api.rb +12 -0
- data/lib/aws-sdk-ec2/types.rb +39 -3
- 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: '017039fc08f9ba46d4c707c49842467e9be306689487e68fe0cba1f742c5a87f'
|
4
|
+
data.tar.gz: a3271bb5c55184f636d4006c11c19252c88f3a6a870a707467a0c76e3a8c6567
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13455b85da840db8fec5a91c3efb5cbd1eaa51f015b545799a65535bacb2096753d04c50ca8bae3ea5c239a39c13e224251551efb3b70a401c183706ea50df12
|
7
|
+
data.tar.gz: f8d71e0f35292a765a1e1762544156c3ec3598c96d7159a2d6906862a2356b3f3ad00486c8c55f998e626ded52b24b53b10f25c92568ca7a8510fd95f440c7b8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.394.0 (2023-07-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds an instance's peak and baseline network bandwidth as well as the memory sizes of an instance's inference accelerators to DescribeInstanceTypes.
|
8
|
+
|
9
|
+
1.393.0 (2023-07-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add "disabled" enum value to SpotInstanceState.
|
13
|
+
|
4
14
|
1.392.0 (2023-07-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.394.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -24387,6 +24387,8 @@ module Aws::EC2
|
|
24387
24387
|
# resp.instance_types[0].network_info.network_cards[0].network_card_index #=> Integer
|
24388
24388
|
# resp.instance_types[0].network_info.network_cards[0].network_performance #=> String
|
24389
24389
|
# resp.instance_types[0].network_info.network_cards[0].maximum_network_interfaces #=> Integer
|
24390
|
+
# resp.instance_types[0].network_info.network_cards[0].baseline_bandwidth_in_gbps #=> Float
|
24391
|
+
# resp.instance_types[0].network_info.network_cards[0].peak_bandwidth_in_gbps #=> Float
|
24390
24392
|
# resp.instance_types[0].network_info.ipv_4_addresses_per_interface #=> Integer
|
24391
24393
|
# resp.instance_types[0].network_info.ipv_6_addresses_per_interface #=> Integer
|
24392
24394
|
# resp.instance_types[0].network_info.ipv_6_supported #=> Boolean
|
@@ -24413,6 +24415,8 @@ module Aws::EC2
|
|
24413
24415
|
# resp.instance_types[0].inference_accelerator_info.accelerators[0].count #=> Integer
|
24414
24416
|
# resp.instance_types[0].inference_accelerator_info.accelerators[0].name #=> String
|
24415
24417
|
# resp.instance_types[0].inference_accelerator_info.accelerators[0].manufacturer #=> String
|
24418
|
+
# resp.instance_types[0].inference_accelerator_info.accelerators[0].memory_info.size_in_mi_b #=> Integer
|
24419
|
+
# resp.instance_types[0].inference_accelerator_info.total_inference_memory_in_mi_b #=> Integer
|
24416
24420
|
# resp.instance_types[0].hibernation_supported #=> Boolean
|
24417
24421
|
# resp.instance_types[0].burstable_performance_supported #=> Boolean
|
24418
24422
|
# resp.instance_types[0].dedicated_hosts_supported #=> Boolean
|
@@ -32144,7 +32148,7 @@ module Aws::EC2
|
|
32144
32148
|
# resp.spot_instance_requests[0].product_description #=> String, one of "Linux/UNIX", "Linux/UNIX (Amazon VPC)", "Windows", "Windows (Amazon VPC)"
|
32145
32149
|
# resp.spot_instance_requests[0].spot_instance_request_id #=> String
|
32146
32150
|
# resp.spot_instance_requests[0].spot_price #=> String
|
32147
|
-
# resp.spot_instance_requests[0].state #=> String, one of "open", "active", "closed", "cancelled", "failed"
|
32151
|
+
# resp.spot_instance_requests[0].state #=> String, one of "open", "active", "closed", "cancelled", "failed", "disabled"
|
32148
32152
|
# resp.spot_instance_requests[0].status.code #=> String
|
32149
32153
|
# resp.spot_instance_requests[0].status.message #=> String
|
32150
32154
|
# resp.spot_instance_requests[0].status.update_time #=> Time
|
@@ -52258,7 +52262,7 @@ module Aws::EC2
|
|
52258
52262
|
# resp.spot_instance_requests[0].product_description #=> String, one of "Linux/UNIX", "Linux/UNIX (Amazon VPC)", "Windows", "Windows (Amazon VPC)"
|
52259
52263
|
# resp.spot_instance_requests[0].spot_instance_request_id #=> String
|
52260
52264
|
# resp.spot_instance_requests[0].spot_price #=> String
|
52261
|
-
# resp.spot_instance_requests[0].state #=> String, one of "open", "active", "closed", "cancelled", "failed"
|
52265
|
+
# resp.spot_instance_requests[0].state #=> String, one of "open", "active", "closed", "cancelled", "failed", "disabled"
|
52262
52266
|
# resp.spot_instance_requests[0].status.code #=> String
|
52263
52267
|
# resp.spot_instance_requests[0].status.message #=> String
|
52264
52268
|
# resp.spot_instance_requests[0].status.update_time #=> Time
|
@@ -56509,7 +56513,7 @@ module Aws::EC2
|
|
56509
56513
|
params: params,
|
56510
56514
|
config: config)
|
56511
56515
|
context[:gem_name] = 'aws-sdk-ec2'
|
56512
|
-
context[:gem_version] = '1.
|
56516
|
+
context[:gem_version] = '1.394.0'
|
56513
56517
|
Seahorse::Client::Request.new(handlers, context)
|
56514
56518
|
end
|
56515
56519
|
|
@@ -199,6 +199,7 @@ module Aws::EC2
|
|
199
199
|
AvailableInstanceCapacityList = Shapes::ListShape.new(name: 'AvailableInstanceCapacityList')
|
200
200
|
BareMetal = Shapes::StringShape.new(name: 'BareMetal')
|
201
201
|
BareMetalFlag = Shapes::BooleanShape.new(name: 'BareMetalFlag')
|
202
|
+
BaselineBandwidthInGbps = Shapes::FloatShape.new(name: 'BaselineBandwidthInGbps')
|
202
203
|
BaselineBandwidthInMbps = Shapes::IntegerShape.new(name: 'BaselineBandwidthInMbps')
|
203
204
|
BaselineEbsBandwidthMbps = Shapes::StructureShape.new(name: 'BaselineEbsBandwidthMbps')
|
204
205
|
BaselineEbsBandwidthMbpsRequest = Shapes::StructureShape.new(name: 'BaselineEbsBandwidthMbpsRequest')
|
@@ -1570,6 +1571,8 @@ module Aws::EC2
|
|
1570
1571
|
InferenceDeviceInfo = Shapes::StructureShape.new(name: 'InferenceDeviceInfo')
|
1571
1572
|
InferenceDeviceInfoList = Shapes::ListShape.new(name: 'InferenceDeviceInfoList')
|
1572
1573
|
InferenceDeviceManufacturerName = Shapes::StringShape.new(name: 'InferenceDeviceManufacturerName')
|
1574
|
+
InferenceDeviceMemoryInfo = Shapes::StructureShape.new(name: 'InferenceDeviceMemoryInfo')
|
1575
|
+
InferenceDeviceMemorySize = Shapes::IntegerShape.new(name: 'InferenceDeviceMemorySize')
|
1573
1576
|
InferenceDeviceName = Shapes::StringShape.new(name: 'InferenceDeviceName')
|
1574
1577
|
InsideCidrBlocksStringList = Shapes::ListShape.new(name: 'InsideCidrBlocksStringList')
|
1575
1578
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
@@ -2199,6 +2202,7 @@ module Aws::EC2
|
|
2199
2202
|
PayerResponsibility = Shapes::StringShape.new(name: 'PayerResponsibility')
|
2200
2203
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
2201
2204
|
PciId = Shapes::StructureShape.new(name: 'PciId')
|
2205
|
+
PeakBandwidthInGbps = Shapes::FloatShape.new(name: 'PeakBandwidthInGbps')
|
2202
2206
|
PeeringAttachmentStatus = Shapes::StructureShape.new(name: 'PeeringAttachmentStatus')
|
2203
2207
|
PeeringConnectionOptions = Shapes::StructureShape.new(name: 'PeeringConnectionOptions')
|
2204
2208
|
PeeringConnectionOptionsRequest = Shapes::StructureShape.new(name: 'PeeringConnectionOptionsRequest')
|
@@ -3031,6 +3035,7 @@ module Aws::EC2
|
|
3031
3035
|
snapshotTierStatusSet = Shapes::ListShape.new(name: 'snapshotTierStatusSet')
|
3032
3036
|
totalFpgaMemory = Shapes::IntegerShape.new(name: 'totalFpgaMemory')
|
3033
3037
|
totalGpuMemory = Shapes::IntegerShape.new(name: 'totalGpuMemory')
|
3038
|
+
totalInferenceMemory = Shapes::IntegerShape.new(name: 'totalInferenceMemory')
|
3034
3039
|
|
3035
3040
|
AcceleratorCount.add_member(:min, Shapes::ShapeRef.new(shape: Integer, location_name: "min"))
|
3036
3041
|
AcceleratorCount.add_member(:max, Shapes::ShapeRef.new(shape: Integer, location_name: "max"))
|
@@ -9413,15 +9418,20 @@ module Aws::EC2
|
|
9413
9418
|
ImportVolumeTaskDetails.struct_class = Types::ImportVolumeTaskDetails
|
9414
9419
|
|
9415
9420
|
InferenceAcceleratorInfo.add_member(:accelerators, Shapes::ShapeRef.new(shape: InferenceDeviceInfoList, location_name: "accelerators"))
|
9421
|
+
InferenceAcceleratorInfo.add_member(:total_inference_memory_in_mi_b, Shapes::ShapeRef.new(shape: totalInferenceMemory, location_name: "totalInferenceMemoryInMiB"))
|
9416
9422
|
InferenceAcceleratorInfo.struct_class = Types::InferenceAcceleratorInfo
|
9417
9423
|
|
9418
9424
|
InferenceDeviceInfo.add_member(:count, Shapes::ShapeRef.new(shape: InferenceDeviceCount, location_name: "count"))
|
9419
9425
|
InferenceDeviceInfo.add_member(:name, Shapes::ShapeRef.new(shape: InferenceDeviceName, location_name: "name"))
|
9420
9426
|
InferenceDeviceInfo.add_member(:manufacturer, Shapes::ShapeRef.new(shape: InferenceDeviceManufacturerName, location_name: "manufacturer"))
|
9427
|
+
InferenceDeviceInfo.add_member(:memory_info, Shapes::ShapeRef.new(shape: InferenceDeviceMemoryInfo, location_name: "memoryInfo"))
|
9421
9428
|
InferenceDeviceInfo.struct_class = Types::InferenceDeviceInfo
|
9422
9429
|
|
9423
9430
|
InferenceDeviceInfoList.member = Shapes::ShapeRef.new(shape: InferenceDeviceInfo)
|
9424
9431
|
|
9432
|
+
InferenceDeviceMemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: InferenceDeviceMemorySize, location_name: "sizeInMiB"))
|
9433
|
+
InferenceDeviceMemoryInfo.struct_class = Types::InferenceDeviceMemoryInfo
|
9434
|
+
|
9425
9435
|
InsideCidrBlocksStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
9426
9436
|
|
9427
9437
|
Instance.add_member(:ami_launch_index, Shapes::ShapeRef.new(shape: Integer, location_name: "amiLaunchIndex"))
|
@@ -11565,6 +11575,8 @@ module Aws::EC2
|
|
11565
11575
|
NetworkCardInfo.add_member(:network_card_index, Shapes::ShapeRef.new(shape: NetworkCardIndex, location_name: "networkCardIndex"))
|
11566
11576
|
NetworkCardInfo.add_member(:network_performance, Shapes::ShapeRef.new(shape: NetworkPerformance, location_name: "networkPerformance"))
|
11567
11577
|
NetworkCardInfo.add_member(:maximum_network_interfaces, Shapes::ShapeRef.new(shape: MaxNetworkInterfaces, location_name: "maximumNetworkInterfaces"))
|
11578
|
+
NetworkCardInfo.add_member(:baseline_bandwidth_in_gbps, Shapes::ShapeRef.new(shape: BaselineBandwidthInGbps, location_name: "baselineBandwidthInGbps"))
|
11579
|
+
NetworkCardInfo.add_member(:peak_bandwidth_in_gbps, Shapes::ShapeRef.new(shape: PeakBandwidthInGbps, location_name: "peakBandwidthInGbps"))
|
11568
11580
|
NetworkCardInfo.struct_class = Types::NetworkCardInfo
|
11569
11581
|
|
11570
11582
|
NetworkCardInfoList.member = Shapes::ShapeRef.new(shape: NetworkCardInfo, location_name: "item")
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -36642,10 +36642,16 @@ module Aws::EC2
|
|
36642
36642
|
# Describes the Inference accelerators for the instance type.
|
36643
36643
|
# @return [Array<Types::InferenceDeviceInfo>]
|
36644
36644
|
#
|
36645
|
+
# @!attribute [rw] total_inference_memory_in_mi_b
|
36646
|
+
# The total size of the memory for the inference accelerators for the
|
36647
|
+
# instance type, in MiB.
|
36648
|
+
# @return [Integer]
|
36649
|
+
#
|
36645
36650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InferenceAcceleratorInfo AWS API Documentation
|
36646
36651
|
#
|
36647
36652
|
class InferenceAcceleratorInfo < Struct.new(
|
36648
|
-
:accelerators
|
36653
|
+
:accelerators,
|
36654
|
+
:total_inference_memory_in_mi_b)
|
36649
36655
|
SENSITIVE = []
|
36650
36656
|
include Aws::Structure
|
36651
36657
|
end
|
@@ -36664,12 +36670,32 @@ module Aws::EC2
|
|
36664
36670
|
# The manufacturer of the Inference accelerator.
|
36665
36671
|
# @return [String]
|
36666
36672
|
#
|
36673
|
+
# @!attribute [rw] memory_info
|
36674
|
+
# Describes the memory available to the inference accelerator.
|
36675
|
+
# @return [Types::InferenceDeviceMemoryInfo]
|
36676
|
+
#
|
36667
36677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InferenceDeviceInfo AWS API Documentation
|
36668
36678
|
#
|
36669
36679
|
class InferenceDeviceInfo < Struct.new(
|
36670
36680
|
:count,
|
36671
36681
|
:name,
|
36672
|
-
:manufacturer
|
36682
|
+
:manufacturer,
|
36683
|
+
:memory_info)
|
36684
|
+
SENSITIVE = []
|
36685
|
+
include Aws::Structure
|
36686
|
+
end
|
36687
|
+
|
36688
|
+
# Describes the memory available to the inference accelerator.
|
36689
|
+
#
|
36690
|
+
# @!attribute [rw] size_in_mi_b
|
36691
|
+
# The size of the memory available to the inference accelerator, in
|
36692
|
+
# MiB.
|
36693
|
+
# @return [Integer]
|
36694
|
+
#
|
36695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InferenceDeviceMemoryInfo AWS API Documentation
|
36696
|
+
#
|
36697
|
+
class InferenceDeviceMemoryInfo < Struct.new(
|
36698
|
+
:size_in_mi_b)
|
36673
36699
|
SENSITIVE = []
|
36674
36700
|
include Aws::Structure
|
36675
36701
|
end
|
@@ -48540,12 +48566,22 @@ module Aws::EC2
|
|
48540
48566
|
# The maximum number of network interfaces for the network card.
|
48541
48567
|
# @return [Integer]
|
48542
48568
|
#
|
48569
|
+
# @!attribute [rw] baseline_bandwidth_in_gbps
|
48570
|
+
# The baseline network performance of the network card, in Gbps.
|
48571
|
+
# @return [Float]
|
48572
|
+
#
|
48573
|
+
# @!attribute [rw] peak_bandwidth_in_gbps
|
48574
|
+
# The peak (burst) network performance of the network card, in Gbps.
|
48575
|
+
# @return [Float]
|
48576
|
+
#
|
48543
48577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkCardInfo AWS API Documentation
|
48544
48578
|
#
|
48545
48579
|
class NetworkCardInfo < Struct.new(
|
48546
48580
|
:network_card_index,
|
48547
48581
|
:network_performance,
|
48548
|
-
:maximum_network_interfaces
|
48582
|
+
:maximum_network_interfaces,
|
48583
|
+
:baseline_bandwidth_in_gbps,
|
48584
|
+
:peak_bandwidth_in_gbps)
|
48549
48585
|
SENSITIVE = []
|
48550
48586
|
include Aws::Structure
|
48551
48587
|
end
|
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.394.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-07-
|
11
|
+
date: 2023-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|