aws-sdk-ec2 1.80.0 → 1.81.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/classic_address.rb +3 -0
- data/lib/aws-sdk-ec2/client.rb +245 -177
- data/lib/aws-sdk-ec2/client_api.rb +8 -2
- data/lib/aws-sdk-ec2/dhcp_options.rb +3 -3
- data/lib/aws-sdk-ec2/image.rb +8 -8
- data/lib/aws-sdk-ec2/instance.rb +8 -7
- data/lib/aws-sdk-ec2/internet_gateway.rb +3 -3
- data/lib/aws-sdk-ec2/network_acl.rb +3 -3
- data/lib/aws-sdk-ec2/network_interface.rb +4 -4
- data/lib/aws-sdk-ec2/placement_group.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +51 -26
- data/lib/aws-sdk-ec2/route_table.rb +3 -3
- data/lib/aws-sdk-ec2/security_group.rb +32 -23
- data/lib/aws-sdk-ec2/snapshot.rb +3 -3
- data/lib/aws-sdk-ec2/subnet.rb +43 -22
- data/lib/aws-sdk-ec2/tag.rb +5 -5
- data/lib/aws-sdk-ec2/types.rb +326 -206
- data/lib/aws-sdk-ec2/volume.rb +6 -3
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2/vpc_address.rb +5 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -333,9 +333,9 @@ module Aws::EC2
|
|
333
333
|
# If you have the required permissions, the error response is
|
334
334
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
335
335
|
# @option options [required, Array<Types::Tag>] :tags
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
336
|
+
# The tags. The `value` parameter is required, but if you don't want
|
337
|
+
# the tag to have a value, specify the parameter with no value, and we
|
338
|
+
# set the value to an empty string.
|
339
339
|
# @return [Tag::Collection]
|
340
340
|
def create_tags(options = {})
|
341
341
|
batch = []
|
@@ -565,6 +565,9 @@ module Aws::EC2
|
|
565
565
|
#
|
566
566
|
# * `description` - A description of the snapshot.
|
567
567
|
#
|
568
|
+
# * `encrypted` - Indicates whether the snapshot is encrypted (`true` \|
|
569
|
+
# `false`)
|
570
|
+
#
|
568
571
|
# * `owner-alias` - Value from an Amazon-maintained list (`amazon` \|
|
569
572
|
# `self` \| `all` \| `aws-marketplace` \| `microsoft`) of snapshot
|
570
573
|
# owners. Not to be confused with the user-configured AWS account
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -478,9 +478,9 @@ module Aws::EC2
|
|
478
478
|
# If you have the required permissions, the error response is
|
479
479
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
480
480
|
# @option options [required, Array<Types::Tag>] :tags
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
481
|
+
# The tags. The `value` parameter is required, but if you don't want
|
482
|
+
# the tag to have a value, specify the parameter with no value, and we
|
483
|
+
# set the value to an empty string.
|
484
484
|
# @return [Tag::Collection]
|
485
485
|
def create_tags(options = {})
|
486
486
|
batch = []
|
@@ -992,8 +992,8 @@ module Aws::EC2
|
|
992
992
|
# * `placement-partition-number` - The partition in which the instance
|
993
993
|
# is located.
|
994
994
|
#
|
995
|
-
# * `platform` - The platform.
|
996
|
-
#
|
995
|
+
# * `platform` - The platform. To list only Windows instances, use
|
996
|
+
# `windows`.
|
997
997
|
#
|
998
998
|
# * `private-dns-name` - The private IPv4 DNS name of the instance.
|
999
999
|
#
|
@@ -1362,7 +1362,7 @@ module Aws::EC2
|
|
1362
1362
|
# being managed by an AWS service (for example, AWS Management
|
1363
1363
|
# Console, Auto Scaling, and so on).
|
1364
1364
|
#
|
1365
|
-
# * `source-
|
1365
|
+
# * `source-dest-check` - Indicates whether the network interface
|
1366
1366
|
# performs source/destination checking. A value of `true` means
|
1367
1367
|
# checking is enabled, and `false` means checking is disabled. The
|
1368
1368
|
# value must be `false` for the network interface to perform network
|
@@ -235,7 +235,8 @@ module Aws::EC2
|
|
235
235
|
# but not both. The operation fails if you specify an instance ID unless
|
236
236
|
# exactly one network interface is attached.
|
237
237
|
# @option options [String] :public_ip
|
238
|
-
# The Elastic IP address
|
238
|
+
# The Elastic IP address to associate with the instance. This is
|
239
|
+
# required for EC2-Classic.
|
239
240
|
# @option options [Boolean] :allow_reassociation
|
240
241
|
# \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
|
241
242
|
# an Elastic IP address that is already associated with an instance or
|
@@ -252,6 +253,9 @@ module Aws::EC2
|
|
252
253
|
# @option options [String] :network_interface_id
|
253
254
|
# \[EC2-VPC\] The ID of the network interface. If the instance has more
|
254
255
|
# than one network interface, you must specify a network interface ID.
|
256
|
+
#
|
257
|
+
# For EC2-VPC, you can specify either the instance ID or the network
|
258
|
+
# interface ID, but not both.
|
255
259
|
# @option options [String] :private_ip_address
|
256
260
|
# \[EC2-VPC\] The primary or secondary private IP address to associate
|
257
261
|
# with the Elastic IP address. If no private IP address is specified,
|
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.81.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: 2019-04-
|
11
|
+
date: 2019-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|