aws-sdk-ec2 1.606.0 → 1.607.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +22 -1
- data/lib/aws-sdk-ec2/client_api.rb +9 -0
- data/lib/aws-sdk-ec2/types.rb +28 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48b90ddc903e008dd3ff388bb1714346018b9c7bd267c527a9fa7a1a55928b57
|
|
4
|
+
data.tar.gz: cc6e1604e0605a821c7bd4b6c2bc93bdf4ed6e2301b7465762badc1fce5c8fe4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0993cd76e97ea11089f4cf686807ade3ee75ee7b42f79760ac15d233ec18a0932412435d535800b8c657c29750fe43a449310e1889d17796940fefd04ff6560b'
|
|
7
|
+
data.tar.gz: 1c7514be2729ec91b801d593369d727e19ba3a8d79d83d91f6f61d1a178de0b5d0a63c9915cd6bc8c6df08e718505d41c78e5860e5874e8e87a211a25e38a658
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.607.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -5994,6 +5994,9 @@ module Aws::EC2
|
|
|
5994
5994
|
# resp.capacity_reservation.capacity_allocations #=> Array
|
|
5995
5995
|
# resp.capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used", "future"
|
|
5996
5996
|
# resp.capacity_reservation.capacity_allocations[0].count #=> Integer
|
|
5997
|
+
# resp.capacity_reservation.capacity_allocations[0].allocation_metadata #=> Array
|
|
5998
|
+
# resp.capacity_reservation.capacity_allocations[0].allocation_metadata[0].key #=> String
|
|
5999
|
+
# resp.capacity_reservation.capacity_allocations[0].allocation_metadata[0].value #=> String
|
|
5997
6000
|
# resp.capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
|
|
5998
6001
|
# resp.capacity_reservation.unused_reservation_billing_owner_id #=> String
|
|
5999
6002
|
# resp.capacity_reservation.commitment_info.committed_instance_count #=> Integer
|
|
@@ -6107,6 +6110,9 @@ module Aws::EC2
|
|
|
6107
6110
|
# resp.source_capacity_reservation.capacity_allocations #=> Array
|
|
6108
6111
|
# resp.source_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used", "future"
|
|
6109
6112
|
# resp.source_capacity_reservation.capacity_allocations[0].count #=> Integer
|
|
6113
|
+
# resp.source_capacity_reservation.capacity_allocations[0].allocation_metadata #=> Array
|
|
6114
|
+
# resp.source_capacity_reservation.capacity_allocations[0].allocation_metadata[0].key #=> String
|
|
6115
|
+
# resp.source_capacity_reservation.capacity_allocations[0].allocation_metadata[0].value #=> String
|
|
6110
6116
|
# resp.source_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
|
|
6111
6117
|
# resp.source_capacity_reservation.unused_reservation_billing_owner_id #=> String
|
|
6112
6118
|
# resp.source_capacity_reservation.commitment_info.committed_instance_count #=> Integer
|
|
@@ -6148,6 +6154,9 @@ module Aws::EC2
|
|
|
6148
6154
|
# resp.destination_capacity_reservation.capacity_allocations #=> Array
|
|
6149
6155
|
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used", "future"
|
|
6150
6156
|
# resp.destination_capacity_reservation.capacity_allocations[0].count #=> Integer
|
|
6157
|
+
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_metadata #=> Array
|
|
6158
|
+
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_metadata[0].key #=> String
|
|
6159
|
+
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_metadata[0].value #=> String
|
|
6151
6160
|
# resp.destination_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
|
|
6152
6161
|
# resp.destination_capacity_reservation.unused_reservation_billing_owner_id #=> String
|
|
6153
6162
|
# resp.destination_capacity_reservation.commitment_info.committed_instance_count #=> Integer
|
|
@@ -26354,6 +26363,9 @@ module Aws::EC2
|
|
|
26354
26363
|
# resp.capacity_reservations[0].capacity_allocations #=> Array
|
|
26355
26364
|
# resp.capacity_reservations[0].capacity_allocations[0].allocation_type #=> String, one of "used", "future"
|
|
26356
26365
|
# resp.capacity_reservations[0].capacity_allocations[0].count #=> Integer
|
|
26366
|
+
# resp.capacity_reservations[0].capacity_allocations[0].allocation_metadata #=> Array
|
|
26367
|
+
# resp.capacity_reservations[0].capacity_allocations[0].allocation_metadata[0].key #=> String
|
|
26368
|
+
# resp.capacity_reservations[0].capacity_allocations[0].allocation_metadata[0].value #=> String
|
|
26357
26369
|
# resp.capacity_reservations[0].reservation_type #=> String, one of "default", "capacity-block"
|
|
26358
26370
|
# resp.capacity_reservations[0].unused_reservation_billing_owner_id #=> String
|
|
26359
26371
|
# resp.capacity_reservations[0].commitment_info.committed_instance_count #=> Integer
|
|
@@ -64897,6 +64909,9 @@ module Aws::EC2
|
|
|
64897
64909
|
# resp.source_capacity_reservation.capacity_allocations #=> Array
|
|
64898
64910
|
# resp.source_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used", "future"
|
|
64899
64911
|
# resp.source_capacity_reservation.capacity_allocations[0].count #=> Integer
|
|
64912
|
+
# resp.source_capacity_reservation.capacity_allocations[0].allocation_metadata #=> Array
|
|
64913
|
+
# resp.source_capacity_reservation.capacity_allocations[0].allocation_metadata[0].key #=> String
|
|
64914
|
+
# resp.source_capacity_reservation.capacity_allocations[0].allocation_metadata[0].value #=> String
|
|
64900
64915
|
# resp.source_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
|
|
64901
64916
|
# resp.source_capacity_reservation.unused_reservation_billing_owner_id #=> String
|
|
64902
64917
|
# resp.source_capacity_reservation.commitment_info.committed_instance_count #=> Integer
|
|
@@ -64938,6 +64953,9 @@ module Aws::EC2
|
|
|
64938
64953
|
# resp.destination_capacity_reservation.capacity_allocations #=> Array
|
|
64939
64954
|
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used", "future"
|
|
64940
64955
|
# resp.destination_capacity_reservation.capacity_allocations[0].count #=> Integer
|
|
64956
|
+
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_metadata #=> Array
|
|
64957
|
+
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_metadata[0].key #=> String
|
|
64958
|
+
# resp.destination_capacity_reservation.capacity_allocations[0].allocation_metadata[0].value #=> String
|
|
64941
64959
|
# resp.destination_capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
|
|
64942
64960
|
# resp.destination_capacity_reservation.unused_reservation_billing_owner_id #=> String
|
|
64943
64961
|
# resp.destination_capacity_reservation.commitment_info.committed_instance_count #=> Integer
|
|
@@ -65392,6 +65410,9 @@ module Aws::EC2
|
|
|
65392
65410
|
# resp.capacity_reservation.capacity_allocations #=> Array
|
|
65393
65411
|
# resp.capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used", "future"
|
|
65394
65412
|
# resp.capacity_reservation.capacity_allocations[0].count #=> Integer
|
|
65413
|
+
# resp.capacity_reservation.capacity_allocations[0].allocation_metadata #=> Array
|
|
65414
|
+
# resp.capacity_reservation.capacity_allocations[0].allocation_metadata[0].key #=> String
|
|
65415
|
+
# resp.capacity_reservation.capacity_allocations[0].allocation_metadata[0].value #=> String
|
|
65395
65416
|
# resp.capacity_reservation.reservation_type #=> String, one of "default", "capacity-block"
|
|
65396
65417
|
# resp.capacity_reservation.unused_reservation_billing_owner_id #=> String
|
|
65397
65418
|
# resp.capacity_reservation.commitment_info.committed_instance_count #=> Integer
|
|
@@ -73053,7 +73074,7 @@ module Aws::EC2
|
|
|
73053
73074
|
tracer: tracer
|
|
73054
73075
|
)
|
|
73055
73076
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
73056
|
-
context[:gem_version] = '1.
|
|
73077
|
+
context[:gem_version] = '1.607.0'
|
|
73057
73078
|
Seahorse::Client::Request.new(handlers, context)
|
|
73058
73079
|
end
|
|
73059
73080
|
|
|
@@ -316,6 +316,8 @@ module Aws::EC2
|
|
|
316
316
|
CancelledSpotInstanceRequest = Shapes::StructureShape.new(name: 'CancelledSpotInstanceRequest')
|
|
317
317
|
CancelledSpotInstanceRequestList = Shapes::ListShape.new(name: 'CancelledSpotInstanceRequestList')
|
|
318
318
|
CapacityAllocation = Shapes::StructureShape.new(name: 'CapacityAllocation')
|
|
319
|
+
CapacityAllocationMetadataEntry = Shapes::StructureShape.new(name: 'CapacityAllocationMetadataEntry')
|
|
320
|
+
CapacityAllocationMetadataList = Shapes::ListShape.new(name: 'CapacityAllocationMetadataList')
|
|
319
321
|
CapacityAllocations = Shapes::ListShape.new(name: 'CapacityAllocations')
|
|
320
322
|
CapacityBlock = Shapes::StructureShape.new(name: 'CapacityBlock')
|
|
321
323
|
CapacityBlockExtension = Shapes::StructureShape.new(name: 'CapacityBlockExtension')
|
|
@@ -4980,8 +4982,15 @@ module Aws::EC2
|
|
|
4980
4982
|
|
|
4981
4983
|
CapacityAllocation.add_member(:allocation_type, Shapes::ShapeRef.new(shape: AllocationType, location_name: "allocationType"))
|
|
4982
4984
|
CapacityAllocation.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "count"))
|
|
4985
|
+
CapacityAllocation.add_member(:allocation_metadata, Shapes::ShapeRef.new(shape: CapacityAllocationMetadataList, location_name: "allocationMetadataList"))
|
|
4983
4986
|
CapacityAllocation.struct_class = Types::CapacityAllocation
|
|
4984
4987
|
|
|
4988
|
+
CapacityAllocationMetadataEntry.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
|
|
4989
|
+
CapacityAllocationMetadataEntry.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
|
4990
|
+
CapacityAllocationMetadataEntry.struct_class = Types::CapacityAllocationMetadataEntry
|
|
4991
|
+
|
|
4992
|
+
CapacityAllocationMetadataList.member = Shapes::ShapeRef.new(shape: CapacityAllocationMetadataEntry, location_name: "item")
|
|
4993
|
+
|
|
4985
4994
|
CapacityAllocations.member = Shapes::ShapeRef.new(shape: CapacityAllocation, location_name: "item")
|
|
4986
4995
|
|
|
4987
4996
|
CapacityBlock.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: CapacityBlockId, location_name: "capacityBlockId"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -4996,11 +4996,38 @@ module Aws::EC2
|
|
|
4996
4996
|
# instances is currently in use.
|
|
4997
4997
|
# @return [Integer]
|
|
4998
4998
|
#
|
|
4999
|
+
# @!attribute [rw] allocation_metadata
|
|
5000
|
+
# Additional metadata associated with the capacity allocation. Each
|
|
5001
|
+
# entry contains a key-value pair providing context about the
|
|
5002
|
+
# allocation.
|
|
5003
|
+
# @return [Array<Types::CapacityAllocationMetadataEntry>]
|
|
5004
|
+
#
|
|
4999
5005
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityAllocation AWS API Documentation
|
|
5000
5006
|
#
|
|
5001
5007
|
class CapacityAllocation < Struct.new(
|
|
5002
5008
|
:allocation_type,
|
|
5003
|
-
:count
|
|
5009
|
+
:count,
|
|
5010
|
+
:allocation_metadata)
|
|
5011
|
+
SENSITIVE = []
|
|
5012
|
+
include Aws::Structure
|
|
5013
|
+
end
|
|
5014
|
+
|
|
5015
|
+
# A key-value pair that provides additional metadata about a capacity
|
|
5016
|
+
# allocation.
|
|
5017
|
+
#
|
|
5018
|
+
# @!attribute [rw] key
|
|
5019
|
+
# The key of the metadata entry.
|
|
5020
|
+
# @return [String]
|
|
5021
|
+
#
|
|
5022
|
+
# @!attribute [rw] value
|
|
5023
|
+
# The value of the metadata entry.
|
|
5024
|
+
# @return [String]
|
|
5025
|
+
#
|
|
5026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityAllocationMetadataEntry AWS API Documentation
|
|
5027
|
+
#
|
|
5028
|
+
class CapacityAllocationMetadataEntry < Struct.new(
|
|
5029
|
+
:key,
|
|
5030
|
+
:value)
|
|
5004
5031
|
SENSITIVE = []
|
|
5005
5032
|
include Aws::Structure
|
|
5006
5033
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -1237,6 +1237,13 @@ module Aws::EC2
|
|
|
1237
1237
|
class CapacityAllocation
|
|
1238
1238
|
attr_accessor allocation_type: ("used" | "future")
|
|
1239
1239
|
attr_accessor count: ::Integer
|
|
1240
|
+
attr_accessor allocation_metadata: ::Array[Types::CapacityAllocationMetadataEntry]
|
|
1241
|
+
SENSITIVE: []
|
|
1242
|
+
end
|
|
1243
|
+
|
|
1244
|
+
class CapacityAllocationMetadataEntry
|
|
1245
|
+
attr_accessor key: ::String
|
|
1246
|
+
attr_accessor value: ::String
|
|
1240
1247
|
SENSITIVE: []
|
|
1241
1248
|
end
|
|
1242
1249
|
|