aws-sdk-ec2 1.449.0 → 1.450.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +86 -59
- data/lib/aws-sdk-ec2/resource.rb +14 -24
- data/lib/aws-sdk-ec2/subnet.rb +14 -24
- data/lib/aws-sdk-ec2/types.rb +73 -64
- 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: 3cfc2713df2791836117e0645f8d70d719af91828a8ce406f187196faa552956
|
4
|
+
data.tar.gz: 8eb7d7743cc6ab220eea905d959716d84775cd38971b5dfa6ee7f7cd84edec56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e72e2c60f3ecf42df7b2109aae11fff024c7b5ebdb1994af48891fd4a3651c98cf2f6f8884db8470779ed78d27cbc5bf1a17ccf06ee17a661a50b0f0170f46d1
|
7
|
+
data.tar.gz: 518c09399e4b341b00497ecc19458a49d5b04ff1fe38bc2d49aed35762f5ebe2b9c7aee5021bf4168af621724469cf806a3dda2537532e1642d6fd68df6033ce
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.450.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4177,6 +4177,13 @@ module Aws::EC2
|
|
4177
4177
|
# and the instances continue to run until they are interrupted or you
|
4178
4178
|
# terminate them manually.
|
4179
4179
|
#
|
4180
|
+
# **Restrictions**
|
4181
|
+
#
|
4182
|
+
# * You can delete up to 100 fleets in a single request. If you exceed
|
4183
|
+
# the specified number, no fleets are deleted.
|
4184
|
+
#
|
4185
|
+
# ^
|
4186
|
+
#
|
4180
4187
|
# @option params [Boolean] :dry_run
|
4181
4188
|
# Checks whether you have the required permissions for the action,
|
4182
4189
|
# without actually making the request, and provides an error response.
|
@@ -4186,6 +4193,8 @@ module Aws::EC2
|
|
4186
4193
|
# @option params [required, Array<String>] :spot_fleet_request_ids
|
4187
4194
|
# The IDs of the Spot Fleet requests.
|
4188
4195
|
#
|
4196
|
+
# Constraint: You can specify up to 100 IDs in a single request.
|
4197
|
+
#
|
4189
4198
|
# @option params [required, Boolean] :terminate_instances
|
4190
4199
|
# Indicates whether to terminate the associated instances when the Spot
|
4191
4200
|
# Fleet request is canceled. The default is to terminate the instances.
|
@@ -15728,18 +15737,23 @@ module Aws::EC2
|
|
15728
15737
|
# until they are interrupted or you terminate them manually.
|
15729
15738
|
#
|
15730
15739
|
# For `instant` fleets, EC2 Fleet must terminate the instances when the
|
15731
|
-
# fleet is deleted.
|
15732
|
-
#
|
15740
|
+
# fleet is deleted. Up to 1000 instances can be terminated in a single
|
15741
|
+
# request to delete `instant` fleets. A deleted `instant` fleet with
|
15742
|
+
# running instances is not supported.
|
15733
15743
|
#
|
15734
15744
|
# **Restrictions**
|
15735
15745
|
#
|
15736
|
-
# * You can delete up to 25 `instant`
|
15737
|
-
#
|
15738
|
-
#
|
15739
|
-
#
|
15746
|
+
# * You can delete up to 25 fleets of type `instant` in a single
|
15747
|
+
# request.
|
15748
|
+
#
|
15749
|
+
# * You can delete up to 100 fleets of type `maintain` or `request` in a
|
15750
|
+
# single request.
|
15740
15751
|
#
|
15741
|
-
# *
|
15742
|
-
#
|
15752
|
+
# * You can delete up to 125 fleets in a single request, provided you do
|
15753
|
+
# not exceed the quota for each fleet type, as specified above.
|
15754
|
+
#
|
15755
|
+
# * If you exceed the specified number of fleets to delete, no fleets
|
15756
|
+
# are deleted.
|
15743
15757
|
#
|
15744
15758
|
# For more information, see [Delete an EC2 Fleet][1] in the *Amazon EC2
|
15745
15759
|
# User Guide*.
|
@@ -15757,6 +15771,9 @@ module Aws::EC2
|
|
15757
15771
|
# @option params [required, Array<String>] :fleet_ids
|
15758
15772
|
# The IDs of the EC2 Fleets.
|
15759
15773
|
#
|
15774
|
+
# Constraints: In a single request, you can specify up to 25 `instant`
|
15775
|
+
# fleet IDs and up to 100 `maintain` or `request` fleet IDs.
|
15776
|
+
#
|
15760
15777
|
# @option params [required, Boolean] :terminate_instances
|
15761
15778
|
# Indicates whether to terminate the associated instances when the EC2
|
15762
15779
|
# Fleet is deleted. The default is to terminate the instances.
|
@@ -24797,10 +24814,9 @@ module Aws::EC2
|
|
24797
24814
|
req.send_request(options)
|
24798
24815
|
end
|
24799
24816
|
|
24800
|
-
#
|
24801
|
-
#
|
24802
|
-
#
|
24803
|
-
# returned.
|
24817
|
+
# Lists the instance types that are offered for the specified location.
|
24818
|
+
# If no location is specified, the default is to list the instance types
|
24819
|
+
# that are offered in the current Region.
|
24804
24820
|
#
|
24805
24821
|
# @option params [Boolean] :dry_run
|
24806
24822
|
# Checks whether you have the required permissions for the action,
|
@@ -24811,14 +24827,32 @@ module Aws::EC2
|
|
24811
24827
|
# @option params [String] :location_type
|
24812
24828
|
# The location type.
|
24813
24829
|
#
|
24830
|
+
# * `availability-zone` - The Availability Zone. When you specify a
|
24831
|
+
# location filter, it must be an Availability Zone for the current
|
24832
|
+
# Region.
|
24833
|
+
#
|
24834
|
+
# * `availability-zone-id` - The AZ ID. When you specify a location
|
24835
|
+
# filter, it must be an AZ ID for the current Region.
|
24836
|
+
#
|
24837
|
+
# * `outpost` - The Outpost ARN. When you specify a location filter, it
|
24838
|
+
# must be an Outpost ARN for the current Region.
|
24839
|
+
#
|
24840
|
+
# * `region` - The current Region. If you specify a location filter, it
|
24841
|
+
# must match the current Region.
|
24842
|
+
#
|
24814
24843
|
# @option params [Array<Types::Filter>] :filters
|
24815
24844
|
# One or more filters. Filter names and values are case-sensitive.
|
24816
24845
|
#
|
24817
|
-
# * `
|
24818
|
-
#
|
24819
|
-
#
|
24846
|
+
# * `instance-type` - The instance type. For a list of possible values,
|
24847
|
+
# see [Instance][1].
|
24848
|
+
#
|
24849
|
+
# * `location` - The location. For a list of possible identifiers, see
|
24850
|
+
# [Regions and Zones][2].
|
24820
24851
|
#
|
24821
|
-
#
|
24852
|
+
#
|
24853
|
+
#
|
24854
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html
|
24855
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
|
24822
24856
|
#
|
24823
24857
|
# @option params [Integer] :max_results
|
24824
24858
|
# The maximum number of items to return for this request. To get the
|
@@ -24872,9 +24906,9 @@ module Aws::EC2
|
|
24872
24906
|
req.send_request(options)
|
24873
24907
|
end
|
24874
24908
|
|
24875
|
-
# Describes the
|
24876
|
-
#
|
24877
|
-
#
|
24909
|
+
# Describes the specified instance types. By default, all instance types
|
24910
|
+
# for the current Region are described. Alternatively, you can filter
|
24911
|
+
# the results.
|
24878
24912
|
#
|
24879
24913
|
# @option params [Boolean] :dry_run
|
24880
24914
|
# Checks whether you have the required permissions for the action,
|
@@ -24883,12 +24917,7 @@ module Aws::EC2
|
|
24883
24917
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
24884
24918
|
#
|
24885
24919
|
# @option params [Array<String>] :instance_types
|
24886
|
-
# The instance types.
|
24887
|
-
# the *Amazon EC2 User Guide*.
|
24888
|
-
#
|
24889
|
-
#
|
24890
|
-
#
|
24891
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
24920
|
+
# The instance types.
|
24892
24921
|
#
|
24893
24922
|
# @option params [Array<Types::Filter>] :filters
|
24894
24923
|
# One or more filters. Filter names and values are case-sensitive.
|
@@ -41156,6 +41185,13 @@ module Aws::EC2
|
|
41156
41185
|
#
|
41157
41186
|
# The returned content is Base64-encoded.
|
41158
41187
|
#
|
41188
|
+
# For more information, see [Instance console output][1] in the *Amazon
|
41189
|
+
# EC2 User Guide*.
|
41190
|
+
#
|
41191
|
+
#
|
41192
|
+
#
|
41193
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output
|
41194
|
+
#
|
41159
41195
|
# @option params [Boolean] :dry_run
|
41160
41196
|
# Checks whether you have the required permissions for the action,
|
41161
41197
|
# without actually making the request, and provides an error response.
|
@@ -47342,10 +47378,10 @@ module Aws::EC2
|
|
47342
47378
|
# account level in the specified Amazon Web Services
Region.
|
47343
47379
|
#
|
47344
47380
|
# <note markdown="1"> To remove a parameter's account-level default setting, specify
|
47345
|
-
# `no-preference`.
|
47346
|
-
#
|
47347
|
-
#
|
47348
|
-
# EC2 User Guide*.
|
47381
|
+
# `no-preference`. If an account-level setting is cleared with
|
47382
|
+
# `no-preference`, then the instance launch considers the other instance
|
47383
|
+
# metadata settings. For more information, see [Order of precedence for
|
47384
|
+
# instance metadata options][1] in the *Amazon EC2 User Guide*.
|
47349
47385
|
#
|
47350
47386
|
# </note>
|
47351
47387
|
#
|
@@ -47363,11 +47399,11 @@ module Aws::EC2
|
|
47363
47399
|
# disabled, and you must use IMDSv2.
|
47364
47400
|
#
|
47365
47401
|
# @option params [Integer] :http_put_response_hop_limit
|
47366
|
-
# The maximum number of hops that the metadata token can travel.
|
47402
|
+
# The maximum number of hops that the metadata token can travel. To
|
47403
|
+
# indicate no preference, specify `-1`.
|
47367
47404
|
#
|
47368
|
-
#
|
47369
|
-
#
|
47370
|
-
# Maximum: `64`
|
47405
|
+
# Possible values: Integers from `1` to `64`, and `-1` to indicate no
|
47406
|
+
# preference
|
47371
47407
|
#
|
47372
47408
|
# @option params [String] :http_endpoint
|
47373
47409
|
# Enables or disables the IMDS endpoint on an instance. When disabled,
|
@@ -55944,7 +55980,8 @@ module Aws::EC2
|
|
55944
55980
|
# [CreateSecurityGroup][1].
|
55945
55981
|
#
|
55946
55982
|
# If you specify a network interface, you must specify any security
|
55947
|
-
# groups as part of the network interface
|
55983
|
+
# groups as part of the network interface instead of using this
|
55984
|
+
# parameter.
|
55948
55985
|
#
|
55949
55986
|
#
|
55950
55987
|
#
|
@@ -55954,7 +55991,8 @@ module Aws::EC2
|
|
55954
55991
|
# \[Default VPC\] The names of the security groups.
|
55955
55992
|
#
|
55956
55993
|
# If you specify a network interface, you must specify any security
|
55957
|
-
# groups as part of the network interface
|
55994
|
+
# groups as part of the network interface instead of using this
|
55995
|
+
# parameter.
|
55958
55996
|
#
|
55959
55997
|
# Default: Amazon EC2 uses the default security group.
|
55960
55998
|
#
|
@@ -55962,7 +56000,7 @@ module Aws::EC2
|
|
55962
56000
|
# The ID of the subnet to launch the instance into.
|
55963
56001
|
#
|
55964
56002
|
# If you specify a network interface, you must specify any subnets as
|
55965
|
-
# part of the network interface.
|
56003
|
+
# part of the network interface instead of using this parameter.
|
55966
56004
|
#
|
55967
56005
|
# @option params [String] :user_data
|
55968
56006
|
# The user data script to make available to the instance. For more
|
@@ -56038,9 +56076,7 @@ module Aws::EC2
|
|
56038
56076
|
# Default: `stop`
|
56039
56077
|
#
|
56040
56078
|
# @option params [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
56041
|
-
# The network interfaces to associate with the instance.
|
56042
|
-
# a network interface, you must specify any security groups and subnets
|
56043
|
-
# as part of the network interface.
|
56079
|
+
# The network interfaces to associate with the instance.
|
56044
56080
|
#
|
56045
56081
|
# @option params [String] :private_ip_address
|
56046
56082
|
# The primary IPv4 address. You must specify a value from the IPv4
|
@@ -56056,34 +56092,24 @@ module Aws::EC2
|
|
56056
56092
|
# the same request.
|
56057
56093
|
#
|
56058
56094
|
# @option params [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
56059
|
-
#
|
56095
|
+
# An elastic GPU to associate with the instance.
|
56060
56096
|
#
|
56061
|
-
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
56062
|
-
# workloads that require graphics acceleration, we recommend that you
|
56063
|
-
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
56097
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
56064
56098
|
#
|
56065
56099
|
# </note>
|
56066
56100
|
#
|
56067
56101
|
# @option params [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
56068
56102
|
# An elastic inference accelerator to associate with the instance.
|
56069
|
-
# Elastic inference accelerators are a resource you can attach to your
|
56070
|
-
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
56071
|
-
# workloads.
|
56072
56103
|
#
|
56073
|
-
#
|
56074
|
-
#
|
56075
|
-
#
|
56076
|
-
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
56077
|
-
# customers to Amazon Elastic Inference (EI), and will help current
|
56078
|
-
# customers migrate their workloads to options that offer better price
|
56079
|
-
# and performance. After April 15, 2023, new customers will not be able
|
56080
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
56081
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
56082
|
-
# at least once during the past 30-day period are considered current
|
56083
|
-
# customers and will be able to continue using the service.
|
56104
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to new customers.
|
56105
|
+
# For more information, see [Amazon Elastic Inference FAQs][1].
|
56084
56106
|
#
|
56085
56107
|
# </note>
|
56086
56108
|
#
|
56109
|
+
#
|
56110
|
+
#
|
56111
|
+
# [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
|
56112
|
+
#
|
56087
56113
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
56088
56114
|
# The tags to apply to the resources that are created during instance
|
56089
56115
|
# launch.
|
@@ -56994,7 +57020,8 @@ module Aws::EC2
|
|
56994
57020
|
# * `type` - The type of route (`propagated` \| `static`).
|
56995
57021
|
#
|
56996
57022
|
# @option params [Integer] :max_results
|
56997
|
-
# The maximum number of routes to return.
|
57023
|
+
# The maximum number of routes to return. If a value is not provided,
|
57024
|
+
# the default is 1000.
|
56998
57025
|
#
|
56999
57026
|
# @option params [Boolean] :dry_run
|
57000
57027
|
# Checks whether you have the required permissions for the action,
|
@@ -59115,7 +59142,7 @@ module Aws::EC2
|
|
59115
59142
|
params: params,
|
59116
59143
|
config: config)
|
59117
59144
|
context[:gem_name] = 'aws-sdk-ec2'
|
59118
|
-
context[:gem_version] = '1.
|
59145
|
+
context[:gem_version] = '1.450.0'
|
59119
59146
|
Seahorse::Client::Request.new(handlers, context)
|
59120
59147
|
end
|
59121
59148
|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -385,7 +385,8 @@ module Aws::EC2
|
|
385
385
|
# [CreateSecurityGroup][1].
|
386
386
|
#
|
387
387
|
# If you specify a network interface, you must specify any security
|
388
|
-
# groups as part of the network interface
|
388
|
+
# groups as part of the network interface instead of using this
|
389
|
+
# parameter.
|
389
390
|
#
|
390
391
|
#
|
391
392
|
#
|
@@ -394,14 +395,15 @@ module Aws::EC2
|
|
394
395
|
# \[Default VPC\] The names of the security groups.
|
395
396
|
#
|
396
397
|
# If you specify a network interface, you must specify any security
|
397
|
-
# groups as part of the network interface
|
398
|
+
# groups as part of the network interface instead of using this
|
399
|
+
# parameter.
|
398
400
|
#
|
399
401
|
# Default: Amazon EC2 uses the default security group.
|
400
402
|
# @option options [String] :subnet_id
|
401
403
|
# The ID of the subnet to launch the instance into.
|
402
404
|
#
|
403
405
|
# If you specify a network interface, you must specify any subnets as
|
404
|
-
# part of the network interface.
|
406
|
+
# part of the network interface instead of using this parameter.
|
405
407
|
# @option options [String] :user_data
|
406
408
|
# The user data script to make available to the instance. For more
|
407
409
|
# information, see [Run commands on your Linux instance at launch][1]
|
@@ -465,9 +467,7 @@ module Aws::EC2
|
|
465
467
|
#
|
466
468
|
# Default: `stop`
|
467
469
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
468
|
-
# The network interfaces to associate with the instance.
|
469
|
-
# a network interface, you must specify any security groups and subnets
|
470
|
-
# as part of the network interface.
|
470
|
+
# The network interfaces to associate with the instance.
|
471
471
|
# @option options [String] :private_ip_address
|
472
472
|
# The primary IPv4 address. You must specify a value from the IPv4
|
473
473
|
# address range of the subnet.
|
@@ -481,32 +481,22 @@ module Aws::EC2
|
|
481
481
|
# You cannot specify this option and the network interfaces option in
|
482
482
|
# the same request.
|
483
483
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
484
|
-
#
|
484
|
+
# An elastic GPU to associate with the instance.
|
485
485
|
#
|
486
|
-
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
487
|
-
# workloads that require graphics acceleration, we recommend that you
|
488
|
-
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
486
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
489
487
|
#
|
490
488
|
# </note>
|
491
489
|
# @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
492
490
|
# An elastic inference accelerator to associate with the instance.
|
493
|
-
# Elastic inference accelerators are a resource you can attach to your
|
494
|
-
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
495
|
-
# workloads.
|
496
|
-
#
|
497
|
-
# You cannot specify accelerators from different generations in the same
|
498
|
-
# request.
|
499
491
|
#
|
500
|
-
# <note markdown="1">
|
501
|
-
#
|
502
|
-
# customers migrate their workloads to options that offer better price
|
503
|
-
# and performance. After April 15, 2023, new customers will not be able
|
504
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
505
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
506
|
-
# at least once during the past 30-day period are considered current
|
507
|
-
# customers and will be able to continue using the service.
|
492
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to new customers.
|
493
|
+
# For more information, see [Amazon Elastic Inference FAQs][1].
|
508
494
|
#
|
509
495
|
# </note>
|
496
|
+
#
|
497
|
+
#
|
498
|
+
#
|
499
|
+
# [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
|
510
500
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
511
501
|
# The tags to apply to the resources that are created during instance
|
512
502
|
# launch.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -620,7 +620,8 @@ module Aws::EC2
|
|
620
620
|
# [CreateSecurityGroup][1].
|
621
621
|
#
|
622
622
|
# If you specify a network interface, you must specify any security
|
623
|
-
# groups as part of the network interface
|
623
|
+
# groups as part of the network interface instead of using this
|
624
|
+
# parameter.
|
624
625
|
#
|
625
626
|
#
|
626
627
|
#
|
@@ -629,7 +630,8 @@ module Aws::EC2
|
|
629
630
|
# \[Default VPC\] The names of the security groups.
|
630
631
|
#
|
631
632
|
# If you specify a network interface, you must specify any security
|
632
|
-
# groups as part of the network interface
|
633
|
+
# groups as part of the network interface instead of using this
|
634
|
+
# parameter.
|
633
635
|
#
|
634
636
|
# Default: Amazon EC2 uses the default security group.
|
635
637
|
# @option options [String] :user_data
|
@@ -695,9 +697,7 @@ module Aws::EC2
|
|
695
697
|
#
|
696
698
|
# Default: `stop`
|
697
699
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
698
|
-
# The network interfaces to associate with the instance.
|
699
|
-
# a network interface, you must specify any security groups and subnets
|
700
|
-
# as part of the network interface.
|
700
|
+
# The network interfaces to associate with the instance.
|
701
701
|
# @option options [String] :private_ip_address
|
702
702
|
# The primary IPv4 address. You must specify a value from the IPv4
|
703
703
|
# address range of the subnet.
|
@@ -711,32 +711,22 @@ module Aws::EC2
|
|
711
711
|
# You cannot specify this option and the network interfaces option in
|
712
712
|
# the same request.
|
713
713
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
714
|
-
#
|
714
|
+
# An elastic GPU to associate with the instance.
|
715
715
|
#
|
716
|
-
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
717
|
-
# workloads that require graphics acceleration, we recommend that you
|
718
|
-
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
716
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
719
717
|
#
|
720
718
|
# </note>
|
721
719
|
# @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
722
720
|
# An elastic inference accelerator to associate with the instance.
|
723
|
-
#
|
724
|
-
# Amazon
|
725
|
-
#
|
726
|
-
#
|
727
|
-
# You cannot specify accelerators from different generations in the same
|
728
|
-
# request.
|
729
|
-
#
|
730
|
-
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
731
|
-
# customers to Amazon Elastic Inference (EI), and will help current
|
732
|
-
# customers migrate their workloads to options that offer better price
|
733
|
-
# and performance. After April 15, 2023, new customers will not be able
|
734
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
735
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
736
|
-
# at least once during the past 30-day period are considered current
|
737
|
-
# customers and will be able to continue using the service.
|
721
|
+
#
|
722
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to new customers.
|
723
|
+
# For more information, see [Amazon Elastic Inference FAQs][1].
|
738
724
|
#
|
739
725
|
# </note>
|
726
|
+
#
|
727
|
+
#
|
728
|
+
#
|
729
|
+
# [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
|
740
730
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
741
731
|
# The tags to apply to the resources that are created during instance
|
742
732
|
# launch.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4188,6 +4188,8 @@ module Aws::EC2
|
|
4188
4188
|
#
|
4189
4189
|
# @!attribute [rw] spot_fleet_request_ids
|
4190
4190
|
# The IDs of the Spot Fleet requests.
|
4191
|
+
#
|
4192
|
+
# Constraint: You can specify up to 100 IDs in a single request.
|
4191
4193
|
# @return [Array<String>]
|
4192
4194
|
#
|
4193
4195
|
# @!attribute [rw] terminate_instances
|
@@ -7685,7 +7687,7 @@ module Aws::EC2
|
|
7685
7687
|
#
|
7686
7688
|
#
|
7687
7689
|
#
|
7688
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
7690
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
7689
7691
|
# @return [String]
|
7690
7692
|
#
|
7691
7693
|
# @!attribute [rw] error_message
|
@@ -7695,7 +7697,7 @@ module Aws::EC2
|
|
7695
7697
|
#
|
7696
7698
|
#
|
7697
7699
|
#
|
7698
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
7700
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
7699
7701
|
# @return [String]
|
7700
7702
|
#
|
7701
7703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleetError AWS API Documentation
|
@@ -13706,6 +13708,9 @@ module Aws::EC2
|
|
13706
13708
|
#
|
13707
13709
|
# @!attribute [rw] fleet_ids
|
13708
13710
|
# The IDs of the EC2 Fleets.
|
13711
|
+
#
|
13712
|
+
# Constraints: In a single request, you can specify up to 25 `instant`
|
13713
|
+
# fleet IDs and up to 100 `maintain` or `request` fleet IDs.
|
13709
13714
|
# @return [Array<String>]
|
13710
13715
|
#
|
13711
13716
|
# @!attribute [rw] terminate_instances
|
@@ -20040,16 +20045,34 @@ module Aws::EC2
|
|
20040
20045
|
#
|
20041
20046
|
# @!attribute [rw] location_type
|
20042
20047
|
# The location type.
|
20048
|
+
#
|
20049
|
+
# * `availability-zone` - The Availability Zone. When you specify a
|
20050
|
+
# location filter, it must be an Availability Zone for the current
|
20051
|
+
# Region.
|
20052
|
+
#
|
20053
|
+
# * `availability-zone-id` - The AZ ID. When you specify a location
|
20054
|
+
# filter, it must be an AZ ID for the current Region.
|
20055
|
+
#
|
20056
|
+
# * `outpost` - The Outpost ARN. When you specify a location filter,
|
20057
|
+
# it must be an Outpost ARN for the current Region.
|
20058
|
+
#
|
20059
|
+
# * `region` - The current Region. If you specify a location filter,
|
20060
|
+
# it must match the current Region.
|
20043
20061
|
# @return [String]
|
20044
20062
|
#
|
20045
20063
|
# @!attribute [rw] filters
|
20046
20064
|
# One or more filters. Filter names and values are case-sensitive.
|
20047
20065
|
#
|
20048
|
-
# * `
|
20049
|
-
#
|
20050
|
-
#
|
20066
|
+
# * `instance-type` - The instance type. For a list of possible
|
20067
|
+
# values, see [Instance][1].
|
20068
|
+
#
|
20069
|
+
# * `location` - The location. For a list of possible identifiers, see
|
20070
|
+
# [Regions and Zones][2].
|
20071
|
+
#
|
20051
20072
|
#
|
20052
|
-
#
|
20073
|
+
#
|
20074
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html
|
20075
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
|
20053
20076
|
# @return [Array<Types::Filter>]
|
20054
20077
|
#
|
20055
20078
|
# @!attribute [rw] max_results
|
@@ -20081,7 +20104,7 @@ module Aws::EC2
|
|
20081
20104
|
end
|
20082
20105
|
|
20083
20106
|
# @!attribute [rw] instance_type_offerings
|
20084
|
-
# The instance types offered.
|
20107
|
+
# The instance types offered in the location.
|
20085
20108
|
# @return [Array<Types::InstanceTypeOffering>]
|
20086
20109
|
#
|
20087
20110
|
# @!attribute [rw] next_token
|
@@ -20106,12 +20129,7 @@ module Aws::EC2
|
|
20106
20129
|
# @return [Boolean]
|
20107
20130
|
#
|
20108
20131
|
# @!attribute [rw] instance_types
|
20109
|
-
# The instance types.
|
20110
|
-
# the *Amazon EC2 User Guide*.
|
20111
|
-
#
|
20112
|
-
#
|
20113
|
-
#
|
20114
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
20132
|
+
# The instance types.
|
20115
20133
|
# @return [Array<String>]
|
20116
20134
|
#
|
20117
20135
|
# @!attribute [rw] filters
|
@@ -20306,12 +20324,7 @@ module Aws::EC2
|
|
20306
20324
|
end
|
20307
20325
|
|
20308
20326
|
# @!attribute [rw] instance_types
|
20309
|
-
# The instance type.
|
20310
|
-
# the *Amazon EC2 User Guide*.
|
20311
|
-
#
|
20312
|
-
#
|
20313
|
-
#
|
20314
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
20327
|
+
# The instance type.
|
20315
20328
|
# @return [Array<Types::InstanceTypeInfo>]
|
20316
20329
|
#
|
20317
20330
|
# @!attribute [rw] next_token
|
@@ -47897,11 +47910,11 @@ module Aws::EC2
|
|
47897
47910
|
# @return [String]
|
47898
47911
|
#
|
47899
47912
|
# @!attribute [rw] http_put_response_hop_limit
|
47900
|
-
# The maximum number of hops that the metadata token can travel.
|
47901
|
-
#
|
47902
|
-
# Minimum: `1`
|
47913
|
+
# The maximum number of hops that the metadata token can travel. To
|
47914
|
+
# indicate no preference, specify `-1`.
|
47903
47915
|
#
|
47904
|
-
#
|
47916
|
+
# Possible values: Integers from `1` to `64`, and `-1` to indicate no
|
47917
|
+
# preference
|
47905
47918
|
# @return [Integer]
|
47906
47919
|
#
|
47907
47920
|
# @!attribute [rw] http_endpoint
|
@@ -56177,9 +56190,7 @@ module Aws::EC2
|
|
56177
56190
|
# @return [Array<Types::LaunchTemplateBlockDeviceMappingRequest>]
|
56178
56191
|
#
|
56179
56192
|
# @!attribute [rw] network_interfaces
|
56180
|
-
#
|
56181
|
-
# you must specify any security groups and subnets as part of the
|
56182
|
-
# network interface.
|
56193
|
+
# The network interfaces for the instance.
|
56183
56194
|
# @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>]
|
56184
56195
|
#
|
56185
56196
|
# @!attribute [rw] image_id
|
@@ -56338,17 +56349,20 @@ module Aws::EC2
|
|
56338
56349
|
# @return [Array<Types::LaunchTemplateElasticInferenceAccelerator>]
|
56339
56350
|
#
|
56340
56351
|
# @!attribute [rw] security_group_ids
|
56341
|
-
#
|
56342
|
-
# using [CreateSecurityGroup][1].
|
56343
|
-
#
|
56344
|
-
#
|
56352
|
+
# The IDs of the security groups.
|
56345
56353
|
#
|
56346
|
-
#
|
56354
|
+
# If you specify a network interface, you must specify any security
|
56355
|
+
# groups as part of the network interface instead of using this
|
56356
|
+
# parameter.
|
56347
56357
|
# @return [Array<String>]
|
56348
56358
|
#
|
56349
56359
|
# @!attribute [rw] security_groups
|
56350
|
-
#
|
56360
|
+
# The names of the security groups. For a nondefault VPC, you must use
|
56351
56361
|
# security group IDs instead.
|
56362
|
+
#
|
56363
|
+
# If you specify a network interface, you must specify any security
|
56364
|
+
# groups as part of the network interface instead of using this
|
56365
|
+
# parameter.
|
56352
56366
|
# @return [Array<String>]
|
56353
56367
|
#
|
56354
56368
|
# @!attribute [rw] instance_market_options
|
@@ -58835,7 +58849,8 @@ module Aws::EC2
|
|
58835
58849
|
# using [CreateSecurityGroup][1].
|
58836
58850
|
#
|
58837
58851
|
# If you specify a network interface, you must specify any security
|
58838
|
-
# groups as part of the network interface
|
58852
|
+
# groups as part of the network interface instead of using this
|
58853
|
+
# parameter.
|
58839
58854
|
#
|
58840
58855
|
#
|
58841
58856
|
#
|
@@ -58846,7 +58861,8 @@ module Aws::EC2
|
|
58846
58861
|
# \[Default VPC\] The names of the security groups.
|
58847
58862
|
#
|
58848
58863
|
# If you specify a network interface, you must specify any security
|
58849
|
-
# groups as part of the network interface
|
58864
|
+
# groups as part of the network interface instead of using this
|
58865
|
+
# parameter.
|
58850
58866
|
#
|
58851
58867
|
# Default: Amazon EC2 uses the default security group.
|
58852
58868
|
# @return [Array<String>]
|
@@ -58855,7 +58871,7 @@ module Aws::EC2
|
|
58855
58871
|
# The ID of the subnet to launch the instance into.
|
58856
58872
|
#
|
58857
58873
|
# If you specify a network interface, you must specify any subnets as
|
58858
|
-
# part of the network interface.
|
58874
|
+
# part of the network interface instead of using this parameter.
|
58859
58875
|
# @return [String]
|
58860
58876
|
#
|
58861
58877
|
# @!attribute [rw] user_data
|
@@ -58941,9 +58957,7 @@ module Aws::EC2
|
|
58941
58957
|
# @return [String]
|
58942
58958
|
#
|
58943
58959
|
# @!attribute [rw] network_interfaces
|
58944
|
-
# The network interfaces to associate with the instance.
|
58945
|
-
# specify a network interface, you must specify any security groups
|
58946
|
-
# and subnets as part of the network interface.
|
58960
|
+
# The network interfaces to associate with the instance.
|
58947
58961
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
58948
58962
|
#
|
58949
58963
|
# @!attribute [rw] private_ip_address
|
@@ -58961,35 +58975,25 @@ module Aws::EC2
|
|
58961
58975
|
# @return [String]
|
58962
58976
|
#
|
58963
58977
|
# @!attribute [rw] elastic_gpu_specification
|
58964
|
-
#
|
58978
|
+
# An elastic GPU to associate with the instance.
|
58965
58979
|
#
|
58966
|
-
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
58967
|
-
# workloads that require graphics acceleration, we recommend that you
|
58968
|
-
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
58980
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
58969
58981
|
#
|
58970
58982
|
# </note>
|
58971
58983
|
# @return [Array<Types::ElasticGpuSpecification>]
|
58972
58984
|
#
|
58973
58985
|
# @!attribute [rw] elastic_inference_accelerators
|
58974
58986
|
# An elastic inference accelerator to associate with the instance.
|
58975
|
-
# Elastic inference accelerators are a resource you can attach to your
|
58976
|
-
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
58977
|
-
# workloads.
|
58978
58987
|
#
|
58979
|
-
#
|
58980
|
-
#
|
58981
|
-
#
|
58982
|
-
# <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
|
58983
|
-
# customers to Amazon Elastic Inference (EI), and will help current
|
58984
|
-
# customers migrate their workloads to options that offer better price
|
58985
|
-
# and performance. After April 15, 2023, new customers will not be
|
58986
|
-
# able to launch instances with Amazon EI accelerators in Amazon
|
58987
|
-
# SageMaker, Amazon ECS, or Amazon EC2. However, customers who have
|
58988
|
-
# used Amazon EI at least once during the past 30-day period are
|
58989
|
-
# considered current customers and will be able to continue using the
|
58990
|
-
# service.
|
58988
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to new
|
58989
|
+
# customers. For more information, see [Amazon Elastic Inference
|
58990
|
+
# FAQs][1].
|
58991
58991
|
#
|
58992
58992
|
# </note>
|
58993
|
+
#
|
58994
|
+
#
|
58995
|
+
#
|
58996
|
+
# [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
|
58993
58997
|
# @return [Array<Types::ElasticInferenceAccelerator>]
|
58994
58998
|
#
|
58995
58999
|
# @!attribute [rw] tag_specifications
|
@@ -60115,7 +60119,8 @@ module Aws::EC2
|
|
60115
60119
|
# @return [Array<Types::Filter>]
|
60116
60120
|
#
|
60117
60121
|
# @!attribute [rw] max_results
|
60118
|
-
# The maximum number of routes to return.
|
60122
|
+
# The maximum number of routes to return. If a value is not provided,
|
60123
|
+
# the default is 1000.
|
60119
60124
|
# @return [Integer]
|
60120
60125
|
#
|
60121
60126
|
# @!attribute [rw] dry_run
|
@@ -61342,6 +61347,10 @@ module Aws::EC2
|
|
61342
61347
|
#
|
61343
61348
|
# @!attribute [rw] security_groups
|
61344
61349
|
# The security groups.
|
61350
|
+
#
|
61351
|
+
# If you specify a network interface, you must specify any security
|
61352
|
+
# groups as part of the network interface instead of using this
|
61353
|
+
# parameter.
|
61345
61354
|
# @return [Array<Types::GroupIdentifier>]
|
61346
61355
|
#
|
61347
61356
|
# @!attribute [rw] addressing_type
|
@@ -61392,13 +61401,10 @@ module Aws::EC2
|
|
61392
61401
|
# @return [Types::SpotFleetMonitoring]
|
61393
61402
|
#
|
61394
61403
|
# @!attribute [rw] network_interfaces
|
61395
|
-
#
|
61396
|
-
# you must specify subnet IDs and security group IDs using the network
|
61397
|
-
# interface.
|
61404
|
+
# The network interfaces.
|
61398
61405
|
#
|
61399
|
-
# <note markdown="1"> `SpotFleetLaunchSpecification`
|
61400
|
-
#
|
61401
|
-
# [LaunchTemplateConfig][1].
|
61406
|
+
# <note markdown="1"> `SpotFleetLaunchSpecification` does not support Elastic Fabric
|
61407
|
+
# Adapter (EFA). You must use [LaunchTemplateConfig][1] instead.
|
61402
61408
|
#
|
61403
61409
|
# </note>
|
61404
61410
|
#
|
@@ -61433,6 +61439,9 @@ module Aws::EC2
|
|
61433
61439
|
# The IDs of the subnets in which to launch the instances. To specify
|
61434
61440
|
# multiple subnets, separate them using commas; for example,
|
61435
61441
|
# "subnet-1234abcdeexample1, subnet-0987cdef6example2".
|
61442
|
+
#
|
61443
|
+
# If you specify a network interface, you must specify any subnets as
|
61444
|
+
# part of the network interface instead of using this parameter.
|
61436
61445
|
# @return [String]
|
61437
61446
|
#
|
61438
61447
|
# @!attribute [rw] user_data
|
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.450.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: 2024-04-
|
11
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|