aws-sdk-ec2 1.278.0 → 1.282.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +242 -77
- data/lib/aws-sdk-ec2/client_api.rb +72 -1
- data/lib/aws-sdk-ec2/instance.rb +14 -2
- data/lib/aws-sdk-ec2/network_interface.rb +13 -0
- data/lib/aws-sdk-ec2/resource.rb +31 -13
- data/lib/aws-sdk-ec2/route.rb +7 -0
- data/lib/aws-sdk-ec2/route_table.rb +2 -0
- data/lib/aws-sdk-ec2/subnet.rb +39 -9
- data/lib/aws-sdk-ec2/types.rb +561 -122
- data/lib/aws-sdk-ec2/vpc.rb +14 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -480,10 +480,11 @@ module Aws::EC2
|
|
480
480
|
# ],
|
481
481
|
# availability_zone: "String",
|
482
482
|
# availability_zone_id: "String",
|
483
|
-
# cidr_block: "String",
|
483
|
+
# cidr_block: "String",
|
484
484
|
# ipv_6_cidr_block: "String",
|
485
485
|
# outpost_arn: "String",
|
486
486
|
# dry_run: false,
|
487
|
+
# ipv_6_native: false,
|
487
488
|
# })
|
488
489
|
# @param [Hash] options ({})
|
489
490
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -508,14 +509,18 @@ module Aws::EC2
|
|
508
509
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
509
510
|
# @option options [String] :availability_zone_id
|
510
511
|
# The AZ ID or the Local Zone ID of the subnet.
|
511
|
-
# @option options [
|
512
|
+
# @option options [String] :cidr_block
|
512
513
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
513
514
|
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
514
515
|
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
515
516
|
# `100.68.0.0/18`.
|
517
|
+
#
|
518
|
+
# This parameter is not supported for an IPv6 only subnet.
|
516
519
|
# @option options [String] :ipv_6_cidr_block
|
517
520
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
518
521
|
# size must use a /64 prefix length.
|
522
|
+
#
|
523
|
+
# This parameter is required for an IPv6 only subnet.
|
519
524
|
# @option options [String] :outpost_arn
|
520
525
|
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
521
526
|
# Outpost ARN, you must also specify the Availability Zone of the
|
@@ -525,6 +530,8 @@ module Aws::EC2
|
|
525
530
|
# without actually making the request, and provides an error response.
|
526
531
|
# If you have the required permissions, the error response is
|
527
532
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
533
|
+
# @option options [Boolean] :ipv_6_native
|
534
|
+
# Indicates whether to create an IPv6 only subnet.
|
528
535
|
# @return [Subnet]
|
529
536
|
def create_subnet(options = {})
|
530
537
|
options = options.merge(vpc_id: @id)
|
@@ -1933,8 +1940,8 @@ module Aws::EC2
|
|
1933
1940
|
# `cidrBlock` as the filter names.
|
1934
1941
|
#
|
1935
1942
|
# * `default-for-az` - Indicates whether this is the default subnet for
|
1936
|
-
# the Availability Zone. You can also use
|
1937
|
-
# name.
|
1943
|
+
# the Availability Zone (`true` \| `false`). You can also use
|
1944
|
+
# `defaultForAz` as the filter name.
|
1938
1945
|
#
|
1939
1946
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
1940
1947
|
# associated with the subnet.
|
@@ -1945,6 +1952,9 @@ module Aws::EC2
|
|
1945
1952
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
1946
1953
|
# block associated with the subnet.
|
1947
1954
|
#
|
1955
|
+
# * `ipv6-native` - Indicates whether this is an IPv6 only subnet
|
1956
|
+
# (`true` \| `false`).
|
1957
|
+
#
|
1948
1958
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1949
1959
|
#
|
1950
1960
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.282.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-
|
11
|
+
date: 2021-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|