aws-sdk-ec2 1.604.0 → 1.605.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 +12 -1
- data/lib/aws-sdk-ec2/client_api.rb +4 -0
- data/lib/aws-sdk-ec2/types.rb +28 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +4 -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: 64e90f774dbba7c91f648c7a2f987b161b1b96c74f4549e15c2c363d7f6906a7
|
|
4
|
+
data.tar.gz: 6fe17d8e9e5fbadba9de4612ceda640d3008b7f51026b682e51bb8475c5cd048
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6261b3d89961a9558343a352fc9e4459aa0a44eea767ad468649a5ada1e5b500cb93ee3b286ab4471c7363ea4879fc44c324209dddeea2cd67eefca62f14f78c
|
|
7
|
+
data.tar.gz: d600ff968f8eb925f3545c69ea15c114ef87fe16c9a56c97c47adfc0e6f013486c90cd4930c5952d6f41a1edf1b468d4d482b8625bce925cd05a329c8acdf8c1
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.605.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -25430,6 +25430,7 @@ module Aws::EC2
|
|
|
25430
25430
|
# resp.capacity_block_extensions[0].capacity_block_extension_end_date #=> Time
|
|
25431
25431
|
# resp.capacity_block_extensions[0].upfront_fee #=> String
|
|
25432
25432
|
# resp.capacity_block_extensions[0].currency_code #=> String
|
|
25433
|
+
# resp.capacity_block_extensions[0].zone_type #=> String
|
|
25433
25434
|
# resp.next_token #=> String
|
|
25434
25435
|
#
|
|
25435
25436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockExtensionHistory AWS API Documentation
|
|
@@ -25500,6 +25501,7 @@ module Aws::EC2
|
|
|
25500
25501
|
# resp.capacity_block_extension_offerings[0].upfront_fee #=> String
|
|
25501
25502
|
# resp.capacity_block_extension_offerings[0].currency_code #=> String
|
|
25502
25503
|
# resp.capacity_block_extension_offerings[0].tenancy #=> String, one of "default", "dedicated"
|
|
25504
|
+
# resp.capacity_block_extension_offerings[0].zone_type #=> String
|
|
25503
25505
|
# resp.next_token #=> String
|
|
25504
25506
|
#
|
|
25505
25507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockExtensionOfferings AWS API Documentation
|
|
@@ -25563,6 +25565,12 @@ module Aws::EC2
|
|
|
25563
25565
|
# @option params [Integer] :ultraserver_count
|
|
25564
25566
|
# The number of EC2 UltraServers in the offerings.
|
|
25565
25567
|
#
|
|
25568
|
+
# @option params [Boolean] :all_availability_zones
|
|
25569
|
+
# Include all Availability Zones and Local Zones, regardless of your
|
|
25570
|
+
# opt-in status. If you do not use this parameter, the results include
|
|
25571
|
+
# available offerings from all Availability Zones in the Amazon Web
|
|
25572
|
+
# Services Region and Local Zones you are opted into.
|
|
25573
|
+
#
|
|
25566
25574
|
# @return [Types::DescribeCapacityBlockOfferingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
25567
25575
|
#
|
|
25568
25576
|
# * {Types::DescribeCapacityBlockOfferingsResult#capacity_block_offerings #capacity_block_offerings} => Array<Types::CapacityBlockOffering>
|
|
@@ -25583,6 +25591,7 @@ module Aws::EC2
|
|
|
25583
25591
|
# max_results: 1,
|
|
25584
25592
|
# ultraserver_type: "String",
|
|
25585
25593
|
# ultraserver_count: 1,
|
|
25594
|
+
# all_availability_zones: false,
|
|
25586
25595
|
# })
|
|
25587
25596
|
#
|
|
25588
25597
|
# @example Response structure
|
|
@@ -25601,6 +25610,7 @@ module Aws::EC2
|
|
|
25601
25610
|
# resp.capacity_block_offerings[0].ultraserver_type #=> String
|
|
25602
25611
|
# resp.capacity_block_offerings[0].ultraserver_count #=> Integer
|
|
25603
25612
|
# resp.capacity_block_offerings[0].capacity_block_duration_minutes #=> Integer
|
|
25613
|
+
# resp.capacity_block_offerings[0].zone_type #=> String
|
|
25604
25614
|
# resp.next_token #=> String
|
|
25605
25615
|
#
|
|
25606
25616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferings AWS API Documentation
|
|
@@ -65464,6 +65474,7 @@ module Aws::EC2
|
|
|
65464
65474
|
# resp.capacity_block_extensions[0].capacity_block_extension_end_date #=> Time
|
|
65465
65475
|
# resp.capacity_block_extensions[0].upfront_fee #=> String
|
|
65466
65476
|
# resp.capacity_block_extensions[0].currency_code #=> String
|
|
65477
|
+
# resp.capacity_block_extensions[0].zone_type #=> String
|
|
65467
65478
|
#
|
|
65468
65479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlockExtension AWS API Documentation
|
|
65469
65480
|
#
|
|
@@ -73042,7 +73053,7 @@ module Aws::EC2
|
|
|
73042
73053
|
tracer: tracer
|
|
73043
73054
|
)
|
|
73044
73055
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
73045
|
-
context[:gem_version] = '1.
|
|
73056
|
+
context[:gem_version] = '1.605.0'
|
|
73046
73057
|
Seahorse::Client::Request.new(handlers, context)
|
|
73047
73058
|
end
|
|
73048
73059
|
|
|
@@ -5009,6 +5009,7 @@ module Aws::EC2
|
|
|
5009
5009
|
CapacityBlockExtension.add_member(:capacity_block_extension_end_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "capacityBlockExtensionEndDate"))
|
|
5010
5010
|
CapacityBlockExtension.add_member(:upfront_fee, Shapes::ShapeRef.new(shape: String, location_name: "upfrontFee"))
|
|
5011
5011
|
CapacityBlockExtension.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "currencyCode"))
|
|
5012
|
+
CapacityBlockExtension.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
|
|
5012
5013
|
CapacityBlockExtension.struct_class = Types::CapacityBlockExtension
|
|
5013
5014
|
|
|
5014
5015
|
CapacityBlockExtensionOffering.add_member(:capacity_block_extension_offering_id, Shapes::ShapeRef.new(shape: OfferingId, location_name: "capacityBlockExtensionOfferingId"))
|
|
@@ -5023,6 +5024,7 @@ module Aws::EC2
|
|
|
5023
5024
|
CapacityBlockExtensionOffering.add_member(:upfront_fee, Shapes::ShapeRef.new(shape: String, location_name: "upfrontFee"))
|
|
5024
5025
|
CapacityBlockExtensionOffering.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "currencyCode"))
|
|
5025
5026
|
CapacityBlockExtensionOffering.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "tenancy"))
|
|
5027
|
+
CapacityBlockExtensionOffering.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
|
|
5026
5028
|
CapacityBlockExtensionOffering.struct_class = Types::CapacityBlockExtensionOffering
|
|
5027
5029
|
|
|
5028
5030
|
CapacityBlockExtensionOfferingSet.member = Shapes::ShapeRef.new(shape: CapacityBlockExtensionOffering, location_name: "item")
|
|
@@ -5044,6 +5046,7 @@ module Aws::EC2
|
|
|
5044
5046
|
CapacityBlockOffering.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "ultraserverType"))
|
|
5045
5047
|
CapacityBlockOffering.add_member(:ultraserver_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "ultraserverCount"))
|
|
5046
5048
|
CapacityBlockOffering.add_member(:capacity_block_duration_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "capacityBlockDurationMinutes"))
|
|
5049
|
+
CapacityBlockOffering.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
|
|
5047
5050
|
CapacityBlockOffering.struct_class = Types::CapacityBlockOffering
|
|
5048
5051
|
|
|
5049
5052
|
CapacityBlockOfferingSet.member = Shapes::ShapeRef.new(shape: CapacityBlockOffering, location_name: "item")
|
|
@@ -7907,6 +7910,7 @@ module Aws::EC2
|
|
|
7907
7910
|
DescribeCapacityBlockOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityBlockOfferingsMaxResults, location_name: "MaxResults"))
|
|
7908
7911
|
DescribeCapacityBlockOfferingsRequest.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "UltraserverType"))
|
|
7909
7912
|
DescribeCapacityBlockOfferingsRequest.add_member(:ultraserver_count, Shapes::ShapeRef.new(shape: Integer, location_name: "UltraserverCount"))
|
|
7913
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:all_availability_zones, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllAvailabilityZones"))
|
|
7910
7914
|
DescribeCapacityBlockOfferingsRequest.struct_class = Types::DescribeCapacityBlockOfferingsRequest
|
|
7911
7915
|
|
|
7912
7916
|
DescribeCapacityBlockOfferingsResult.add_member(:capacity_block_offerings, Shapes::ShapeRef.new(shape: CapacityBlockOfferingSet, location_name: "capacityBlockOfferingSet"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -5148,6 +5148,10 @@ module Aws::EC2
|
|
|
5148
5148
|
# The currency of the payment for the Capacity Block extension.
|
|
5149
5149
|
# @return [String]
|
|
5150
5150
|
#
|
|
5151
|
+
# @!attribute [rw] zone_type
|
|
5152
|
+
# The type of zone where the Capacity Block extension is located.
|
|
5153
|
+
# @return [String]
|
|
5154
|
+
#
|
|
5151
5155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockExtension AWS API Documentation
|
|
5152
5156
|
#
|
|
5153
5157
|
class CapacityBlockExtension < Struct.new(
|
|
@@ -5163,7 +5167,8 @@ module Aws::EC2
|
|
|
5163
5167
|
:capacity_block_extension_start_date,
|
|
5164
5168
|
:capacity_block_extension_end_date,
|
|
5165
5169
|
:upfront_fee,
|
|
5166
|
-
:currency_code
|
|
5170
|
+
:currency_code,
|
|
5171
|
+
:zone_type)
|
|
5167
5172
|
SENSITIVE = []
|
|
5168
5173
|
include Aws::Structure
|
|
5169
5174
|
end
|
|
@@ -5236,6 +5241,11 @@ module Aws::EC2
|
|
|
5236
5241
|
# account.
|
|
5237
5242
|
# @return [String]
|
|
5238
5243
|
#
|
|
5244
|
+
# @!attribute [rw] zone_type
|
|
5245
|
+
# The type of zone where the Capacity Block extension offering is
|
|
5246
|
+
# available.
|
|
5247
|
+
# @return [String]
|
|
5248
|
+
#
|
|
5239
5249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockExtensionOffering AWS API Documentation
|
|
5240
5250
|
#
|
|
5241
5251
|
class CapacityBlockExtensionOffering < Struct.new(
|
|
@@ -5250,7 +5260,8 @@ module Aws::EC2
|
|
|
5250
5260
|
:capacity_block_extension_duration_hours,
|
|
5251
5261
|
:upfront_fee,
|
|
5252
5262
|
:currency_code,
|
|
5253
|
-
:tenancy
|
|
5263
|
+
:tenancy,
|
|
5264
|
+
:zone_type)
|
|
5254
5265
|
SENSITIVE = []
|
|
5255
5266
|
include Aws::Structure
|
|
5256
5267
|
end
|
|
@@ -5315,6 +5326,10 @@ module Aws::EC2
|
|
|
5315
5326
|
# minutes field would be **35**.
|
|
5316
5327
|
# @return [Integer]
|
|
5317
5328
|
#
|
|
5329
|
+
# @!attribute [rw] zone_type
|
|
5330
|
+
# The type of zone where the Capacity Block offering is available.
|
|
5331
|
+
# @return [String]
|
|
5332
|
+
#
|
|
5318
5333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityBlockOffering AWS API Documentation
|
|
5319
5334
|
#
|
|
5320
5335
|
class CapacityBlockOffering < Struct.new(
|
|
@@ -5330,7 +5345,8 @@ module Aws::EC2
|
|
|
5330
5345
|
:tenancy,
|
|
5331
5346
|
:ultraserver_type,
|
|
5332
5347
|
:ultraserver_count,
|
|
5333
|
-
:capacity_block_duration_minutes
|
|
5348
|
+
:capacity_block_duration_minutes,
|
|
5349
|
+
:zone_type)
|
|
5334
5350
|
SENSITIVE = []
|
|
5335
5351
|
include Aws::Structure
|
|
5336
5352
|
end
|
|
@@ -21856,6 +21872,13 @@ module Aws::EC2
|
|
|
21856
21872
|
# The number of EC2 UltraServers in the offerings.
|
|
21857
21873
|
# @return [Integer]
|
|
21858
21874
|
#
|
|
21875
|
+
# @!attribute [rw] all_availability_zones
|
|
21876
|
+
# Include all Availability Zones and Local Zones, regardless of your
|
|
21877
|
+
# opt-in status. If you do not use this parameter, the results include
|
|
21878
|
+
# available offerings from all Availability Zones in the Amazon Web
|
|
21879
|
+
# Services Region and Local Zones you are opted into.
|
|
21880
|
+
# @return [Boolean]
|
|
21881
|
+
#
|
|
21859
21882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
|
|
21860
21883
|
#
|
|
21861
21884
|
class DescribeCapacityBlockOfferingsRequest < Struct.new(
|
|
@@ -21868,7 +21891,8 @@ module Aws::EC2
|
|
|
21868
21891
|
:next_token,
|
|
21869
21892
|
:max_results,
|
|
21870
21893
|
:ultraserver_type,
|
|
21871
|
-
:ultraserver_count
|
|
21894
|
+
:ultraserver_count,
|
|
21895
|
+
:all_availability_zones)
|
|
21872
21896
|
SENSITIVE = []
|
|
21873
21897
|
include Aws::Structure
|
|
21874
21898
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -6169,7 +6169,8 @@ module Aws
|
|
|
6169
6169
|
?next_token: ::String,
|
|
6170
6170
|
?max_results: ::Integer,
|
|
6171
6171
|
?ultraserver_type: ::String,
|
|
6172
|
-
?ultraserver_count: ::Integer
|
|
6172
|
+
?ultraserver_count: ::Integer,
|
|
6173
|
+
?all_availability_zones: bool
|
|
6173
6174
|
) -> _DescribeCapacityBlockOfferingsResponseSuccess
|
|
6174
6175
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityBlockOfferingsResponseSuccess
|
|
6175
6176
|
|
data/sig/types.rbs
CHANGED
|
@@ -1268,6 +1268,7 @@ module Aws::EC2
|
|
|
1268
1268
|
attr_accessor capacity_block_extension_end_date: ::Time
|
|
1269
1269
|
attr_accessor upfront_fee: ::String
|
|
1270
1270
|
attr_accessor currency_code: ::String
|
|
1271
|
+
attr_accessor zone_type: ::String
|
|
1271
1272
|
SENSITIVE: []
|
|
1272
1273
|
end
|
|
1273
1274
|
|
|
@@ -1284,6 +1285,7 @@ module Aws::EC2
|
|
|
1284
1285
|
attr_accessor upfront_fee: ::String
|
|
1285
1286
|
attr_accessor currency_code: ::String
|
|
1286
1287
|
attr_accessor tenancy: ("default" | "dedicated")
|
|
1288
|
+
attr_accessor zone_type: ::String
|
|
1287
1289
|
SENSITIVE: []
|
|
1288
1290
|
end
|
|
1289
1291
|
|
|
@@ -1301,6 +1303,7 @@ module Aws::EC2
|
|
|
1301
1303
|
attr_accessor ultraserver_type: ::String
|
|
1302
1304
|
attr_accessor ultraserver_count: ::Integer
|
|
1303
1305
|
attr_accessor capacity_block_duration_minutes: ::Integer
|
|
1306
|
+
attr_accessor zone_type: ::String
|
|
1304
1307
|
SENSITIVE: []
|
|
1305
1308
|
end
|
|
1306
1309
|
|
|
@@ -5084,6 +5087,7 @@ module Aws::EC2
|
|
|
5084
5087
|
attr_accessor max_results: ::Integer
|
|
5085
5088
|
attr_accessor ultraserver_type: ::String
|
|
5086
5089
|
attr_accessor ultraserver_count: ::Integer
|
|
5090
|
+
attr_accessor all_availability_zones: bool
|
|
5087
5091
|
SENSITIVE: []
|
|
5088
5092
|
end
|
|
5089
5093
|
|