aws-sdk-ec2 1.491.0 → 1.493.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 +575 -90
- data/lib/aws-sdk-ec2/client_api.rb +182 -0
- data/lib/aws-sdk-ec2/resource.rb +2 -2
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1036 -95
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +165 -24
- data/sig/resource.rbs +1 -1
- data/sig/subnet.rbs +1 -1
- data/sig/types.rbs +146 -8
- metadata +2 -2
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1082,7 +1082,10 @@ module Aws
|
|
1082
1082
|
],
|
1083
1083
|
?dry_run: bool,
|
1084
1084
|
?outpost_arn: ::String,
|
1085
|
-
?placement_group_arn: ::String
|
1085
|
+
?placement_group_arn: ::String,
|
1086
|
+
?start_date: ::Time,
|
1087
|
+
?commitment_duration: ::Integer,
|
1088
|
+
?delivery_preference: ("fixed" | "incremental")
|
1086
1089
|
) -> _CreateCapacityReservationResponseSuccess
|
1087
1090
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityReservationResponseSuccess
|
1088
1091
|
|
@@ -1467,7 +1470,7 @@ module Aws
|
|
1467
1470
|
min: ::Integer,
|
1468
1471
|
max: ::Integer?
|
1469
1472
|
},
|
1470
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
1473
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
1471
1474
|
memory_gi_b_per_v_cpu: {
|
1472
1475
|
min: ::Float?,
|
1473
1476
|
max: ::Float?
|
@@ -1509,7 +1512,16 @@ module Aws
|
|
1509
1512
|
max: ::Float?
|
1510
1513
|
}?,
|
1511
1514
|
allowed_instance_types: Array[::String]?,
|
1512
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
1515
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
1516
|
+
baseline_performance_factors: {
|
1517
|
+
cpu: {
|
1518
|
+
references: Array[
|
1519
|
+
{
|
1520
|
+
instance_family: ::String?
|
1521
|
+
},
|
1522
|
+
]?
|
1523
|
+
}?
|
1524
|
+
}?
|
1513
1525
|
}?,
|
1514
1526
|
image_id: ::String?
|
1515
1527
|
},
|
@@ -2095,7 +2107,7 @@ module Aws
|
|
2095
2107
|
amd_sev_snp: ("enabled" | "disabled")?
|
2096
2108
|
}?,
|
2097
2109
|
capacity_reservation_specification: {
|
2098
|
-
capacity_reservation_preference: ("open" | "none")?,
|
2110
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
2099
2111
|
capacity_reservation_target: {
|
2100
2112
|
capacity_reservation_id: ::String?,
|
2101
2113
|
capacity_reservation_resource_group_arn: ::String?
|
@@ -2128,7 +2140,7 @@ module Aws
|
|
2128
2140
|
min: ::Integer,
|
2129
2141
|
max: ::Integer?
|
2130
2142
|
},
|
2131
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
2143
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
2132
2144
|
memory_gi_b_per_v_cpu: {
|
2133
2145
|
min: ::Float?,
|
2134
2146
|
max: ::Float?
|
@@ -2170,7 +2182,16 @@ module Aws
|
|
2170
2182
|
max: ::Float?
|
2171
2183
|
}?,
|
2172
2184
|
allowed_instance_types: Array[::String]?,
|
2173
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
2185
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
2186
|
+
baseline_performance_factors: {
|
2187
|
+
cpu: {
|
2188
|
+
references: Array[
|
2189
|
+
{
|
2190
|
+
instance_family: ::String?
|
2191
|
+
},
|
2192
|
+
]?
|
2193
|
+
}?
|
2194
|
+
}?
|
2174
2195
|
}?,
|
2175
2196
|
private_dns_name_options: {
|
2176
2197
|
hostname_type: ("ip-name" | "resource-name")?,
|
@@ -2355,7 +2376,7 @@ module Aws
|
|
2355
2376
|
amd_sev_snp: ("enabled" | "disabled")?
|
2356
2377
|
}?,
|
2357
2378
|
capacity_reservation_specification: {
|
2358
|
-
capacity_reservation_preference: ("open" | "none")?,
|
2379
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
2359
2380
|
capacity_reservation_target: {
|
2360
2381
|
capacity_reservation_id: ::String?,
|
2361
2382
|
capacity_reservation_resource_group_arn: ::String?
|
@@ -2388,7 +2409,7 @@ module Aws
|
|
2388
2409
|
min: ::Integer,
|
2389
2410
|
max: ::Integer?
|
2390
2411
|
},
|
2391
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
2412
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
2392
2413
|
memory_gi_b_per_v_cpu: {
|
2393
2414
|
min: ::Float?,
|
2394
2415
|
max: ::Float?
|
@@ -2430,7 +2451,16 @@ module Aws
|
|
2430
2451
|
max: ::Float?
|
2431
2452
|
}?,
|
2432
2453
|
allowed_instance_types: Array[::String]?,
|
2433
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
2454
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
2455
|
+
baseline_performance_factors: {
|
2456
|
+
cpu: {
|
2457
|
+
references: Array[
|
2458
|
+
{
|
2459
|
+
instance_family: ::String?
|
2460
|
+
},
|
2461
|
+
]?
|
2462
|
+
}?
|
2463
|
+
}?
|
2434
2464
|
}?,
|
2435
2465
|
private_dns_name_options: {
|
2436
2466
|
hostname_type: ("ip-name" | "resource-name")?,
|
@@ -5137,6 +5167,41 @@ module Aws
|
|
5137
5167
|
) -> _DescribeByoipCidrsResponseSuccess
|
5138
5168
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeByoipCidrsResponseSuccess
|
5139
5169
|
|
5170
|
+
interface _DescribeCapacityBlockExtensionHistoryResponseSuccess
|
5171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityBlockExtensionHistoryResult]
|
5172
|
+
def capacity_block_extensions: () -> ::Array[Types::CapacityBlockExtension]
|
5173
|
+
def next_token: () -> ::String
|
5174
|
+
end
|
5175
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_capacity_block_extension_history-instance_method
|
5176
|
+
def describe_capacity_block_extension_history: (
|
5177
|
+
?capacity_reservation_ids: Array[::String],
|
5178
|
+
?next_token: ::String,
|
5179
|
+
?max_results: ::Integer,
|
5180
|
+
?filters: Array[
|
5181
|
+
{
|
5182
|
+
name: ::String?,
|
5183
|
+
values: Array[::String]?
|
5184
|
+
},
|
5185
|
+
],
|
5186
|
+
?dry_run: bool
|
5187
|
+
) -> _DescribeCapacityBlockExtensionHistoryResponseSuccess
|
5188
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityBlockExtensionHistoryResponseSuccess
|
5189
|
+
|
5190
|
+
interface _DescribeCapacityBlockExtensionOfferingsResponseSuccess
|
5191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityBlockExtensionOfferingsResult]
|
5192
|
+
def capacity_block_extension_offerings: () -> ::Array[Types::CapacityBlockExtensionOffering]
|
5193
|
+
def next_token: () -> ::String
|
5194
|
+
end
|
5195
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_capacity_block_extension_offerings-instance_method
|
5196
|
+
def describe_capacity_block_extension_offerings: (
|
5197
|
+
?dry_run: bool,
|
5198
|
+
capacity_block_extension_duration_hours: ::Integer,
|
5199
|
+
capacity_reservation_id: ::String,
|
5200
|
+
?next_token: ::String,
|
5201
|
+
?max_results: ::Integer
|
5202
|
+
) -> _DescribeCapacityBlockExtensionOfferingsResponseSuccess
|
5203
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityBlockExtensionOfferingsResponseSuccess
|
5204
|
+
|
5140
5205
|
interface _DescribeCapacityBlockOfferingsResponseSuccess
|
5141
5206
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityBlockOfferingsResult]
|
5142
5207
|
def capacity_block_offerings: () -> ::Array[Types::CapacityBlockOffering]
|
@@ -8810,7 +8875,7 @@ module Aws
|
|
8810
8875
|
def instance_type: () -> ::String
|
8811
8876
|
def total_instance_count: () -> ::Integer
|
8812
8877
|
def available_instance_count: () -> ::Integer
|
8813
|
-
def state: () -> ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed")
|
8878
|
+
def state: () -> ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed" | "assessing" | "delayed" | "unsupported")
|
8814
8879
|
def instance_usages: () -> ::Array[Types::InstanceUsage]
|
8815
8880
|
end
|
8816
8881
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_capacity_reservation_usage-instance_method
|
@@ -9008,7 +9073,7 @@ module Aws
|
|
9008
9073
|
min: ::Integer,
|
9009
9074
|
max: ::Integer?
|
9010
9075
|
},
|
9011
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
9076
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
9012
9077
|
memory_gi_b_per_v_cpu: {
|
9013
9078
|
min: ::Float?,
|
9014
9079
|
max: ::Float?
|
@@ -9050,7 +9115,16 @@ module Aws
|
|
9050
9115
|
max: ::Float?
|
9051
9116
|
}?,
|
9052
9117
|
allowed_instance_types: Array[::String]?,
|
9053
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
9118
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
9119
|
+
baseline_performance_factors: {
|
9120
|
+
cpu: {
|
9121
|
+
references: Array[
|
9122
|
+
{
|
9123
|
+
instance_family: ::String?
|
9124
|
+
},
|
9125
|
+
]?
|
9126
|
+
}?
|
9127
|
+
}?
|
9054
9128
|
},
|
9055
9129
|
?max_results: ::Integer,
|
9056
9130
|
?next_token: ::String
|
@@ -9389,7 +9463,7 @@ module Aws
|
|
9389
9463
|
min: ::Integer,
|
9390
9464
|
max: ::Integer?
|
9391
9465
|
},
|
9392
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
9466
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
9393
9467
|
memory_gi_b_per_v_cpu: {
|
9394
9468
|
min: ::Float?,
|
9395
9469
|
max: ::Float?
|
@@ -9431,7 +9505,16 @@ module Aws
|
|
9431
9505
|
max: ::Float?
|
9432
9506
|
}?,
|
9433
9507
|
allowed_instance_types: Array[::String]?,
|
9434
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
9508
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
9509
|
+
baseline_performance_factors: {
|
9510
|
+
cpu: {
|
9511
|
+
references: Array[
|
9512
|
+
{
|
9513
|
+
instance_family: ::String?
|
9514
|
+
},
|
9515
|
+
]?
|
9516
|
+
}?
|
9517
|
+
}?
|
9435
9518
|
}?
|
9436
9519
|
},
|
9437
9520
|
?dry_run: bool,
|
@@ -10097,7 +10180,7 @@ module Aws
|
|
10097
10180
|
min: ::Integer,
|
10098
10181
|
max: ::Integer?
|
10099
10182
|
},
|
10100
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
10183
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
10101
10184
|
memory_gi_b_per_v_cpu: {
|
10102
10185
|
min: ::Float?,
|
10103
10186
|
max: ::Float?
|
@@ -10139,7 +10222,16 @@ module Aws
|
|
10139
10222
|
max: ::Float?
|
10140
10223
|
}?,
|
10141
10224
|
allowed_instance_types: Array[::String]?,
|
10142
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
10225
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
10226
|
+
baseline_performance_factors: {
|
10227
|
+
cpu: {
|
10228
|
+
references: Array[
|
10229
|
+
{
|
10230
|
+
instance_family: ::String?
|
10231
|
+
},
|
10232
|
+
]?
|
10233
|
+
}?
|
10234
|
+
}?
|
10143
10235
|
}?,
|
10144
10236
|
image_id: ::String?
|
10145
10237
|
},
|
@@ -10308,7 +10400,7 @@ module Aws
|
|
10308
10400
|
def modify_instance_capacity_reservation_attributes: (
|
10309
10401
|
instance_id: ::String,
|
10310
10402
|
capacity_reservation_specification: {
|
10311
|
-
capacity_reservation_preference: ("open" | "none")?,
|
10403
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
10312
10404
|
capacity_reservation_target: {
|
10313
10405
|
capacity_reservation_id: ::String?,
|
10314
10406
|
capacity_reservation_resource_group_arn: ::String?
|
@@ -10533,6 +10625,16 @@ module Aws
|
|
10533
10625
|
{
|
10534
10626
|
region_name: ::String?
|
10535
10627
|
},
|
10628
|
+
],
|
10629
|
+
?add_organizational_unit_exclusions: Array[
|
10630
|
+
{
|
10631
|
+
organizations_entity_path: ::String?
|
10632
|
+
},
|
10633
|
+
],
|
10634
|
+
?remove_organizational_unit_exclusions: Array[
|
10635
|
+
{
|
10636
|
+
organizations_entity_path: ::String?
|
10637
|
+
},
|
10536
10638
|
]
|
10537
10639
|
) -> _ModifyIpamResourceDiscoveryResponseSuccess
|
10538
10640
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyIpamResourceDiscoveryResponseSuccess
|
@@ -10760,7 +10862,7 @@ module Aws
|
|
10760
10862
|
min: ::Integer?,
|
10761
10863
|
max: ::Integer?
|
10762
10864
|
}?,
|
10763
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
10865
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
10764
10866
|
memory_gi_b_per_v_cpu: {
|
10765
10867
|
min: ::Float?,
|
10766
10868
|
max: ::Float?
|
@@ -10802,7 +10904,16 @@ module Aws
|
|
10802
10904
|
max: ::Float?
|
10803
10905
|
}?,
|
10804
10906
|
allowed_instance_types: Array[::String]?,
|
10805
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
10907
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
10908
|
+
baseline_performance_factors: {
|
10909
|
+
cpu: {
|
10910
|
+
references: Array[
|
10911
|
+
{
|
10912
|
+
instance_family: ::String?
|
10913
|
+
},
|
10914
|
+
]?
|
10915
|
+
}?
|
10916
|
+
}?
|
10806
10917
|
}?
|
10807
10918
|
},
|
10808
10919
|
]?
|
@@ -11566,6 +11677,18 @@ module Aws
|
|
11566
11677
|
) -> _PurchaseCapacityBlockResponseSuccess
|
11567
11678
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PurchaseCapacityBlockResponseSuccess
|
11568
11679
|
|
11680
|
+
interface _PurchaseCapacityBlockExtensionResponseSuccess
|
11681
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PurchaseCapacityBlockExtensionResult]
|
11682
|
+
def capacity_block_extensions: () -> ::Array[Types::CapacityBlockExtension]
|
11683
|
+
end
|
11684
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#purchase_capacity_block_extension-instance_method
|
11685
|
+
def purchase_capacity_block_extension: (
|
11686
|
+
capacity_block_extension_offering_id: ::String,
|
11687
|
+
capacity_reservation_id: ::String,
|
11688
|
+
?dry_run: bool
|
11689
|
+
) -> _PurchaseCapacityBlockExtensionResponseSuccess
|
11690
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PurchaseCapacityBlockExtensionResponseSuccess
|
11691
|
+
|
11569
11692
|
interface _PurchaseHostReservationResponseSuccess
|
11570
11693
|
include ::Seahorse::Client::_ResponseSuccess[Types::PurchaseHostReservationResult]
|
11571
11694
|
def client_token: () -> ::String
|
@@ -12090,7 +12213,7 @@ module Aws
|
|
12090
12213
|
min: ::Integer?,
|
12091
12214
|
max: ::Integer?
|
12092
12215
|
}?,
|
12093
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
12216
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
12094
12217
|
memory_gi_b_per_v_cpu: {
|
12095
12218
|
min: ::Float?,
|
12096
12219
|
max: ::Float?
|
@@ -12132,7 +12255,16 @@ module Aws
|
|
12132
12255
|
max: ::Float?
|
12133
12256
|
}?,
|
12134
12257
|
allowed_instance_types: Array[::String]?,
|
12135
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
12258
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
12259
|
+
baseline_performance_factors: {
|
12260
|
+
cpu: {
|
12261
|
+
references: Array[
|
12262
|
+
{
|
12263
|
+
instance_family: ::String?
|
12264
|
+
},
|
12265
|
+
]?
|
12266
|
+
}?
|
12267
|
+
}?
|
12136
12268
|
}?,
|
12137
12269
|
security_groups: Array[
|
12138
12270
|
{
|
@@ -12166,7 +12298,7 @@ module Aws
|
|
12166
12298
|
min: ::Integer?,
|
12167
12299
|
max: ::Integer?
|
12168
12300
|
}?,
|
12169
|
-
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
12301
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
|
12170
12302
|
memory_gi_b_per_v_cpu: {
|
12171
12303
|
min: ::Float?,
|
12172
12304
|
max: ::Float?
|
@@ -12208,7 +12340,16 @@ module Aws
|
|
12208
12340
|
max: ::Float?
|
12209
12341
|
}?,
|
12210
12342
|
allowed_instance_types: Array[::String]?,
|
12211
|
-
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
|
12343
|
+
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
|
12344
|
+
baseline_performance_factors: {
|
12345
|
+
cpu: {
|
12346
|
+
references: Array[
|
12347
|
+
{
|
12348
|
+
instance_family: ::String?
|
12349
|
+
},
|
12350
|
+
]?
|
12351
|
+
}?
|
12352
|
+
}?
|
12212
12353
|
}?
|
12213
12354
|
},
|
12214
12355
|
]?
|
@@ -12758,7 +12899,7 @@ module Aws
|
|
12758
12899
|
amd_sev_snp: ("enabled" | "disabled")?
|
12759
12900
|
},
|
12760
12901
|
?capacity_reservation_specification: {
|
12761
|
-
capacity_reservation_preference: ("open" | "none")?,
|
12902
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
12762
12903
|
capacity_reservation_target: {
|
12763
12904
|
capacity_reservation_id: ::String?,
|
12764
12905
|
capacity_reservation_resource_group_arn: ::String?
|
data/sig/resource.rbs
CHANGED
@@ -198,7 +198,7 @@ module Aws
|
|
198
198
|
amd_sev_snp: ("enabled" | "disabled")?
|
199
199
|
},
|
200
200
|
?capacity_reservation_specification: {
|
201
|
-
capacity_reservation_preference: ("open" | "none")?,
|
201
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
202
202
|
capacity_reservation_target: {
|
203
203
|
capacity_reservation_id: ::String?,
|
204
204
|
capacity_reservation_resource_group_arn: ::String?
|
data/sig/subnet.rbs
CHANGED
@@ -191,7 +191,7 @@ module Aws
|
|
191
191
|
amd_sev_snp: ("enabled" | "disabled")?
|
192
192
|
},
|
193
193
|
?capacity_reservation_specification: {
|
194
|
-
capacity_reservation_preference: ("open" | "none")?,
|
194
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
195
195
|
capacity_reservation_target: {
|
196
196
|
capacity_reservation_id: ::String?,
|
197
197
|
capacity_reservation_resource_group_arn: ::String?
|