aws-sdk-ec2 1.345.0 → 1.346.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 +89 -4
- data/lib/aws-sdk-ec2/client_api.rb +18 -0
- data/lib/aws-sdk-ec2/types.rb +290 -11
- 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: 69cbb591936c11fd2daac815320d2c8aa2ab7c78ff964564ea62a034d8a78d72
|
|
4
|
+
data.tar.gz: ceb6bb88b4b9263cb08152b651a6e237a3b684335d9797b9f85d460451be87c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 483e4477b7751980c9c1f649f73f6032355f57d6105d97ad40bfdedea3aa09169e1d3e4e3bcd6a8ee94c56c6f0299ab2e9bf512cf7fddb91c329e626c7563600
|
|
7
|
+
data.tar.gz: aafcb1b8e0f3429e21525dd0d0dbd5079af25c9a04f90c2aef7ccb1944efad6ef9343afec8f6f24d189fcf66b07f6bb8aaf82b66eb426ff4659f7d169e2ac3c4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.346.0 (2022-11-07)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for two new attributes for attribute-based instance type selection - NetworkBandwidthGbps and AllowedInstanceTypes.
|
|
8
|
+
|
|
4
9
|
1.345.0 (2022-11-04)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.346.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -6024,6 +6024,11 @@ module Aws::EC2
|
|
|
6024
6024
|
# min: 1,
|
|
6025
6025
|
# max: 1,
|
|
6026
6026
|
# },
|
|
6027
|
+
# network_bandwidth_gbps: {
|
|
6028
|
+
# min: 1.0,
|
|
6029
|
+
# max: 1.0,
|
|
6030
|
+
# },
|
|
6031
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
6027
6032
|
# },
|
|
6028
6033
|
# image_id: "ImageId",
|
|
6029
6034
|
# },
|
|
@@ -6106,6 +6111,10 @@ module Aws::EC2
|
|
|
6106
6111
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
6107
6112
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
6108
6113
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
6114
|
+
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
6115
|
+
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
6116
|
+
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
|
6117
|
+
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
|
6109
6118
|
# resp.errors[0].launch_template_and_overrides.overrides.image_id #=> String
|
|
6110
6119
|
# resp.errors[0].lifecycle #=> String, one of "spot", "on-demand"
|
|
6111
6120
|
# resp.errors[0].error_code #=> String
|
|
@@ -6157,6 +6166,10 @@ module Aws::EC2
|
|
|
6157
6166
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
6158
6167
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
6159
6168
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
6169
|
+
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
6170
|
+
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
6171
|
+
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
|
6172
|
+
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
|
6160
6173
|
# resp.instances[0].launch_template_and_overrides.overrides.image_id #=> String
|
|
6161
6174
|
# resp.instances[0].lifecycle #=> String, one of "spot", "on-demand"
|
|
6162
6175
|
# resp.instances[0].instance_ids #=> Array
|
|
@@ -7740,6 +7753,11 @@ module Aws::EC2
|
|
|
7740
7753
|
# min: 1,
|
|
7741
7754
|
# max: 1,
|
|
7742
7755
|
# },
|
|
7756
|
+
# network_bandwidth_gbps: {
|
|
7757
|
+
# min: 1.0,
|
|
7758
|
+
# max: 1.0,
|
|
7759
|
+
# },
|
|
7760
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
7743
7761
|
# },
|
|
7744
7762
|
# private_dns_name_options: {
|
|
7745
7763
|
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
|
@@ -8105,6 +8123,11 @@ module Aws::EC2
|
|
|
8105
8123
|
# min: 1,
|
|
8106
8124
|
# max: 1,
|
|
8107
8125
|
# },
|
|
8126
|
+
# network_bandwidth_gbps: {
|
|
8127
|
+
# min: 1.0,
|
|
8128
|
+
# max: 1.0,
|
|
8129
|
+
# },
|
|
8130
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
8108
8131
|
# },
|
|
8109
8132
|
# private_dns_name_options: {
|
|
8110
8133
|
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
|
@@ -8257,6 +8280,10 @@ module Aws::EC2
|
|
|
8257
8280
|
# resp.launch_template_version.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
8258
8281
|
# resp.launch_template_version.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
8259
8282
|
# resp.launch_template_version.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
8283
|
+
# resp.launch_template_version.launch_template_data.instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
8284
|
+
# resp.launch_template_version.launch_template_data.instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
8285
|
+
# resp.launch_template_version.launch_template_data.instance_requirements.allowed_instance_types #=> Array
|
|
8286
|
+
# resp.launch_template_version.launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
|
|
8260
8287
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
|
8261
8288
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
|
8262
8289
|
# resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
|
@@ -20333,6 +20360,10 @@ module Aws::EC2
|
|
|
20333
20360
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
20334
20361
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
20335
20362
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
20363
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
20364
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
20365
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types #=> Array
|
|
20366
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
|
20336
20367
|
# resp.fleets[0].launch_template_configs[0].overrides[0].image_id #=> String
|
|
20337
20368
|
# resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
|
|
20338
20369
|
# resp.fleets[0].target_capacity_specification.on_demand_target_capacity #=> Integer
|
|
@@ -20409,6 +20440,10 @@ module Aws::EC2
|
|
|
20409
20440
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
20410
20441
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
20411
20442
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
20443
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
20444
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
20445
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
|
20446
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
|
20412
20447
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.image_id #=> String
|
|
20413
20448
|
# resp.fleets[0].errors[0].lifecycle #=> String, one of "spot", "on-demand"
|
|
20414
20449
|
# resp.fleets[0].errors[0].error_code #=> String
|
|
@@ -20460,6 +20495,10 @@ module Aws::EC2
|
|
|
20460
20495
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
20461
20496
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
20462
20497
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
20498
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
20499
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
20500
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
|
|
20501
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
|
|
20463
20502
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.image_id #=> String
|
|
20464
20503
|
# resp.fleets[0].instances[0].lifecycle #=> String, one of "spot", "on-demand"
|
|
20465
20504
|
# resp.fleets[0].instances[0].instance_ids #=> Array
|
|
@@ -24277,6 +24316,10 @@ module Aws::EC2
|
|
|
24277
24316
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
24278
24317
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
24279
24318
|
# resp.launch_template_versions[0].launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
24319
|
+
# resp.launch_template_versions[0].launch_template_data.instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
24320
|
+
# resp.launch_template_versions[0].launch_template_data.instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
24321
|
+
# resp.launch_template_versions[0].launch_template_data.instance_requirements.allowed_instance_types #=> Array
|
|
24322
|
+
# resp.launch_template_versions[0].launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
|
|
24280
24323
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
|
24281
24324
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
|
24282
24325
|
# resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
|
@@ -29423,7 +29466,7 @@ module Aws::EC2
|
|
|
29423
29466
|
# hours.
|
|
29424
29467
|
#
|
|
29425
29468
|
# For more information, see [Monitor fleet events using Amazon
|
|
29426
|
-
# EventBridge][1] in the *Amazon EC2 User Guide
|
|
29469
|
+
# EventBridge][1] in the *Amazon EC2 User Guide*.
|
|
29427
29470
|
#
|
|
29428
29471
|
#
|
|
29429
29472
|
#
|
|
@@ -29755,6 +29798,10 @@ module Aws::EC2
|
|
|
29755
29798
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
29756
29799
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
29757
29800
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
29801
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
29802
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
29803
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.allowed_instance_types #=> Array
|
|
29804
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.allowed_instance_types[0] #=> String
|
|
29758
29805
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs #=> Array
|
|
29759
29806
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].launch_template_specification.launch_template_id #=> String
|
|
29760
29807
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].launch_template_specification.launch_template_name #=> String
|
|
@@ -29802,6 +29849,10 @@ module Aws::EC2
|
|
|
29802
29849
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
29803
29850
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
29804
29851
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
29852
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
29853
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
29854
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types #=> Array
|
|
29855
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
|
29805
29856
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_price #=> String
|
|
29806
29857
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.target_capacity #=> Integer
|
|
29807
29858
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_target_capacity #=> Integer
|
|
@@ -37209,6 +37260,11 @@ module Aws::EC2
|
|
|
37209
37260
|
# min: 1,
|
|
37210
37261
|
# max: 1,
|
|
37211
37262
|
# },
|
|
37263
|
+
# network_bandwidth_gbps: {
|
|
37264
|
+
# min: 1.0,
|
|
37265
|
+
# max: 1.0,
|
|
37266
|
+
# },
|
|
37267
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
37212
37268
|
# },
|
|
37213
37269
|
# max_results: 1,
|
|
37214
37270
|
# next_token: "String",
|
|
@@ -37834,6 +37890,10 @@ module Aws::EC2
|
|
|
37834
37890
|
# resp.launch_template_data.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
|
37835
37891
|
# resp.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
|
37836
37892
|
# resp.launch_template_data.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
|
37893
|
+
# resp.launch_template_data.instance_requirements.network_bandwidth_gbps.min #=> Float
|
|
37894
|
+
# resp.launch_template_data.instance_requirements.network_bandwidth_gbps.max #=> Float
|
|
37895
|
+
# resp.launch_template_data.instance_requirements.allowed_instance_types #=> Array
|
|
37896
|
+
# resp.launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
|
|
37837
37897
|
# resp.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
|
|
37838
37898
|
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
|
|
37839
37899
|
# resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
|
|
@@ -38683,6 +38743,11 @@ module Aws::EC2
|
|
|
38683
38743
|
# min: 1,
|
|
38684
38744
|
# max: 1,
|
|
38685
38745
|
# },
|
|
38746
|
+
# network_bandwidth_gbps: {
|
|
38747
|
+
# min: 1.0,
|
|
38748
|
+
# max: 1.0,
|
|
38749
|
+
# },
|
|
38750
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
38686
38751
|
# },
|
|
38687
38752
|
# },
|
|
38688
38753
|
# dry_run: false,
|
|
@@ -40975,6 +41040,11 @@ module Aws::EC2
|
|
|
40975
41040
|
# min: 1,
|
|
40976
41041
|
# max: 1,
|
|
40977
41042
|
# },
|
|
41043
|
+
# network_bandwidth_gbps: {
|
|
41044
|
+
# min: 1.0,
|
|
41045
|
+
# max: 1.0,
|
|
41046
|
+
# },
|
|
41047
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
40978
41048
|
# },
|
|
40979
41049
|
# image_id: "ImageId",
|
|
40980
41050
|
# },
|
|
@@ -43427,6 +43497,11 @@ module Aws::EC2
|
|
|
43427
43497
|
# min: 1,
|
|
43428
43498
|
# max: 1,
|
|
43429
43499
|
# },
|
|
43500
|
+
# network_bandwidth_gbps: {
|
|
43501
|
+
# min: 1.0,
|
|
43502
|
+
# max: 1.0,
|
|
43503
|
+
# },
|
|
43504
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
43430
43505
|
# },
|
|
43431
43506
|
# },
|
|
43432
43507
|
# ],
|
|
@@ -47575,12 +47650,12 @@ module Aws::EC2
|
|
|
47575
47650
|
# types are supported.
|
|
47576
47651
|
#
|
|
47577
47652
|
# For more information, see [Spot Fleet requests][1] in the *Amazon EC2
|
|
47578
|
-
# User Guide
|
|
47653
|
+
# User Guide*.
|
|
47579
47654
|
#
|
|
47580
47655
|
# We strongly discourage using the RequestSpotFleet API because it is a
|
|
47581
47656
|
# legacy API with no planned investment. For options for requesting Spot
|
|
47582
47657
|
# Instances, see [Which is the best Spot request method to use?][2] in
|
|
47583
|
-
# the *Amazon EC2 User Guide
|
|
47658
|
+
# the *Amazon EC2 User Guide*.
|
|
47584
47659
|
#
|
|
47585
47660
|
#
|
|
47586
47661
|
#
|
|
@@ -47915,6 +47990,11 @@ module Aws::EC2
|
|
|
47915
47990
|
# min: 1,
|
|
47916
47991
|
# max: 1,
|
|
47917
47992
|
# },
|
|
47993
|
+
# network_bandwidth_gbps: {
|
|
47994
|
+
# min: 1.0,
|
|
47995
|
+
# max: 1.0,
|
|
47996
|
+
# },
|
|
47997
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
47918
47998
|
# },
|
|
47919
47999
|
# },
|
|
47920
48000
|
# ],
|
|
@@ -47979,6 +48059,11 @@ module Aws::EC2
|
|
|
47979
48059
|
# min: 1,
|
|
47980
48060
|
# max: 1,
|
|
47981
48061
|
# },
|
|
48062
|
+
# network_bandwidth_gbps: {
|
|
48063
|
+
# min: 1.0,
|
|
48064
|
+
# max: 1.0,
|
|
48065
|
+
# },
|
|
48066
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
47982
48067
|
# },
|
|
47983
48068
|
# },
|
|
47984
48069
|
# ],
|
|
@@ -52477,7 +52562,7 @@ module Aws::EC2
|
|
|
52477
52562
|
params: params,
|
|
52478
52563
|
config: config)
|
|
52479
52564
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
52480
|
-
context[:gem_version] = '1.
|
|
52565
|
+
context[:gem_version] = '1.346.0'
|
|
52481
52566
|
Seahorse::Client::Request.new(handlers, context)
|
|
52482
52567
|
end
|
|
52483
52568
|
|
|
@@ -85,6 +85,8 @@ module Aws::EC2
|
|
|
85
85
|
AllocationState = Shapes::StringShape.new(name: 'AllocationState')
|
|
86
86
|
AllocationStrategy = Shapes::StringShape.new(name: 'AllocationStrategy')
|
|
87
87
|
AllocationType = Shapes::StringShape.new(name: 'AllocationType')
|
|
88
|
+
AllowedInstanceType = Shapes::StringShape.new(name: 'AllowedInstanceType')
|
|
89
|
+
AllowedInstanceTypeSet = Shapes::ListShape.new(name: 'AllowedInstanceTypeSet')
|
|
88
90
|
AllowedPrincipal = Shapes::StructureShape.new(name: 'AllowedPrincipal')
|
|
89
91
|
AllowedPrincipalSet = Shapes::ListShape.new(name: 'AllowedPrincipalSet')
|
|
90
92
|
AllowsMultipleInstanceTypes = Shapes::StringShape.new(name: 'AllowsMultipleInstanceTypes')
|
|
@@ -1946,6 +1948,8 @@ module Aws::EC2
|
|
|
1946
1948
|
NetworkAclId = Shapes::StringShape.new(name: 'NetworkAclId')
|
|
1947
1949
|
NetworkAclIdStringList = Shapes::ListShape.new(name: 'NetworkAclIdStringList')
|
|
1948
1950
|
NetworkAclList = Shapes::ListShape.new(name: 'NetworkAclList')
|
|
1951
|
+
NetworkBandwidthGbps = Shapes::StructureShape.new(name: 'NetworkBandwidthGbps')
|
|
1952
|
+
NetworkBandwidthGbpsRequest = Shapes::StructureShape.new(name: 'NetworkBandwidthGbpsRequest')
|
|
1949
1953
|
NetworkCardIndex = Shapes::IntegerShape.new(name: 'NetworkCardIndex')
|
|
1950
1954
|
NetworkCardInfo = Shapes::StructureShape.new(name: 'NetworkCardInfo')
|
|
1951
1955
|
NetworkCardInfoList = Shapes::ListShape.new(name: 'NetworkCardInfoList')
|
|
@@ -3019,6 +3023,8 @@ module Aws::EC2
|
|
|
3019
3023
|
|
|
3020
3024
|
AllocationIds.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "item")
|
|
3021
3025
|
|
|
3026
|
+
AllowedInstanceTypeSet.member = Shapes::ShapeRef.new(shape: AllowedInstanceType, location_name: "item")
|
|
3027
|
+
|
|
3022
3028
|
AllowedPrincipal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "principalType"))
|
|
3023
3029
|
AllowedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
|
3024
3030
|
AllowedPrincipal.add_member(:service_permission_id, Shapes::ShapeRef.new(shape: String, location_name: "servicePermissionId"))
|
|
@@ -8969,6 +8975,8 @@ module Aws::EC2
|
|
|
8969
8975
|
InstanceRequirements.add_member(:accelerator_manufacturers, Shapes::ShapeRef.new(shape: AcceleratorManufacturerSet, location_name: "acceleratorManufacturerSet"))
|
|
8970
8976
|
InstanceRequirements.add_member(:accelerator_names, Shapes::ShapeRef.new(shape: AcceleratorNameSet, location_name: "acceleratorNameSet"))
|
|
8971
8977
|
InstanceRequirements.add_member(:accelerator_total_memory_mi_b, Shapes::ShapeRef.new(shape: AcceleratorTotalMemoryMiB, location_name: "acceleratorTotalMemoryMiB"))
|
|
8978
|
+
InstanceRequirements.add_member(:network_bandwidth_gbps, Shapes::ShapeRef.new(shape: NetworkBandwidthGbps, location_name: "networkBandwidthGbps"))
|
|
8979
|
+
InstanceRequirements.add_member(:allowed_instance_types, Shapes::ShapeRef.new(shape: AllowedInstanceTypeSet, location_name: "allowedInstanceTypeSet"))
|
|
8972
8980
|
InstanceRequirements.struct_class = Types::InstanceRequirements
|
|
8973
8981
|
|
|
8974
8982
|
InstanceRequirementsRequest.add_member(:v_cpu_count, Shapes::ShapeRef.new(shape: VCpuCountRangeRequest, required: true, location_name: "VCpuCount"))
|
|
@@ -8992,6 +9000,8 @@ module Aws::EC2
|
|
|
8992
9000
|
InstanceRequirementsRequest.add_member(:accelerator_manufacturers, Shapes::ShapeRef.new(shape: AcceleratorManufacturerSet, location_name: "AcceleratorManufacturer"))
|
|
8993
9001
|
InstanceRequirementsRequest.add_member(:accelerator_names, Shapes::ShapeRef.new(shape: AcceleratorNameSet, location_name: "AcceleratorName"))
|
|
8994
9002
|
InstanceRequirementsRequest.add_member(:accelerator_total_memory_mi_b, Shapes::ShapeRef.new(shape: AcceleratorTotalMemoryMiBRequest, location_name: "AcceleratorTotalMemoryMiB"))
|
|
9003
|
+
InstanceRequirementsRequest.add_member(:network_bandwidth_gbps, Shapes::ShapeRef.new(shape: NetworkBandwidthGbpsRequest, location_name: "NetworkBandwidthGbps"))
|
|
9004
|
+
InstanceRequirementsRequest.add_member(:allowed_instance_types, Shapes::ShapeRef.new(shape: AllowedInstanceTypeSet, location_name: "AllowedInstanceType"))
|
|
8995
9005
|
InstanceRequirementsRequest.struct_class = Types::InstanceRequirementsRequest
|
|
8996
9006
|
|
|
8997
9007
|
InstanceRequirementsWithMetadataRequest.add_member(:architecture_types, Shapes::ShapeRef.new(shape: ArchitectureTypeSet, location_name: "ArchitectureType"))
|
|
@@ -10571,6 +10581,14 @@ module Aws::EC2
|
|
|
10571
10581
|
|
|
10572
10582
|
NetworkAclList.member = Shapes::ShapeRef.new(shape: NetworkAcl, location_name: "item")
|
|
10573
10583
|
|
|
10584
|
+
NetworkBandwidthGbps.add_member(:min, Shapes::ShapeRef.new(shape: Double, location_name: "min"))
|
|
10585
|
+
NetworkBandwidthGbps.add_member(:max, Shapes::ShapeRef.new(shape: Double, location_name: "max"))
|
|
10586
|
+
NetworkBandwidthGbps.struct_class = Types::NetworkBandwidthGbps
|
|
10587
|
+
|
|
10588
|
+
NetworkBandwidthGbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: Double, location_name: "Min"))
|
|
10589
|
+
NetworkBandwidthGbpsRequest.add_member(:max, Shapes::ShapeRef.new(shape: Double, location_name: "Max"))
|
|
10590
|
+
NetworkBandwidthGbpsRequest.struct_class = Types::NetworkBandwidthGbpsRequest
|
|
10591
|
+
|
|
10574
10592
|
NetworkCardInfo.add_member(:network_card_index, Shapes::ShapeRef.new(shape: NetworkCardIndex, location_name: "networkCardIndex"))
|
|
10575
10593
|
NetworkCardInfo.add_member(:network_performance, Shapes::ShapeRef.new(shape: NetworkPerformance, location_name: "networkPerformance"))
|
|
10576
10594
|
NetworkCardInfo.add_member(:maximum_network_interfaces, Shapes::ShapeRef.new(shape: MaxNetworkInterfaces, location_name: "maximumNetworkInterfaces"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -8289,6 +8289,11 @@ module Aws::EC2
|
|
|
8289
8289
|
# min: 1,
|
|
8290
8290
|
# max: 1,
|
|
8291
8291
|
# },
|
|
8292
|
+
# network_bandwidth_gbps: {
|
|
8293
|
+
# min: 1.0,
|
|
8294
|
+
# max: 1.0,
|
|
8295
|
+
# },
|
|
8296
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
8292
8297
|
# },
|
|
8293
8298
|
# image_id: "ImageId",
|
|
8294
8299
|
# },
|
|
@@ -9768,6 +9773,11 @@ module Aws::EC2
|
|
|
9768
9773
|
# min: 1,
|
|
9769
9774
|
# max: 1,
|
|
9770
9775
|
# },
|
|
9776
|
+
# network_bandwidth_gbps: {
|
|
9777
|
+
# min: 1.0,
|
|
9778
|
+
# max: 1.0,
|
|
9779
|
+
# },
|
|
9780
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
9771
9781
|
# },
|
|
9772
9782
|
# private_dns_name_options: {
|
|
9773
9783
|
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
|
@@ -10076,6 +10086,11 @@ module Aws::EC2
|
|
|
10076
10086
|
# min: 1,
|
|
10077
10087
|
# max: 1,
|
|
10078
10088
|
# },
|
|
10089
|
+
# network_bandwidth_gbps: {
|
|
10090
|
+
# min: 1.0,
|
|
10091
|
+
# max: 1.0,
|
|
10092
|
+
# },
|
|
10093
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
10079
10094
|
# },
|
|
10080
10095
|
# private_dns_name_options: {
|
|
10081
10096
|
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
|
@@ -11393,7 +11408,7 @@ module Aws::EC2
|
|
|
11393
11408
|
end
|
|
11394
11409
|
|
|
11395
11410
|
# @!attribute [rw] placement_group
|
|
11396
|
-
#
|
|
11411
|
+
# Information about the placement group.
|
|
11397
11412
|
# @return [Types::PlacementGroup]
|
|
11398
11413
|
#
|
|
11399
11414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupResult AWS API Documentation
|
|
@@ -35450,6 +35465,11 @@ module Aws::EC2
|
|
|
35450
35465
|
# min: 1,
|
|
35451
35466
|
# max: 1,
|
|
35452
35467
|
# },
|
|
35468
|
+
# network_bandwidth_gbps: {
|
|
35469
|
+
# min: 1.0,
|
|
35470
|
+
# max: 1.0,
|
|
35471
|
+
# },
|
|
35472
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
35453
35473
|
# },
|
|
35454
35474
|
# image_id: "ImageId",
|
|
35455
35475
|
# },
|
|
@@ -35634,6 +35654,11 @@ module Aws::EC2
|
|
|
35634
35654
|
# min: 1,
|
|
35635
35655
|
# max: 1,
|
|
35636
35656
|
# },
|
|
35657
|
+
# network_bandwidth_gbps: {
|
|
35658
|
+
# min: 1.0,
|
|
35659
|
+
# max: 1.0,
|
|
35660
|
+
# },
|
|
35661
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
35637
35662
|
# },
|
|
35638
35663
|
# image_id: "ImageId",
|
|
35639
35664
|
# }
|
|
@@ -35732,8 +35757,7 @@ module Aws::EC2
|
|
|
35732
35757
|
# of the launch template in the request, but not both.
|
|
35733
35758
|
#
|
|
35734
35759
|
# For information about launch templates, see [Launch an instance from a
|
|
35735
|
-
# launch template][1] in the *Amazon EC2 User Guide
|
|
35736
|
-
# Instances*.
|
|
35760
|
+
# launch template][1] in the *Amazon EC2 User Guide*.
|
|
35737
35761
|
#
|
|
35738
35762
|
#
|
|
35739
35763
|
#
|
|
@@ -37053,6 +37077,11 @@ module Aws::EC2
|
|
|
37053
37077
|
# min: 1,
|
|
37054
37078
|
# max: 1,
|
|
37055
37079
|
# },
|
|
37080
|
+
# network_bandwidth_gbps: {
|
|
37081
|
+
# min: 1.0,
|
|
37082
|
+
# max: 1.0,
|
|
37083
|
+
# },
|
|
37084
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
37056
37085
|
# },
|
|
37057
37086
|
# max_results: 1,
|
|
37058
37087
|
# next_token: "String",
|
|
@@ -38033,6 +38062,11 @@ module Aws::EC2
|
|
|
38033
38062
|
# min: 1,
|
|
38034
38063
|
# max: 1,
|
|
38035
38064
|
# },
|
|
38065
|
+
# network_bandwidth_gbps: {
|
|
38066
|
+
# min: 1.0,
|
|
38067
|
+
# max: 1.0,
|
|
38068
|
+
# },
|
|
38069
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
38036
38070
|
# },
|
|
38037
38071
|
# },
|
|
38038
38072
|
# dry_run: false,
|
|
@@ -42849,6 +42883,17 @@ module Aws::EC2
|
|
|
42849
42883
|
# values for an attribute, you get instance types that satisfy any of
|
|
42850
42884
|
# the specified values.
|
|
42851
42885
|
#
|
|
42886
|
+
# To limit the list of instance types from which Amazon EC2 can identify
|
|
42887
|
+
# matching instance types, you can use one of the following parameters,
|
|
42888
|
+
# but not both in the same request:
|
|
42889
|
+
#
|
|
42890
|
+
# * `AllowedInstanceTypes` - The instance types to include in the list.
|
|
42891
|
+
# All other instance types are ignored, even if they match your
|
|
42892
|
+
# specified attributes.
|
|
42893
|
+
#
|
|
42894
|
+
# * `ExcludedInstanceTypes` - The instance types to exclude from the
|
|
42895
|
+
# list, even if they match your specified attributes.
|
|
42896
|
+
#
|
|
42852
42897
|
# <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other attributes are
|
|
42853
42898
|
# optional. Any unspecified optional attribute is set to its default.
|
|
42854
42899
|
#
|
|
@@ -42914,6 +42959,11 @@ module Aws::EC2
|
|
|
42914
42959
|
# min: 1,
|
|
42915
42960
|
# max: 1,
|
|
42916
42961
|
# },
|
|
42962
|
+
# network_bandwidth_gbps: {
|
|
42963
|
+
# min: 1.0,
|
|
42964
|
+
# max: 1.0,
|
|
42965
|
+
# },
|
|
42966
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
42917
42967
|
# }
|
|
42918
42968
|
#
|
|
42919
42969
|
# @!attribute [rw] v_cpu_count
|
|
@@ -42963,6 +43013,11 @@ module Aws::EC2
|
|
|
42963
43013
|
# If you specify `m5a.*`, Amazon EC2 will exclude all the M5a instance
|
|
42964
43014
|
# types, but not the M5n instance types.
|
|
42965
43015
|
#
|
|
43016
|
+
# <note markdown="1"> If you specify `ExcludedInstanceTypes`, you can't specify
|
|
43017
|
+
# `AllowedInstanceTypes`.
|
|
43018
|
+
#
|
|
43019
|
+
# </note>
|
|
43020
|
+
#
|
|
42966
43021
|
# Default: No excluded instance types
|
|
42967
43022
|
# @return [Array<String>]
|
|
42968
43023
|
#
|
|
@@ -43220,6 +43275,35 @@ module Aws::EC2
|
|
|
43220
43275
|
# Default: No minimum or maximum limits
|
|
43221
43276
|
# @return [Types::AcceleratorTotalMemoryMiB]
|
|
43222
43277
|
#
|
|
43278
|
+
# @!attribute [rw] network_bandwidth_gbps
|
|
43279
|
+
# The minimum and maximum amount of network bandwidth, in gigabits per
|
|
43280
|
+
# second (Gbps).
|
|
43281
|
+
#
|
|
43282
|
+
# Default: No minimum or maximum limits
|
|
43283
|
+
# @return [Types::NetworkBandwidthGbps]
|
|
43284
|
+
#
|
|
43285
|
+
# @!attribute [rw] allowed_instance_types
|
|
43286
|
+
# The instance types to apply your specified attributes against. All
|
|
43287
|
+
# other instance types are ignored, even if they match your specified
|
|
43288
|
+
# attributes.
|
|
43289
|
+
#
|
|
43290
|
+
# You can use strings with one or more wild cards, represented by an
|
|
43291
|
+
# asterisk (`*`), to allow an instance type, size, or generation. The
|
|
43292
|
+
# following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`.
|
|
43293
|
+
#
|
|
43294
|
+
# For example, if you specify `c5*`,Amazon EC2 will allow the entire
|
|
43295
|
+
# C5 instance family, which includes all C5a and C5n instance types.
|
|
43296
|
+
# If you specify `m5a.*`, Amazon EC2 will allow all the M5a instance
|
|
43297
|
+
# types, but not the M5n instance types.
|
|
43298
|
+
#
|
|
43299
|
+
# <note markdown="1"> If you specify `AllowedInstanceTypes`, you can't specify
|
|
43300
|
+
# `ExcludedInstanceTypes`.
|
|
43301
|
+
#
|
|
43302
|
+
# </note>
|
|
43303
|
+
#
|
|
43304
|
+
# Default: All instance types
|
|
43305
|
+
# @return [Array<String>]
|
|
43306
|
+
#
|
|
43223
43307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceRequirements AWS API Documentation
|
|
43224
43308
|
#
|
|
43225
43309
|
class InstanceRequirements < Struct.new(
|
|
@@ -43243,7 +43327,9 @@ module Aws::EC2
|
|
|
43243
43327
|
:accelerator_count,
|
|
43244
43328
|
:accelerator_manufacturers,
|
|
43245
43329
|
:accelerator_names,
|
|
43246
|
-
:accelerator_total_memory_mi_b
|
|
43330
|
+
:accelerator_total_memory_mi_b,
|
|
43331
|
+
:network_bandwidth_gbps,
|
|
43332
|
+
:allowed_instance_types)
|
|
43247
43333
|
SENSITIVE = []
|
|
43248
43334
|
include Aws::Structure
|
|
43249
43335
|
end
|
|
@@ -43257,6 +43343,17 @@ module Aws::EC2
|
|
|
43257
43343
|
# values for an attribute, you get instance types that satisfy any of
|
|
43258
43344
|
# the specified values.
|
|
43259
43345
|
#
|
|
43346
|
+
# To limit the list of instance types from which Amazon EC2 can identify
|
|
43347
|
+
# matching instance types, you can use one of the following parameters,
|
|
43348
|
+
# but not both in the same request:
|
|
43349
|
+
#
|
|
43350
|
+
# * `AllowedInstanceTypes` - The instance types to include in the list.
|
|
43351
|
+
# All other instance types are ignored, even if they match your
|
|
43352
|
+
# specified attributes.
|
|
43353
|
+
#
|
|
43354
|
+
# * `ExcludedInstanceTypes` - The instance types to exclude from the
|
|
43355
|
+
# list, even if they match your specified attributes.
|
|
43356
|
+
#
|
|
43260
43357
|
# <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other attributes are
|
|
43261
43358
|
# optional. Any unspecified optional attribute is set to its default.
|
|
43262
43359
|
#
|
|
@@ -43322,6 +43419,11 @@ module Aws::EC2
|
|
|
43322
43419
|
# min: 1,
|
|
43323
43420
|
# max: 1,
|
|
43324
43421
|
# },
|
|
43422
|
+
# network_bandwidth_gbps: {
|
|
43423
|
+
# min: 1.0,
|
|
43424
|
+
# max: 1.0,
|
|
43425
|
+
# },
|
|
43426
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
43325
43427
|
# }
|
|
43326
43428
|
#
|
|
43327
43429
|
# @!attribute [rw] v_cpu_count
|
|
@@ -43371,6 +43473,11 @@ module Aws::EC2
|
|
|
43371
43473
|
# If you specify `m5a.*`, Amazon EC2 will exclude all the M5a instance
|
|
43372
43474
|
# types, but not the M5n instance types.
|
|
43373
43475
|
#
|
|
43476
|
+
# <note markdown="1"> If you specify `ExcludedInstanceTypes`, you can't specify
|
|
43477
|
+
# `AllowedInstanceTypes`.
|
|
43478
|
+
#
|
|
43479
|
+
# </note>
|
|
43480
|
+
#
|
|
43374
43481
|
# Default: No excluded instance types
|
|
43375
43482
|
# @return [Array<String>]
|
|
43376
43483
|
#
|
|
@@ -43628,6 +43735,35 @@ module Aws::EC2
|
|
|
43628
43735
|
# Default: No minimum or maximum limits
|
|
43629
43736
|
# @return [Types::AcceleratorTotalMemoryMiBRequest]
|
|
43630
43737
|
#
|
|
43738
|
+
# @!attribute [rw] network_bandwidth_gbps
|
|
43739
|
+
# The minimum and maximum amount of network bandwidth, in gigabits per
|
|
43740
|
+
# second (Gbps).
|
|
43741
|
+
#
|
|
43742
|
+
# Default: No minimum or maximum limits
|
|
43743
|
+
# @return [Types::NetworkBandwidthGbpsRequest]
|
|
43744
|
+
#
|
|
43745
|
+
# @!attribute [rw] allowed_instance_types
|
|
43746
|
+
# The instance types to apply your specified attributes against. All
|
|
43747
|
+
# other instance types are ignored, even if they match your specified
|
|
43748
|
+
# attributes.
|
|
43749
|
+
#
|
|
43750
|
+
# You can use strings with one or more wild cards, represented by an
|
|
43751
|
+
# asterisk (`*`), to allow an instance type, size, or generation. The
|
|
43752
|
+
# following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`.
|
|
43753
|
+
#
|
|
43754
|
+
# For example, if you specify `c5*`,Amazon EC2 will allow the entire
|
|
43755
|
+
# C5 instance family, which includes all C5a and C5n instance types.
|
|
43756
|
+
# If you specify `m5a.*`, Amazon EC2 will allow all the M5a instance
|
|
43757
|
+
# types, but not the M5n instance types.
|
|
43758
|
+
#
|
|
43759
|
+
# <note markdown="1"> If you specify `AllowedInstanceTypes`, you can't specify
|
|
43760
|
+
# `ExcludedInstanceTypes`.
|
|
43761
|
+
#
|
|
43762
|
+
# </note>
|
|
43763
|
+
#
|
|
43764
|
+
# Default: All instance types
|
|
43765
|
+
# @return [Array<String>]
|
|
43766
|
+
#
|
|
43631
43767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceRequirementsRequest AWS API Documentation
|
|
43632
43768
|
#
|
|
43633
43769
|
class InstanceRequirementsRequest < Struct.new(
|
|
@@ -43651,7 +43787,9 @@ module Aws::EC2
|
|
|
43651
43787
|
:accelerator_count,
|
|
43652
43788
|
:accelerator_manufacturers,
|
|
43653
43789
|
:accelerator_names,
|
|
43654
|
-
:accelerator_total_memory_mi_b
|
|
43790
|
+
:accelerator_total_memory_mi_b,
|
|
43791
|
+
:network_bandwidth_gbps,
|
|
43792
|
+
:allowed_instance_types)
|
|
43655
43793
|
SENSITIVE = []
|
|
43656
43794
|
include Aws::Structure
|
|
43657
43795
|
end
|
|
@@ -43715,6 +43853,11 @@ module Aws::EC2
|
|
|
43715
43853
|
# min: 1,
|
|
43716
43854
|
# max: 1,
|
|
43717
43855
|
# },
|
|
43856
|
+
# network_bandwidth_gbps: {
|
|
43857
|
+
# min: 1.0,
|
|
43858
|
+
# max: 1.0,
|
|
43859
|
+
# },
|
|
43860
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
43718
43861
|
# },
|
|
43719
43862
|
# }
|
|
43720
43863
|
#
|
|
@@ -45993,6 +46136,11 @@ module Aws::EC2
|
|
|
45993
46136
|
# min: 1,
|
|
45994
46137
|
# max: 1,
|
|
45995
46138
|
# },
|
|
46139
|
+
# network_bandwidth_gbps: {
|
|
46140
|
+
# min: 1.0,
|
|
46141
|
+
# max: 1.0,
|
|
46142
|
+
# },
|
|
46143
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
45996
46144
|
# },
|
|
45997
46145
|
# },
|
|
45998
46146
|
# ],
|
|
@@ -47082,6 +47230,11 @@ module Aws::EC2
|
|
|
47082
47230
|
# min: 1,
|
|
47083
47231
|
# max: 1,
|
|
47084
47232
|
# },
|
|
47233
|
+
# network_bandwidth_gbps: {
|
|
47234
|
+
# min: 1.0,
|
|
47235
|
+
# max: 1.0,
|
|
47236
|
+
# },
|
|
47237
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
47085
47238
|
# },
|
|
47086
47239
|
# }
|
|
47087
47240
|
#
|
|
@@ -49102,6 +49255,11 @@ module Aws::EC2
|
|
|
49102
49255
|
# min: 1,
|
|
49103
49256
|
# max: 1,
|
|
49104
49257
|
# },
|
|
49258
|
+
# network_bandwidth_gbps: {
|
|
49259
|
+
# min: 1.0,
|
|
49260
|
+
# max: 1.0,
|
|
49261
|
+
# },
|
|
49262
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
49105
49263
|
# },
|
|
49106
49264
|
# image_id: "ImageId",
|
|
49107
49265
|
# },
|
|
@@ -49938,7 +50096,7 @@ module Aws::EC2
|
|
|
49938
50096
|
end
|
|
49939
50097
|
|
|
49940
50098
|
# @!attribute [rw] event
|
|
49941
|
-
#
|
|
50099
|
+
# Information about the event.
|
|
49942
50100
|
# @return [Types::InstanceStatusEvent]
|
|
49943
50101
|
#
|
|
49944
50102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventStartTimeResult AWS API Documentation
|
|
@@ -51267,6 +51425,11 @@ module Aws::EC2
|
|
|
51267
51425
|
# min: 1,
|
|
51268
51426
|
# max: 1,
|
|
51269
51427
|
# },
|
|
51428
|
+
# network_bandwidth_gbps: {
|
|
51429
|
+
# min: 1.0,
|
|
51430
|
+
# max: 1.0,
|
|
51431
|
+
# },
|
|
51432
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
51270
51433
|
# },
|
|
51271
51434
|
# },
|
|
51272
51435
|
# ],
|
|
@@ -53739,6 +53902,92 @@ module Aws::EC2
|
|
|
53739
53902
|
include Aws::Structure
|
|
53740
53903
|
end
|
|
53741
53904
|
|
|
53905
|
+
# The minimum and maximum amount of network bandwidth, in gigabits per
|
|
53906
|
+
# second (Gbps).
|
|
53907
|
+
#
|
|
53908
|
+
# <note markdown="1"> Setting the minimum bandwidth does not guarantee that your instance
|
|
53909
|
+
# will achieve the minimum bandwidth. Amazon EC2 will identify instance
|
|
53910
|
+
# types that support the specified minimum bandwidth, but the actual
|
|
53911
|
+
# bandwidth of your instance might go below the specified minimum at
|
|
53912
|
+
# times. For more information, see [Available instance bandwidth][1] in
|
|
53913
|
+
# the *Amazon EC2 User Guide*.
|
|
53914
|
+
#
|
|
53915
|
+
# </note>
|
|
53916
|
+
#
|
|
53917
|
+
#
|
|
53918
|
+
#
|
|
53919
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth
|
|
53920
|
+
#
|
|
53921
|
+
# @note When making an API call, you may pass NetworkBandwidthGbps
|
|
53922
|
+
# data as a hash:
|
|
53923
|
+
#
|
|
53924
|
+
# {
|
|
53925
|
+
# min: 1.0,
|
|
53926
|
+
# max: 1.0,
|
|
53927
|
+
# }
|
|
53928
|
+
#
|
|
53929
|
+
# @!attribute [rw] min
|
|
53930
|
+
# The minimum amount of network bandwidth, in Gbps. If this parameter
|
|
53931
|
+
# is not specified, there is no minimum limit.
|
|
53932
|
+
# @return [Float]
|
|
53933
|
+
#
|
|
53934
|
+
# @!attribute [rw] max
|
|
53935
|
+
# The maximum amount of network bandwidth, in Gbps. If this parameter
|
|
53936
|
+
# is not specified, there is no maximum limit.
|
|
53937
|
+
# @return [Float]
|
|
53938
|
+
#
|
|
53939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkBandwidthGbps AWS API Documentation
|
|
53940
|
+
#
|
|
53941
|
+
class NetworkBandwidthGbps < Struct.new(
|
|
53942
|
+
:min,
|
|
53943
|
+
:max)
|
|
53944
|
+
SENSITIVE = []
|
|
53945
|
+
include Aws::Structure
|
|
53946
|
+
end
|
|
53947
|
+
|
|
53948
|
+
# The minimum and maximum amount of network bandwidth, in gigabits per
|
|
53949
|
+
# second (Gbps).
|
|
53950
|
+
#
|
|
53951
|
+
# <note markdown="1"> Setting the minimum bandwidth does not guarantee that your instance
|
|
53952
|
+
# will achieve the minimum bandwidth. Amazon EC2 will identify instance
|
|
53953
|
+
# types that support the specified minimum bandwidth, but the actual
|
|
53954
|
+
# bandwidth of your instance might go below the specified minimum at
|
|
53955
|
+
# times. For more information, see [Available instance bandwidth][1] in
|
|
53956
|
+
# the *Amazon EC2 User Guide*.
|
|
53957
|
+
#
|
|
53958
|
+
# </note>
|
|
53959
|
+
#
|
|
53960
|
+
#
|
|
53961
|
+
#
|
|
53962
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth
|
|
53963
|
+
#
|
|
53964
|
+
# @note When making an API call, you may pass NetworkBandwidthGbpsRequest
|
|
53965
|
+
# data as a hash:
|
|
53966
|
+
#
|
|
53967
|
+
# {
|
|
53968
|
+
# min: 1.0,
|
|
53969
|
+
# max: 1.0,
|
|
53970
|
+
# }
|
|
53971
|
+
#
|
|
53972
|
+
# @!attribute [rw] min
|
|
53973
|
+
# The minimum amount of network bandwidth, in Gbps. To specify no
|
|
53974
|
+
# minimum limit, omit this parameter.
|
|
53975
|
+
# @return [Float]
|
|
53976
|
+
#
|
|
53977
|
+
# @!attribute [rw] max
|
|
53978
|
+
# The maximum amount of network bandwidth, in Gbps. To specify no
|
|
53979
|
+
# maximum limit, omit this parameter.
|
|
53980
|
+
# @return [Float]
|
|
53981
|
+
#
|
|
53982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkBandwidthGbpsRequest AWS API Documentation
|
|
53983
|
+
#
|
|
53984
|
+
class NetworkBandwidthGbpsRequest < Struct.new(
|
|
53985
|
+
:min,
|
|
53986
|
+
:max)
|
|
53987
|
+
SENSITIVE = []
|
|
53988
|
+
include Aws::Structure
|
|
53989
|
+
end
|
|
53990
|
+
|
|
53742
53991
|
# Describes the network card support of the instance type.
|
|
53743
53992
|
#
|
|
53744
53993
|
# @!attribute [rw] network_card_index
|
|
@@ -58471,6 +58720,11 @@ module Aws::EC2
|
|
|
58471
58720
|
# min: 1,
|
|
58472
58721
|
# max: 1,
|
|
58473
58722
|
# },
|
|
58723
|
+
# network_bandwidth_gbps: {
|
|
58724
|
+
# min: 1.0,
|
|
58725
|
+
# max: 1.0,
|
|
58726
|
+
# },
|
|
58727
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
58474
58728
|
# },
|
|
58475
58729
|
# private_dns_name_options: {
|
|
58476
58730
|
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
|
@@ -58962,6 +59216,11 @@ module Aws::EC2
|
|
|
58962
59216
|
# min: 1,
|
|
58963
59217
|
# max: 1,
|
|
58964
59218
|
# },
|
|
59219
|
+
# network_bandwidth_gbps: {
|
|
59220
|
+
# min: 1.0,
|
|
59221
|
+
# max: 1.0,
|
|
59222
|
+
# },
|
|
59223
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
58965
59224
|
# },
|
|
58966
59225
|
# },
|
|
58967
59226
|
# ],
|
|
@@ -59026,6 +59285,11 @@ module Aws::EC2
|
|
|
59026
59285
|
# min: 1,
|
|
59027
59286
|
# max: 1,
|
|
59028
59287
|
# },
|
|
59288
|
+
# network_bandwidth_gbps: {
|
|
59289
|
+
# min: 1.0,
|
|
59290
|
+
# max: 1.0,
|
|
59291
|
+
# },
|
|
59292
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
59029
59293
|
# },
|
|
59030
59294
|
# },
|
|
59031
59295
|
# ],
|
|
@@ -64886,6 +65150,11 @@ module Aws::EC2
|
|
|
64886
65150
|
# min: 1,
|
|
64887
65151
|
# max: 1,
|
|
64888
65152
|
# },
|
|
65153
|
+
# network_bandwidth_gbps: {
|
|
65154
|
+
# min: 1.0,
|
|
65155
|
+
# max: 1.0,
|
|
65156
|
+
# },
|
|
65157
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
64889
65158
|
# },
|
|
64890
65159
|
# }
|
|
64891
65160
|
#
|
|
@@ -65275,6 +65544,11 @@ module Aws::EC2
|
|
|
65275
65544
|
# min: 1,
|
|
65276
65545
|
# max: 1,
|
|
65277
65546
|
# },
|
|
65547
|
+
# network_bandwidth_gbps: {
|
|
65548
|
+
# min: 1.0,
|
|
65549
|
+
# max: 1.0,
|
|
65550
|
+
# },
|
|
65551
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
65278
65552
|
# },
|
|
65279
65553
|
# },
|
|
65280
65554
|
# ],
|
|
@@ -65339,6 +65613,11 @@ module Aws::EC2
|
|
|
65339
65613
|
# min: 1,
|
|
65340
65614
|
# max: 1,
|
|
65341
65615
|
# },
|
|
65616
|
+
# network_bandwidth_gbps: {
|
|
65617
|
+
# min: 1.0,
|
|
65618
|
+
# max: 1.0,
|
|
65619
|
+
# },
|
|
65620
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
|
65342
65621
|
# },
|
|
65343
65622
|
# },
|
|
65344
65623
|
# ],
|
|
@@ -65392,7 +65671,7 @@ module Aws::EC2
|
|
|
65392
65671
|
# Instance capacity across the Spot Instance pools specified by the
|
|
65393
65672
|
# Spot Fleet launch configuration. For more information, see
|
|
65394
65673
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
|
65395
|
-
# User Guide
|
|
65674
|
+
# User Guide*.
|
|
65396
65675
|
#
|
|
65397
65676
|
# `lowestPrice` - Spot Fleet launches instances from the lowest-price
|
|
65398
65677
|
# Spot Instance pool that has available capacity. If the cheapest pool
|
|
@@ -65473,10 +65752,10 @@ module Aws::EC2
|
|
|
65473
65752
|
# (IAM) role that grants the Spot Fleet the permission to request,
|
|
65474
65753
|
# launch, terminate, and tag instances on your behalf. For more
|
|
65475
65754
|
# information, see [Spot Fleet prerequisites][1] in the *Amazon EC2
|
|
65476
|
-
# User Guide
|
|
65477
|
-
#
|
|
65478
|
-
#
|
|
65479
|
-
#
|
|
65755
|
+
# User Guide*. Spot Fleet can terminate Spot Instances on your behalf
|
|
65756
|
+
# when you cancel its Spot Fleet request using
|
|
65757
|
+
# [CancelSpotFleetRequests][2] or when the Spot Fleet request expires,
|
|
65758
|
+
# if you set `TerminateInstancesWithExpiration`.
|
|
65480
65759
|
#
|
|
65481
65760
|
#
|
|
65482
65761
|
#
|
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.346.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: 2022-11-
|
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|