aws-sdk-ec2 1.249.0 → 1.250.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +182 -171
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +31 -22
- data/lib/aws-sdk-ec2/snapshot.rb +37 -34
- data/lib/aws-sdk-ec2/types.rb +124 -110
- data/lib/aws-sdk-ec2/volume.rb +12 -13
- metadata +2 -2
@@ -3954,6 +3954,7 @@ module Aws::EC2
|
|
3954
3954
|
CreateVolumeRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3955
3955
|
CreateVolumeRequest.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAttachEnabled"))
|
3956
3956
|
CreateVolumeRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
|
3957
|
+
CreateVolumeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3957
3958
|
CreateVolumeRequest.struct_class = Types::CreateVolumeRequest
|
3958
3959
|
|
3959
3960
|
CreateVpcEndpointConnectionNotificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -989,7 +989,7 @@ module Aws::EC2
|
|
989
989
|
# @option options [String] :description
|
990
990
|
# A description for the snapshot.
|
991
991
|
# @option options [String] :outpost_arn
|
992
|
-
# The Amazon Resource Name (ARN) of the
|
992
|
+
# The Amazon Resource Name (ARN) of the Outpost on which to create a
|
993
993
|
# local snapshot.
|
994
994
|
#
|
995
995
|
# * To create a snapshot of a volume in a Region, omit this parameter.
|
@@ -1003,14 +1003,14 @@ module Aws::EC2
|
|
1003
1003
|
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
1004
1004
|
# The snapshot must be created on the same Outpost as the volume.
|
1005
1005
|
#
|
1006
|
-
# For more information, see [
|
1007
|
-
#
|
1006
|
+
# For more information, see [Create local snapshots from volumes on an
|
1007
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
1008
1008
|
#
|
1009
1009
|
#
|
1010
1010
|
#
|
1011
1011
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
1012
1012
|
# @option options [required, String] :volume_id
|
1013
|
-
# The ID of the EBS volume.
|
1013
|
+
# The ID of the Amazon EBS volume.
|
1014
1014
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1015
1015
|
# The tags to apply to the snapshot during creation.
|
1016
1016
|
# @option options [Boolean] :dry_run
|
@@ -1199,6 +1199,7 @@ module Aws::EC2
|
|
1199
1199
|
# ],
|
1200
1200
|
# multi_attach_enabled: false,
|
1201
1201
|
# throughput: 1,
|
1202
|
+
# client_token: "String",
|
1202
1203
|
# })
|
1203
1204
|
# @param [Hash] options ({})
|
1204
1205
|
# @option options [required, String] :availability_zone
|
@@ -1234,9 +1235,9 @@ module Aws::EC2
|
|
1234
1235
|
#
|
1235
1236
|
# * `io2`\: 100-64,000 IOPS
|
1236
1237
|
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1238
|
+
# `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
|
1239
|
+
# built on the Nitro System][1]. Other instance families support
|
1240
|
+
# performance up to 32,000 IOPS.
|
1240
1241
|
#
|
1241
1242
|
# This parameter is required for `io1` and `io2` volumes. The default
|
1242
1243
|
# for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
|
@@ -1246,12 +1247,12 @@ module Aws::EC2
|
|
1246
1247
|
#
|
1247
1248
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
1248
1249
|
# @option options [String] :kms_key_id
|
1249
|
-
# The identifier of the
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
1250
|
+
# The identifier of the Key Management Service (KMS) KMS key to use for
|
1251
|
+
# Amazon EBS encryption. If this parameter is not specified, your KMS
|
1252
|
+
# key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
|
1253
|
+
# state must be `true`.
|
1253
1254
|
#
|
1254
|
-
# You can specify the
|
1255
|
+
# You can specify the KMS key using any of the following:
|
1255
1256
|
#
|
1256
1257
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
1257
1258
|
#
|
@@ -1263,9 +1264,9 @@ module Aws::EC2
|
|
1263
1264
|
# * Alias ARN. For example,
|
1264
1265
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
1265
1266
|
#
|
1266
|
-
#
|
1267
|
-
# ID, alias, or ARN that is not valid, the
|
1268
|
-
# complete, but eventually fails.
|
1267
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
1268
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid, the
|
1269
|
+
# action can appear to complete, but eventually fails.
|
1269
1270
|
# @option options [String] :outpost_arn
|
1270
1271
|
# The Amazon Resource Name (ARN) of the Outpost.
|
1271
1272
|
# @option options [Integer] :size
|
@@ -1333,6 +1334,14 @@ module Aws::EC2
|
|
1333
1334
|
# This parameter is valid only for `gp3` volumes.
|
1334
1335
|
#
|
1335
1336
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
1337
|
+
# @option options [String] :client_token
|
1338
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
1339
|
+
# idempotency of the request. For more information, see [Ensure
|
1340
|
+
# Idempotency][1].
|
1341
|
+
#
|
1342
|
+
#
|
1343
|
+
#
|
1344
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
1336
1345
|
# @return [Volume]
|
1337
1346
|
def create_volume(options = {})
|
1338
1347
|
resp = @client.create_volume(options)
|
@@ -3147,12 +3156,12 @@ module Aws::EC2
|
|
3147
3156
|
# `false`)
|
3148
3157
|
#
|
3149
3158
|
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
3150
|
-
# (`amazon`). This is not the user-configured
|
3151
|
-
#
|
3152
|
-
#
|
3159
|
+
# (`amazon`). This is not the user-configured account alias set using
|
3160
|
+
# the IAM console. We recommend that you use the related parameter
|
3161
|
+
# instead of this filter.
|
3153
3162
|
#
|
3154
|
-
# * `owner-id` - The
|
3155
|
-
#
|
3163
|
+
# * `owner-id` - The account ID of the owner. We recommend that you use
|
3164
|
+
# the related parameter instead of this filter.
|
3156
3165
|
#
|
3157
3166
|
# * `progress` - The progress of the snapshot, as a percentage (for
|
3158
3167
|
# example, 80%).
|
@@ -3179,9 +3188,9 @@ module Aws::EC2
|
|
3179
3188
|
# * `volume-size` - The size of the volume, in GiB.
|
3180
3189
|
# @option options [Array<String>] :owner_ids
|
3181
3190
|
# Scopes the results to snapshots with the specified owners. You can
|
3182
|
-
# specify a combination of
|
3191
|
+
# specify a combination of account IDs, `self`, and `amazon`.
|
3183
3192
|
# @option options [Array<String>] :restorable_by_user_ids
|
3184
|
-
# The IDs of the
|
3193
|
+
# The IDs of the accounts that can create volumes from the snapshot.
|
3185
3194
|
# @option options [Array<String>] :snapshot_ids
|
3186
3195
|
# The snapshot IDs.
|
3187
3196
|
#
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -59,15 +59,15 @@ module Aws::EC2
|
|
59
59
|
data[:encrypted]
|
60
60
|
end
|
61
61
|
|
62
|
-
# The Amazon Resource Name (ARN) of the
|
63
|
-
#
|
64
|
-
#
|
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 parent
|
64
|
+
# volume.
|
65
65
|
# @return [String]
|
66
66
|
def kms_key_id
|
67
67
|
data[:kms_key_id]
|
68
68
|
end
|
69
69
|
|
70
|
-
# The
|
70
|
+
# The ID of the account that owns the EBS snapshot.
|
71
71
|
# @return [String]
|
72
72
|
def owner_id
|
73
73
|
data[:owner_id]
|
@@ -92,8 +92,8 @@ module Aws::EC2
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# Encrypted Amazon EBS snapshots are copied asynchronously. If a
|
95
|
-
# snapshot copy operation fails (for example, if the proper
|
96
|
-
# Management Service (
|
95
|
+
# snapshot copy operation fails (for example, if the proper Key
|
96
|
+
# Management Service (KMS) permissions are not obtained) this field
|
97
97
|
# displays error state details to help you diagnose why the error
|
98
98
|
# occurred. This parameter is only returned by DescribeSnapshots.
|
99
99
|
# @return [String]
|
@@ -115,17 +115,17 @@ module Aws::EC2
|
|
115
115
|
data[:volume_size]
|
116
116
|
end
|
117
117
|
|
118
|
-
# The
|
119
|
-
# is not the user-configured
|
120
|
-
# console.
|
118
|
+
# The Amazon Web Services owner alias, from an Amazon-maintained list
|
119
|
+
# (`amazon`). This is not the user-configured account alias set using
|
120
|
+
# the IAM console.
|
121
121
|
# @return [String]
|
122
122
|
def owner_alias
|
123
123
|
data[:owner_alias]
|
124
124
|
end
|
125
125
|
|
126
|
-
# The ARN of the
|
127
|
-
# information, see [EBS
|
128
|
-
# Elastic Compute Cloud User Guide*.
|
126
|
+
# The ARN of the Outpost on which the snapshot is stored. For more
|
127
|
+
# information, see [Amazon EBS local snapshots on Outposts][1] in the
|
128
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
129
129
|
#
|
130
130
|
#
|
131
131
|
#
|
@@ -322,12 +322,14 @@ module Aws::EC2
|
|
322
322
|
# @option options [String] :destination_outpost_arn
|
323
323
|
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
324
324
|
# snapshot. Only specify this parameter when copying a snapshot from an
|
325
|
-
#
|
326
|
-
# destination Outpost. You cannot copy a snapshot from an
|
327
|
-
# Region, from one Outpost to another, or within the same
|
325
|
+
# Amazon Web Services Region to an Outpost. The snapshot must be in the
|
326
|
+
# Region for the destination Outpost. You cannot copy a snapshot from an
|
327
|
+
# Outpost to a Region, from one Outpost to another, or within the same
|
328
|
+
# Outpost.
|
328
329
|
#
|
329
|
-
# For more information, see [
|
330
|
-
# Outpost][1] in the *Amazon Elastic Compute Cloud User
|
330
|
+
# For more information, see [ Copy snapshots from an Amazon Web Services
|
331
|
+
# Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
332
|
+
# Guide*.
|
331
333
|
#
|
332
334
|
#
|
333
335
|
#
|
@@ -340,8 +342,8 @@ module Aws::EC2
|
|
340
342
|
#
|
341
343
|
# The snapshot copy is sent to the regional endpoint that you sent the
|
342
344
|
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
|
343
|
-
#
|
344
|
-
#
|
345
|
+
# CLI, this is specified using the `--region` parameter or the default
|
346
|
+
# Region in your Amazon Web Services configuration file.
|
345
347
|
# @option options [Boolean] :encrypted
|
346
348
|
# To encrypt a copy of an unencrypted snapshot if encryption by default
|
347
349
|
# is not enabled, enable encryption using this parameter. Otherwise,
|
@@ -354,12 +356,12 @@ module Aws::EC2
|
|
354
356
|
#
|
355
357
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
356
358
|
# @option options [String] :kms_key_id
|
357
|
-
# The identifier of the
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
359
|
+
# The identifier of the Key Management Service (KMS) KMS key to use for
|
360
|
+
# Amazon EBS encryption. If this parameter is not specified, your KMS
|
361
|
+
# key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
|
362
|
+
# state must be `true`.
|
361
363
|
#
|
362
|
-
# You can specify the
|
364
|
+
# You can specify the KMS key using any of the following:
|
363
365
|
#
|
364
366
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
365
367
|
#
|
@@ -371,9 +373,9 @@ module Aws::EC2
|
|
371
373
|
# * Alias ARN. For example,
|
372
374
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
373
375
|
#
|
374
|
-
#
|
375
|
-
# ID, alias, or ARN that is not valid, the
|
376
|
-
# complete, but eventually fails.
|
376
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
377
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid, the
|
378
|
+
# action can appear to complete, but eventually fails.
|
377
379
|
# @option options [String] :presigned_url
|
378
380
|
# When you copy an encrypted source snapshot using the Amazon EC2 Query
|
379
381
|
# API, you must supply a pre-signed URL. This parameter is optional for
|
@@ -382,13 +384,14 @@ module Aws::EC2
|
|
382
384
|
# The `PresignedUrl` should use the snapshot source endpoint, the
|
383
385
|
# `CopySnapshot` action, and include the `SourceRegion`,
|
384
386
|
# `SourceSnapshotId`, and `DestinationRegion` parameters. The
|
385
|
-
# `PresignedUrl` must be signed using
|
386
|
-
# EBS snapshots are stored in Amazon S3, the signing
|
387
|
-
# parameter uses the same logic that is described in
|
388
|
-
# Requests: Using Query Parameters (
|
389
|
-
# *Amazon Simple Storage Service API
|
390
|
-
# improperly signed `PresignedUrl` will cause
|
391
|
-
# asynchronously, and the snapshot will move
|
387
|
+
# `PresignedUrl` must be signed using Amazon Web Services Signature
|
388
|
+
# Version 4. Because EBS snapshots are stored in Amazon S3, the signing
|
389
|
+
# algorithm for this parameter uses the same logic that is described in
|
390
|
+
# [Authenticating Requests: Using Query Parameters (Amazon Web Services
|
391
|
+
# Signature Version 4)][2] in the *Amazon Simple Storage Service API
|
392
|
+
# Reference*. An invalid or improperly signed `PresignedUrl` will cause
|
393
|
+
# the copy operation to fail asynchronously, and the snapshot will move
|
394
|
+
# to an `error` state.
|
392
395
|
#
|
393
396
|
#
|
394
397
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5386,13 +5386,14 @@ module Aws::EC2
|
|
5386
5386
|
# @!attribute [rw] destination_outpost_arn
|
5387
5387
|
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
5388
5388
|
# snapshot. Only specify this parameter when copying a snapshot from
|
5389
|
-
# an
|
5390
|
-
# the destination Outpost. You cannot copy a snapshot
|
5391
|
-
# to a Region, from one Outpost to another, or within
|
5392
|
-
# Outpost.
|
5389
|
+
# an Amazon Web Services Region to an Outpost. The snapshot must be in
|
5390
|
+
# the Region for the destination Outpost. You cannot copy a snapshot
|
5391
|
+
# from an Outpost to a Region, from one Outpost to another, or within
|
5392
|
+
# the same Outpost.
|
5393
5393
|
#
|
5394
|
-
# For more information, see [
|
5395
|
-
# an Outpost][1] in the *Amazon Elastic Compute
|
5394
|
+
# For more information, see [ Copy snapshots from an Amazon Web
|
5395
|
+
# Services Region to an Outpost][1] in the *Amazon Elastic Compute
|
5396
|
+
# Cloud User Guide*.
|
5396
5397
|
#
|
5397
5398
|
#
|
5398
5399
|
#
|
@@ -5407,8 +5408,8 @@ module Aws::EC2
|
|
5407
5408
|
#
|
5408
5409
|
# The snapshot copy is sent to the regional endpoint that you sent the
|
5409
5410
|
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With
|
5410
|
-
# the
|
5411
|
-
# default Region in your
|
5411
|
+
# the CLI, this is specified using the `--region` parameter or the
|
5412
|
+
# default Region in your Amazon Web Services configuration file.
|
5412
5413
|
# @return [String]
|
5413
5414
|
#
|
5414
5415
|
# @!attribute [rw] encrypted
|
@@ -5426,12 +5427,12 @@ module Aws::EC2
|
|
5426
5427
|
# @return [Boolean]
|
5427
5428
|
#
|
5428
5429
|
# @!attribute [rw] kms_key_id
|
5429
|
-
# The identifier of the
|
5430
|
-
#
|
5431
|
-
#
|
5432
|
-
#
|
5430
|
+
# The identifier of the Key Management Service (KMS) KMS key to use
|
5431
|
+
# for Amazon EBS encryption. If this parameter is not specified, your
|
5432
|
+
# KMS key for Amazon EBS is used. If `KmsKeyId` is specified, the
|
5433
|
+
# encrypted state must be `true`.
|
5433
5434
|
#
|
5434
|
-
# You can specify the
|
5435
|
+
# You can specify the KMS key using any of the following:
|
5435
5436
|
#
|
5436
5437
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
5437
5438
|
#
|
@@ -5443,9 +5444,9 @@ module Aws::EC2
|
|
5443
5444
|
# * Alias ARN. For example,
|
5444
5445
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
5445
5446
|
#
|
5446
|
-
#
|
5447
|
-
# an ID, alias, or ARN that is not valid,
|
5448
|
-
# complete, but eventually fails.
|
5447
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
5448
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid,
|
5449
|
+
# the action can appear to complete, but eventually fails.
|
5449
5450
|
# @return [String]
|
5450
5451
|
#
|
5451
5452
|
# @!attribute [rw] presigned_url
|
@@ -5457,14 +5458,14 @@ module Aws::EC2
|
|
5457
5458
|
# The `PresignedUrl` should use the snapshot source endpoint, the
|
5458
5459
|
# `CopySnapshot` action, and include the `SourceRegion`,
|
5459
5460
|
# `SourceSnapshotId`, and `DestinationRegion` parameters. The
|
5460
|
-
# `PresignedUrl` must be signed using
|
5461
|
-
# EBS snapshots are stored in Amazon S3, the
|
5462
|
-
# this parameter uses the same logic that is
|
5463
|
-
# [Authenticating Requests: Using Query Parameters
|
5464
|
-
# Version 4)][2] in the *Amazon Simple
|
5465
|
-
# An invalid or improperly signed
|
5466
|
-
#
|
5467
|
-
# `error` state.
|
5461
|
+
# `PresignedUrl` must be signed using Amazon Web Services Signature
|
5462
|
+
# Version 4. Because EBS snapshots are stored in Amazon S3, the
|
5463
|
+
# signing algorithm for this parameter uses the same logic that is
|
5464
|
+
# described in [Authenticating Requests: Using Query Parameters
|
5465
|
+
# (Amazon Web Services Signature Version 4)][2] in the *Amazon Simple
|
5466
|
+
# Storage Service API Reference*. An invalid or improperly signed
|
5467
|
+
# `PresignedUrl` will cause the copy operation to fail asynchronously,
|
5468
|
+
# and the snapshot will move to an `error` state.
|
5468
5469
|
#
|
5469
5470
|
#
|
5470
5471
|
#
|
@@ -8827,7 +8828,7 @@ module Aws::EC2
|
|
8827
8828
|
# Unique, case-sensitive identifier you provide to ensure the
|
8828
8829
|
# idempotency of the request. If you do not specify a client token, a
|
8829
8830
|
# randomly generated token is used for the request to ensure
|
8830
|
-
# idempotency. For more information, see [Ensuring
|
8831
|
+
# idempotency. For more information, see [Ensuring idempotency][1].
|
8831
8832
|
#
|
8832
8833
|
# **A suitable default value is auto-generated.** You should normally
|
8833
8834
|
# not need to pass this option.
|
@@ -9318,8 +9319,8 @@ module Aws::EC2
|
|
9318
9319
|
# @return [String]
|
9319
9320
|
#
|
9320
9321
|
# @!attribute [rw] outpost_arn
|
9321
|
-
# The Amazon Resource Name (ARN) of the
|
9322
|
-
#
|
9322
|
+
# The Amazon Resource Name (ARN) of the Outpost on which to create a
|
9323
|
+
# local snapshot.
|
9323
9324
|
#
|
9324
9325
|
# * To create a snapshot of a volume in a Region, omit this parameter.
|
9325
9326
|
# The snapshot is created in the same Region as the volume.
|
@@ -9333,8 +9334,8 @@ module Aws::EC2
|
|
9333
9334
|
# Outpost. The snapshot must be created on the same Outpost as the
|
9334
9335
|
# volume.
|
9335
9336
|
#
|
9336
|
-
# For more information, see [
|
9337
|
-
#
|
9337
|
+
# For more information, see [Create local snapshots from volumes on an
|
9338
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
9338
9339
|
#
|
9339
9340
|
#
|
9340
9341
|
#
|
@@ -9342,7 +9343,7 @@ module Aws::EC2
|
|
9342
9343
|
# @return [String]
|
9343
9344
|
#
|
9344
9345
|
# @!attribute [rw] volume_id
|
9345
|
-
# The ID of the EBS volume.
|
9346
|
+
# The ID of the Amazon EBS volume.
|
9346
9347
|
# @return [String]
|
9347
9348
|
#
|
9348
9349
|
# @!attribute [rw] tag_specifications
|
@@ -9404,8 +9405,8 @@ module Aws::EC2
|
|
9404
9405
|
# @return [Types::InstanceSpecification]
|
9405
9406
|
#
|
9406
9407
|
# @!attribute [rw] outpost_arn
|
9407
|
-
# The Amazon Resource Name (ARN) of the
|
9408
|
-
#
|
9408
|
+
# The Amazon Resource Name (ARN) of the Outpost on which to create the
|
9409
|
+
# local snapshots.
|
9409
9410
|
#
|
9410
9411
|
# * To create snapshots from an instance in a Region, omit this
|
9411
9412
|
# parameter. The snapshots are created in the same Region as the
|
@@ -9420,9 +9421,9 @@ module Aws::EC2
|
|
9420
9421
|
# Outpost. The snapshots must be created on the same Outpost as the
|
9421
9422
|
# instance.
|
9422
9423
|
#
|
9423
|
-
# For more information, see [
|
9424
|
-
#
|
9425
|
-
#
|
9424
|
+
# For more information, see [ Create multi-volume local snapshots from
|
9425
|
+
# instances on an Outpost][1] in the *Amazon Elastic Compute Cloud
|
9426
|
+
# User Guide*.
|
9426
9427
|
#
|
9427
9428
|
#
|
9428
9429
|
#
|
@@ -10918,7 +10919,7 @@ module Aws::EC2
|
|
10918
10919
|
# @return [String]
|
10919
10920
|
#
|
10920
10921
|
# @!attribute [rw] user_id
|
10921
|
-
# The
|
10922
|
+
# The ID of the account to be added or removed.
|
10922
10923
|
# @return [String]
|
10923
10924
|
#
|
10924
10925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermission AWS API Documentation
|
@@ -10952,11 +10953,11 @@ module Aws::EC2
|
|
10952
10953
|
# }
|
10953
10954
|
#
|
10954
10955
|
# @!attribute [rw] add
|
10955
|
-
# Adds the specified
|
10956
|
+
# Adds the specified account ID or group to the list.
|
10956
10957
|
# @return [Array<Types::CreateVolumePermission>]
|
10957
10958
|
#
|
10958
10959
|
# @!attribute [rw] remove
|
10959
|
-
# Removes the specified
|
10960
|
+
# Removes the specified account ID or group from the list.
|
10960
10961
|
# @return [Array<Types::CreateVolumePermission>]
|
10961
10962
|
#
|
10962
10963
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermissionModifications AWS API Documentation
|
@@ -10994,6 +10995,7 @@ module Aws::EC2
|
|
10994
10995
|
# ],
|
10995
10996
|
# multi_attach_enabled: false,
|
10996
10997
|
# throughput: 1,
|
10998
|
+
# client_token: "String",
|
10997
10999
|
# }
|
10998
11000
|
#
|
10999
11001
|
# @!attribute [rw] availability_zone
|
@@ -11033,9 +11035,9 @@ module Aws::EC2
|
|
11033
11035
|
#
|
11034
11036
|
# * `io2`\: 100-64,000 IOPS
|
11035
11037
|
#
|
11036
|
-
#
|
11037
|
-
#
|
11038
|
-
#
|
11038
|
+
# `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
|
11039
|
+
# built on the Nitro System][1]. Other instance families support
|
11040
|
+
# performance up to 32,000 IOPS.
|
11039
11041
|
#
|
11040
11042
|
# This parameter is required for `io1` and `io2` volumes. The default
|
11041
11043
|
# for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
|
@@ -11047,12 +11049,12 @@ module Aws::EC2
|
|
11047
11049
|
# @return [Integer]
|
11048
11050
|
#
|
11049
11051
|
# @!attribute [rw] kms_key_id
|
11050
|
-
# The identifier of the
|
11051
|
-
#
|
11052
|
-
#
|
11053
|
-
#
|
11052
|
+
# The identifier of the Key Management Service (KMS) KMS key to use
|
11053
|
+
# for Amazon EBS encryption. If this parameter is not specified, your
|
11054
|
+
# KMS key for Amazon EBS is used. If `KmsKeyId` is specified, the
|
11055
|
+
# encrypted state must be `true`.
|
11054
11056
|
#
|
11055
|
-
# You can specify the
|
11057
|
+
# You can specify the KMS key using any of the following:
|
11056
11058
|
#
|
11057
11059
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
11058
11060
|
#
|
@@ -11064,9 +11066,9 @@ module Aws::EC2
|
|
11064
11066
|
# * Alias ARN. For example,
|
11065
11067
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
11066
11068
|
#
|
11067
|
-
#
|
11068
|
-
# an ID, alias, or ARN that is not valid,
|
11069
|
-
# complete, but eventually fails.
|
11069
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
11070
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid,
|
11071
|
+
# the action can appear to complete, but eventually fails.
|
11070
11072
|
# @return [String]
|
11071
11073
|
#
|
11072
11074
|
# @!attribute [rw] outpost_arn
|
@@ -11152,6 +11154,19 @@ module Aws::EC2
|
|
11152
11154
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
11153
11155
|
# @return [Integer]
|
11154
11156
|
#
|
11157
|
+
# @!attribute [rw] client_token
|
11158
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
11159
|
+
# idempotency of the request. For more information, see [Ensure
|
11160
|
+
# Idempotency][1].
|
11161
|
+
#
|
11162
|
+
# **A suitable default value is auto-generated.** You should normally
|
11163
|
+
# not need to pass this option.
|
11164
|
+
#
|
11165
|
+
#
|
11166
|
+
#
|
11167
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
11168
|
+
# @return [String]
|
11169
|
+
#
|
11155
11170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumeRequest AWS API Documentation
|
11156
11171
|
#
|
11157
11172
|
class CreateVolumeRequest < Struct.new(
|
@@ -11166,7 +11181,8 @@ module Aws::EC2
|
|
11166
11181
|
:dry_run,
|
11167
11182
|
:tag_specifications,
|
11168
11183
|
:multi_attach_enabled,
|
11169
|
-
:throughput
|
11184
|
+
:throughput,
|
11185
|
+
:client_token)
|
11170
11186
|
SENSITIVE = []
|
11171
11187
|
include Aws::Structure
|
11172
11188
|
end
|
@@ -16377,13 +16393,13 @@ module Aws::EC2
|
|
16377
16393
|
# @return [String]
|
16378
16394
|
#
|
16379
16395
|
# @!attribute [rw] owner_id
|
16380
|
-
# The ID of the
|
16396
|
+
# The ID of the account that enabled fast snapshot restores on the
|
16381
16397
|
# snapshot.
|
16382
16398
|
# @return [String]
|
16383
16399
|
#
|
16384
16400
|
# @!attribute [rw] owner_alias
|
16385
|
-
# The
|
16386
|
-
# snapshot. This is intended for future use.
|
16401
|
+
# The Amazon Web Services owner alias that enabled fast snapshot
|
16402
|
+
# restores on the snapshot. This is intended for future use.
|
16387
16403
|
# @return [String]
|
16388
16404
|
#
|
16389
16405
|
# @!attribute [rw] enabling_time
|
@@ -16449,7 +16465,7 @@ module Aws::EC2
|
|
16449
16465
|
#
|
16450
16466
|
# * `availability-zone`\: The Availability Zone of the snapshot.
|
16451
16467
|
#
|
16452
|
-
# * `owner-id`\: The ID of the
|
16468
|
+
# * `owner-id`\: The ID of the account that enabled fast snapshot
|
16453
16469
|
# restore on the snapshot.
|
16454
16470
|
#
|
16455
16471
|
# * `snapshot-id`\: The ID of the snapshot.
|
@@ -22417,12 +22433,12 @@ module Aws::EC2
|
|
22417
22433
|
# \| `false`)
|
22418
22434
|
#
|
22419
22435
|
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
22420
|
-
# (`amazon`). This is not the user-configured
|
22436
|
+
# (`amazon`). This is not the user-configured account alias set
|
22421
22437
|
# using the IAM console. We recommend that you use the related
|
22422
22438
|
# parameter instead of this filter.
|
22423
22439
|
#
|
22424
|
-
# * `owner-id` - The
|
22425
|
-
#
|
22440
|
+
# * `owner-id` - The account ID of the owner. We recommend that you
|
22441
|
+
# use the related parameter instead of this filter.
|
22426
22442
|
#
|
22427
22443
|
# * `progress` - The progress of the snapshot, as a percentage (for
|
22428
22444
|
# example, 80%).
|
@@ -22474,12 +22490,11 @@ module Aws::EC2
|
|
22474
22490
|
#
|
22475
22491
|
# @!attribute [rw] owner_ids
|
22476
22492
|
# Scopes the results to snapshots with the specified owners. You can
|
22477
|
-
# specify a combination of
|
22493
|
+
# specify a combination of account IDs, `self`, and `amazon`.
|
22478
22494
|
# @return [Array<String>]
|
22479
22495
|
#
|
22480
22496
|
# @!attribute [rw] restorable_by_user_ids
|
22481
|
-
# The IDs of the
|
22482
|
-
# snapshot.
|
22497
|
+
# The IDs of the accounts that can create volumes from the snapshot.
|
22483
22498
|
# @return [Array<String>]
|
22484
22499
|
#
|
22485
22500
|
# @!attribute [rw] snapshot_ids
|
@@ -26476,13 +26491,13 @@ module Aws::EC2
|
|
26476
26491
|
# @return [String]
|
26477
26492
|
#
|
26478
26493
|
# @!attribute [rw] owner_id
|
26479
|
-
# The ID of the
|
26494
|
+
# The ID of the account that enabled fast snapshot restores on the
|
26480
26495
|
# snapshot.
|
26481
26496
|
# @return [String]
|
26482
26497
|
#
|
26483
26498
|
# @!attribute [rw] owner_alias
|
26484
|
-
# The
|
26485
|
-
# snapshot. This is intended for future use.
|
26499
|
+
# The Amazon Web Services owner alias that enabled fast snapshot
|
26500
|
+
# restores on the snapshot. This is intended for future use.
|
26486
26501
|
# @return [String]
|
26487
26502
|
#
|
26488
26503
|
# @!attribute [rw] enabling_time
|
@@ -28169,13 +28184,13 @@ module Aws::EC2
|
|
28169
28184
|
# @return [String]
|
28170
28185
|
#
|
28171
28186
|
# @!attribute [rw] owner_id
|
28172
|
-
# The ID of the
|
28187
|
+
# The ID of the account that enabled fast snapshot restores on the
|
28173
28188
|
# snapshot.
|
28174
28189
|
# @return [String]
|
28175
28190
|
#
|
28176
28191
|
# @!attribute [rw] owner_alias
|
28177
|
-
# The
|
28178
|
-
# snapshot. This is intended for future use.
|
28192
|
+
# The Amazon Web Services owner alias that enabled fast snapshot
|
28193
|
+
# restores on the snapshot. This is intended for future use.
|
28179
28194
|
# @return [String]
|
28180
28195
|
#
|
28181
28196
|
# @!attribute [rw] enabling_time
|
@@ -28237,7 +28252,7 @@ module Aws::EC2
|
|
28237
28252
|
# @!attribute [rw] source_snapshot_ids
|
28238
28253
|
# The IDs of one or more snapshots. For example,
|
28239
28254
|
# `snap-1234567890abcdef0`. You can specify a snapshot that was shared
|
28240
|
-
# with you from another
|
28255
|
+
# with you from another account.
|
28241
28256
|
# @return [Array<String>]
|
28242
28257
|
#
|
28243
28258
|
# @!attribute [rw] dry_run
|
@@ -30936,8 +30951,8 @@ module Aws::EC2
|
|
30936
30951
|
end
|
30937
30952
|
|
30938
30953
|
# @!attribute [rw] kms_key_id
|
30939
|
-
# The Amazon Resource Name (ARN) of the default
|
30940
|
-
# default.
|
30954
|
+
# The Amazon Resource Name (ARN) of the default KMS key for encryption
|
30955
|
+
# by default.
|
30941
30956
|
# @return [String]
|
30942
30957
|
#
|
30943
30958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsDefaultKmsKeyIdResult AWS API Documentation
|
@@ -38992,12 +39007,12 @@ module Aws::EC2
|
|
38992
39007
|
# }
|
38993
39008
|
#
|
38994
39009
|
# @!attribute [rw] kms_key_id
|
38995
|
-
# The identifier of the
|
38996
|
-
#
|
38997
|
-
#
|
38998
|
-
#
|
39010
|
+
# The identifier of the Key Management Service (KMS) KMS key to use
|
39011
|
+
# for Amazon EBS encryption. If this parameter is not specified, your
|
39012
|
+
# KMS key for Amazon EBS is used. If `KmsKeyId` is specified, the
|
39013
|
+
# encrypted state must be `true`.
|
38999
39014
|
#
|
39000
|
-
# You can specify the
|
39015
|
+
# You can specify the KMS key using any of the following:
|
39001
39016
|
#
|
39002
39017
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
39003
39018
|
#
|
@@ -39009,11 +39024,11 @@ module Aws::EC2
|
|
39009
39024
|
# * Alias ARN. For example,
|
39010
39025
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
39011
39026
|
#
|
39012
|
-
#
|
39013
|
-
# an ID, alias, or ARN that is not valid,
|
39014
|
-
# complete, but eventually fails.
|
39027
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
39028
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid,
|
39029
|
+
# the action can appear to complete, but eventually fails.
|
39015
39030
|
#
|
39016
|
-
# Amazon EBS does not support asymmetric
|
39031
|
+
# Amazon EBS does not support asymmetric KMS keys.
|
39017
39032
|
# @return [String]
|
39018
39033
|
#
|
39019
39034
|
# @!attribute [rw] dry_run
|
@@ -39033,8 +39048,8 @@ module Aws::EC2
|
|
39033
39048
|
end
|
39034
39049
|
|
39035
39050
|
# @!attribute [rw] kms_key_id
|
39036
|
-
# The Amazon Resource Name (ARN) of the default
|
39037
|
-
# default.
|
39051
|
+
# The Amazon Resource Name (ARN) of the default KMS key for encryption
|
39052
|
+
# by default.
|
39038
39053
|
# @return [String]
|
39039
39054
|
#
|
39040
39055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyEbsDefaultKmsKeyIdResult AWS API Documentation
|
@@ -41324,7 +41339,7 @@ module Aws::EC2
|
|
41324
41339
|
#
|
41325
41340
|
# * `standard`\: 1-1,024
|
41326
41341
|
#
|
41327
|
-
# Default:
|
41342
|
+
# Default: The existing size is retained.
|
41328
41343
|
# @return [Integer]
|
41329
41344
|
#
|
41330
41345
|
# @!attribute [rw] volume_type
|
@@ -41332,7 +41347,7 @@ module Aws::EC2
|
|
41332
41347
|
# [Amazon EBS volume types][1] in the *Amazon Elastic Compute Cloud
|
41333
41348
|
# User Guide*.
|
41334
41349
|
#
|
41335
|
-
# Default:
|
41350
|
+
# Default: The existing type is retained.
|
41336
41351
|
#
|
41337
41352
|
#
|
41338
41353
|
#
|
@@ -41351,17 +41366,17 @@ module Aws::EC2
|
|
41351
41366
|
#
|
41352
41367
|
# * `io2`\: 100-64,000 IOPS
|
41353
41368
|
#
|
41354
|
-
# Default:
|
41355
|
-
#
|
41356
|
-
#
|
41369
|
+
# Default: The existing value is retained if you keep the same volume
|
41370
|
+
# type. If you change the volume type to `io1`, `io2`, or `gp3`, the
|
41371
|
+
# default is 3,000.
|
41357
41372
|
# @return [Integer]
|
41358
41373
|
#
|
41359
41374
|
# @!attribute [rw] throughput
|
41360
41375
|
# The target throughput of the volume, in MiB/s. This parameter is
|
41361
41376
|
# valid only for `gp3` volumes. The maximum value is 1,000.
|
41362
41377
|
#
|
41363
|
-
# Default:
|
41364
|
-
#
|
41378
|
+
# Default: The existing value is retained if the source and target
|
41379
|
+
# volume type is `gp3`. Otherwise, the default value is 125.
|
41365
41380
|
#
|
41366
41381
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
41367
41382
|
# @return [Integer]
|
@@ -48083,8 +48098,8 @@ module Aws::EC2
|
|
48083
48098
|
end
|
48084
48099
|
|
48085
48100
|
# @!attribute [rw] kms_key_id
|
48086
|
-
# The Amazon Resource Name (ARN) of the default
|
48087
|
-
# by default.
|
48101
|
+
# The Amazon Resource Name (ARN) of the default KMS key for EBS
|
48102
|
+
# encryption by default.
|
48088
48103
|
# @return [String]
|
48089
48104
|
#
|
48090
48105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetEbsDefaultKmsKeyIdResult AWS API Documentation
|
@@ -51612,13 +51627,13 @@ module Aws::EC2
|
|
51612
51627
|
# @return [Boolean]
|
51613
51628
|
#
|
51614
51629
|
# @!attribute [rw] kms_key_id
|
51615
|
-
# The Amazon Resource Name (ARN) of the
|
51616
|
-
#
|
51617
|
-
#
|
51630
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS)
|
51631
|
+
# KMS key that was used to protect the volume encryption key for the
|
51632
|
+
# parent volume.
|
51618
51633
|
# @return [String]
|
51619
51634
|
#
|
51620
51635
|
# @!attribute [rw] owner_id
|
51621
|
-
# The
|
51636
|
+
# The ID of the account that owns the EBS snapshot.
|
51622
51637
|
# @return [String]
|
51623
51638
|
#
|
51624
51639
|
# @!attribute [rw] progress
|
@@ -51640,11 +51655,10 @@ module Aws::EC2
|
|
51640
51655
|
#
|
51641
51656
|
# @!attribute [rw] state_message
|
51642
51657
|
# Encrypted Amazon EBS snapshots are copied asynchronously. If a
|
51643
|
-
# snapshot copy operation fails (for example, if the proper
|
51644
|
-
# Management Service (
|
51645
|
-
#
|
51646
|
-
#
|
51647
|
-
# DescribeSnapshots.
|
51658
|
+
# snapshot copy operation fails (for example, if the proper Key
|
51659
|
+
# Management Service (KMS) permissions are not obtained) this field
|
51660
|
+
# displays error state details to help you diagnose why the error
|
51661
|
+
# occurred. This parameter is only returned by DescribeSnapshots.
|
51648
51662
|
# @return [String]
|
51649
51663
|
#
|
51650
51664
|
# @!attribute [rw] volume_id
|
@@ -51658,15 +51672,15 @@ module Aws::EC2
|
|
51658
51672
|
# @return [Integer]
|
51659
51673
|
#
|
51660
51674
|
# @!attribute [rw] owner_alias
|
51661
|
-
# The
|
51662
|
-
# is not the user-configured
|
51663
|
-
# console.
|
51675
|
+
# The Amazon Web Services owner alias, from an Amazon-maintained list
|
51676
|
+
# (`amazon`). This is not the user-configured account alias set using
|
51677
|
+
# the IAM console.
|
51664
51678
|
# @return [String]
|
51665
51679
|
#
|
51666
51680
|
# @!attribute [rw] outpost_arn
|
51667
|
-
# The ARN of the
|
51668
|
-
# information, see [EBS
|
51669
|
-
# Elastic Compute Cloud User Guide*.
|
51681
|
+
# The ARN of the Outpost on which the snapshot is stored. For more
|
51682
|
+
# information, see [Amazon EBS local snapshots on Outposts][1] in the
|
51683
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
51670
51684
|
#
|
51671
51685
|
#
|
51672
51686
|
#
|
@@ -51848,9 +51862,9 @@ module Aws::EC2
|
|
51848
51862
|
# @return [String]
|
51849
51863
|
#
|
51850
51864
|
# @!attribute [rw] outpost_arn
|
51851
|
-
# The ARN of the
|
51852
|
-
# information, see [EBS
|
51853
|
-
# Elastic Compute Cloud User Guide*.
|
51865
|
+
# The ARN of the Outpost on which the snapshot is stored. For more
|
51866
|
+
# information, see [Amazon EBS local snapshots on Outposts][1] in the
|
51867
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
51854
51868
|
#
|
51855
51869
|
#
|
51856
51870
|
#
|
@@ -56876,9 +56890,9 @@ module Aws::EC2
|
|
56876
56890
|
# @return [Boolean]
|
56877
56891
|
#
|
56878
56892
|
# @!attribute [rw] kms_key_id
|
56879
|
-
# The Amazon Resource Name (ARN) of the
|
56880
|
-
#
|
56881
|
-
# volume
|
56893
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS)
|
56894
|
+
# KMS key that was used to protect the volume encryption key for the
|
56895
|
+
# volume.
|
56882
56896
|
# @return [String]
|
56883
56897
|
#
|
56884
56898
|
# @!attribute [rw] outpost_arn
|