aws-sdk-ec2 1.208.0 → 1.213.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +364 -201
- data/lib/aws-sdk-ec2/client_api.rb +24 -1
- data/lib/aws-sdk-ec2/instance.rb +4 -5
- data/lib/aws-sdk-ec2/resource.rb +72 -34
- data/lib/aws-sdk-ec2/route.rb +4 -0
- data/lib/aws-sdk-ec2/route_table.rb +4 -0
- data/lib/aws-sdk-ec2/snapshot.rb +4 -4
- data/lib/aws-sdk-ec2/subnet.rb +3 -2
- data/lib/aws-sdk-ec2/types.rb +404 -190
- data/lib/aws-sdk-ec2/volume.rb +17 -30
- 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]
|
@@ -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
|
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.213.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-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|