aws-sdk-ec2 1.249.0 → 1.253.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.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +2 -1
- data/lib/aws-sdk-ec2/client.rb +822 -367
- data/lib/aws-sdk-ec2/client_api.rb +168 -3
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -1
- data/lib/aws-sdk-ec2/instance.rb +2 -1
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +34 -5
- data/lib/aws-sdk-ec2/placement_group.rb +4 -3
- data/lib/aws-sdk-ec2/resource.rb +120 -61
- data/lib/aws-sdk-ec2/route.rb +2 -2
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +37 -34
- data/lib/aws-sdk-ec2/subnet.rb +52 -10
- data/lib/aws-sdk-ec2/types.rb +1097 -301
- data/lib/aws-sdk-ec2/volume.rb +14 -13
- data/lib/aws-sdk-ec2/vpc.rb +40 -35
- data/lib/aws-sdk-ec2/vpc_address.rb +2 -1
- metadata +4 -4
@@ -432,7 +432,8 @@ module Aws::EC2
|
|
432
432
|
#
|
433
433
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
434
434
|
#
|
435
|
-
# * `owner-id` - The account ID of the instance
|
435
|
+
# * `owner-id` - The Amazon Web Services account ID of the instance
|
436
|
+
# owner.
|
436
437
|
#
|
437
438
|
# * `placement-group-name` - The name of the placement group for the
|
438
439
|
# instance.
|
@@ -460,8 +461,8 @@ module Aws::EC2
|
|
460
461
|
# terminate the instance). Similar to the state-reason-code filter.
|
461
462
|
#
|
462
463
|
# * `requester-id` - The ID of the entity that launched the instance on
|
463
|
-
# your behalf (for example, Management Console,
|
464
|
-
# on).
|
464
|
+
# your behalf (for example, Amazon Web Services Management Console,
|
465
|
+
# Auto Scaling, and so on).
|
465
466
|
#
|
466
467
|
# * `reservation-id` - The ID of the instance's reservation. A
|
467
468
|
# reservation ID is created any time you launch an instance. A
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -99,7 +99,7 @@ module Aws::EC2
|
|
99
99
|
# },
|
100
100
|
# ],
|
101
101
|
# image_id: "ImageId",
|
102
|
-
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
102
|
+
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
103
103
|
# ipv_6_address_count: 1,
|
104
104
|
# ipv_6_addresses: [
|
105
105
|
# {
|
@@ -164,6 +164,18 @@ module Aws::EC2
|
|
164
164
|
# associate_carrier_ip_address: false,
|
165
165
|
# interface_type: "String",
|
166
166
|
# network_card_index: 1,
|
167
|
+
# ipv_4_prefixes: [
|
168
|
+
# {
|
169
|
+
# ipv_4_prefix: "String",
|
170
|
+
# },
|
171
|
+
# ],
|
172
|
+
# ipv_4_prefix_count: 1,
|
173
|
+
# ipv_6_prefixes: [
|
174
|
+
# {
|
175
|
+
# ipv_6_prefix: "String",
|
176
|
+
# },
|
177
|
+
# ],
|
178
|
+
# ipv_6_prefix_count: 1,
|
167
179
|
# },
|
168
180
|
# ],
|
169
181
|
# private_ip_address: "String",
|
@@ -648,8 +660,8 @@ module Aws::EC2
|
|
648
660
|
# disassociate it.
|
649
661
|
# @option options [String] :client_token
|
650
662
|
# Unique, case-sensitive identifier that you provide to ensure the
|
651
|
-
# idempotency of the request. For more information, see [How to
|
652
|
-
#
|
663
|
+
# idempotency of the request. For more information, see [How to ensure
|
664
|
+
# idempotency][1].
|
653
665
|
#
|
654
666
|
# Constraint: Maximum 64 ASCII characters.
|
655
667
|
#
|
@@ -735,6 +747,18 @@ module Aws::EC2
|
|
735
747
|
# },
|
736
748
|
# ],
|
737
749
|
# secondary_private_ip_address_count: 1,
|
750
|
+
# ipv_4_prefixes: [
|
751
|
+
# {
|
752
|
+
# ipv_4_prefix: "String",
|
753
|
+
# },
|
754
|
+
# ],
|
755
|
+
# ipv_4_prefix_count: 1,
|
756
|
+
# ipv_6_prefixes: [
|
757
|
+
# {
|
758
|
+
# ipv_6_prefix: "String",
|
759
|
+
# },
|
760
|
+
# ],
|
761
|
+
# ipv_6_prefix_count: 1,
|
738
762
|
# interface_type: "efa", # accepts efa, branch, trunk
|
739
763
|
# subnet_id: "SubnetId", # required
|
740
764
|
# tag_specifications: [
|
@@ -793,6 +817,22 @@ module Aws::EC2
|
|
793
817
|
#
|
794
818
|
#
|
795
819
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
820
|
+
# @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
821
|
+
# One or moreIPv4 Prefix Delegation prefixes assigned to the network
|
822
|
+
# interface. You cannot use this option if you use the `Ipv4PrefixCount`
|
823
|
+
# option.
|
824
|
+
# @option options [Integer] :ipv_4_prefix_count
|
825
|
+
# The number of IPv4 Prefix Delegation prefixes that AWS automatically
|
826
|
+
# assigns to the network interface. You cannot use this option if you
|
827
|
+
# use the `Ipv4 Prefixes` option.
|
828
|
+
# @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
|
829
|
+
# One or moreIPv6 Prefix Delegation prefixes assigned to the network
|
830
|
+
# interface. You cannot use this option if you use the `Ipv6PrefixCount`
|
831
|
+
# option.
|
832
|
+
# @option options [Integer] :ipv_6_prefix_count
|
833
|
+
# The number of IPv6 Prefix Delegation prefixes that AWS automatically
|
834
|
+
# assigns to the network interface. You cannot use this option if you
|
835
|
+
# use the `Ipv6Prefixes` option.
|
796
836
|
# @option options [String] :interface_type
|
797
837
|
# Indicates the type of network interface. To create an Elastic Fabric
|
798
838
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
@@ -989,7 +1029,7 @@ module Aws::EC2
|
|
989
1029
|
# @option options [String] :description
|
990
1030
|
# A description for the snapshot.
|
991
1031
|
# @option options [String] :outpost_arn
|
992
|
-
# The Amazon Resource Name (ARN) of the
|
1032
|
+
# The Amazon Resource Name (ARN) of the Outpost on which to create a
|
993
1033
|
# local snapshot.
|
994
1034
|
#
|
995
1035
|
# * To create a snapshot of a volume in a Region, omit this parameter.
|
@@ -1003,14 +1043,14 @@ module Aws::EC2
|
|
1003
1043
|
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
1004
1044
|
# The snapshot must be created on the same Outpost as the volume.
|
1005
1045
|
#
|
1006
|
-
# For more information, see [
|
1007
|
-
#
|
1046
|
+
# For more information, see [Create local snapshots from volumes on an
|
1047
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
1008
1048
|
#
|
1009
1049
|
#
|
1010
1050
|
#
|
1011
1051
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
1012
1052
|
# @option options [required, String] :volume_id
|
1013
|
-
# The ID of the EBS volume.
|
1053
|
+
# The ID of the Amazon EBS volume.
|
1014
1054
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1015
1055
|
# The tags to apply to the snapshot during creation.
|
1016
1056
|
# @option options [Boolean] :dry_run
|
@@ -1044,11 +1084,11 @@ module Aws::EC2
|
|
1044
1084
|
# ],
|
1045
1085
|
# availability_zone: "String",
|
1046
1086
|
# availability_zone_id: "String",
|
1047
|
-
# cidr_block: "String", # required
|
1048
1087
|
# ipv_6_cidr_block: "String",
|
1049
1088
|
# outpost_arn: "String",
|
1050
1089
|
# vpc_id: "VpcId", # required
|
1051
1090
|
# dry_run: false,
|
1091
|
+
# cidr_block: "String", # required
|
1052
1092
|
# })
|
1053
1093
|
# @param [Hash] options ({})
|
1054
1094
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1056,9 +1096,9 @@ module Aws::EC2
|
|
1056
1096
|
# @option options [String] :availability_zone
|
1057
1097
|
# The Availability Zone or Local Zone for the subnet.
|
1058
1098
|
#
|
1059
|
-
# Default:
|
1060
|
-
# in your VPC, we do not necessarily select a different
|
1061
|
-
# subnet.
|
1099
|
+
# Default: Amazon Web Services selects one for you. If you create more
|
1100
|
+
# than one subnet in your VPC, we do not necessarily select a different
|
1101
|
+
# zone for each subnet.
|
1062
1102
|
#
|
1063
1103
|
# To create a subnet in a Local Zone, set this value to the Local Zone
|
1064
1104
|
# ID, for example `us-west-2-lax-1a`. For information about the Regions
|
@@ -1073,11 +1113,6 @@ module Aws::EC2
|
|
1073
1113
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
1074
1114
|
# @option options [String] :availability_zone_id
|
1075
1115
|
# The AZ ID or the Local Zone ID of the subnet.
|
1076
|
-
# @option options [required, String] :cidr_block
|
1077
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1078
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1079
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1080
|
-
# `100.68.0.0/18`.
|
1081
1116
|
# @option options [String] :ipv_6_cidr_block
|
1082
1117
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
1083
1118
|
# size must use a /64 prefix length.
|
@@ -1092,6 +1127,11 @@ module Aws::EC2
|
|
1092
1127
|
# without actually making the request, and provides an error response.
|
1093
1128
|
# If you have the required permissions, the error response is
|
1094
1129
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1130
|
+
# @option options [required, String] :cidr_block
|
1131
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1132
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1133
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1134
|
+
# `100.68.0.0/18`.
|
1095
1135
|
# @return [Subnet]
|
1096
1136
|
def create_subnet(options = {})
|
1097
1137
|
resp = @client.create_subnet(options)
|
@@ -1199,6 +1239,7 @@ module Aws::EC2
|
|
1199
1239
|
# ],
|
1200
1240
|
# multi_attach_enabled: false,
|
1201
1241
|
# throughput: 1,
|
1242
|
+
# client_token: "String",
|
1202
1243
|
# })
|
1203
1244
|
# @param [Hash] options ({})
|
1204
1245
|
# @option options [required, String] :availability_zone
|
@@ -1234,9 +1275,9 @@ module Aws::EC2
|
|
1234
1275
|
#
|
1235
1276
|
# * `io2`\: 100-64,000 IOPS
|
1236
1277
|
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1278
|
+
# `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
|
1279
|
+
# built on the Nitro System][1]. Other instance families support
|
1280
|
+
# performance up to 32,000 IOPS.
|
1240
1281
|
#
|
1241
1282
|
# This parameter is required for `io1` and `io2` volumes. The default
|
1242
1283
|
# for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
|
@@ -1246,12 +1287,12 @@ module Aws::EC2
|
|
1246
1287
|
#
|
1247
1288
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
1248
1289
|
# @option options [String] :kms_key_id
|
1249
|
-
# The identifier of the
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
1290
|
+
# The identifier of the Key Management Service (KMS) KMS key to use for
|
1291
|
+
# Amazon EBS encryption. If this parameter is not specified, your KMS
|
1292
|
+
# key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
|
1293
|
+
# state must be `true`.
|
1253
1294
|
#
|
1254
|
-
# You can specify the
|
1295
|
+
# You can specify the KMS key using any of the following:
|
1255
1296
|
#
|
1256
1297
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
1257
1298
|
#
|
@@ -1263,9 +1304,9 @@ module Aws::EC2
|
|
1263
1304
|
# * Alias ARN. For example,
|
1264
1305
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
1265
1306
|
#
|
1266
|
-
#
|
1267
|
-
# ID, alias, or ARN that is not valid, the
|
1268
|
-
# complete, but eventually fails.
|
1307
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
1308
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid, the
|
1309
|
+
# action can appear to complete, but eventually fails.
|
1269
1310
|
# @option options [String] :outpost_arn
|
1270
1311
|
# The Amazon Resource Name (ARN) of the Outpost.
|
1271
1312
|
# @option options [Integer] :size
|
@@ -1333,6 +1374,14 @@ module Aws::EC2
|
|
1333
1374
|
# This parameter is valid only for `gp3` volumes.
|
1334
1375
|
#
|
1335
1376
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
1377
|
+
# @option options [String] :client_token
|
1378
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
1379
|
+
# idempotency of the request. For more information, see [Ensure
|
1380
|
+
# Idempotency][1].
|
1381
|
+
#
|
1382
|
+
#
|
1383
|
+
#
|
1384
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
1336
1385
|
# @return [Volume]
|
1337
1386
|
def create_volume(options = {})
|
1338
1387
|
resp = @client.create_volume(options)
|
@@ -1445,9 +1494,9 @@ module Aws::EC2
|
|
1445
1494
|
# If you have the required permissions, the error response is
|
1446
1495
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1447
1496
|
# @option options [String] :peer_owner_id
|
1448
|
-
# The
|
1497
|
+
# The Amazon Web Services account ID of the owner of the accepter VPC.
|
1449
1498
|
#
|
1450
|
-
# Default: Your
|
1499
|
+
# Default: Your Amazon Web Services account ID
|
1451
1500
|
# @option options [String] :peer_vpc_id
|
1452
1501
|
# The ID of the VPC with which you are creating the VPC peering
|
1453
1502
|
# connection. You must specify this parameter in the request.
|
@@ -1692,7 +1741,8 @@ module Aws::EC2
|
|
1692
1741
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1693
1742
|
# that the address is associated with, if any.
|
1694
1743
|
#
|
1695
|
-
# * `network-interface-owner-id` - The account ID of
|
1744
|
+
# * `network-interface-owner-id` - The Amazon Web Services account ID of
|
1745
|
+
# the owner.
|
1696
1746
|
#
|
1697
1747
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1698
1748
|
# with the Elastic IP address.
|
@@ -1775,8 +1825,8 @@ module Aws::EC2
|
|
1775
1825
|
#
|
1776
1826
|
# * `value` - The value for one of the options.
|
1777
1827
|
#
|
1778
|
-
# * `owner-id` - The ID of the
|
1779
|
-
# set.
|
1828
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
1829
|
+
# DHCP options set.
|
1780
1830
|
#
|
1781
1831
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1782
1832
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -2194,7 +2244,8 @@ module Aws::EC2
|
|
2194
2244
|
#
|
2195
2245
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
2196
2246
|
#
|
2197
|
-
# * `owner-id` - The account ID of the instance
|
2247
|
+
# * `owner-id` - The Amazon Web Services account ID of the instance
|
2248
|
+
# owner.
|
2198
2249
|
#
|
2199
2250
|
# * `placement-group-name` - The name of the placement group for the
|
2200
2251
|
# instance.
|
@@ -2222,8 +2273,8 @@ module Aws::EC2
|
|
2222
2273
|
# terminate the instance). Similar to the state-reason-code filter.
|
2223
2274
|
#
|
2224
2275
|
# * `requester-id` - The ID of the entity that launched the instance on
|
2225
|
-
# your behalf (for example, Management Console,
|
2226
|
-
# on).
|
2276
|
+
# your behalf (for example, Amazon Web Services Management Console,
|
2277
|
+
# Auto Scaling, and so on).
|
2227
2278
|
#
|
2228
2279
|
# * `reservation-id` - The ID of the instance's reservation. A
|
2229
2280
|
# reservation ID is created any time you launch an instance. A
|
@@ -2334,8 +2385,8 @@ module Aws::EC2
|
|
2334
2385
|
#
|
2335
2386
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
2336
2387
|
#
|
2337
|
-
# * `owner-id` - The ID of the
|
2338
|
-
# gateway.
|
2388
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2389
|
+
# internet gateway.
|
2339
2390
|
#
|
2340
2391
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2341
2392
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -2574,7 +2625,8 @@ module Aws::EC2
|
|
2574
2625
|
#
|
2575
2626
|
# * `network-acl-id` - The ID of the network ACL.
|
2576
2627
|
#
|
2577
|
-
# * `owner-id` - The ID of the
|
2628
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2629
|
+
# network ACL.
|
2578
2630
|
#
|
2579
2631
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
2580
2632
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -2706,7 +2758,8 @@ module Aws::EC2
|
|
2706
2758
|
#
|
2707
2759
|
# * `network-interface-id` - The ID of the network interface.
|
2708
2760
|
#
|
2709
|
-
# * `owner-id` - The account ID of the network
|
2761
|
+
# * `owner-id` - The Amazon Web Services account ID of the network
|
2762
|
+
# interface owner.
|
2710
2763
|
#
|
2711
2764
|
# * `private-ip-address` - The private IPv4 address or addresses of the
|
2712
2765
|
# network interface.
|
@@ -2714,12 +2767,12 @@ module Aws::EC2
|
|
2714
2767
|
# * `private-dns-name` - The private DNS name of the network interface
|
2715
2768
|
# (IPv4).
|
2716
2769
|
#
|
2717
|
-
# * `requester-id` - The alias or account ID of the
|
2718
|
-
# that created the network interface.
|
2770
|
+
# * `requester-id` - The alias or Amazon Web Services account ID of the
|
2771
|
+
# principal or service that created the network interface.
|
2719
2772
|
#
|
2720
2773
|
# * `requester-managed` - Indicates whether the network interface is
|
2721
|
-
# being managed by an Amazon Web Service (for example,
|
2722
|
-
# Console, Auto Scaling, and so on).
|
2774
|
+
# being managed by an Amazon Web Service (for example, Amazon Web
|
2775
|
+
# Services Management Console, Auto Scaling, and so on).
|
2723
2776
|
#
|
2724
2777
|
# * `source-dest-check` - Indicates whether the network interface
|
2725
2778
|
# performs source/destination checking. A value of `true` means
|
@@ -2892,7 +2945,8 @@ module Aws::EC2
|
|
2892
2945
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
2893
2946
|
# not have an association ID are not returned in the response.
|
2894
2947
|
#
|
2895
|
-
# * `owner-id` - The ID of the
|
2948
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
2949
|
+
# route table.
|
2896
2950
|
#
|
2897
2951
|
# * `route-table-id` - The ID of the route table.
|
2898
2952
|
#
|
@@ -2902,8 +2956,8 @@ module Aws::EC2
|
|
2902
2956
|
# * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
|
2903
2957
|
# in a route in the route table.
|
2904
2958
|
#
|
2905
|
-
# * `route.destination-prefix-list-id` - The ID (prefix) of the
|
2906
|
-
#
|
2959
|
+
# * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
|
2960
|
+
# Web Service specified in a route in the table.
|
2907
2961
|
#
|
2908
2962
|
# * `route.egress-only-internet-gateway-id` - The ID of an egress-only
|
2909
2963
|
# Internet gateway specified in a route in the route table.
|
@@ -3147,12 +3201,12 @@ module Aws::EC2
|
|
3147
3201
|
# `false`)
|
3148
3202
|
#
|
3149
3203
|
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
3150
|
-
# (`amazon`). This is not the user-configured
|
3151
|
-
# using the IAM console. We recommend that you use
|
3152
|
-
# parameter instead of this filter.
|
3204
|
+
# (`amazon`). This is not the user-configured Amazon Web Services
|
3205
|
+
# account alias set using the IAM console. We recommend that you use
|
3206
|
+
# the related parameter instead of this filter.
|
3153
3207
|
#
|
3154
|
-
# * `owner-id` - The
|
3155
|
-
# use the related parameter instead of this filter.
|
3208
|
+
# * `owner-id` - The Amazon Web Services account ID of the owner. We
|
3209
|
+
# recommend that you use the related parameter instead of this filter.
|
3156
3210
|
#
|
3157
3211
|
# * `progress` - The progress of the snapshot, as a percentage (for
|
3158
3212
|
# example, 80%).
|
@@ -3179,9 +3233,11 @@ module Aws::EC2
|
|
3179
3233
|
# * `volume-size` - The size of the volume, in GiB.
|
3180
3234
|
# @option options [Array<String>] :owner_ids
|
3181
3235
|
# Scopes the results to snapshots with the specified owners. You can
|
3182
|
-
# specify a combination of
|
3236
|
+
# specify a combination of Amazon Web Services account IDs, `self`, and
|
3237
|
+
# `amazon`.
|
3183
3238
|
# @option options [Array<String>] :restorable_by_user_ids
|
3184
|
-
# The IDs of the
|
3239
|
+
# The IDs of the Amazon Web Services accounts that can create volumes
|
3240
|
+
# from the snapshot.
|
3185
3241
|
# @option options [Array<String>] :snapshot_ids
|
3186
3242
|
# The snapshot IDs.
|
3187
3243
|
#
|
@@ -3265,7 +3321,8 @@ module Aws::EC2
|
|
3265
3321
|
#
|
3266
3322
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
3267
3323
|
#
|
3268
|
-
# * `owner-id` - The ID of the
|
3324
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
3325
|
+
# subnet.
|
3269
3326
|
#
|
3270
3327
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
3271
3328
|
#
|
@@ -3457,7 +3514,8 @@ module Aws::EC2
|
|
3457
3514
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
3458
3515
|
# that the address is associated with, if any.
|
3459
3516
|
#
|
3460
|
-
# * `network-interface-owner-id` - The account ID of
|
3517
|
+
# * `network-interface-owner-id` - The Amazon Web Services account ID of
|
3518
|
+
# the owner.
|
3461
3519
|
#
|
3462
3520
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
3463
3521
|
# with the Elastic IP address.
|
@@ -3533,8 +3591,8 @@ module Aws::EC2
|
|
3533
3591
|
# * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
|
3534
3592
|
# VPC.
|
3535
3593
|
#
|
3536
|
-
# * `accepter-vpc-info.owner-id` - The
|
3537
|
-
# the accepter VPC.
|
3594
|
+
# * `accepter-vpc-info.owner-id` - The ID of the Amazon Web Services
|
3595
|
+
# account that owns the accepter VPC.
|
3538
3596
|
#
|
3539
3597
|
# * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
|
3540
3598
|
#
|
@@ -3544,8 +3602,8 @@ module Aws::EC2
|
|
3544
3602
|
# * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
|
3545
3603
|
# requester's VPC.
|
3546
3604
|
#
|
3547
|
-
# * `requester-vpc-info.owner-id` - The
|
3548
|
-
# the requester VPC.
|
3605
|
+
# * `requester-vpc-info.owner-id` - The ID of the Amazon Web Services
|
3606
|
+
# account that owns the requester VPC.
|
3549
3607
|
#
|
3550
3608
|
# * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
|
3551
3609
|
#
|
@@ -3639,9 +3697,10 @@ module Aws::EC2
|
|
3639
3697
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
3640
3698
|
# block associated with the VPC.
|
3641
3699
|
#
|
3642
|
-
# * `
|
3700
|
+
# * `is-default` - Indicates whether the VPC is the default VPC.
|
3643
3701
|
#
|
3644
|
-
# * `owner-id` - The ID of the
|
3702
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
3703
|
+
# VPC.
|
3645
3704
|
#
|
3646
3705
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
3647
3706
|
#
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -48,7 +48,7 @@ module Aws::EC2
|
|
48
48
|
data[:destination_ipv_6_cidr_block]
|
49
49
|
end
|
50
50
|
|
51
|
-
# The prefix of the
|
51
|
+
# The prefix of the Amazon Web Service.
|
52
52
|
# @return [String]
|
53
53
|
def destination_prefix_list_id
|
54
54
|
data[:destination_prefix_list_id]
|
@@ -72,7 +72,7 @@ module Aws::EC2
|
|
72
72
|
data[:instance_id]
|
73
73
|
end
|
74
74
|
|
75
|
-
# The
|
75
|
+
# The ID of Amazon Web Services account that owns the instance.
|
76
76
|
# @return [String]
|
77
77
|
def instance_owner_id
|
78
78
|
data[:instance_owner_id]
|