aws-sdk-ec2 1.211.0 → 1.216.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 +1796 -243
- data/lib/aws-sdk-ec2/client_api.rb +603 -2
- data/lib/aws-sdk-ec2/instance.rb +35 -6
- data/lib/aws-sdk-ec2/resource.rb +88 -50
- data/lib/aws-sdk-ec2/snapshot.rb +5 -5
- data/lib/aws-sdk-ec2/subnet.rb +5 -4
- data/lib/aws-sdk-ec2/types.rb +2420 -243
- data/lib/aws-sdk-ec2/volume.rb +18 -31
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- metadata +2 -2
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -91,28 +91,11 @@ module Aws::EC2
|
|
91
91
|
data[:state]
|
92
92
|
end
|
93
93
|
|
94
|
-
# The number of I/O operations per second (IOPS)
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
# more information, see [Amazon EBS volume types][1] in the *Amazon
|
100
|
-
# Elastic Compute Cloud User Guide*.
|
101
|
-
#
|
102
|
-
# Constraints: Range is 100-16,000 IOPS for `gp2` volumes and 100 to
|
103
|
-
# 64,000 IOPS for `io1` and `io2` volumes, in most Regions. The maximum
|
104
|
-
# IOPS for `io1` and `io2` of 64,000 is guaranteed only on [Nitro-based
|
105
|
-
# instances][2]. Other instance families guarantee performance up to
|
106
|
-
# 32,000 IOPS.
|
107
|
-
#
|
108
|
-
# Condition: This parameter is required for requests to create `io1` and
|
109
|
-
# `io2` volumes; it is not used in requests to create `gp2`, `st1`,
|
110
|
-
# `sc1`, or `standard` volumes.
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
115
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
94
|
+
# The number of I/O operations per second (IOPS). For `gp3`, `io1`, and
|
95
|
+
# `io2` volumes, this represents the number of IOPS that are provisioned
|
96
|
+
# for the volume. For `gp2` volumes, this represents the baseline
|
97
|
+
# performance of the volume and the rate at which the volume accumulates
|
98
|
+
# I/O credits for bursting.
|
116
99
|
# @return [Integer]
|
117
100
|
def iops
|
118
101
|
data[:iops]
|
@@ -124,9 +107,7 @@ module Aws::EC2
|
|
124
107
|
data[:tags]
|
125
108
|
end
|
126
109
|
|
127
|
-
# The volume type.
|
128
|
-
# `io2` for Provisioned IOPS SSD, `st1` for Throughput Optimized HDD,
|
129
|
-
# `sc1` for Cold HDD, or `standard` for Magnetic volumes.
|
110
|
+
# The volume type.
|
130
111
|
# @return [String]
|
131
112
|
def volume_type
|
132
113
|
data[:volume_type]
|
@@ -144,6 +125,12 @@ module Aws::EC2
|
|
144
125
|
data[:multi_attach_enabled]
|
145
126
|
end
|
146
127
|
|
128
|
+
# The throughput that the volume supports, in MiB/s.
|
129
|
+
# @return [Integer]
|
130
|
+
def throughput
|
131
|
+
data[:throughput]
|
132
|
+
end
|
133
|
+
|
147
134
|
# @!endgroup
|
148
135
|
|
149
136
|
# @return [Client]
|
@@ -308,7 +295,7 @@ module Aws::EC2
|
|
308
295
|
# description: "String",
|
309
296
|
# tag_specifications: [
|
310
297
|
# {
|
311
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
298
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
312
299
|
# tags: [
|
313
300
|
# {
|
314
301
|
# key: "String",
|
@@ -513,11 +500,11 @@ module Aws::EC2
|
|
513
500
|
# used, the request only returns `MaxResults` results in a single page
|
514
501
|
# along with a `NextToken` response element. The remaining results of
|
515
502
|
# the initial request can be seen by sending another request with the
|
516
|
-
# returned `NextToken` value. This value can be between 5 and
|
517
|
-
# `MaxResults` is given a value larger than
|
518
|
-
# returned. If this parameter is not used, then
|
519
|
-
# returns all results. You cannot specify this
|
520
|
-
# IDs parameter in the same request.
|
503
|
+
# returned `NextToken` value. This value can be between 5 and 1,000; if
|
504
|
+
# `MaxResults` is given a value larger than 1,000, only 1,000 results
|
505
|
+
# are returned. If this parameter is not used, then
|
506
|
+
# `DescribeVolumeStatus` returns all results. You cannot specify this
|
507
|
+
# parameter and the volume IDs parameter in the same request.
|
521
508
|
# @option options [String] :next_token
|
522
509
|
# The `NextToken` value to include in a future `DescribeVolumeStatus`
|
523
510
|
# request. When the results of the request exceed `MaxResults`, this
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -346,7 +346,7 @@ module Aws::EC2
|
|
346
346
|
# dry_run: false,
|
347
347
|
# tag_specifications: [
|
348
348
|
# {
|
349
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
349
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
350
350
|
# tags: [
|
351
351
|
# {
|
352
352
|
# key: "String",
|
@@ -381,7 +381,7 @@ module Aws::EC2
|
|
381
381
|
# dry_run: false,
|
382
382
|
# tag_specifications: [
|
383
383
|
# {
|
384
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
384
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
385
385
|
# tags: [
|
386
386
|
# {
|
387
387
|
# key: "String",
|
@@ -417,7 +417,7 @@ module Aws::EC2
|
|
417
417
|
# group_name: "String", # required
|
418
418
|
# tag_specifications: [
|
419
419
|
# {
|
420
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
420
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
421
421
|
# tags: [
|
422
422
|
# {
|
423
423
|
# key: "String",
|
@@ -469,7 +469,7 @@ module Aws::EC2
|
|
469
469
|
# subnet = vpc.create_subnet({
|
470
470
|
# tag_specifications: [
|
471
471
|
# {
|
472
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
472
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
473
473
|
# tags: [
|
474
474
|
# {
|
475
475
|
# key: "String",
|
@@ -778,7 +778,7 @@ module Aws::EC2
|
|
778
778
|
# peer_region: "String",
|
779
779
|
# tag_specifications: [
|
780
780
|
# {
|
781
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
781
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
782
782
|
# tags: [
|
783
783
|
# {
|
784
784
|
# key: "String",
|
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.216.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-
|
11
|
+
date: 2020-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|