aws-sdk-ec2 1.220.0 → 1.225.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +4 -4
- data/lib/aws-sdk-ec2/client.rb +535 -170
- data/lib/aws-sdk-ec2/client_api.rb +94 -1
- data/lib/aws-sdk-ec2/instance.rb +8 -6
- data/lib/aws-sdk-ec2/network_interface.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +64 -26
- data/lib/aws-sdk-ec2/snapshot.rb +26 -0
- data/lib/aws-sdk-ec2/subnet.rb +14 -16
- data/lib/aws-sdk-ec2/types.rb +528 -176
- data/lib/aws-sdk-ec2/volume.rb +22 -0
- data/lib/aws-sdk-ec2/vpc.rb +9 -8
- data/lib/aws-sdk-ec2/vpc_address.rb +6 -6
- metadata +4 -4
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -293,6 +293,7 @@ module Aws::EC2
|
|
293
293
|
#
|
294
294
|
# snapshot = volume.create_snapshot({
|
295
295
|
# description: "String",
|
296
|
+
# outpost_arn: "String",
|
296
297
|
# tag_specifications: [
|
297
298
|
# {
|
298
299
|
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
@@ -309,6 +310,27 @@ module Aws::EC2
|
|
309
310
|
# @param [Hash] options ({})
|
310
311
|
# @option options [String] :description
|
311
312
|
# A description for the snapshot.
|
313
|
+
# @option options [String] :outpost_arn
|
314
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
|
315
|
+
# local snapshot.
|
316
|
+
#
|
317
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
318
|
+
# The snapshot is created in the same Region as the volume.
|
319
|
+
#
|
320
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
321
|
+
# snapshot in the Region, omit this parameter. The snapshot is created
|
322
|
+
# in the Region for the Outpost.
|
323
|
+
#
|
324
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
325
|
+
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
326
|
+
# The snapshot must be created on the same Outpost as the volume.
|
327
|
+
#
|
328
|
+
# For more information, see [ Creating local snapshots from volumes on
|
329
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
330
|
+
#
|
331
|
+
#
|
332
|
+
#
|
333
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
312
334
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
313
335
|
# The tags to apply to the snapshot during creation.
|
314
336
|
# @option options [Boolean] :dry_run
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1495,9 +1495,8 @@ module Aws::EC2
|
|
1495
1495
|
# * `private-dns-name` - The private DNS name of the network interface
|
1496
1496
|
# (IPv4).
|
1497
1497
|
#
|
1498
|
-
# * `requester-id` - The
|
1499
|
-
#
|
1500
|
-
# so on).
|
1498
|
+
# * `requester-id` - The alias or AWS account ID of the principal or
|
1499
|
+
# service that created the network interface.
|
1501
1500
|
#
|
1502
1501
|
# * `requester-managed` - Indicates whether the network interface is
|
1503
1502
|
# being managed by an AWS service (for example, AWS Management
|
@@ -1789,7 +1788,7 @@ module Aws::EC2
|
|
1789
1788
|
# has been referenced in an outbound security group rule.
|
1790
1789
|
#
|
1791
1790
|
# * `egress.ip-permission.group-name` - The name of a security group
|
1792
|
-
# that
|
1791
|
+
# that is referenced in an outbound security group rule.
|
1793
1792
|
#
|
1794
1793
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
1795
1794
|
# outbound security group rule.
|
@@ -1798,7 +1797,8 @@ module Aws::EC2
|
|
1798
1797
|
# which a security group rule allows outbound access.
|
1799
1798
|
#
|
1800
1799
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
1801
|
-
# security group rule (`tcp` \| `udp` \| `icmp
|
1800
|
+
# security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
|
1801
|
+
# -1 for all protocols).
|
1802
1802
|
#
|
1803
1803
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
1804
1804
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
@@ -1819,8 +1819,8 @@ module Aws::EC2
|
|
1819
1819
|
# * `ip-permission.group-id` - The ID of a security group that has been
|
1820
1820
|
# referenced in an inbound security group rule.
|
1821
1821
|
#
|
1822
|
-
# * `ip-permission.group-name` - The name of a security group that
|
1823
|
-
#
|
1822
|
+
# * `ip-permission.group-name` - The name of a security group that is
|
1823
|
+
# referenced in an inbound security group rule.
|
1824
1824
|
#
|
1825
1825
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
1826
1826
|
# security group rule.
|
@@ -1829,7 +1829,8 @@ module Aws::EC2
|
|
1829
1829
|
# a security group rule allows inbound access.
|
1830
1830
|
#
|
1831
1831
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
1832
|
-
# group rule (`tcp` \| `udp` \| `icmp
|
1832
|
+
# group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
|
1833
|
+
# all protocols).
|
1833
1834
|
#
|
1834
1835
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
1835
1836
|
# for the TCP and UDP protocols, or an ICMP code.
|
@@ -263,13 +263,13 @@ module Aws::EC2
|
|
263
263
|
# })
|
264
264
|
# @param [Hash] options ({})
|
265
265
|
# @option options [String] :instance_id
|
266
|
-
# The ID of the instance.
|
267
|
-
# you can specify either the instance ID
|
268
|
-
# but not both.
|
269
|
-
#
|
266
|
+
# The ID of the instance. The instance must have exactly one attached
|
267
|
+
# network interface. For EC2-VPC, you can specify either the instance ID
|
268
|
+
# or the network interface ID, but not both. For EC2-Classic, you must
|
269
|
+
# specify an instance ID and the instance must be in the running state.
|
270
270
|
# @option options [String] :public_ip
|
271
|
-
# The Elastic IP address to associate with the instance.
|
272
|
-
# required for EC2-Classic.
|
271
|
+
# \[EC2-Classic\] The Elastic IP address to associate with the instance.
|
272
|
+
# This is required for EC2-Classic.
|
273
273
|
# @option options [Boolean] :allow_reassociation
|
274
274
|
# \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
|
275
275
|
# an Elastic IP address that is already associated with an instance or
|
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.225.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:
|
11
|
+
date: 2021-02-17 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.112.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.112.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:
|