aws-sdk-ec2 1.219.0 → 1.224.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/client.rb +496 -131
- data/lib/aws-sdk-ec2/client_api.rb +94 -0
- data/lib/aws-sdk-ec2/instance.rb +8 -6
- data/lib/aws-sdk-ec2/resource.rb +51 -17
- data/lib/aws-sdk-ec2/snapshot.rb +26 -0
- data/lib/aws-sdk-ec2/subnet.rb +11 -12
- data/lib/aws-sdk-ec2/types.rb +498 -109
- data/lib/aws-sdk-ec2/volume.rb +22 -0
- 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
|
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.224.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-04 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:
|