aws-sdk-ec2 1.281.0 → 1.285.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 +587 -81
- data/lib/aws-sdk-ec2/client_api.rb +225 -1
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -0
- data/lib/aws-sdk-ec2/image.rb +2 -0
- data/lib/aws-sdk-ec2/instance.rb +18 -2
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +2 -0
- data/lib/aws-sdk-ec2/network_acl.rb +2 -0
- data/lib/aws-sdk-ec2/network_interface.rb +15 -0
- data/lib/aws-sdk-ec2/resource.rb +36 -13
- data/lib/aws-sdk-ec2/route.rb +2 -0
- data/lib/aws-sdk-ec2/route_table.rb +3 -0
- data/lib/aws-sdk-ec2/security_group.rb +2 -0
- data/lib/aws-sdk-ec2/snapshot.rb +19 -0
- data/lib/aws-sdk-ec2/subnet.rb +41 -9
- data/lib/aws-sdk-ec2/tag.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +1045 -119
- data/lib/aws-sdk-ec2/volume.rb +5 -0
- data/lib/aws-sdk-ec2/vpc.rb +16 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -412,6 +412,8 @@ module Aws::EC2
|
|
412
412
|
# If you omit this parameter, we delete all user-defined tags for the
|
413
413
|
# specified resources. We do not delete Amazon Web Services-generated
|
414
414
|
# tags (tags that have the `aws:` prefix).
|
415
|
+
#
|
416
|
+
# Constraints: Up to 1000 tags.
|
415
417
|
# @return [Tag::Collection]
|
416
418
|
def delete_tags(options = {})
|
417
419
|
batch = []
|
@@ -663,6 +665,9 @@ module Aws::EC2
|
|
663
665
|
# * `status` - The status of the snapshot (`pending` \| `completed` \|
|
664
666
|
# `error`).
|
665
667
|
#
|
668
|
+
# * `storage-tier` - The storage tier of the snapshot (`archive` \|
|
669
|
+
# `standard`).
|
670
|
+
#
|
666
671
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
667
672
|
# the resource. Use the tag key in the filter name and the tag value
|
668
673
|
# as the filter value. For example, to find all resources that have a
|
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)
|
@@ -600,6 +607,8 @@ module Aws::EC2
|
|
600
607
|
# If you omit this parameter, we delete all user-defined tags for the
|
601
608
|
# specified resources. We do not delete Amazon Web Services-generated
|
602
609
|
# tags (tags that have the `aws:` prefix).
|
610
|
+
#
|
611
|
+
# Constraints: Up to 1000 tags.
|
603
612
|
# @return [Tag::Collection]
|
604
613
|
def delete_tags(options = {})
|
605
614
|
batch = []
|
@@ -1933,8 +1942,8 @@ module Aws::EC2
|
|
1933
1942
|
# `cidrBlock` as the filter names.
|
1934
1943
|
#
|
1935
1944
|
# * `default-for-az` - Indicates whether this is the default subnet for
|
1936
|
-
# the Availability Zone. You can also use
|
1937
|
-
# name.
|
1945
|
+
# the Availability Zone (`true` \| `false`). You can also use
|
1946
|
+
# `defaultForAz` as the filter name.
|
1938
1947
|
#
|
1939
1948
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
1940
1949
|
# associated with the subnet.
|
@@ -1945,6 +1954,9 @@ module Aws::EC2
|
|
1945
1954
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
1946
1955
|
# block associated with the subnet.
|
1947
1956
|
#
|
1957
|
+
# * `ipv6-native` - Indicates whether this is an IPv6 only subnet
|
1958
|
+
# (`true` \| `false`).
|
1959
|
+
#
|
1948
1960
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1949
1961
|
#
|
1950
1962
|
# * `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.285.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-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|