aws-sdk-ec2 1.264.0 → 1.268.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/classic_address.rb +8 -15
- data/lib/aws-sdk-ec2/client.rb +539 -134
- data/lib/aws-sdk-ec2/client_api.rb +191 -6
- data/lib/aws-sdk-ec2/instance.rb +29 -1
- data/lib/aws-sdk-ec2/resource.rb +8 -8
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1041 -214
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2/vpc_address.rb +8 -15
- data/lib/aws-sdk-ec2/waiters.rb +14 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -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
|
483
484
|
# ipv_6_cidr_block: "String",
|
484
485
|
# outpost_arn: "String",
|
485
486
|
# dry_run: false,
|
486
|
-
# cidr_block: "String", # required
|
487
487
|
# })
|
488
488
|
# @param [Hash] options ({})
|
489
489
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -508,6 +508,11 @@ 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`.
|
511
516
|
# @option options [String] :ipv_6_cidr_block
|
512
517
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
513
518
|
# size must use a /64 prefix length.
|
@@ -520,11 +525,6 @@ module Aws::EC2
|
|
520
525
|
# without actually making the request, and provides an error response.
|
521
526
|
# If you have the required permissions, the error response is
|
522
527
|
# `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)
|
@@ -92,7 +92,8 @@ module Aws::EC2
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# The name of the unique set of Availability Zones, Local Zones, or
|
95
|
-
# Wavelength Zones from which
|
95
|
+
# Wavelength Zones from which Amazon Web Services advertises IP
|
96
|
+
# addresses.
|
96
97
|
# @return [String]
|
97
98
|
def network_border_group
|
98
99
|
data[:network_border_group]
|
@@ -314,22 +315,14 @@ module Aws::EC2
|
|
314
315
|
# \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
|
315
316
|
# @option options [String] :network_border_group
|
316
317
|
# The set of Availability Zones, Local Zones, or Wavelength Zones from
|
317
|
-
# which
|
318
|
+
# which Amazon Web Services advertises IP addresses.
|
318
319
|
#
|
319
|
-
# If you provide an incorrect network border group, you
|
320
|
-
# `InvalidAddress.NotFound` error.
|
321
|
-
# Codes][1].
|
320
|
+
# If you provide an incorrect network border group, you receive an
|
321
|
+
# `InvalidAddress.NotFound` error.
|
322
322
|
#
|
323
|
-
#
|
324
|
-
# this operation on EC2 classic, you
|
325
|
-
# `InvalidParameterCombination` error.
|
326
|
-
# Codes][1].
|
327
|
-
#
|
328
|
-
# </note>
|
329
|
-
#
|
330
|
-
#
|
331
|
-
#
|
332
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
323
|
+
# You cannot use a network border group with EC2 Classic. If you attempt
|
324
|
+
# this operation on EC2 classic, you receive an
|
325
|
+
# `InvalidParameterCombination` error.
|
333
326
|
# @option options [Boolean] :dry_run
|
334
327
|
# Checks whether you have the required permissions for the action,
|
335
328
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/waiters.rb
CHANGED
@@ -967,12 +967,20 @@ module Aws::EC2
|
|
967
967
|
delay: 15,
|
968
968
|
poller: Aws::Waiters::Poller.new(
|
969
969
|
operation_name: :describe_snapshots,
|
970
|
-
acceptors: [
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
970
|
+
acceptors: [
|
971
|
+
{
|
972
|
+
"expected" => "completed",
|
973
|
+
"matcher" => "pathAll",
|
974
|
+
"state" => "success",
|
975
|
+
"argument" => "snapshots[].state"
|
976
|
+
},
|
977
|
+
{
|
978
|
+
"expected" => "error",
|
979
|
+
"matcher" => "pathAny",
|
980
|
+
"state" => "failure",
|
981
|
+
"argument" => "snapshots[].state"
|
982
|
+
}
|
983
|
+
]
|
976
984
|
)
|
977
985
|
}.merge(options))
|
978
986
|
end
|
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.268.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
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|