aws-sdk-ec2 1.200.0 → 1.201.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +71 -27
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/customizations.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +127 -40
- 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: 866bbf35ec3bed2f5ea8ba3f8830ce8c0a0f31078c2d06d8a575eda98c222685
|
4
|
+
data.tar.gz: 1139e7c407c535d70c513fa70836972e17c89ef8756b40bdb273c5bc4b173b1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f902d868e8473441028b2b9d7f82956cd2e602a2afa00da6779f498a92bc042c8923040c51888a164de29d43aadf93142fa96ed158e53c008f15fa65e423ae66
|
7
|
+
data.tar.gz: 56cee0234ac79acbc69e04a013825476133303e6e31fdea82d4e53d7320ed2b8f5fca79a0098c574bc9569e75ac8e1611d30715b979d932975e48f1573c48cfe
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -7680,7 +7680,13 @@ module Aws::EC2
|
|
7680
7680
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html
|
7681
7681
|
#
|
7682
7682
|
# @option params [required, String] :bucket
|
7683
|
-
# The Amazon S3 bucket in which to store the Spot Instance
|
7683
|
+
# The name of the Amazon S3 bucket in which to store the Spot Instance
|
7684
|
+
# data feed. For more information about bucket names, see [Rules for
|
7685
|
+
# bucket naming][1] in the *Amazon S3 Developer Guide*.
|
7686
|
+
#
|
7687
|
+
#
|
7688
|
+
#
|
7689
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
|
7684
7690
|
#
|
7685
7691
|
# @option params [Boolean] :dry_run
|
7686
7692
|
# Checks whether you have the required permissions for the action,
|
@@ -7689,7 +7695,7 @@ module Aws::EC2
|
|
7689
7695
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7690
7696
|
#
|
7691
7697
|
# @option params [String] :prefix
|
7692
|
-
#
|
7698
|
+
# The prefix for the data feed file names.
|
7693
7699
|
#
|
7694
7700
|
# @return [Types::CreateSpotDatafeedSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7695
7701
|
#
|
@@ -17023,26 +17029,26 @@ module Aws::EC2
|
|
17023
17029
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
17024
17030
|
# in Mbps.
|
17025
17031
|
#
|
17026
|
-
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
17027
|
-
# baseline throughput performance for an EBS-optimized instance type,
|
17028
|
-
# in MBps.
|
17029
|
-
#
|
17030
17032
|
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
17031
17033
|
# input/output storage operations per second for an EBS-optimized
|
17032
17034
|
# instance type.
|
17033
17035
|
#
|
17036
|
+
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
17037
|
+
# baseline throughput performance for an EBS-optimized instance type,
|
17038
|
+
# in MBps.
|
17039
|
+
#
|
17034
17040
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
17035
17041
|
# maximum bandwidth performance for an EBS-optimized instance type, in
|
17036
17042
|
# Mbps.
|
17037
17043
|
#
|
17038
|
-
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
17039
|
-
# maximum throughput performance for an EBS-optimized instance type,
|
17040
|
-
# in MBps.
|
17041
|
-
#
|
17042
17044
|
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
17043
17045
|
# input/output storage operations per second for an EBS-optimized
|
17044
17046
|
# instance type.
|
17045
17047
|
#
|
17048
|
+
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
17049
|
+
# maximum throughput performance for an EBS-optimized instance type,
|
17050
|
+
# in MBps.
|
17051
|
+
#
|
17046
17052
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
17047
17053
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
17048
17054
|
#
|
@@ -17050,8 +17056,8 @@ module Aws::EC2
|
|
17050
17056
|
# supported. (`supported` \| `unsupported`)
|
17051
17057
|
#
|
17052
17058
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
17053
|
-
# express (NVMe) is supported
|
17054
|
-
# \| `unsupported`)
|
17059
|
+
# express (NVMe) is supported for EBS volumes. (`required` \|
|
17060
|
+
# `supported` \| `unsupported`)
|
17055
17061
|
#
|
17056
17062
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
17057
17063
|
# eligible to use in the free tier. (`true` \| `false`)
|
@@ -17059,7 +17065,7 @@ module Aws::EC2
|
|
17059
17065
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation is
|
17060
17066
|
# supported. (`true` \| `false`)
|
17061
17067
|
#
|
17062
|
-
# * `hypervisor` - The hypervisor
|
17068
|
+
# * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
|
17063
17069
|
#
|
17064
17070
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
17065
17071
|
#
|
@@ -17069,21 +17075,28 @@ module Aws::EC2
|
|
17069
17075
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
17070
17076
|
# local instance storage disks. (`hdd` \| `ssd`)
|
17071
17077
|
#
|
17078
|
+
# * `instance-storage-info.nvme-support` - Indicates whether
|
17079
|
+
# non-volatile memory express (NVMe) is supported for instance store.
|
17080
|
+
# (`required` \| `supported`) \| `unsupported`)
|
17081
|
+
#
|
17072
17082
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
17073
17083
|
# storage available from all local instance storage, in GB.
|
17074
17084
|
#
|
17075
17085
|
# * `instance-storage-supported` - Indicates whether the instance type
|
17076
17086
|
# has local instance storage. (`true` \| `false`)
|
17077
17087
|
#
|
17088
|
+
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
17089
|
+
# c5*).
|
17090
|
+
#
|
17078
17091
|
# * `memory-info.size-in-mib` - The memory size.
|
17079
17092
|
#
|
17093
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
17094
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
17095
|
+
#
|
17080
17096
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
17081
17097
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
17082
17098
|
# \| `unsupported`)
|
17083
17099
|
#
|
17084
|
-
# * `network-info.efa-supported` - Indicates whether the instance type
|
17085
|
-
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
17086
|
-
#
|
17087
17100
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number of
|
17088
17101
|
# private IPv4 addresses per network interface.
|
17089
17102
|
#
|
@@ -17096,12 +17109,23 @@ module Aws::EC2
|
|
17096
17109
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
17097
17110
|
# network interfaces per instance.
|
17098
17111
|
#
|
17099
|
-
# * `network-info.network-performance` -
|
17100
|
-
#
|
17112
|
+
# * `network-info.network-performance` - The network performance (for
|
17113
|
+
# example, "25 Gigabit").
|
17114
|
+
#
|
17115
|
+
# * `processor-info.supported-architecture` - The CPU architecture.
|
17116
|
+
# (`arm64` \| `i386` \| `x86_64`)
|
17101
17117
|
#
|
17102
17118
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
|
17103
17119
|
# in GHz.
|
17104
17120
|
#
|
17121
|
+
# * `supported-root-device-type` - The root device type. (`ebs` \|
|
17122
|
+
# `instance-store`)
|
17123
|
+
#
|
17124
|
+
# * `supported-usage-class` - The usage class. (`on-demand` \| `spot`)
|
17125
|
+
#
|
17126
|
+
# * `supported-virtualization-type` - The virtualization type. (`hvm` \|
|
17127
|
+
# `paravirtual`)
|
17128
|
+
#
|
17105
17129
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
17106
17130
|
# instance type.
|
17107
17131
|
#
|
@@ -17111,6 +17135,13 @@ module Aws::EC2
|
|
17111
17135
|
# * `vcpu-info.default-vcpus` - The default number of vCPUs for the
|
17112
17136
|
# instance type.
|
17113
17137
|
#
|
17138
|
+
# * `vcpu-info.valid-cores` - The number of cores that can be configured
|
17139
|
+
# for the instance type.
|
17140
|
+
#
|
17141
|
+
# * `vcpu-info.valid-threads-per-core` - The number of threads per core
|
17142
|
+
# that can be configured for the instance type. For example, "1" or
|
17143
|
+
# "1,2".
|
17144
|
+
#
|
17114
17145
|
# @option params [Integer] :max_results
|
17115
17146
|
# The maximum number of results to return for the request in a single
|
17116
17147
|
# page. The remaining results can be seen by sending another request
|
@@ -17172,6 +17203,7 @@ module Aws::EC2
|
|
17172
17203
|
# resp.instance_types[0].instance_storage_info.disks[0].size_in_gb #=> Integer
|
17173
17204
|
# resp.instance_types[0].instance_storage_info.disks[0].count #=> Integer
|
17174
17205
|
# resp.instance_types[0].instance_storage_info.disks[0].type #=> String, one of "hdd", "ssd"
|
17206
|
+
# resp.instance_types[0].instance_storage_info.nvme_support #=> String, one of "unsupported", "supported", "required"
|
17175
17207
|
# resp.instance_types[0].ebs_info.ebs_optimized_support #=> String, one of "unsupported", "supported", "default"
|
17176
17208
|
# resp.instance_types[0].ebs_info.encryption_support #=> String, one of "unsupported", "supported"
|
17177
17209
|
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_bandwidth_in_mbps #=> Integer
|
@@ -22861,8 +22893,10 @@ module Aws::EC2
|
|
22861
22893
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
22862
22894
|
#
|
22863
22895
|
# * `product-description` - The product description for the Spot price
|
22864
|
-
# (`Linux/UNIX` \| `
|
22865
|
-
#
|
22896
|
+
# (`Linux/UNIX` \| `Red Hat Enterprise Linux` \| `SUSE Linux` \|
|
22897
|
+
# `Windows` \| `Linux/UNIX (Amazon VPC)` \| `Red Hat Enterprise Linux
|
22898
|
+
# (Amazon VPC)` \| `SUSE Linux (Amazon VPC)` \| `Windows (Amazon
|
22899
|
+
# VPC)`).
|
22866
22900
|
#
|
22867
22901
|
# * `spot-price` - The Spot price. The value must match exactly (or use
|
22868
22902
|
# wildcards; greater than or less than comparison is not supported).
|
@@ -34049,7 +34083,7 @@ module Aws::EC2
|
|
34049
34083
|
# instances. The operation succeeds if the instances are valid and
|
34050
34084
|
# belong to you. Requests to reboot terminated instances are ignored.
|
34051
34085
|
#
|
34052
|
-
# If an instance does not cleanly shut down within
|
34086
|
+
# If an instance does not cleanly shut down within a few minutes, Amazon
|
34053
34087
|
# EC2 performs a hard reboot.
|
34054
34088
|
#
|
34055
34089
|
# For more information about troubleshooting, see [Getting console
|
@@ -35706,6 +35740,10 @@ module Aws::EC2
|
|
35706
35740
|
# You can't specify an Availability Zone group or a launch group if you
|
35707
35741
|
# specify a duration.
|
35708
35742
|
#
|
35743
|
+
# New accounts or accounts with no previous billing history with AWS are
|
35744
|
+
# not eligible for Spot Instances with a defined duration (also known as
|
35745
|
+
# Spot blocks).
|
35746
|
+
#
|
35709
35747
|
# @option params [String] :client_token
|
35710
35748
|
# Unique, case-sensitive identifier that you provide to ensure the
|
35711
35749
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -35756,11 +35794,17 @@ module Aws::EC2
|
|
35756
35794
|
# current date and time.
|
35757
35795
|
#
|
35758
35796
|
# @option params [Time,DateTime,Date,Integer,String] :valid_until
|
35759
|
-
# The end date of the request
|
35760
|
-
#
|
35761
|
-
#
|
35762
|
-
#
|
35763
|
-
#
|
35797
|
+
# The end date of the request, in UTC format
|
35798
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
35799
|
+
#
|
35800
|
+
# * For a persistent request, the request remains active until the
|
35801
|
+
# `ValidUntil` date and time is reached. Otherwise, the request
|
35802
|
+
# remains active until you cancel it.
|
35803
|
+
#
|
35804
|
+
# * For a one-time request, the request remains active until all
|
35805
|
+
# instances launch, the request is canceled, or the `ValidUntil` date
|
35806
|
+
# and time is reached. By default, the request is valid for 7 days
|
35807
|
+
# from the date the request was created.
|
35764
35808
|
#
|
35765
35809
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
35766
35810
|
# The key-value pair for tagging the Spot Instance request on creation.
|
@@ -38857,7 +38901,7 @@ module Aws::EC2
|
|
38857
38901
|
params: params,
|
38858
38902
|
config: config)
|
38859
38903
|
context[:gem_name] = 'aws-sdk-ec2'
|
38860
|
-
context[:gem_version] = '1.
|
38904
|
+
context[:gem_version] = '1.201.0'
|
38861
38905
|
Seahorse::Client::Request.new(handlers, context)
|
38862
38906
|
end
|
38863
38907
|
|
@@ -880,6 +880,7 @@ module Aws::EC2
|
|
880
880
|
EnableVpcClassicLinkResult = Shapes::StructureShape.new(name: 'EnableVpcClassicLinkResult')
|
881
881
|
EndDateType = Shapes::StringShape.new(name: 'EndDateType')
|
882
882
|
EndpointSet = Shapes::ListShape.new(name: 'EndpointSet')
|
883
|
+
EphemeralNvmeSupport = Shapes::StringShape.new(name: 'EphemeralNvmeSupport')
|
883
884
|
ErrorSet = Shapes::ListShape.new(name: 'ErrorSet')
|
884
885
|
EventCode = Shapes::StringShape.new(name: 'EventCode')
|
885
886
|
EventInformation = Shapes::StructureShape.new(name: 'EventInformation')
|
@@ -6700,6 +6701,7 @@ module Aws::EC2
|
|
6700
6701
|
|
6701
6702
|
InstanceStorageInfo.add_member(:total_size_in_gb, Shapes::ShapeRef.new(shape: DiskSize, location_name: "totalSizeInGB"))
|
6702
6703
|
InstanceStorageInfo.add_member(:disks, Shapes::ShapeRef.new(shape: DiskInfoList, location_name: "disks"))
|
6704
|
+
InstanceStorageInfo.add_member(:nvme_support, Shapes::ShapeRef.new(shape: EphemeralNvmeSupport, location_name: "nvmeSupport"))
|
6703
6705
|
InstanceStorageInfo.struct_class = Types::InstanceStorageInfo
|
6704
6706
|
|
6705
6707
|
InstanceTagKeySet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
@@ -4,7 +4,7 @@
|
|
4
4
|
require 'aws-sdk-ec2/customizations/resource'
|
5
5
|
require 'aws-sdk-ec2/customizations/instance'
|
6
6
|
|
7
|
-
Aws::EC2::Instance::Collection.
|
7
|
+
Aws::EC2::Instance::Collection.extend Aws::Deprecations
|
8
8
|
{
|
9
9
|
create_tags: :batch_create_tags,
|
10
10
|
monitor: :batch_create_tags,
|
@@ -19,5 +19,5 @@ Aws::EC2::Instance::Collection.send(:extend, Aws::Deprecations)
|
|
19
19
|
end
|
20
20
|
|
21
21
|
Aws::EC2::Tag::Collection.send(:alias_method, :delete, :batch_delete!)
|
22
|
-
Aws::EC2::Tag::Collection.
|
22
|
+
Aws::EC2::Tag::Collection.extend Aws::Deprecations
|
23
23
|
Aws::EC2::Tag::Collection.send(:deprecated, :delete, use: :batch_delete!)
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8054,7 +8054,13 @@ module Aws::EC2
|
|
8054
8054
|
# }
|
8055
8055
|
#
|
8056
8056
|
# @!attribute [rw] bucket
|
8057
|
-
# The Amazon S3 bucket in which to store the Spot Instance
|
8057
|
+
# The name of the Amazon S3 bucket in which to store the Spot Instance
|
8058
|
+
# data feed. For more information about bucket names, see [Rules for
|
8059
|
+
# bucket naming][1] in the *Amazon S3 Developer Guide*.
|
8060
|
+
#
|
8061
|
+
#
|
8062
|
+
#
|
8063
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
|
8058
8064
|
# @return [String]
|
8059
8065
|
#
|
8060
8066
|
# @!attribute [rw] dry_run
|
@@ -8065,7 +8071,7 @@ module Aws::EC2
|
|
8065
8071
|
# @return [Boolean]
|
8066
8072
|
#
|
8067
8073
|
# @!attribute [rw] prefix
|
8068
|
-
#
|
8074
|
+
# The prefix for the data feed file names.
|
8069
8075
|
# @return [String]
|
8070
8076
|
#
|
8071
8077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionRequest AWS API Documentation
|
@@ -16215,26 +16221,26 @@ module Aws::EC2
|
|
16215
16221
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
16216
16222
|
# in Mbps.
|
16217
16223
|
#
|
16218
|
-
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
16219
|
-
# baseline throughput performance for an EBS-optimized instance
|
16220
|
-
# type, in MBps.
|
16221
|
-
#
|
16222
16224
|
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
16223
16225
|
# input/output storage operations per second for an EBS-optimized
|
16224
16226
|
# instance type.
|
16225
16227
|
#
|
16228
|
+
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
16229
|
+
# baseline throughput performance for an EBS-optimized instance
|
16230
|
+
# type, in MBps.
|
16231
|
+
#
|
16226
16232
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
16227
16233
|
# maximum bandwidth performance for an EBS-optimized instance type,
|
16228
16234
|
# in Mbps.
|
16229
16235
|
#
|
16230
|
-
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
16231
|
-
# maximum throughput performance for an EBS-optimized instance type,
|
16232
|
-
# in MBps.
|
16233
|
-
#
|
16234
16236
|
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
16235
16237
|
# input/output storage operations per second for an EBS-optimized
|
16236
16238
|
# instance type.
|
16237
16239
|
#
|
16240
|
+
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
16241
|
+
# maximum throughput performance for an EBS-optimized instance type,
|
16242
|
+
# in MBps.
|
16243
|
+
#
|
16238
16244
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
16239
16245
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
16240
16246
|
#
|
@@ -16242,7 +16248,7 @@ module Aws::EC2
|
|
16242
16248
|
# is supported. (`supported` \| `unsupported`)
|
16243
16249
|
#
|
16244
16250
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
16245
|
-
# express (NVMe) is supported
|
16251
|
+
# express (NVMe) is supported for EBS volumes. (`required` \|
|
16246
16252
|
# `supported` \| `unsupported`)
|
16247
16253
|
#
|
16248
16254
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
@@ -16251,7 +16257,7 @@ module Aws::EC2
|
|
16251
16257
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation
|
16252
16258
|
# is supported. (`true` \| `false`)
|
16253
16259
|
#
|
16254
|
-
# * `hypervisor` - The hypervisor
|
16260
|
+
# * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
|
16255
16261
|
#
|
16256
16262
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
16257
16263
|
#
|
@@ -16261,21 +16267,28 @@ module Aws::EC2
|
|
16261
16267
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
16262
16268
|
# local instance storage disks. (`hdd` \| `ssd`)
|
16263
16269
|
#
|
16270
|
+
# * `instance-storage-info.nvme-support` - Indicates whether
|
16271
|
+
# non-volatile memory express (NVMe) is supported for instance
|
16272
|
+
# store. (`required` \| `supported`) \| `unsupported`)
|
16273
|
+
#
|
16264
16274
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
16265
16275
|
# storage available from all local instance storage, in GB.
|
16266
16276
|
#
|
16267
16277
|
# * `instance-storage-supported` - Indicates whether the instance type
|
16268
16278
|
# has local instance storage. (`true` \| `false`)
|
16269
16279
|
#
|
16280
|
+
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
16281
|
+
# c5*).
|
16282
|
+
#
|
16270
16283
|
# * `memory-info.size-in-mib` - The memory size.
|
16271
16284
|
#
|
16285
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
16286
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
16287
|
+
#
|
16272
16288
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
16273
16289
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
16274
16290
|
# \| `unsupported`)
|
16275
16291
|
#
|
16276
|
-
# * `network-info.efa-supported` - Indicates whether the instance type
|
16277
|
-
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
16278
|
-
#
|
16279
16292
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number
|
16280
16293
|
# of private IPv4 addresses per network interface.
|
16281
16294
|
#
|
@@ -16288,12 +16301,23 @@ module Aws::EC2
|
|
16288
16301
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
16289
16302
|
# network interfaces per instance.
|
16290
16303
|
#
|
16291
|
-
# * `network-info.network-performance` -
|
16292
|
-
#
|
16304
|
+
# * `network-info.network-performance` - The network performance (for
|
16305
|
+
# example, "25 Gigabit").
|
16306
|
+
#
|
16307
|
+
# * `processor-info.supported-architecture` - The CPU architecture.
|
16308
|
+
# (`arm64` \| `i386` \| `x86_64`)
|
16293
16309
|
#
|
16294
16310
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock
|
16295
16311
|
# speed, in GHz.
|
16296
16312
|
#
|
16313
|
+
# * `supported-root-device-type` - The root device type. (`ebs` \|
|
16314
|
+
# `instance-store`)
|
16315
|
+
#
|
16316
|
+
# * `supported-usage-class` - The usage class. (`on-demand` \| `spot`)
|
16317
|
+
#
|
16318
|
+
# * `supported-virtualization-type` - The virtualization type. (`hvm`
|
16319
|
+
# \| `paravirtual`)
|
16320
|
+
#
|
16297
16321
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
16298
16322
|
# instance type.
|
16299
16323
|
#
|
@@ -16302,6 +16326,13 @@ module Aws::EC2
|
|
16302
16326
|
#
|
16303
16327
|
# * `vcpu-info.default-vcpus` - The default number of vCPUs for the
|
16304
16328
|
# instance type.
|
16329
|
+
#
|
16330
|
+
# * `vcpu-info.valid-cores` - The number of cores that can be
|
16331
|
+
# configured for the instance type.
|
16332
|
+
#
|
16333
|
+
# * `vcpu-info.valid-threads-per-core` - The number of threads per
|
16334
|
+
# core that can be configured for the instance type. For example,
|
16335
|
+
# "1" or "1,2".
|
16305
16336
|
# @return [Array<Types::Filter>]
|
16306
16337
|
#
|
16307
16338
|
# @!attribute [rw] max_results
|
@@ -20474,8 +20505,10 @@ module Aws::EC2
|
|
20474
20505
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
20475
20506
|
#
|
20476
20507
|
# * `product-description` - The product description for the Spot price
|
20477
|
-
# (`Linux/UNIX` \| `
|
20478
|
-
#
|
20508
|
+
# (`Linux/UNIX` \| `Red Hat Enterprise Linux` \| `SUSE Linux` \|
|
20509
|
+
# `Windows` \| `Linux/UNIX (Amazon VPC)` \| `Red Hat Enterprise
|
20510
|
+
# Linux (Amazon VPC)` \| `SUSE Linux (Amazon VPC)` \| `Windows
|
20511
|
+
# (Amazon VPC)`).
|
20479
20512
|
#
|
20480
20513
|
# * `spot-price` - The Spot price. The value must match exactly (or
|
20481
20514
|
# use wildcards; greater than or less than comparison is not
|
@@ -31573,11 +31606,17 @@ module Aws::EC2
|
|
31573
31606
|
# Array describing the disks that are available for the instance type.
|
31574
31607
|
# @return [Array<Types::DiskInfo>]
|
31575
31608
|
#
|
31609
|
+
# @!attribute [rw] nvme_support
|
31610
|
+
# Indicates whether non-volatile memory express (NVMe) is supported
|
31611
|
+
# for instance store.
|
31612
|
+
# @return [String]
|
31613
|
+
#
|
31576
31614
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStorageInfo AWS API Documentation
|
31577
31615
|
#
|
31578
31616
|
class InstanceStorageInfo < Struct.new(
|
31579
31617
|
:total_size_in_gb,
|
31580
|
-
:disks
|
31618
|
+
:disks,
|
31619
|
+
:nvme_support)
|
31581
31620
|
SENSITIVE = []
|
31582
31621
|
include Aws::Structure
|
31583
31622
|
end
|
@@ -42086,6 +42125,10 @@ module Aws::EC2
|
|
42086
42125
|
#
|
42087
42126
|
# You can't specify an Availability Zone group or a launch group if
|
42088
42127
|
# you specify a duration.
|
42128
|
+
#
|
42129
|
+
# New accounts or accounts with no previous billing history with AWS
|
42130
|
+
# are not eligible for Spot Instances with a defined duration (also
|
42131
|
+
# known as Spot blocks).
|
42089
42132
|
# @return [Integer]
|
42090
42133
|
#
|
42091
42134
|
# @!attribute [rw] client_token
|
@@ -42147,11 +42190,17 @@ module Aws::EC2
|
|
42147
42190
|
# @return [Time]
|
42148
42191
|
#
|
42149
42192
|
# @!attribute [rw] valid_until
|
42150
|
-
# The end date of the request
|
42151
|
-
#
|
42152
|
-
#
|
42153
|
-
#
|
42154
|
-
#
|
42193
|
+
# The end date of the request, in UTC format
|
42194
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
42195
|
+
#
|
42196
|
+
# * For a persistent request, the request remains active until the
|
42197
|
+
# `ValidUntil` date and time is reached. Otherwise, the request
|
42198
|
+
# remains active until you cancel it.
|
42199
|
+
#
|
42200
|
+
# * For a one-time request, the request remains active until all
|
42201
|
+
# instances launch, the request is canceled, or the `ValidUntil`
|
42202
|
+
# date and time is reached. By default, the request is valid for 7
|
42203
|
+
# days from the date the request was created.
|
42155
42204
|
# @return [Time]
|
42156
42205
|
#
|
42157
42206
|
# @!attribute [rw] tag_specifications
|
@@ -42388,7 +42437,9 @@ module Aws::EC2
|
|
42388
42437
|
include Aws::Structure
|
42389
42438
|
end
|
42390
42439
|
|
42391
|
-
# Describes a
|
42440
|
+
# Describes a launch request for one or more instances, and includes
|
42441
|
+
# owner, requester, and security group information that applies to all
|
42442
|
+
# instances in the launch request.
|
42392
42443
|
#
|
42393
42444
|
# @!attribute [rw] groups
|
42394
42445
|
# \[EC2-Classic only\] The security groups.
|
@@ -46435,7 +46486,8 @@ module Aws::EC2
|
|
46435
46486
|
# Describes the data feed for a Spot Instance.
|
46436
46487
|
#
|
46437
46488
|
# @!attribute [rw] bucket
|
46438
|
-
# The Amazon S3 bucket where the Spot Instance data feed
|
46489
|
+
# The name of the Amazon S3 bucket where the Spot Instance data feed
|
46490
|
+
# is located.
|
46439
46491
|
# @return [String]
|
46440
46492
|
#
|
46441
46493
|
# @!attribute [rw] fault
|
@@ -46447,7 +46499,7 @@ module Aws::EC2
|
|
46447
46499
|
# @return [String]
|
46448
46500
|
#
|
46449
46501
|
# @!attribute [rw] prefix
|
46450
|
-
# The prefix
|
46502
|
+
# The prefix for the data feed files.
|
46451
46503
|
# @return [String]
|
46452
46504
|
#
|
46453
46505
|
# @!attribute [rw] state
|
@@ -46467,7 +46519,8 @@ module Aws::EC2
|
|
46467
46519
|
end
|
46468
46520
|
|
46469
46521
|
# Describes the launch specification for one or more Spot Instances. If
|
46470
|
-
# you include On-Demand capacity in your fleet request
|
46522
|
+
# you include On-Demand capacity in your fleet request or want to
|
46523
|
+
# specify an EFA network device, you can't use
|
46471
46524
|
# `SpotFleetLaunchSpecification`; you must use
|
46472
46525
|
# [LaunchTemplateConfig][1].
|
46473
46526
|
#
|
@@ -46622,6 +46675,16 @@ module Aws::EC2
|
|
46622
46675
|
# One or more network interfaces. If you specify a network interface,
|
46623
46676
|
# you must specify subnet IDs and security group IDs using the network
|
46624
46677
|
# interface.
|
46678
|
+
#
|
46679
|
+
# <note markdown="1"> `SpotFleetLaunchSpecification` currently does not support Elastic
|
46680
|
+
# Fabric Adapter (EFA). To specify an EFA, you must use
|
46681
|
+
# [LaunchTemplateConfig][1].
|
46682
|
+
#
|
46683
|
+
# </note>
|
46684
|
+
#
|
46685
|
+
#
|
46686
|
+
#
|
46687
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html
|
46625
46688
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
46626
46689
|
#
|
46627
46690
|
# @!attribute [rw] placement
|
@@ -47279,12 +47342,17 @@ module Aws::EC2
|
|
47279
47342
|
# @return [Time]
|
47280
47343
|
#
|
47281
47344
|
# @!attribute [rw] valid_until
|
47282
|
-
# The end date of the request, in UTC format
|
47283
|
-
# *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
47284
|
-
#
|
47285
|
-
#
|
47286
|
-
#
|
47287
|
-
#
|
47345
|
+
# The end date of the request, in UTC format
|
47346
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
47347
|
+
#
|
47348
|
+
# * For a persistent request, the request remains active until the
|
47349
|
+
# `validUntil` date and time is reached. Otherwise, the request
|
47350
|
+
# remains active until you cancel it.
|
47351
|
+
#
|
47352
|
+
# * For a one-time request, the request remains active until all
|
47353
|
+
# instances launch, the request is canceled, or the `validUntil`
|
47354
|
+
# date and time is reached. By default, the request is valid for 7
|
47355
|
+
# days from the date the request was created.
|
47288
47356
|
# @return [Time]
|
47289
47357
|
#
|
47290
47358
|
# @!attribute [rw] instance_interruption_behavior
|
@@ -47399,14 +47467,33 @@ module Aws::EC2
|
|
47399
47467
|
# The required duration for the Spot Instances (also known as Spot
|
47400
47468
|
# blocks), in minutes. This value must be a multiple of 60 (60, 120,
|
47401
47469
|
# 180, 240, 300, or 360).
|
47470
|
+
#
|
47471
|
+
# The duration period starts as soon as your Spot Instance receives
|
47472
|
+
# its instance ID. At the end of the duration period, Amazon EC2 marks
|
47473
|
+
# the Spot Instance for termination and provides a Spot Instance
|
47474
|
+
# termination notice, which gives the instance a two-minute warning
|
47475
|
+
# before it terminates.
|
47476
|
+
#
|
47477
|
+
# You can't specify an Availability Zone group or a launch group if
|
47478
|
+
# you specify a duration.
|
47479
|
+
#
|
47480
|
+
# New accounts or accounts with no previous billing history with AWS
|
47481
|
+
# are not eligible for Spot Instances with a defined duration (also
|
47482
|
+
# known as Spot blocks).
|
47402
47483
|
# @return [Integer]
|
47403
47484
|
#
|
47404
47485
|
# @!attribute [rw] valid_until
|
47405
|
-
# The end date of the request
|
47406
|
-
#
|
47407
|
-
#
|
47408
|
-
#
|
47409
|
-
#
|
47486
|
+
# The end date of the request, in UTC format
|
47487
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z). Supported only for persistent
|
47488
|
+
# requests.
|
47489
|
+
#
|
47490
|
+
# * For a persistent request, the request remains active until the
|
47491
|
+
# `ValidUntil` date and time is reached. Otherwise, the request
|
47492
|
+
# remains active until you cancel it.
|
47493
|
+
#
|
47494
|
+
# * For a one-time request, `ValidUntil` is not supported. The request
|
47495
|
+
# remains active until all instances launch or you cancel the
|
47496
|
+
# request.
|
47410
47497
|
# @return [Time]
|
47411
47498
|
#
|
47412
47499
|
# @!attribute [rw] instance_interruption_behavior
|
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.201.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: 2020-10-
|
11
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|