aws-sdk-ec2 1.250.0 → 1.251.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +516 -93
- data/lib/aws-sdk-ec2/client_api.rb +167 -3
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +30 -2
- data/lib/aws-sdk-ec2/resource.rb +66 -28
- data/lib/aws-sdk-ec2/route.rb +2 -2
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +41 -1
- data/lib/aws-sdk-ec2/types.rb +864 -113
- data/lib/aws-sdk-ec2/vpc.rb +26 -27
- metadata +2 -2
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -53,7 +53,7 @@ module Aws::EC2
|
|
53
53
|
data[:state]
|
54
54
|
end
|
55
55
|
|
56
|
-
# The ID of the
|
56
|
+
# The ID of the account that owns the VPC.
|
57
57
|
# @return [String]
|
58
58
|
def owner_id
|
59
59
|
data[:owner_id]
|
@@ -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
|
@@ -491,9 +491,9 @@ module Aws::EC2
|
|
491
491
|
# @option options [String] :availability_zone
|
492
492
|
# The Availability Zone or Local Zone for the subnet.
|
493
493
|
#
|
494
|
-
# Default:
|
495
|
-
# in your VPC, we do not necessarily select a different
|
496
|
-
# subnet.
|
494
|
+
# Default: Amazon Web Services selects one for you. If you create more
|
495
|
+
# than one subnet in your VPC, we do not necessarily select a different
|
496
|
+
# zone for each subnet.
|
497
497
|
#
|
498
498
|
# To create a subnet in a Local Zone, set this value to the Local Zone
|
499
499
|
# ID, for example `us-west-2-lax-1a`. For information about the Regions
|
@@ -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)
|
@@ -795,9 +795,9 @@ module Aws::EC2
|
|
795
795
|
# If you have the required permissions, the error response is
|
796
796
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
797
797
|
# @option options [String] :peer_owner_id
|
798
|
-
# The
|
798
|
+
# The account ID of the owner of the accepter VPC.
|
799
799
|
#
|
800
|
-
# Default: Your
|
800
|
+
# Default: Your account ID
|
801
801
|
# @option options [String] :peer_vpc_id
|
802
802
|
# The ID of the VPC with which you are creating the VPC peering
|
803
803
|
# connection. You must specify this parameter in the request.
|
@@ -840,8 +840,8 @@ module Aws::EC2
|
|
840
840
|
# * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
|
841
841
|
# VPC.
|
842
842
|
#
|
843
|
-
# * `accepter-vpc-info.owner-id` - The
|
844
|
-
#
|
843
|
+
# * `accepter-vpc-info.owner-id` - The ID of the account that owns the
|
844
|
+
# accepter VPC.
|
845
845
|
#
|
846
846
|
# * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
|
847
847
|
#
|
@@ -851,8 +851,8 @@ module Aws::EC2
|
|
851
851
|
# * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
|
852
852
|
# requester's VPC.
|
853
853
|
#
|
854
|
-
# * `requester-vpc-info.owner-id` - The
|
855
|
-
#
|
854
|
+
# * `requester-vpc-info.owner-id` - The ID of the account that owns the
|
855
|
+
# requester VPC.
|
856
856
|
#
|
857
857
|
# * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
|
858
858
|
#
|
@@ -1265,8 +1265,7 @@ module Aws::EC2
|
|
1265
1265
|
#
|
1266
1266
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
1267
1267
|
#
|
1268
|
-
# * `owner-id` - The ID of the
|
1269
|
-
# gateway.
|
1268
|
+
# * `owner-id` - The ID of the account that owns the internet gateway.
|
1270
1269
|
#
|
1271
1270
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1272
1271
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -1362,7 +1361,7 @@ module Aws::EC2
|
|
1362
1361
|
#
|
1363
1362
|
# * `network-acl-id` - The ID of the network ACL.
|
1364
1363
|
#
|
1365
|
-
# * `owner-id` - The ID of the
|
1364
|
+
# * `owner-id` - The ID of the account that owns the network ACL.
|
1366
1365
|
#
|
1367
1366
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1368
1367
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -1579,8 +1578,8 @@ module Aws::EC2
|
|
1579
1578
|
# * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
|
1580
1579
|
# VPC.
|
1581
1580
|
#
|
1582
|
-
# * `accepter-vpc-info.owner-id` - The
|
1583
|
-
#
|
1581
|
+
# * `accepter-vpc-info.owner-id` - The ID of the account that owns the
|
1582
|
+
# accepter VPC.
|
1584
1583
|
#
|
1585
1584
|
# * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
|
1586
1585
|
#
|
@@ -1590,8 +1589,8 @@ module Aws::EC2
|
|
1590
1589
|
# * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
|
1591
1590
|
# requester's VPC.
|
1592
1591
|
#
|
1593
|
-
# * `requester-vpc-info.owner-id` - The
|
1594
|
-
#
|
1592
|
+
# * `requester-vpc-info.owner-id` - The ID of the account that owns the
|
1593
|
+
# requester VPC.
|
1595
1594
|
#
|
1596
1595
|
# * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
|
1597
1596
|
#
|
@@ -1674,7 +1673,7 @@ module Aws::EC2
|
|
1674
1673
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
1675
1674
|
# not have an association ID are not returned in the response.
|
1676
1675
|
#
|
1677
|
-
# * `owner-id` - The ID of the
|
1676
|
+
# * `owner-id` - The ID of the account that owns the route table.
|
1678
1677
|
#
|
1679
1678
|
# * `route-table-id` - The ID of the route table.
|
1680
1679
|
#
|
@@ -1684,8 +1683,8 @@ module Aws::EC2
|
|
1684
1683
|
# * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
|
1685
1684
|
# in a route in the route table.
|
1686
1685
|
#
|
1687
|
-
# * `route.destination-prefix-list-id` - The ID (prefix) of the
|
1688
|
-
#
|
1686
|
+
# * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
|
1687
|
+
# Web Service specified in a route in the table.
|
1689
1688
|
#
|
1690
1689
|
# * `route.egress-only-internet-gateway-id` - The ID of an egress-only
|
1691
1690
|
# Internet gateway specified in a route in the route table.
|
@@ -1940,7 +1939,7 @@ module Aws::EC2
|
|
1940
1939
|
#
|
1941
1940
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1942
1941
|
#
|
1943
|
-
# * `owner-id` - The ID of the
|
1942
|
+
# * `owner-id` - The ID of the account that owns the subnet.
|
1944
1943
|
#
|
1945
1944
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
1946
1945
|
#
|
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.251.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-07-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|