aws-sdk-ec2 1.224.0 → 1.229.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/CHANGELOG.md +1262 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ec2.rb +2 -2
- data/lib/aws-sdk-ec2/classic_address.rb +5 -5
- data/lib/aws-sdk-ec2/client.rb +153 -117
- data/lib/aws-sdk-ec2/client_api.rb +16 -6
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
- data/lib/aws-sdk-ec2/errors.rb +1 -1
- data/lib/aws-sdk-ec2/image.rb +17 -6
- data/lib/aws-sdk-ec2/instance.rb +19 -15
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair_info.rb +1 -1
- data/lib/aws-sdk-ec2/nat_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +3 -3
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -1
- data/lib/aws-sdk-ec2/placement_group.rb +3 -1
- data/lib/aws-sdk-ec2/resource.rb +36 -22
- data/lib/aws-sdk-ec2/route.rb +1 -1
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/route_table_association.rb +1 -1
- data/lib/aws-sdk-ec2/security_group.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +7 -6
- data/lib/aws-sdk-ec2/tag.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +290 -204
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +18 -15
- data/lib/aws-sdk-ec2/vpc_address.rb +7 -7
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +1 -1
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +8 -5
data/lib/aws-sdk-ec2/volume.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -480,10 +480,10 @@ module Aws::EC2
|
|
|
480
480
|
# ],
|
|
481
481
|
# availability_zone: "String",
|
|
482
482
|
# availability_zone_id: "String",
|
|
483
|
-
# cidr_block: "String", # required
|
|
484
483
|
# ipv_6_cidr_block: "String",
|
|
485
484
|
# outpost_arn: "String",
|
|
486
485
|
# dry_run: false,
|
|
486
|
+
# cidr_block: "String", # required
|
|
487
487
|
# })
|
|
488
488
|
# @param [Hash] options ({})
|
|
489
489
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
@@ -508,11 +508,6 @@ module Aws::EC2
|
|
|
508
508
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
|
509
509
|
# @option options [String] :availability_zone_id
|
|
510
510
|
# The AZ ID or the Local Zone ID of the subnet.
|
|
511
|
-
# @option options [required, String] :cidr_block
|
|
512
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
|
513
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
|
514
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
|
515
|
-
# `100.68.0.0/18`.
|
|
516
511
|
# @option options [String] :ipv_6_cidr_block
|
|
517
512
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
|
518
513
|
# size must use a /64 prefix length.
|
|
@@ -525,6 +520,11 @@ module Aws::EC2
|
|
|
525
520
|
# without actually making the request, and provides an error response.
|
|
526
521
|
# If you have the required permissions, the error response is
|
|
527
522
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
523
|
+
# @option options [required, String] :cidr_block
|
|
524
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
|
525
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
|
526
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
|
527
|
+
# `100.68.0.0/18`.
|
|
528
528
|
# @return [Subnet]
|
|
529
529
|
def create_subnet(options = {})
|
|
530
530
|
options = options.merge(vpc_id: @id)
|
|
@@ -1128,6 +1128,8 @@ module Aws::EC2
|
|
|
1128
1128
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
|
1129
1129
|
# interface.
|
|
1130
1130
|
#
|
|
1131
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
|
1132
|
+
#
|
|
1131
1133
|
# * `owner-id` - The AWS account ID of the instance owner.
|
|
1132
1134
|
#
|
|
1133
1135
|
# * `placement-group-name` - The name of the placement group for the
|
|
@@ -1495,9 +1497,8 @@ module Aws::EC2
|
|
|
1495
1497
|
# * `private-dns-name` - The private DNS name of the network interface
|
|
1496
1498
|
# (IPv4).
|
|
1497
1499
|
#
|
|
1498
|
-
# * `requester-id` - The
|
|
1499
|
-
#
|
|
1500
|
-
# so on).
|
|
1500
|
+
# * `requester-id` - The alias or AWS account ID of the principal or
|
|
1501
|
+
# service that created the network interface.
|
|
1501
1502
|
#
|
|
1502
1503
|
# * `requester-managed` - Indicates whether the network interface is
|
|
1503
1504
|
# being managed by an AWS service (for example, AWS Management
|
|
@@ -1789,7 +1790,7 @@ module Aws::EC2
|
|
|
1789
1790
|
# has been referenced in an outbound security group rule.
|
|
1790
1791
|
#
|
|
1791
1792
|
# * `egress.ip-permission.group-name` - The name of a security group
|
|
1792
|
-
# that
|
|
1793
|
+
# that is referenced in an outbound security group rule.
|
|
1793
1794
|
#
|
|
1794
1795
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
|
1795
1796
|
# outbound security group rule.
|
|
@@ -1798,7 +1799,8 @@ module Aws::EC2
|
|
|
1798
1799
|
# which a security group rule allows outbound access.
|
|
1799
1800
|
#
|
|
1800
1801
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
|
1801
|
-
# security group rule (`tcp` \| `udp` \| `icmp
|
|
1802
|
+
# security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
|
|
1803
|
+
# -1 for all protocols).
|
|
1802
1804
|
#
|
|
1803
1805
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
|
1804
1806
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
|
@@ -1819,8 +1821,8 @@ module Aws::EC2
|
|
|
1819
1821
|
# * `ip-permission.group-id` - The ID of a security group that has been
|
|
1820
1822
|
# referenced in an inbound security group rule.
|
|
1821
1823
|
#
|
|
1822
|
-
# * `ip-permission.group-name` - The name of a security group that
|
|
1823
|
-
#
|
|
1824
|
+
# * `ip-permission.group-name` - The name of a security group that is
|
|
1825
|
+
# referenced in an inbound security group rule.
|
|
1824
1826
|
#
|
|
1825
1827
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
|
1826
1828
|
# security group rule.
|
|
@@ -1829,7 +1831,8 @@ module Aws::EC2
|
|
|
1829
1831
|
# a security group rule allows inbound access.
|
|
1830
1832
|
#
|
|
1831
1833
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
|
1832
|
-
# group rule (`tcp` \| `udp` \| `icmp
|
|
1834
|
+
# group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
|
|
1835
|
+
# all protocols).
|
|
1833
1836
|
#
|
|
1834
1837
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
|
1835
1838
|
# for the TCP and UDP protocols, or an ICMP code.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -263,13 +263,13 @@ module Aws::EC2
|
|
|
263
263
|
# })
|
|
264
264
|
# @param [Hash] options ({})
|
|
265
265
|
# @option options [String] :instance_id
|
|
266
|
-
# The ID of the instance.
|
|
267
|
-
# you can specify either the instance ID
|
|
268
|
-
# but not both.
|
|
269
|
-
#
|
|
266
|
+
# The ID of the instance. The instance must have exactly one attached
|
|
267
|
+
# network interface. For EC2-VPC, you can specify either the instance ID
|
|
268
|
+
# or the network interface ID, but not both. For EC2-Classic, you must
|
|
269
|
+
# specify an instance ID and the instance must be in the running state.
|
|
270
270
|
# @option options [String] :public_ip
|
|
271
|
-
# The Elastic IP address to associate with the instance.
|
|
272
|
-
# required for EC2-Classic.
|
|
271
|
+
# \[EC2-Classic\] The Elastic IP address to associate with the instance.
|
|
272
|
+
# This is required for EC2-Classic.
|
|
273
273
|
# @option options [Boolean] :allow_reassociation
|
|
274
274
|
# \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
|
|
275
275
|
# an Elastic IP address that is already associated with an instance or
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
data/lib/aws-sdk-ec2/waiters.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
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.229.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: 2021-
|
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|
|
@@ -47,11 +47,14 @@ dependencies:
|
|
|
47
47
|
description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
|
|
48
48
|
This gem is part of the AWS SDK for Ruby.
|
|
49
49
|
email:
|
|
50
|
-
-
|
|
50
|
+
- aws-dr-rubygems@amazon.com
|
|
51
51
|
executables: []
|
|
52
52
|
extensions: []
|
|
53
53
|
extra_rdoc_files: []
|
|
54
54
|
files:
|
|
55
|
+
- CHANGELOG.md
|
|
56
|
+
- LICENSE.txt
|
|
57
|
+
- VERSION
|
|
55
58
|
- lib/aws-sdk-ec2.rb
|
|
56
59
|
- lib/aws-sdk-ec2/classic_address.rb
|
|
57
60
|
- lib/aws-sdk-ec2/client.rb
|
|
@@ -91,8 +94,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
|
91
94
|
licenses:
|
|
92
95
|
- Apache-2.0
|
|
93
96
|
metadata:
|
|
94
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
95
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
97
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2
|
|
98
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2/CHANGELOG.md
|
|
96
99
|
post_install_message:
|
|
97
100
|
rdoc_options: []
|
|
98
101
|
require_paths:
|