aws-sdk-ec2 1.223.0 → 1.224.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +181 -31
- data/lib/aws-sdk-ec2/client_api.rb +7 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +41 -5
- data/lib/aws-sdk-ec2/snapshot.rb +26 -0
- data/lib/aws-sdk-ec2/subnet.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +161 -8
- data/lib/aws-sdk-ec2/volume.rb +22 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f79d886db40447854b308edc88847d586595376b521dc7f33dd7036f1c9f6d96
|
|
4
|
+
data.tar.gz: d494d78a4c9c91dfd8a9ffcf135050eab1adf9a05b7db86bac5f21a4acd13e57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2cb64d16186746f2eee70535b4d9301f7862bdafcaba2e4290cac16719aa112a6118fe1093affd87d27a21f880413f935b8dd56ba6fa2d871571927735e3fa5
|
|
7
|
+
data.tar.gz: 16ccbd2cf6daaa5a9a400d07eb4c233f297cd3b9c1962eaa594b35c6b1ba3225f44fba293b723b38473309afbf5b6b20875bc9edb876a9f17ddc7ed3fc3870be
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -3326,22 +3326,37 @@ module Aws::EC2
|
|
|
3326
3326
|
req.send_request(options)
|
|
3327
3327
|
end
|
|
3328
3328
|
|
|
3329
|
-
# Initiates the copy of an AMI
|
|
3330
|
-
#
|
|
3331
|
-
#
|
|
3329
|
+
# Initiates the copy of an AMI. You can copy an AMI from one Region to
|
|
3330
|
+
# another, or from a Region to an AWS Outpost. You can't copy an AMI
|
|
3331
|
+
# from an Outpost to a Region, from one Outpost to another, or within
|
|
3332
|
+
# the same Outpost.
|
|
3333
|
+
#
|
|
3334
|
+
# To copy an AMI from one Region to another, specify the source Region
|
|
3335
|
+
# using the **SourceRegion** parameter, and specify the destination
|
|
3336
|
+
# Region using its endpoint. Copies of encrypted backing snapshots for
|
|
3337
|
+
# the AMI are encrypted. Copies of unencrypted backing snapshots remain
|
|
3338
|
+
# unencrypted, unless you set `Encrypted` during the copy operation. You
|
|
3339
|
+
# cannot create an unencrypted copy of an encrypted backing snapshot.
|
|
3340
|
+
#
|
|
3341
|
+
# To copy an AMI from a Region to an Outpost, specify the source Region
|
|
3342
|
+
# using the **SourceRegion** parameter, and specify the ARN of the
|
|
3343
|
+
# destination Outpost using **DestinationOutpostArn**. Backing snapshots
|
|
3344
|
+
# copied to an Outpost are encrypted by default using the default
|
|
3345
|
+
# encryption key for the Region, or a different key that you specify in
|
|
3346
|
+
# the request using **KmsKeyId**. Outposts do not support unencrypted
|
|
3347
|
+
# snapshots. For more information, [ Amazon EBS local snapshots on
|
|
3348
|
+
# Outposts][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
3349
|
+
#
|
|
3332
3350
|
#
|
|
3333
|
-
# Copies of encrypted backing snapshots for the AMI are encrypted.
|
|
3334
|
-
# Copies of unencrypted backing snapshots remain unencrypted, unless you
|
|
3335
|
-
# set `Encrypted` during the copy operation. You cannot create an
|
|
3336
|
-
# unencrypted copy of an encrypted backing snapshot.
|
|
3337
3351
|
#
|
|
3338
3352
|
# For more information about the prerequisites and limits when copying
|
|
3339
|
-
# an AMI, see [Copying an AMI][
|
|
3353
|
+
# an AMI, see [Copying an AMI][2] in the *Amazon Elastic Compute Cloud
|
|
3340
3354
|
# User Guide*.
|
|
3341
3355
|
#
|
|
3342
3356
|
#
|
|
3343
3357
|
#
|
|
3344
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
3358
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
|
3359
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
|
|
3345
3360
|
#
|
|
3346
3361
|
# @option params [String] :client_token
|
|
3347
3362
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
|
@@ -3403,6 +3418,20 @@ module Aws::EC2
|
|
|
3403
3418
|
# @option params [required, String] :source_region
|
|
3404
3419
|
# The name of the Region that contains the AMI to copy.
|
|
3405
3420
|
#
|
|
3421
|
+
# @option params [String] :destination_outpost_arn
|
|
3422
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
|
3423
|
+
# AMI. Only specify this parameter when copying an AMI from an AWS
|
|
3424
|
+
# Region to an Outpost. The AMI must be in the Region of the destination
|
|
3425
|
+
# Outpost. You cannot copy an AMI from an Outpost to a Region, from one
|
|
3426
|
+
# Outpost to another, or within the same Outpost.
|
|
3427
|
+
#
|
|
3428
|
+
# For more information, see [ Copying AMIs from an AWS Region to an
|
|
3429
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
3430
|
+
#
|
|
3431
|
+
#
|
|
3432
|
+
#
|
|
3433
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis
|
|
3434
|
+
#
|
|
3406
3435
|
# @option params [Boolean] :dry_run
|
|
3407
3436
|
# Checks whether you have the required permissions for the action,
|
|
3408
3437
|
# without actually making the request, and provides an error response.
|
|
@@ -3440,6 +3469,7 @@ module Aws::EC2
|
|
|
3440
3469
|
# name: "String", # required
|
|
3441
3470
|
# source_image_id: "String", # required
|
|
3442
3471
|
# source_region: "String", # required
|
|
3472
|
+
# destination_outpost_arn: "String",
|
|
3443
3473
|
# dry_run: false,
|
|
3444
3474
|
# })
|
|
3445
3475
|
#
|
|
@@ -3457,33 +3487,58 @@ module Aws::EC2
|
|
|
3457
3487
|
end
|
|
3458
3488
|
|
|
3459
3489
|
# Copies a point-in-time snapshot of an EBS volume and stores it in
|
|
3460
|
-
# Amazon S3. You can copy
|
|
3461
|
-
#
|
|
3462
|
-
#
|
|
3463
|
-
#
|
|
3464
|
-
#
|
|
3465
|
-
#
|
|
3466
|
-
#
|
|
3467
|
-
#
|
|
3468
|
-
#
|
|
3469
|
-
#
|
|
3470
|
-
#
|
|
3471
|
-
#
|
|
3472
|
-
#
|
|
3490
|
+
# Amazon S3. You can copy a snapshot within the same Region, from one
|
|
3491
|
+
# Region to another, or from a Region to an Outpost. You can't copy a
|
|
3492
|
+
# snapshot from an Outpost to a Region, from one Outpost to another, or
|
|
3493
|
+
# within the same Outpost.
|
|
3494
|
+
#
|
|
3495
|
+
# You can use the snapshot to create EBS volumes or Amazon Machine
|
|
3496
|
+
# Images (AMIs).
|
|
3497
|
+
#
|
|
3498
|
+
# When copying snapshots to a Region, copies of encrypted EBS snapshots
|
|
3499
|
+
# remain encrypted. Copies of unencrypted snapshots remain unencrypted,
|
|
3500
|
+
# unless you enable encryption for the snapshot copy operation. By
|
|
3501
|
+
# default, encrypted snapshot copies use the default AWS Key Management
|
|
3502
|
+
# Service (AWS KMS) customer master key (CMK); however, you can specify
|
|
3503
|
+
# a different CMK. To copy an encrypted snapshot that has been shared
|
|
3504
|
+
# from another account, you must have permissions for the CMK used to
|
|
3505
|
+
# encrypt the snapshot.
|
|
3506
|
+
#
|
|
3507
|
+
# Snapshots copied to an Outpost are encrypted by default using the
|
|
3508
|
+
# default encryption key for the Region, or a different key that you
|
|
3509
|
+
# specify in the request using **KmsKeyId**. Outposts do not support
|
|
3510
|
+
# unencrypted snapshots. For more information, [ Amazon EBS local
|
|
3511
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
|
3512
|
+
# Guide*.
|
|
3473
3513
|
#
|
|
3474
3514
|
# Snapshots created by copying another snapshot have an arbitrary volume
|
|
3475
3515
|
# ID that should not be used for any purpose.
|
|
3476
3516
|
#
|
|
3477
|
-
# For more information, see [Copying an Amazon EBS snapshot][
|
|
3517
|
+
# For more information, see [Copying an Amazon EBS snapshot][2] in the
|
|
3478
3518
|
# *Amazon Elastic Compute Cloud User Guide*.
|
|
3479
3519
|
#
|
|
3480
3520
|
#
|
|
3481
3521
|
#
|
|
3482
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
3522
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
|
3523
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html
|
|
3483
3524
|
#
|
|
3484
3525
|
# @option params [String] :description
|
|
3485
3526
|
# A description for the EBS snapshot.
|
|
3486
3527
|
#
|
|
3528
|
+
# @option params [String] :destination_outpost_arn
|
|
3529
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
|
3530
|
+
# snapshot. Only specify this parameter when copying a snapshot from an
|
|
3531
|
+
# AWS Region to an Outpost. The snapshot must be in the Region for the
|
|
3532
|
+
# destination Outpost. You cannot copy a snapshot from an Outpost to a
|
|
3533
|
+
# Region, from one Outpost to another, or within the same Outpost.
|
|
3534
|
+
#
|
|
3535
|
+
# For more information, see [ Copying snapshots from an AWS Region to an
|
|
3536
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
3537
|
+
#
|
|
3538
|
+
#
|
|
3539
|
+
#
|
|
3540
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
|
|
3541
|
+
#
|
|
3487
3542
|
# @option params [String] :destination_region
|
|
3488
3543
|
# The destination Region to use in the `PresignedUrl` parameter of a
|
|
3489
3544
|
# snapshot copy operation. This parameter is only valid for specifying
|
|
@@ -3617,6 +3672,7 @@ module Aws::EC2
|
|
|
3617
3672
|
#
|
|
3618
3673
|
# resp = client.copy_snapshot({
|
|
3619
3674
|
# description: "String",
|
|
3675
|
+
# destination_outpost_arn: "String",
|
|
3620
3676
|
# destination_region: "String",
|
|
3621
3677
|
# encrypted: false,
|
|
3622
3678
|
# kms_key_id: "KmsKeyId",
|
|
@@ -4776,7 +4832,13 @@ module Aws::EC2
|
|
|
4776
4832
|
# specified, the request remains until you cancel it.
|
|
4777
4833
|
#
|
|
4778
4834
|
# @option params [Boolean] :replace_unhealthy_instances
|
|
4779
|
-
# Indicates whether EC2 Fleet should replace unhealthy
|
|
4835
|
+
# Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
|
|
4836
|
+
# Supported only for fleets of type `maintain`. For more information,
|
|
4837
|
+
# see [EC2 Fleet health checks][1] in the *Amazon EC2 User Guide*.
|
|
4838
|
+
#
|
|
4839
|
+
#
|
|
4840
|
+
#
|
|
4841
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
|
|
4780
4842
|
#
|
|
4781
4843
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
4782
4844
|
# The key-value pair for tagging the EC2 Fleet request on creation. The
|
|
@@ -5314,6 +5376,7 @@ module Aws::EC2
|
|
|
5314
5376
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
5315
5377
|
# kms_key_id: "String",
|
|
5316
5378
|
# throughput: 1,
|
|
5379
|
+
# outpost_arn: "String",
|
|
5317
5380
|
# encrypted: false,
|
|
5318
5381
|
# },
|
|
5319
5382
|
# no_device: "String",
|
|
@@ -7777,6 +7840,13 @@ module Aws::EC2
|
|
|
7777
7840
|
# can use snapshots for backups, to make copies of EBS volumes, and to
|
|
7778
7841
|
# save data before shutting down an instance.
|
|
7779
7842
|
#
|
|
7843
|
+
# You can create snapshots of volumes in a Region and volumes on an
|
|
7844
|
+
# Outpost. If you create a snapshot of a volume in a Region, the
|
|
7845
|
+
# snapshot must be stored in the same Region as the volume. If you
|
|
7846
|
+
# create a snapshot of a volume on an Outpost, the snapshot can be
|
|
7847
|
+
# stored on the same Outpost as the volume, or in the Region for that
|
|
7848
|
+
# Outpost.
|
|
7849
|
+
#
|
|
7780
7850
|
# When a snapshot is created, any AWS Marketplace product codes that are
|
|
7781
7851
|
# associated with the source volume are propagated to the snapshot.
|
|
7782
7852
|
#
|
|
@@ -7815,6 +7885,28 @@ module Aws::EC2
|
|
|
7815
7885
|
# @option params [String] :description
|
|
7816
7886
|
# A description for the snapshot.
|
|
7817
7887
|
#
|
|
7888
|
+
# @option params [String] :outpost_arn
|
|
7889
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
|
|
7890
|
+
# local snapshot.
|
|
7891
|
+
#
|
|
7892
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
|
7893
|
+
# The snapshot is created in the same Region as the volume.
|
|
7894
|
+
#
|
|
7895
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
|
7896
|
+
# snapshot in the Region, omit this parameter. The snapshot is created
|
|
7897
|
+
# in the Region for the Outpost.
|
|
7898
|
+
#
|
|
7899
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
|
7900
|
+
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
|
7901
|
+
# The snapshot must be created on the same Outpost as the volume.
|
|
7902
|
+
#
|
|
7903
|
+
# For more information, see [ Creating local snapshots from volumes on
|
|
7904
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
7905
|
+
#
|
|
7906
|
+
#
|
|
7907
|
+
#
|
|
7908
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
|
7909
|
+
#
|
|
7818
7910
|
# @option params [required, String] :volume_id
|
|
7819
7911
|
# The ID of the EBS volume.
|
|
7820
7912
|
#
|
|
@@ -7842,6 +7934,7 @@ module Aws::EC2
|
|
|
7842
7934
|
# * {Types::Snapshot#volume_id #volume_id} => String
|
|
7843
7935
|
# * {Types::Snapshot#volume_size #volume_size} => Integer
|
|
7844
7936
|
# * {Types::Snapshot#owner_alias #owner_alias} => String
|
|
7937
|
+
# * {Types::Snapshot#outpost_arn #outpost_arn} => String
|
|
7845
7938
|
# * {Types::Snapshot#tags #tags} => Array<Types::Tag>
|
|
7846
7939
|
#
|
|
7847
7940
|
#
|
|
@@ -7872,6 +7965,7 @@ module Aws::EC2
|
|
|
7872
7965
|
#
|
|
7873
7966
|
# resp = client.create_snapshot({
|
|
7874
7967
|
# description: "String",
|
|
7968
|
+
# outpost_arn: "String",
|
|
7875
7969
|
# volume_id: "VolumeId", # required
|
|
7876
7970
|
# tag_specifications: [
|
|
7877
7971
|
# {
|
|
@@ -7902,6 +7996,7 @@ module Aws::EC2
|
|
|
7902
7996
|
# resp.volume_id #=> String
|
|
7903
7997
|
# resp.volume_size #=> Integer
|
|
7904
7998
|
# resp.owner_alias #=> String
|
|
7999
|
+
# resp.outpost_arn #=> String
|
|
7905
8000
|
# resp.tags #=> Array
|
|
7906
8001
|
# resp.tags[0].key #=> String
|
|
7907
8002
|
# resp.tags[0].value #=> String
|
|
@@ -7921,6 +8016,13 @@ module Aws::EC2
|
|
|
7921
8016
|
# crash-consistent across the instance. Boot volumes can be excluded by
|
|
7922
8017
|
# changing the parameters.
|
|
7923
8018
|
#
|
|
8019
|
+
# You can create multi-volume snapshots of instances in a Region and
|
|
8020
|
+
# instances on an Outpost. If you create snapshots from an instance in a
|
|
8021
|
+
# Region, the snapshots must be stored in the same Region as the
|
|
8022
|
+
# instance. If you create snapshots from an instance on an Outpost, the
|
|
8023
|
+
# snapshots can be stored on the same Outpost as the instance, or in the
|
|
8024
|
+
# Region for that Outpost.
|
|
8025
|
+
#
|
|
7924
8026
|
# @option params [String] :description
|
|
7925
8027
|
# A description propagated to every snapshot specified by the instance.
|
|
7926
8028
|
#
|
|
@@ -7928,6 +8030,30 @@ module Aws::EC2
|
|
|
7928
8030
|
# The instance to specify which volumes should be included in the
|
|
7929
8031
|
# snapshots.
|
|
7930
8032
|
#
|
|
8033
|
+
# @option params [String] :outpost_arn
|
|
8034
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create
|
|
8035
|
+
# the local snapshots.
|
|
8036
|
+
#
|
|
8037
|
+
# * To create snapshots from an instance in a Region, omit this
|
|
8038
|
+
# parameter. The snapshots are created in the same Region as the
|
|
8039
|
+
# instance.
|
|
8040
|
+
#
|
|
8041
|
+
# * To create snapshots from an instance on an Outpost and store the
|
|
8042
|
+
# snapshots in the Region, omit this parameter. The snapshots are
|
|
8043
|
+
# created in the Region for the Outpost.
|
|
8044
|
+
#
|
|
8045
|
+
# * To create snapshots from an instance on an Outpost and store the
|
|
8046
|
+
# snapshots on an Outpost, specify the ARN of the destination Outpost.
|
|
8047
|
+
# The snapshots must be created on the same Outpost as the instance.
|
|
8048
|
+
#
|
|
8049
|
+
# For more information, see [ Creating multi-volume local snapshots from
|
|
8050
|
+
# instances on an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
|
8051
|
+
# Guide*.
|
|
8052
|
+
#
|
|
8053
|
+
#
|
|
8054
|
+
#
|
|
8055
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot
|
|
8056
|
+
#
|
|
7931
8057
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
7932
8058
|
# Tags to apply to every snapshot specified by the instance.
|
|
7933
8059
|
#
|
|
@@ -7952,6 +8078,7 @@ module Aws::EC2
|
|
|
7952
8078
|
# instance_id: "InstanceId",
|
|
7953
8079
|
# exclude_boot_volume: false,
|
|
7954
8080
|
# },
|
|
8081
|
+
# outpost_arn: "String",
|
|
7955
8082
|
# tag_specifications: [
|
|
7956
8083
|
# {
|
|
7957
8084
|
# 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
|
|
@@ -7982,6 +8109,7 @@ module Aws::EC2
|
|
|
7982
8109
|
# resp.snapshots[0].progress #=> String
|
|
7983
8110
|
# resp.snapshots[0].owner_id #=> String
|
|
7984
8111
|
# resp.snapshots[0].snapshot_id #=> String
|
|
8112
|
+
# resp.snapshots[0].outpost_arn #=> String
|
|
7985
8113
|
#
|
|
7986
8114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots AWS API Documentation
|
|
7987
8115
|
#
|
|
@@ -16878,6 +17006,7 @@ module Aws::EC2
|
|
|
16878
17006
|
# resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
16879
17007
|
# resp.block_device_mappings[0].ebs.kms_key_id #=> String
|
|
16880
17008
|
# resp.block_device_mappings[0].ebs.throughput #=> Integer
|
|
17009
|
+
# resp.block_device_mappings[0].ebs.outpost_arn #=> String
|
|
16881
17010
|
# resp.block_device_mappings[0].ebs.encrypted #=> Boolean
|
|
16882
17011
|
# resp.block_device_mappings[0].no_device #=> String
|
|
16883
17012
|
# resp.image_id #=> String
|
|
@@ -16963,13 +17092,14 @@ module Aws::EC2
|
|
|
16963
17092
|
#
|
|
16964
17093
|
# * `name` - The name of the AMI (provided during image creation).
|
|
16965
17094
|
#
|
|
16966
|
-
# * `owner-alias` - The owner alias
|
|
16967
|
-
#
|
|
16968
|
-
# account alias set using the IAM console. We
|
|
16969
|
-
# the
|
|
17095
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
|
|
17096
|
+
# valid aliases are defined in an Amazon-maintained list. This is not
|
|
17097
|
+
# the AWS account alias that can be set using the IAM console. We
|
|
17098
|
+
# recommend that you use the **Owner** request parameter instead of
|
|
17099
|
+
# this filter.
|
|
16970
17100
|
#
|
|
16971
17101
|
# * `owner-id` - The AWS account ID of the owner. We recommend that you
|
|
16972
|
-
# use the
|
|
17102
|
+
# use the **Owner** request parameter instead of this filter.
|
|
16973
17103
|
#
|
|
16974
17104
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
|
16975
17105
|
# `windows`.
|
|
@@ -17119,6 +17249,7 @@ module Aws::EC2
|
|
|
17119
17249
|
# resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
17120
17250
|
# resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
|
17121
17251
|
# resp.images[0].block_device_mappings[0].ebs.throughput #=> Integer
|
|
17252
|
+
# resp.images[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
|
17122
17253
|
# resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
|
17123
17254
|
# resp.images[0].block_device_mappings[0].no_device #=> String
|
|
17124
17255
|
# resp.images[0].description #=> String
|
|
@@ -23350,6 +23481,7 @@ module Aws::EC2
|
|
|
23350
23481
|
# resp.snapshots[0].volume_id #=> String
|
|
23351
23482
|
# resp.snapshots[0].volume_size #=> Integer
|
|
23352
23483
|
# resp.snapshots[0].owner_alias #=> String
|
|
23484
|
+
# resp.snapshots[0].outpost_arn #=> String
|
|
23353
23485
|
# resp.snapshots[0].tags #=> Array
|
|
23354
23486
|
# resp.snapshots[0].tags[0].key #=> String
|
|
23355
23487
|
# resp.snapshots[0].tags[0].value #=> String
|
|
@@ -23751,6 +23883,7 @@ module Aws::EC2
|
|
|
23751
23883
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
23752
23884
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
|
23753
23885
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.throughput #=> Integer
|
|
23886
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
|
23754
23887
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
|
23755
23888
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
|
|
23756
23889
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].ebs_optimized #=> Boolean
|
|
@@ -24107,6 +24240,7 @@ module Aws::EC2
|
|
|
24107
24240
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
24108
24241
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
|
24109
24242
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
|
24243
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
|
24110
24244
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
|
24111
24245
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
|
24112
24246
|
# resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
|
|
@@ -35940,6 +36074,17 @@ module Aws::EC2
|
|
|
35940
36074
|
# @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
|
35941
36075
|
# The block device mapping entries.
|
|
35942
36076
|
#
|
|
36077
|
+
# If you create an AMI on an Outpost, then all backing snapshots must be
|
|
36078
|
+
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
|
36079
|
+
# Outpost that include local snapshots can be used to launch instances
|
|
36080
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
|
36081
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
|
36082
|
+
# Guide*.
|
|
36083
|
+
#
|
|
36084
|
+
#
|
|
36085
|
+
#
|
|
36086
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
|
36087
|
+
#
|
|
35943
36088
|
# @option params [String] :description
|
|
35944
36089
|
# A description for your AMI.
|
|
35945
36090
|
#
|
|
@@ -36013,6 +36158,7 @@ module Aws::EC2
|
|
|
36013
36158
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
36014
36159
|
# kms_key_id: "String",
|
|
36015
36160
|
# throughput: 1,
|
|
36161
|
+
# outpost_arn: "String",
|
|
36016
36162
|
# encrypted: false,
|
|
36017
36163
|
# },
|
|
36018
36164
|
# no_device: "String",
|
|
@@ -37349,6 +37495,7 @@ module Aws::EC2
|
|
|
37349
37495
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
37350
37496
|
# kms_key_id: "String",
|
|
37351
37497
|
# throughput: 1,
|
|
37498
|
+
# outpost_arn: "String",
|
|
37352
37499
|
# encrypted: false,
|
|
37353
37500
|
# },
|
|
37354
37501
|
# no_device: "String",
|
|
@@ -37697,6 +37844,7 @@ module Aws::EC2
|
|
|
37697
37844
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
37698
37845
|
# kms_key_id: "String",
|
|
37699
37846
|
# throughput: 1,
|
|
37847
|
+
# outpost_arn: "String",
|
|
37700
37848
|
# encrypted: false,
|
|
37701
37849
|
# },
|
|
37702
37850
|
# no_device: "String",
|
|
@@ -37795,6 +37943,7 @@ module Aws::EC2
|
|
|
37795
37943
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
|
37796
37944
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
|
37797
37945
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
|
37946
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
|
37798
37947
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
|
37799
37948
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
|
37800
37949
|
# resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
|
|
@@ -39133,6 +39282,7 @@ module Aws::EC2
|
|
|
39133
39282
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
39134
39283
|
# kms_key_id: "String",
|
|
39135
39284
|
# throughput: 1,
|
|
39285
|
+
# outpost_arn: "String",
|
|
39136
39286
|
# encrypted: false,
|
|
39137
39287
|
# },
|
|
39138
39288
|
# no_device: "String",
|
|
@@ -41072,7 +41222,7 @@ module Aws::EC2
|
|
|
41072
41222
|
params: params,
|
|
41073
41223
|
config: config)
|
|
41074
41224
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
41075
|
-
context[:gem_version] = '1.
|
|
41225
|
+
context[:gem_version] = '1.224.0'
|
|
41076
41226
|
Seahorse::Client::Request.new(handlers, context)
|
|
41077
41227
|
end
|
|
41078
41228
|
|
|
@@ -3115,6 +3115,7 @@ module Aws::EC2
|
|
|
3115
3115
|
CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
|
3116
3116
|
CopyImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceImageId"))
|
|
3117
3117
|
CopyImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
|
|
3118
|
+
CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
|
|
3118
3119
|
CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
3119
3120
|
CopyImageRequest.struct_class = Types::CopyImageRequest
|
|
3120
3121
|
|
|
@@ -3122,6 +3123,7 @@ module Aws::EC2
|
|
|
3122
3123
|
CopyImageResult.struct_class = Types::CopyImageResult
|
|
3123
3124
|
|
|
3124
3125
|
CopySnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
|
3126
|
+
CopySnapshotRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
|
|
3125
3127
|
CopySnapshotRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "destinationRegion"))
|
|
3126
3128
|
CopySnapshotRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
|
3127
3129
|
CopySnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
|
@@ -3539,6 +3541,7 @@ module Aws::EC2
|
|
|
3539
3541
|
CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
|
|
3540
3542
|
|
|
3541
3543
|
CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
|
3544
|
+
CreateSnapshotRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
|
3542
3545
|
CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
|
|
3543
3546
|
CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
3544
3547
|
CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
@@ -3546,6 +3549,7 @@ module Aws::EC2
|
|
|
3546
3549
|
|
|
3547
3550
|
CreateSnapshotsRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
|
3548
3551
|
CreateSnapshotsRequest.add_member(:instance_specification, Shapes::ShapeRef.new(shape: InstanceSpecification, required: true, location_name: "InstanceSpecification"))
|
|
3552
|
+
CreateSnapshotsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
|
3549
3553
|
CreateSnapshotsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
3550
3554
|
CreateSnapshotsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
3551
3555
|
CreateSnapshotsRequest.add_member(:copy_tags_from_source, Shapes::ShapeRef.new(shape: CopyTagsFromSource, location_name: "CopyTagsFromSource"))
|
|
@@ -5822,6 +5826,7 @@ module Aws::EC2
|
|
|
5822
5826
|
EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
|
|
5823
5827
|
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
|
5824
5828
|
EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
|
5829
|
+
EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
|
5825
5830
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
|
5826
5831
|
EbsBlockDevice.struct_class = Types::EbsBlockDevice
|
|
5827
5832
|
|
|
@@ -9682,6 +9687,7 @@ module Aws::EC2
|
|
|
9682
9687
|
Snapshot.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
|
9683
9688
|
Snapshot.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
|
|
9684
9689
|
Snapshot.add_member(:owner_alias, Shapes::ShapeRef.new(shape: String, location_name: "ownerAlias"))
|
|
9690
|
+
Snapshot.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
|
9685
9691
|
Snapshot.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
|
9686
9692
|
Snapshot.struct_class = Types::Snapshot
|
|
9687
9693
|
|
|
@@ -9717,6 +9723,7 @@ module Aws::EC2
|
|
|
9717
9723
|
SnapshotInfo.add_member(:progress, Shapes::ShapeRef.new(shape: String, location_name: "progress"))
|
|
9718
9724
|
SnapshotInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
|
9719
9725
|
SnapshotInfo.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
|
9726
|
+
SnapshotInfo.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
|
9720
9727
|
SnapshotInfo.struct_class = Types::SnapshotInfo
|
|
9721
9728
|
|
|
9722
9729
|
SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -92,6 +92,7 @@ module Aws::EC2
|
|
|
92
92
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
93
93
|
# kms_key_id: "String",
|
|
94
94
|
# throughput: 1,
|
|
95
|
+
# outpost_arn: "String",
|
|
95
96
|
# encrypted: false,
|
|
96
97
|
# },
|
|
97
98
|
# no_device: "String",
|
|
@@ -948,6 +949,7 @@ module Aws::EC2
|
|
|
948
949
|
#
|
|
949
950
|
# snapshot = ec2.create_snapshot({
|
|
950
951
|
# description: "String",
|
|
952
|
+
# outpost_arn: "String",
|
|
951
953
|
# volume_id: "VolumeId", # required
|
|
952
954
|
# tag_specifications: [
|
|
953
955
|
# {
|
|
@@ -965,6 +967,27 @@ module Aws::EC2
|
|
|
965
967
|
# @param [Hash] options ({})
|
|
966
968
|
# @option options [String] :description
|
|
967
969
|
# A description for the snapshot.
|
|
970
|
+
# @option options [String] :outpost_arn
|
|
971
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
|
|
972
|
+
# local snapshot.
|
|
973
|
+
#
|
|
974
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
|
975
|
+
# The snapshot is created in the same Region as the volume.
|
|
976
|
+
#
|
|
977
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
|
978
|
+
# snapshot in the Region, omit this parameter. The snapshot is created
|
|
979
|
+
# in the Region for the Outpost.
|
|
980
|
+
#
|
|
981
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
|
982
|
+
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
|
983
|
+
# The snapshot must be created on the same Outpost as the volume.
|
|
984
|
+
#
|
|
985
|
+
# For more information, see [ Creating local snapshots from volumes on
|
|
986
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
987
|
+
#
|
|
988
|
+
#
|
|
989
|
+
#
|
|
990
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
|
968
991
|
# @option options [required, String] :volume_id
|
|
969
992
|
# The ID of the EBS volume.
|
|
970
993
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
@@ -1505,6 +1528,7 @@ module Aws::EC2
|
|
|
1505
1528
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
1506
1529
|
# kms_key_id: "String",
|
|
1507
1530
|
# throughput: 1,
|
|
1531
|
+
# outpost_arn: "String",
|
|
1508
1532
|
# encrypted: false,
|
|
1509
1533
|
# },
|
|
1510
1534
|
# no_device: "String",
|
|
@@ -1538,6 +1562,17 @@ module Aws::EC2
|
|
|
1538
1562
|
# AMIs, the architecture specified in the manifest file.
|
|
1539
1563
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
|
1540
1564
|
# The block device mapping entries.
|
|
1565
|
+
#
|
|
1566
|
+
# If you create an AMI on an Outpost, then all backing snapshots must be
|
|
1567
|
+
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
|
1568
|
+
# Outpost that include local snapshots can be used to launch instances
|
|
1569
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
|
1570
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
|
1571
|
+
# Guide*.
|
|
1572
|
+
#
|
|
1573
|
+
#
|
|
1574
|
+
#
|
|
1575
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
|
1541
1576
|
# @option options [String] :description
|
|
1542
1577
|
# A description for your AMI.
|
|
1543
1578
|
# @option options [Boolean] :dry_run
|
|
@@ -1816,13 +1851,14 @@ module Aws::EC2
|
|
|
1816
1851
|
#
|
|
1817
1852
|
# * `name` - The name of the AMI (provided during image creation).
|
|
1818
1853
|
#
|
|
1819
|
-
# * `owner-alias` - The owner alias
|
|
1820
|
-
#
|
|
1821
|
-
# account alias set using the IAM console. We
|
|
1822
|
-
# the
|
|
1854
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
|
|
1855
|
+
# valid aliases are defined in an Amazon-maintained list. This is not
|
|
1856
|
+
# the AWS account alias that can be set using the IAM console. We
|
|
1857
|
+
# recommend that you use the **Owner** request parameter instead of
|
|
1858
|
+
# this filter.
|
|
1823
1859
|
#
|
|
1824
1860
|
# * `owner-id` - The AWS account ID of the owner. We recommend that you
|
|
1825
|
-
# use the
|
|
1861
|
+
# use the **Owner** request parameter instead of this filter.
|
|
1826
1862
|
#
|
|
1827
1863
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
|
1828
1864
|
# `windows`.
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
|
@@ -123,6 +123,18 @@ module Aws::EC2
|
|
|
123
123
|
data[:owner_alias]
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
+
# The ARN of the AWS Outpost on which the snapshot is stored. For more
|
|
127
|
+
# information, see [EBS Local Snapshot on Outposts][1] in the *Amazon
|
|
128
|
+
# Elastic Compute Cloud User Guide*.
|
|
129
|
+
#
|
|
130
|
+
#
|
|
131
|
+
#
|
|
132
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
|
|
133
|
+
# @return [String]
|
|
134
|
+
def outpost_arn
|
|
135
|
+
data[:outpost_arn]
|
|
136
|
+
end
|
|
137
|
+
|
|
126
138
|
# Any tags assigned to the snapshot.
|
|
127
139
|
# @return [Array<Types::Tag>]
|
|
128
140
|
def tags
|
|
@@ -285,6 +297,7 @@ module Aws::EC2
|
|
|
285
297
|
#
|
|
286
298
|
# snapshot.copy({
|
|
287
299
|
# description: "String",
|
|
300
|
+
# destination_outpost_arn: "String",
|
|
288
301
|
# destination_region: "String",
|
|
289
302
|
# encrypted: false,
|
|
290
303
|
# kms_key_id: "KmsKeyId",
|
|
@@ -306,6 +319,19 @@ module Aws::EC2
|
|
|
306
319
|
# @param [Hash] options ({})
|
|
307
320
|
# @option options [String] :description
|
|
308
321
|
# A description for the EBS snapshot.
|
|
322
|
+
# @option options [String] :destination_outpost_arn
|
|
323
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
|
324
|
+
# snapshot. Only specify this parameter when copying a snapshot from an
|
|
325
|
+
# AWS Region to an Outpost. The snapshot must be in the Region for the
|
|
326
|
+
# destination Outpost. You cannot copy a snapshot from an Outpost to a
|
|
327
|
+
# Region, from one Outpost to another, or within the same Outpost.
|
|
328
|
+
#
|
|
329
|
+
# For more information, see [ Copying snapshots from an AWS Region to an
|
|
330
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
331
|
+
#
|
|
332
|
+
#
|
|
333
|
+
#
|
|
334
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
|
|
309
335
|
# @option options [String] :destination_region
|
|
310
336
|
# The destination Region to use in the `PresignedUrl` parameter of a
|
|
311
337
|
# snapshot copy operation. This parameter is only valid for specifying
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -2777,6 +2777,7 @@ module Aws::EC2
|
|
|
2777
2777
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
2778
2778
|
# kms_key_id: "String",
|
|
2779
2779
|
# throughput: 1,
|
|
2780
|
+
# outpost_arn: "String",
|
|
2780
2781
|
# encrypted: false,
|
|
2781
2782
|
# },
|
|
2782
2783
|
# no_device: "String",
|
|
@@ -4966,6 +4967,7 @@ module Aws::EC2
|
|
|
4966
4967
|
# name: "String", # required
|
|
4967
4968
|
# source_image_id: "String", # required
|
|
4968
4969
|
# source_region: "String", # required
|
|
4970
|
+
# destination_outpost_arn: "String",
|
|
4969
4971
|
# dry_run: false,
|
|
4970
4972
|
# }
|
|
4971
4973
|
#
|
|
@@ -5037,6 +5039,21 @@ module Aws::EC2
|
|
|
5037
5039
|
# The name of the Region that contains the AMI to copy.
|
|
5038
5040
|
# @return [String]
|
|
5039
5041
|
#
|
|
5042
|
+
# @!attribute [rw] destination_outpost_arn
|
|
5043
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
|
5044
|
+
# AMI. Only specify this parameter when copying an AMI from an AWS
|
|
5045
|
+
# Region to an Outpost. The AMI must be in the Region of the
|
|
5046
|
+
# destination Outpost. You cannot copy an AMI from an Outpost to a
|
|
5047
|
+
# Region, from one Outpost to another, or within the same Outpost.
|
|
5048
|
+
#
|
|
5049
|
+
# For more information, see [ Copying AMIs from an AWS Region to an
|
|
5050
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
5051
|
+
#
|
|
5052
|
+
#
|
|
5053
|
+
#
|
|
5054
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis
|
|
5055
|
+
# @return [String]
|
|
5056
|
+
#
|
|
5040
5057
|
# @!attribute [rw] dry_run
|
|
5041
5058
|
# Checks whether you have the required permissions for the action,
|
|
5042
5059
|
# without actually making the request, and provides an error response.
|
|
@@ -5054,6 +5071,7 @@ module Aws::EC2
|
|
|
5054
5071
|
:name,
|
|
5055
5072
|
:source_image_id,
|
|
5056
5073
|
:source_region,
|
|
5074
|
+
:destination_outpost_arn,
|
|
5057
5075
|
:dry_run)
|
|
5058
5076
|
SENSITIVE = []
|
|
5059
5077
|
include Aws::Structure
|
|
@@ -5078,6 +5096,7 @@ module Aws::EC2
|
|
|
5078
5096
|
#
|
|
5079
5097
|
# {
|
|
5080
5098
|
# description: "String",
|
|
5099
|
+
# destination_outpost_arn: "String",
|
|
5081
5100
|
# destination_region: "String",
|
|
5082
5101
|
# encrypted: false,
|
|
5083
5102
|
# kms_key_id: "KmsKeyId",
|
|
@@ -5102,6 +5121,22 @@ module Aws::EC2
|
|
|
5102
5121
|
# A description for the EBS snapshot.
|
|
5103
5122
|
# @return [String]
|
|
5104
5123
|
#
|
|
5124
|
+
# @!attribute [rw] destination_outpost_arn
|
|
5125
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
|
5126
|
+
# snapshot. Only specify this parameter when copying a snapshot from
|
|
5127
|
+
# an AWS Region to an Outpost. The snapshot must be in the Region for
|
|
5128
|
+
# the destination Outpost. You cannot copy a snapshot from an Outpost
|
|
5129
|
+
# to a Region, from one Outpost to another, or within the same
|
|
5130
|
+
# Outpost.
|
|
5131
|
+
#
|
|
5132
|
+
# For more information, see [ Copying snapshots from an AWS Region to
|
|
5133
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
5134
|
+
#
|
|
5135
|
+
#
|
|
5136
|
+
#
|
|
5137
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
|
|
5138
|
+
# @return [String]
|
|
5139
|
+
#
|
|
5105
5140
|
# @!attribute [rw] destination_region
|
|
5106
5141
|
# The destination Region to use in the `PresignedUrl` parameter of a
|
|
5107
5142
|
# snapshot copy operation. This parameter is only valid for specifying
|
|
@@ -5198,6 +5233,7 @@ module Aws::EC2
|
|
|
5198
5233
|
#
|
|
5199
5234
|
class CopySnapshotRequest < Struct.new(
|
|
5200
5235
|
:description,
|
|
5236
|
+
:destination_outpost_arn,
|
|
5201
5237
|
:destination_region,
|
|
5202
5238
|
:encrypted,
|
|
5203
5239
|
:kms_key_id,
|
|
@@ -6394,7 +6430,13 @@ module Aws::EC2
|
|
|
6394
6430
|
# @return [Time]
|
|
6395
6431
|
#
|
|
6396
6432
|
# @!attribute [rw] replace_unhealthy_instances
|
|
6397
|
-
# Indicates whether EC2 Fleet should replace unhealthy
|
|
6433
|
+
# Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
|
|
6434
|
+
# Supported only for fleets of type `maintain`. For more information,
|
|
6435
|
+
# see [EC2 Fleet health checks][1] in the *Amazon EC2 User Guide*.
|
|
6436
|
+
#
|
|
6437
|
+
#
|
|
6438
|
+
#
|
|
6439
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
|
|
6398
6440
|
# @return [Boolean]
|
|
6399
6441
|
#
|
|
6400
6442
|
# @!attribute [rw] tag_specifications
|
|
@@ -6760,6 +6802,7 @@ module Aws::EC2
|
|
|
6760
6802
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
6761
6803
|
# kms_key_id: "String",
|
|
6762
6804
|
# throughput: 1,
|
|
6805
|
+
# outpost_arn: "String",
|
|
6763
6806
|
# encrypted: false,
|
|
6764
6807
|
# },
|
|
6765
6808
|
# no_device: "String",
|
|
@@ -8680,6 +8723,7 @@ module Aws::EC2
|
|
|
8680
8723
|
#
|
|
8681
8724
|
# {
|
|
8682
8725
|
# description: "String",
|
|
8726
|
+
# outpost_arn: "String",
|
|
8683
8727
|
# volume_id: "VolumeId", # required
|
|
8684
8728
|
# tag_specifications: [
|
|
8685
8729
|
# {
|
|
@@ -8699,6 +8743,30 @@ module Aws::EC2
|
|
|
8699
8743
|
# A description for the snapshot.
|
|
8700
8744
|
# @return [String]
|
|
8701
8745
|
#
|
|
8746
|
+
# @!attribute [rw] outpost_arn
|
|
8747
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create
|
|
8748
|
+
# a local snapshot.
|
|
8749
|
+
#
|
|
8750
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
|
8751
|
+
# The snapshot is created in the same Region as the volume.
|
|
8752
|
+
#
|
|
8753
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
|
8754
|
+
# snapshot in the Region, omit this parameter. The snapshot is
|
|
8755
|
+
# created in the Region for the Outpost.
|
|
8756
|
+
#
|
|
8757
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
|
8758
|
+
# snapshot on an Outpost, specify the ARN of the destination
|
|
8759
|
+
# Outpost. The snapshot must be created on the same Outpost as the
|
|
8760
|
+
# volume.
|
|
8761
|
+
#
|
|
8762
|
+
# For more information, see [ Creating local snapshots from volumes on
|
|
8763
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
|
8764
|
+
#
|
|
8765
|
+
#
|
|
8766
|
+
#
|
|
8767
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
|
8768
|
+
# @return [String]
|
|
8769
|
+
#
|
|
8702
8770
|
# @!attribute [rw] volume_id
|
|
8703
8771
|
# The ID of the EBS volume.
|
|
8704
8772
|
# @return [String]
|
|
@@ -8718,6 +8786,7 @@ module Aws::EC2
|
|
|
8718
8786
|
#
|
|
8719
8787
|
class CreateSnapshotRequest < Struct.new(
|
|
8720
8788
|
:description,
|
|
8789
|
+
:outpost_arn,
|
|
8721
8790
|
:volume_id,
|
|
8722
8791
|
:tag_specifications,
|
|
8723
8792
|
:dry_run)
|
|
@@ -8734,6 +8803,7 @@ module Aws::EC2
|
|
|
8734
8803
|
# instance_id: "InstanceId",
|
|
8735
8804
|
# exclude_boot_volume: false,
|
|
8736
8805
|
# },
|
|
8806
|
+
# outpost_arn: "String",
|
|
8737
8807
|
# tag_specifications: [
|
|
8738
8808
|
# {
|
|
8739
8809
|
# 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
|
|
@@ -8759,6 +8829,32 @@ module Aws::EC2
|
|
|
8759
8829
|
# snapshots.
|
|
8760
8830
|
# @return [Types::InstanceSpecification]
|
|
8761
8831
|
#
|
|
8832
|
+
# @!attribute [rw] outpost_arn
|
|
8833
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create
|
|
8834
|
+
# the local snapshots.
|
|
8835
|
+
#
|
|
8836
|
+
# * To create snapshots from an instance in a Region, omit this
|
|
8837
|
+
# parameter. The snapshots are created in the same Region as the
|
|
8838
|
+
# instance.
|
|
8839
|
+
#
|
|
8840
|
+
# * To create snapshots from an instance on an Outpost and store the
|
|
8841
|
+
# snapshots in the Region, omit this parameter. The snapshots are
|
|
8842
|
+
# created in the Region for the Outpost.
|
|
8843
|
+
#
|
|
8844
|
+
# * To create snapshots from an instance on an Outpost and store the
|
|
8845
|
+
# snapshots on an Outpost, specify the ARN of the destination
|
|
8846
|
+
# Outpost. The snapshots must be created on the same Outpost as the
|
|
8847
|
+
# instance.
|
|
8848
|
+
#
|
|
8849
|
+
# For more information, see [ Creating multi-volume local snapshots
|
|
8850
|
+
# from instances on an Outpost][1] in the *Amazon Elastic Compute
|
|
8851
|
+
# Cloud User Guide*.
|
|
8852
|
+
#
|
|
8853
|
+
#
|
|
8854
|
+
#
|
|
8855
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot
|
|
8856
|
+
# @return [String]
|
|
8857
|
+
#
|
|
8762
8858
|
# @!attribute [rw] tag_specifications
|
|
8763
8859
|
# Tags to apply to every snapshot specified by the instance.
|
|
8764
8860
|
# @return [Array<Types::TagSpecification>]
|
|
@@ -8779,6 +8875,7 @@ module Aws::EC2
|
|
|
8779
8875
|
class CreateSnapshotsRequest < Struct.new(
|
|
8780
8876
|
:description,
|
|
8781
8877
|
:instance_specification,
|
|
8878
|
+
:outpost_arn,
|
|
8782
8879
|
:tag_specifications,
|
|
8783
8880
|
:dry_run,
|
|
8784
8881
|
:copy_tags_from_source)
|
|
@@ -16847,13 +16944,14 @@ module Aws::EC2
|
|
|
16847
16944
|
#
|
|
16848
16945
|
# * `name` - The name of the AMI (provided during image creation).
|
|
16849
16946
|
#
|
|
16850
|
-
# * `owner-alias` - The owner alias
|
|
16851
|
-
#
|
|
16852
|
-
# AWS account alias set using the IAM
|
|
16853
|
-
#
|
|
16947
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`).
|
|
16948
|
+
# The valid aliases are defined in an Amazon-maintained list. This
|
|
16949
|
+
# is not the AWS account alias that can be set using the IAM
|
|
16950
|
+
# console. We recommend that you use the **Owner** request parameter
|
|
16951
|
+
# instead of this filter.
|
|
16854
16952
|
#
|
|
16855
16953
|
# * `owner-id` - The AWS account ID of the owner. We recommend that
|
|
16856
|
-
# you use the
|
|
16954
|
+
# you use the **Owner** request parameter instead of this filter.
|
|
16857
16955
|
#
|
|
16858
16956
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
|
16859
16957
|
# `windows`.
|
|
@@ -26104,6 +26202,7 @@ module Aws::EC2
|
|
|
26104
26202
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
26105
26203
|
# kms_key_id: "String",
|
|
26106
26204
|
# throughput: 1,
|
|
26205
|
+
# outpost_arn: "String",
|
|
26107
26206
|
# encrypted: false,
|
|
26108
26207
|
# }
|
|
26109
26208
|
#
|
|
@@ -26199,6 +26298,10 @@ module Aws::EC2
|
|
|
26199
26298
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
|
26200
26299
|
# @return [Integer]
|
|
26201
26300
|
#
|
|
26301
|
+
# @!attribute [rw] outpost_arn
|
|
26302
|
+
# The ARN of the Outpost on which the snapshot is stored.
|
|
26303
|
+
# @return [String]
|
|
26304
|
+
#
|
|
26202
26305
|
# @!attribute [rw] encrypted
|
|
26203
26306
|
# Indicates whether the encryption state of an EBS volume is changed
|
|
26204
26307
|
# while being restored from a backing snapshot. The effect of setting
|
|
@@ -26231,6 +26334,7 @@ module Aws::EC2
|
|
|
26231
26334
|
:volume_type,
|
|
26232
26335
|
:kms_key_id,
|
|
26233
26336
|
:throughput,
|
|
26337
|
+
:outpost_arn,
|
|
26234
26338
|
:encrypted)
|
|
26235
26339
|
SENSITIVE = []
|
|
26236
26340
|
include Aws::Structure
|
|
@@ -28131,7 +28235,13 @@ module Aws::EC2
|
|
|
28131
28235
|
# @return [Time]
|
|
28132
28236
|
#
|
|
28133
28237
|
# @!attribute [rw] replace_unhealthy_instances
|
|
28134
|
-
# Indicates whether EC2 Fleet should replace unhealthy
|
|
28238
|
+
# Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
|
|
28239
|
+
# Supported only for fleets of type `maintain`. For more information,
|
|
28240
|
+
# see [EC2 Fleet health checks][1] in the *Amazon EC2 User Guide*.
|
|
28241
|
+
#
|
|
28242
|
+
#
|
|
28243
|
+
#
|
|
28244
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
|
|
28135
28245
|
# @return [Boolean]
|
|
28136
28246
|
#
|
|
28137
28247
|
# @!attribute [rw] spot_options
|
|
@@ -34372,6 +34482,9 @@ module Aws::EC2
|
|
|
34372
34482
|
#
|
|
34373
34483
|
# @!attribute [rw] user_id
|
|
34374
34484
|
# The AWS account ID.
|
|
34485
|
+
#
|
|
34486
|
+
# Constraints: Up to 10 000 account IDs can be specified in a single
|
|
34487
|
+
# request.
|
|
34375
34488
|
# @return [String]
|
|
34376
34489
|
#
|
|
34377
34490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermission AWS API Documentation
|
|
@@ -43037,6 +43150,7 @@ module Aws::EC2
|
|
|
43037
43150
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
43038
43151
|
# kms_key_id: "String",
|
|
43039
43152
|
# throughput: 1,
|
|
43153
|
+
# outpost_arn: "String",
|
|
43040
43154
|
# encrypted: false,
|
|
43041
43155
|
# },
|
|
43042
43156
|
# no_device: "String",
|
|
@@ -43075,6 +43189,17 @@ module Aws::EC2
|
|
|
43075
43189
|
#
|
|
43076
43190
|
# @!attribute [rw] block_device_mappings
|
|
43077
43191
|
# The block device mapping entries.
|
|
43192
|
+
#
|
|
43193
|
+
# If you create an AMI on an Outpost, then all backing snapshots must
|
|
43194
|
+
# be on the same Outpost or in the Region of that Outpost. AMIs on an
|
|
43195
|
+
# Outpost that include local snapshots can be used to launch instances
|
|
43196
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
|
43197
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
|
43198
|
+
# Guide*.
|
|
43199
|
+
#
|
|
43200
|
+
#
|
|
43201
|
+
#
|
|
43202
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
|
43078
43203
|
# @return [Array<Types::BlockDeviceMapping>]
|
|
43079
43204
|
#
|
|
43080
43205
|
# @!attribute [rw] description
|
|
@@ -44620,6 +44745,7 @@ module Aws::EC2
|
|
|
44620
44745
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
44621
44746
|
# kms_key_id: "String",
|
|
44622
44747
|
# throughput: 1,
|
|
44748
|
+
# outpost_arn: "String",
|
|
44623
44749
|
# encrypted: false,
|
|
44624
44750
|
# },
|
|
44625
44751
|
# no_device: "String",
|
|
@@ -44811,6 +44937,7 @@ module Aws::EC2
|
|
|
44811
44937
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
44812
44938
|
# kms_key_id: "String",
|
|
44813
44939
|
# throughput: 1,
|
|
44940
|
+
# outpost_arn: "String",
|
|
44814
44941
|
# encrypted: false,
|
|
44815
44942
|
# },
|
|
44816
44943
|
# no_device: "String",
|
|
@@ -45071,6 +45198,7 @@ module Aws::EC2
|
|
|
45071
45198
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
45072
45199
|
# kms_key_id: "String",
|
|
45073
45200
|
# throughput: 1,
|
|
45201
|
+
# outpost_arn: "String",
|
|
45074
45202
|
# encrypted: false,
|
|
45075
45203
|
# },
|
|
45076
45204
|
# no_device: "String",
|
|
@@ -46895,6 +47023,7 @@ module Aws::EC2
|
|
|
46895
47023
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
46896
47024
|
# kms_key_id: "String",
|
|
46897
47025
|
# throughput: 1,
|
|
47026
|
+
# outpost_arn: "String",
|
|
46898
47027
|
# encrypted: false,
|
|
46899
47028
|
# },
|
|
46900
47029
|
# no_device: "String",
|
|
@@ -49106,6 +49235,16 @@ module Aws::EC2
|
|
|
49106
49235
|
# console.
|
|
49107
49236
|
# @return [String]
|
|
49108
49237
|
#
|
|
49238
|
+
# @!attribute [rw] outpost_arn
|
|
49239
|
+
# The ARN of the AWS Outpost on which the snapshot is stored. For more
|
|
49240
|
+
# information, see [EBS Local Snapshot on Outposts][1] in the *Amazon
|
|
49241
|
+
# Elastic Compute Cloud User Guide*.
|
|
49242
|
+
#
|
|
49243
|
+
#
|
|
49244
|
+
#
|
|
49245
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
|
|
49246
|
+
# @return [String]
|
|
49247
|
+
#
|
|
49109
49248
|
# @!attribute [rw] tags
|
|
49110
49249
|
# Any tags assigned to the snapshot.
|
|
49111
49250
|
# @return [Array<Types::Tag>]
|
|
@@ -49126,6 +49265,7 @@ module Aws::EC2
|
|
|
49126
49265
|
:volume_id,
|
|
49127
49266
|
:volume_size,
|
|
49128
49267
|
:owner_alias,
|
|
49268
|
+
:outpost_arn,
|
|
49129
49269
|
:tags)
|
|
49130
49270
|
SENSITIVE = []
|
|
49131
49271
|
include Aws::Structure
|
|
@@ -49279,6 +49419,16 @@ module Aws::EC2
|
|
|
49279
49419
|
# Snapshot id that can be used to describe this snapshot.
|
|
49280
49420
|
# @return [String]
|
|
49281
49421
|
#
|
|
49422
|
+
# @!attribute [rw] outpost_arn
|
|
49423
|
+
# The ARN of the AWS Outpost on which the snapshot is stored. For more
|
|
49424
|
+
# information, see [EBS Local Snapshot on Outposts][1] in the *Amazon
|
|
49425
|
+
# Elastic Compute Cloud User Guide*.
|
|
49426
|
+
#
|
|
49427
|
+
#
|
|
49428
|
+
#
|
|
49429
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
|
|
49430
|
+
# @return [String]
|
|
49431
|
+
#
|
|
49282
49432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotInfo AWS API Documentation
|
|
49283
49433
|
#
|
|
49284
49434
|
class SnapshotInfo < Struct.new(
|
|
@@ -49291,7 +49441,8 @@ module Aws::EC2
|
|
|
49291
49441
|
:start_time,
|
|
49292
49442
|
:progress,
|
|
49293
49443
|
:owner_id,
|
|
49294
|
-
:snapshot_id
|
|
49444
|
+
:snapshot_id,
|
|
49445
|
+
:outpost_arn)
|
|
49295
49446
|
SENSITIVE = []
|
|
49296
49447
|
include Aws::Structure
|
|
49297
49448
|
end
|
|
@@ -49469,6 +49620,7 @@ module Aws::EC2
|
|
|
49469
49620
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
49470
49621
|
# kms_key_id: "String",
|
|
49471
49622
|
# throughput: 1,
|
|
49623
|
+
# outpost_arn: "String",
|
|
49472
49624
|
# encrypted: false,
|
|
49473
49625
|
# },
|
|
49474
49626
|
# no_device: "String",
|
|
@@ -49781,6 +49933,7 @@ module Aws::EC2
|
|
|
49781
49933
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
49782
49934
|
# kms_key_id: "String",
|
|
49783
49935
|
# throughput: 1,
|
|
49936
|
+
# outpost_arn: "String",
|
|
49784
49937
|
# encrypted: false,
|
|
49785
49938
|
# },
|
|
49786
49939
|
# no_device: "String",
|
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: 2021-02-
|
|
11
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|