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
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
|
-
# using the IAM console. We recommend that you use
|
652
|
-
# parameter instead of this filter.
|
649
|
+
# (`amazon`). This is not the user-configured Amazon Web Services
|
650
|
+
# account alias set using the IAM console. We recommend that you use
|
651
|
+
# the related parameter instead of this filter.
|
653
652
|
#
|
654
|
-
# * `owner-id` - The
|
655
|
-
# use the related parameter instead of this filter.
|
653
|
+
# * `owner-id` - The Amazon Web Services account ID of the owner. We
|
654
|
+
# recommend that you use 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,11 @@ 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 Amazon Web Services account IDs, `self`, and
|
682
|
+
# `amazon`.
|
683
683
|
# @option options [Array<String>] :restorable_by_user_ids
|
684
|
-
# The IDs of the
|
684
|
+
# The IDs of the Amazon Web Services accounts that can create volumes
|
685
|
+
# from the snapshot.
|
685
686
|
# @option options [Array<String>] :snapshot_ids
|
686
687
|
# The snapshot IDs.
|
687
688
|
#
|
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 Amazon Web Services 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 Amazon Web Services account ID of the owner of the accepter VPC.
|
799
799
|
#
|
800
|
-
# Default: Your
|
800
|
+
# Default: Your Amazon Web Services 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
|
-
# the accepter VPC.
|
843
|
+
# * `accepter-vpc-info.owner-id` - The ID of the Amazon Web Services
|
844
|
+
# account that owns the 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
|
-
# the requester VPC.
|
854
|
+
# * `requester-vpc-info.owner-id` - The ID of the Amazon Web Services
|
855
|
+
# account that owns the requester VPC.
|
856
856
|
#
|
857
857
|
# * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
|
858
858
|
#
|
@@ -1130,7 +1130,8 @@ module Aws::EC2
|
|
1130
1130
|
#
|
1131
1131
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1132
1132
|
#
|
1133
|
-
# * `owner-id` - The account ID of the instance
|
1133
|
+
# * `owner-id` - The Amazon Web Services account ID of the instance
|
1134
|
+
# owner.
|
1134
1135
|
#
|
1135
1136
|
# * `placement-group-name` - The name of the placement group for the
|
1136
1137
|
# instance.
|
@@ -1158,8 +1159,8 @@ module Aws::EC2
|
|
1158
1159
|
# terminate the instance). Similar to the state-reason-code filter.
|
1159
1160
|
#
|
1160
1161
|
# * `requester-id` - The ID of the entity that launched the instance on
|
1161
|
-
# your behalf (for example, Management Console,
|
1162
|
-
# on).
|
1162
|
+
# your behalf (for example, Amazon Web Services Management Console,
|
1163
|
+
# Auto Scaling, and so on).
|
1163
1164
|
#
|
1164
1165
|
# * `reservation-id` - The ID of the instance's reservation. A
|
1165
1166
|
# reservation ID is created any time you launch an instance. A
|
@@ -1265,8 +1266,8 @@ module Aws::EC2
|
|
1265
1266
|
#
|
1266
1267
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
1267
1268
|
#
|
1268
|
-
# * `owner-id` - The ID of the
|
1269
|
-
# gateway.
|
1269
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
1270
|
+
# internet gateway.
|
1270
1271
|
#
|
1271
1272
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1272
1273
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -1362,7 +1363,8 @@ module Aws::EC2
|
|
1362
1363
|
#
|
1363
1364
|
# * `network-acl-id` - The ID of the network ACL.
|
1364
1365
|
#
|
1365
|
-
# * `owner-id` - The ID of the
|
1366
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
1367
|
+
# network ACL.
|
1366
1368
|
#
|
1367
1369
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1368
1370
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -1489,7 +1491,8 @@ module Aws::EC2
|
|
1489
1491
|
#
|
1490
1492
|
# * `network-interface-id` - The ID of the network interface.
|
1491
1493
|
#
|
1492
|
-
# * `owner-id` - The account ID of the network
|
1494
|
+
# * `owner-id` - The Amazon Web Services account ID of the network
|
1495
|
+
# interface owner.
|
1493
1496
|
#
|
1494
1497
|
# * `private-ip-address` - The private IPv4 address or addresses of the
|
1495
1498
|
# network interface.
|
@@ -1497,12 +1500,12 @@ module Aws::EC2
|
|
1497
1500
|
# * `private-dns-name` - The private DNS name of the network interface
|
1498
1501
|
# (IPv4).
|
1499
1502
|
#
|
1500
|
-
# * `requester-id` - The alias or account ID of the
|
1501
|
-
# that created the network interface.
|
1503
|
+
# * `requester-id` - The alias or Amazon Web Services account ID of the
|
1504
|
+
# principal or service that created the network interface.
|
1502
1505
|
#
|
1503
1506
|
# * `requester-managed` - Indicates whether the network interface is
|
1504
|
-
# being managed by an Amazon Web Service (for example,
|
1505
|
-
# Console, Auto Scaling, and so on).
|
1507
|
+
# being managed by an Amazon Web Service (for example, Amazon Web
|
1508
|
+
# Services Management Console, Auto Scaling, and so on).
|
1506
1509
|
#
|
1507
1510
|
# * `source-dest-check` - Indicates whether the network interface
|
1508
1511
|
# performs source/destination checking. A value of `true` means
|
@@ -1579,8 +1582,8 @@ module Aws::EC2
|
|
1579
1582
|
# * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
|
1580
1583
|
# VPC.
|
1581
1584
|
#
|
1582
|
-
# * `accepter-vpc-info.owner-id` - The
|
1583
|
-
# the accepter VPC.
|
1585
|
+
# * `accepter-vpc-info.owner-id` - The ID of the Amazon Web Services
|
1586
|
+
# account that owns the accepter VPC.
|
1584
1587
|
#
|
1585
1588
|
# * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
|
1586
1589
|
#
|
@@ -1590,8 +1593,8 @@ module Aws::EC2
|
|
1590
1593
|
# * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
|
1591
1594
|
# requester's VPC.
|
1592
1595
|
#
|
1593
|
-
# * `requester-vpc-info.owner-id` - The
|
1594
|
-
# the requester VPC.
|
1596
|
+
# * `requester-vpc-info.owner-id` - The ID of the Amazon Web Services
|
1597
|
+
# account that owns the requester VPC.
|
1595
1598
|
#
|
1596
1599
|
# * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
|
1597
1600
|
#
|
@@ -1674,7 +1677,8 @@ module Aws::EC2
|
|
1674
1677
|
# route table for the VPC (`true` \| `false`). Route tables that do
|
1675
1678
|
# not have an association ID are not returned in the response.
|
1676
1679
|
#
|
1677
|
-
# * `owner-id` - The ID of the
|
1680
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
1681
|
+
# route table.
|
1678
1682
|
#
|
1679
1683
|
# * `route-table-id` - The ID of the route table.
|
1680
1684
|
#
|
@@ -1684,8 +1688,8 @@ module Aws::EC2
|
|
1684
1688
|
# * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
|
1685
1689
|
# in a route in the route table.
|
1686
1690
|
#
|
1687
|
-
# * `route.destination-prefix-list-id` - The ID (prefix) of the
|
1688
|
-
#
|
1691
|
+
# * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
|
1692
|
+
# Web Service specified in a route in the table.
|
1689
1693
|
#
|
1690
1694
|
# * `route.egress-only-internet-gateway-id` - The ID of an egress-only
|
1691
1695
|
# Internet gateway specified in a route in the route table.
|
@@ -1940,7 +1944,8 @@ module Aws::EC2
|
|
1940
1944
|
#
|
1941
1945
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1942
1946
|
#
|
1943
|
-
# * `owner-id` - The ID of the
|
1947
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
1948
|
+
# subnet.
|
1944
1949
|
#
|
1945
1950
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
1946
1951
|
#
|
@@ -66,7 +66,8 @@ module Aws::EC2
|
|
66
66
|
data[:network_interface_id]
|
67
67
|
end
|
68
68
|
|
69
|
-
# The ID of the account that owns the network
|
69
|
+
# The ID of the Amazon Web Services account that owns the network
|
70
|
+
# interface.
|
70
71
|
# @return [String]
|
71
72
|
def network_interface_owner_id
|
72
73
|
data[:network_interface_owner_id]
|
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.253.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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.118.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.118.0
|
47
47
|
description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
|
48
48
|
This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|