aws-sdk-ec2 1.249.0 → 1.251.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +697 -263
- data/lib/aws-sdk-ec2/client_api.rb +168 -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 +97 -50
- 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 +41 -1
- data/lib/aws-sdk-ec2/types.rb +988 -223
- data/lib/aws-sdk-ec2/volume.rb +12 -13
- data/lib/aws-sdk-ec2/vpc.rb +26 -27
- metadata +2 -2
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -59,9 +59,8 @@ module Aws::EC2
|
|
59
59
|
data[:encrypted]
|
60
60
|
end
|
61
61
|
|
62
|
-
# The Amazon Resource Name (ARN) of the
|
63
|
-
#
|
64
|
-
# encryption key for the volume.
|
62
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS
|
63
|
+
# key that was used to protect the volume encryption key for the volume.
|
65
64
|
# @return [String]
|
66
65
|
def kms_key_id
|
67
66
|
data[:kms_key_id]
|
@@ -311,7 +310,7 @@ module Aws::EC2
|
|
311
310
|
# @option options [String] :description
|
312
311
|
# A description for the snapshot.
|
313
312
|
# @option options [String] :outpost_arn
|
314
|
-
# The Amazon Resource Name (ARN) of the
|
313
|
+
# The Amazon Resource Name (ARN) of the Outpost on which to create a
|
315
314
|
# local snapshot.
|
316
315
|
#
|
317
316
|
# * To create a snapshot of a volume in a Region, omit this parameter.
|
@@ -325,8 +324,8 @@ module Aws::EC2
|
|
325
324
|
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
326
325
|
# The snapshot must be created on the same Outpost as the volume.
|
327
326
|
#
|
328
|
-
# For more information, see [
|
329
|
-
#
|
327
|
+
# For more information, see [Create local snapshots from volumes on an
|
328
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
330
329
|
#
|
331
330
|
#
|
332
331
|
#
|
@@ -647,12 +646,12 @@ module Aws::EC2
|
|
647
646
|
# `false`)
|
648
647
|
#
|
649
648
|
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
650
|
-
# (`amazon`). This is not the user-configured
|
651
|
-
#
|
652
|
-
#
|
649
|
+
# (`amazon`). This is not the user-configured account alias set using
|
650
|
+
# the IAM console. We recommend that you use the related parameter
|
651
|
+
# instead of this filter.
|
653
652
|
#
|
654
|
-
# * `owner-id` - The
|
655
|
-
#
|
653
|
+
# * `owner-id` - The account ID of the owner. We recommend that you use
|
654
|
+
# the related parameter instead of this filter.
|
656
655
|
#
|
657
656
|
# * `progress` - The progress of the snapshot, as a percentage (for
|
658
657
|
# example, 80%).
|
@@ -679,9 +678,9 @@ module Aws::EC2
|
|
679
678
|
# * `volume-size` - The size of the volume, in GiB.
|
680
679
|
# @option options [Array<String>] :owner_ids
|
681
680
|
# Scopes the results to snapshots with the specified owners. You can
|
682
|
-
# specify a combination of
|
681
|
+
# specify a combination of account IDs, `self`, and `amazon`.
|
683
682
|
# @option options [Array<String>] :restorable_by_user_ids
|
684
|
-
# The IDs of the
|
683
|
+
# The IDs of the accounts that can create volumes from the snapshot.
|
685
684
|
# @option options [Array<String>] :snapshot_ids
|
686
685
|
# The snapshot IDs.
|
687
686
|
#
|
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
|