aws-sdk-ec2 1.496.0 → 1.498.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +102 -58
- data/lib/aws-sdk-ec2/client_api.rb +11 -1
- data/lib/aws-sdk-ec2/resource.rb +22 -10
- data/lib/aws-sdk-ec2/security_group.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +7 -0
- data/lib/aws-sdk-ec2/types.rb +92 -29
- data/lib/aws-sdk-ec2/volume.rb +22 -10
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +11 -3
- data/sig/resource.rbs +1 -0
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +3 -0
- data/sig/types.rbs +10 -0
- data/sig/volume.rbs +1 -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: 470f7b2fdcd4a626a51e278d1ce72e368e68f8c79ef6b0bb2e672c7ee354d5eb
|
|
4
|
+
data.tar.gz: 47b5ce0689cf5c3cbe8e8f50b4ea6989cbb8b4a82961883eb2e13f505bf34c4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fad54eea26189abec229055f4e7d43a18453e9d81210f42d62a273f65ca9d717e2f8e8361cdde7c681416b25851734858f9755632d63f8c89e9405b6db09f592
|
|
7
|
+
data.tar.gz: 351cd256ad6081fdccefc58bd2728d28beabfb0222b5b5f081c5e6401d69d1b862eb4c9d632abf3083f0046c9bcef14fbb594c60292ac3360525b6981b692402
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.498.0 (2024-12-16)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for EBS local snapshots in AWS Dedicated Local Zones, which allows you to store snapshots of EBS volumes locally in Dedicated Local Zones.
|
|
8
|
+
|
|
9
|
+
1.497.0 (2024-12-13)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds GroupId to the response for DeleteSecurityGroup.
|
|
13
|
+
|
|
4
14
|
1.496.0 (2024-12-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.498.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -12169,12 +12169,17 @@ module Aws::EC2
|
|
|
12169
12169
|
# can use snapshots for backups, to make copies of EBS volumes, and to
|
|
12170
12170
|
# save data before shutting down an instance.
|
|
12171
12171
|
#
|
|
12172
|
-
#
|
|
12173
|
-
#
|
|
12174
|
-
#
|
|
12175
|
-
#
|
|
12176
|
-
#
|
|
12177
|
-
#
|
|
12172
|
+
# The location of the source EBS volume determines where you can create
|
|
12173
|
+
# the snapshot.
|
|
12174
|
+
#
|
|
12175
|
+
# * If the source volume is in a Region, you must create the snapshot in
|
|
12176
|
+
# the same Region as the volume.
|
|
12177
|
+
#
|
|
12178
|
+
# * If the source volume is in a Local Zone, you can create the snapshot
|
|
12179
|
+
# in the same Local Zone or in parent Amazon Web Services Region.
|
|
12180
|
+
#
|
|
12181
|
+
# * If the source volume is on an Outpost, you can create the snapshot
|
|
12182
|
+
# on the same Outpost or in its parent Amazon Web Services Region.
|
|
12178
12183
|
#
|
|
12179
12184
|
# When a snapshot is created, any Amazon Web Services Marketplace
|
|
12180
12185
|
# product codes that are associated with the source volume are
|
|
@@ -12199,37 +12204,28 @@ module Aws::EC2
|
|
|
12199
12204
|
# Snapshots that are taken from encrypted volumes are automatically
|
|
12200
12205
|
# encrypted. Volumes that are created from encrypted snapshots are also
|
|
12201
12206
|
# automatically encrypted. Your encrypted volumes and any associated
|
|
12202
|
-
# snapshots always remain protected.
|
|
12203
|
-
#
|
|
12204
|
-
# You can tag your snapshots during creation. For more information, see
|
|
12205
|
-
# [Tag your Amazon EC2 resources][1] in the *Amazon EC2 User Guide*.
|
|
12206
|
-
#
|
|
12207
|
-
# For more information, see [Amazon EBS][2] and [Amazon EBS
|
|
12208
|
-
# encryption][3] in the *Amazon EBS User Guide*.
|
|
12207
|
+
# snapshots always remain protected. For more information, [Amazon EBS
|
|
12208
|
+
# encryption][1] in the *Amazon EBS User Guide*.
|
|
12209
12209
|
#
|
|
12210
12210
|
#
|
|
12211
12211
|
#
|
|
12212
|
-
# [1]: https://docs.aws.amazon.com/
|
|
12213
|
-
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/what-is-ebs.html
|
|
12214
|
-
# [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
|
12212
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
|
12215
12213
|
#
|
|
12216
12214
|
# @option params [String] :description
|
|
12217
12215
|
# A description for the snapshot.
|
|
12218
12216
|
#
|
|
12219
12217
|
# @option params [String] :outpost_arn
|
|
12220
|
-
#
|
|
12221
|
-
#
|
|
12218
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not on
|
|
12219
|
+
# an Outpost, omit this parameter.
|
|
12222
12220
|
#
|
|
12223
|
-
#
|
|
12224
|
-
# The snapshot is created in the same Region as the volume.
|
|
12221
|
+
# </note>
|
|
12225
12222
|
#
|
|
12226
|
-
# * To create
|
|
12227
|
-
#
|
|
12228
|
-
#
|
|
12223
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
|
12224
|
+
# specify the ARN of that Outpost. The snapshot must be created on the
|
|
12225
|
+
# same Outpost as the volume.
|
|
12229
12226
|
#
|
|
12230
|
-
# * To create
|
|
12231
|
-
#
|
|
12232
|
-
# The snapshot must be created on the same Outpost as the volume.
|
|
12227
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
|
12228
|
+
# this parameter.
|
|
12233
12229
|
#
|
|
12234
12230
|
# For more information, see [Create local snapshots from volumes on an
|
|
12235
12231
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
|
@@ -12244,6 +12240,20 @@ module Aws::EC2
|
|
|
12244
12240
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
12245
12241
|
# The tags to apply to the snapshot during creation.
|
|
12246
12242
|
#
|
|
12243
|
+
# @option params [String] :location
|
|
12244
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is not
|
|
12245
|
+
# in a Local Zone, omit this parameter.
|
|
12246
|
+
#
|
|
12247
|
+
# </note>
|
|
12248
|
+
#
|
|
12249
|
+
# * To create a local snapshot in the same Local Zone as the source
|
|
12250
|
+
# volume, specify `local`.
|
|
12251
|
+
#
|
|
12252
|
+
# * To create a regional snapshot in the parent Region of the Local
|
|
12253
|
+
# Zone, specify `regional` or omit this parameter.
|
|
12254
|
+
#
|
|
12255
|
+
# Default value: `regional`
|
|
12256
|
+
#
|
|
12247
12257
|
# @option params [Boolean] :dry_run
|
|
12248
12258
|
# Checks whether you have the required permissions for the action,
|
|
12249
12259
|
# without actually making the request, and provides an error response.
|
|
@@ -12258,6 +12268,7 @@ module Aws::EC2
|
|
|
12258
12268
|
# * {Types::Snapshot#storage_tier #storage_tier} => String
|
|
12259
12269
|
# * {Types::Snapshot#restore_expiry_time #restore_expiry_time} => Time
|
|
12260
12270
|
# * {Types::Snapshot#sse_type #sse_type} => String
|
|
12271
|
+
# * {Types::Snapshot#availability_zone #availability_zone} => String
|
|
12261
12272
|
# * {Types::Snapshot#transfer_type #transfer_type} => String
|
|
12262
12273
|
# * {Types::Snapshot#completion_duration_minutes #completion_duration_minutes} => Integer
|
|
12263
12274
|
# * {Types::Snapshot#completion_time #completion_time} => Time
|
|
@@ -12315,6 +12326,7 @@ module Aws::EC2
|
|
|
12315
12326
|
# ],
|
|
12316
12327
|
# },
|
|
12317
12328
|
# ],
|
|
12329
|
+
# location: "regional", # accepts regional, local
|
|
12318
12330
|
# dry_run: false,
|
|
12319
12331
|
# })
|
|
12320
12332
|
#
|
|
@@ -12328,6 +12340,7 @@ module Aws::EC2
|
|
|
12328
12340
|
# resp.storage_tier #=> String, one of "archive", "standard"
|
|
12329
12341
|
# resp.restore_expiry_time #=> Time
|
|
12330
12342
|
# resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
|
12343
|
+
# resp.availability_zone #=> String
|
|
12331
12344
|
# resp.transfer_type #=> String, one of "time-based", "standard"
|
|
12332
12345
|
# resp.completion_duration_minutes #=> Integer
|
|
12333
12346
|
# resp.completion_time #=> Time
|
|
@@ -12353,21 +12366,27 @@ module Aws::EC2
|
|
|
12353
12366
|
req.send_request(options)
|
|
12354
12367
|
end
|
|
12355
12368
|
|
|
12356
|
-
# Creates crash-consistent snapshots of multiple EBS volumes
|
|
12357
|
-
#
|
|
12358
|
-
# attached
|
|
12359
|
-
# crash-consistent across the instance.
|
|
12369
|
+
# Creates crash-consistent snapshots of multiple EBS volumes attached to
|
|
12370
|
+
# an Amazon EC2 instance. Volumes are chosen by specifying an instance.
|
|
12371
|
+
# Each volume attached to the specified instance will produce one
|
|
12372
|
+
# snapshot that is crash-consistent across the instance. You can include
|
|
12373
|
+
# all of the volumes currently attached to the instance, or you can
|
|
12374
|
+
# exclude the root volume or specific data (non-root) volumes from the
|
|
12375
|
+
# multi-volume snapshot set.
|
|
12376
|
+
#
|
|
12377
|
+
# The location of the source instance determines where you can create
|
|
12378
|
+
# the snapshots.
|
|
12360
12379
|
#
|
|
12361
|
-
#
|
|
12362
|
-
#
|
|
12363
|
-
#
|
|
12380
|
+
# * If the source instance is in a Region, you must create the snapshots
|
|
12381
|
+
# in the same Region as the instance.
|
|
12382
|
+
#
|
|
12383
|
+
# * If the source instance is in a Local Zone, you can create the
|
|
12384
|
+
# snapshots in the same Local Zone or in parent Amazon Web Services
|
|
12385
|
+
# Region.
|
|
12364
12386
|
#
|
|
12365
|
-
#
|
|
12366
|
-
#
|
|
12367
|
-
#
|
|
12368
|
-
# instance. If you create snapshots from an instance on an Outpost, the
|
|
12369
|
-
# snapshots can be stored on the same Outpost as the instance, or in the
|
|
12370
|
-
# Region for that Outpost.
|
|
12387
|
+
# * If the source instance is on an Outpost, you can create the
|
|
12388
|
+
# snapshots on the same Outpost or in its parent Amazon Web Services
|
|
12389
|
+
# Region.
|
|
12371
12390
|
#
|
|
12372
12391
|
# @option params [String] :description
|
|
12373
12392
|
# A description propagated to every snapshot specified by the instance.
|
|
@@ -12377,27 +12396,24 @@ module Aws::EC2
|
|
|
12377
12396
|
# snapshots.
|
|
12378
12397
|
#
|
|
12379
12398
|
# @option params [String] :outpost_arn
|
|
12380
|
-
#
|
|
12381
|
-
#
|
|
12399
|
+
# <note markdown="1"> Only supported for instances on Outposts. If the source instance is
|
|
12400
|
+
# not on an Outpost, omit this parameter.
|
|
12382
12401
|
#
|
|
12383
|
-
#
|
|
12384
|
-
# parameter. The snapshots are created in the same Region as the
|
|
12385
|
-
# instance.
|
|
12402
|
+
# </note>
|
|
12386
12403
|
#
|
|
12387
|
-
# * To create snapshots
|
|
12388
|
-
#
|
|
12389
|
-
#
|
|
12404
|
+
# * To create the snapshots on the same Outpost as the source instance,
|
|
12405
|
+
# specify the ARN of that Outpost. The snapshots must be created on
|
|
12406
|
+
# the same Outpost as the instance.
|
|
12390
12407
|
#
|
|
12391
|
-
# * To create snapshots
|
|
12392
|
-
#
|
|
12393
|
-
# The snapshots must be created on the same Outpost as the instance.
|
|
12408
|
+
# * To create the snapshots in the parent Region of the Outpost, omit
|
|
12409
|
+
# this parameter.
|
|
12394
12410
|
#
|
|
12395
|
-
# For more information, see [ Create
|
|
12396
|
-
#
|
|
12411
|
+
# For more information, see [ Create local snapshots from volumes on an
|
|
12412
|
+
# Outpost][1] in the *Amazon EBS User Guide*.
|
|
12397
12413
|
#
|
|
12398
12414
|
#
|
|
12399
12415
|
#
|
|
12400
|
-
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-
|
|
12416
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
|
|
12401
12417
|
#
|
|
12402
12418
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
12403
12419
|
# Tags to apply to every snapshot specified by the instance.
|
|
@@ -12411,6 +12427,20 @@ module Aws::EC2
|
|
|
12411
12427
|
# @option params [String] :copy_tags_from_source
|
|
12412
12428
|
# Copies the tags from the specified volume to corresponding snapshot.
|
|
12413
12429
|
#
|
|
12430
|
+
# @option params [String] :location
|
|
12431
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance is
|
|
12432
|
+
# not in a Local Zone, omit this parameter.
|
|
12433
|
+
#
|
|
12434
|
+
# </note>
|
|
12435
|
+
#
|
|
12436
|
+
# * To create local snapshots in the same Local Zone as the source
|
|
12437
|
+
# instance, specify `local`.
|
|
12438
|
+
#
|
|
12439
|
+
# * To create a regional snapshots in the parent Region of the Local
|
|
12440
|
+
# Zone, specify `regional` or omit this parameter.
|
|
12441
|
+
#
|
|
12442
|
+
# Default value: `regional`
|
|
12443
|
+
#
|
|
12414
12444
|
# @return [Types::CreateSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12415
12445
|
#
|
|
12416
12446
|
# * {Types::CreateSnapshotsResult#snapshots #snapshots} => Array<Types::SnapshotInfo>
|
|
@@ -12438,6 +12468,7 @@ module Aws::EC2
|
|
|
12438
12468
|
# ],
|
|
12439
12469
|
# dry_run: false,
|
|
12440
12470
|
# copy_tags_from_source: "volume", # accepts volume
|
|
12471
|
+
# location: "regional", # accepts regional, local
|
|
12441
12472
|
# })
|
|
12442
12473
|
#
|
|
12443
12474
|
# @example Response structure
|
|
@@ -12457,6 +12488,7 @@ module Aws::EC2
|
|
|
12457
12488
|
# resp.snapshots[0].snapshot_id #=> String
|
|
12458
12489
|
# resp.snapshots[0].outpost_arn #=> String
|
|
12459
12490
|
# resp.snapshots[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
|
12491
|
+
# resp.snapshots[0].availability_zone #=> String
|
|
12460
12492
|
#
|
|
12461
12493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots AWS API Documentation
|
|
12462
12494
|
#
|
|
@@ -18398,7 +18430,10 @@ module Aws::EC2
|
|
|
18398
18430
|
# If you have the required permissions, the error response is
|
|
18399
18431
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
18400
18432
|
#
|
|
18401
|
-
# @return [
|
|
18433
|
+
# @return [Types::DeleteSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
18434
|
+
#
|
|
18435
|
+
# * {Types::DeleteSecurityGroupResult#return #return} => Boolean
|
|
18436
|
+
# * {Types::DeleteSecurityGroupResult#group_id #group_id} => String
|
|
18402
18437
|
#
|
|
18403
18438
|
#
|
|
18404
18439
|
# @example Example: To delete a security group
|
|
@@ -18421,6 +18456,11 @@ module Aws::EC2
|
|
|
18421
18456
|
# dry_run: false,
|
|
18422
18457
|
# })
|
|
18423
18458
|
#
|
|
18459
|
+
# @example Response structure
|
|
18460
|
+
#
|
|
18461
|
+
# resp.return #=> Boolean
|
|
18462
|
+
# resp.group_id #=> String
|
|
18463
|
+
#
|
|
18424
18464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup AWS API Documentation
|
|
18425
18465
|
#
|
|
18426
18466
|
# @overload delete_security_group(params = {})
|
|
@@ -34349,6 +34389,7 @@ module Aws::EC2
|
|
|
34349
34389
|
# resp.snapshots[0].storage_tier #=> String, one of "archive", "standard"
|
|
34350
34390
|
# resp.snapshots[0].restore_expiry_time #=> Time
|
|
34351
34391
|
# resp.snapshots[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
|
34392
|
+
# resp.snapshots[0].availability_zone #=> String
|
|
34352
34393
|
# resp.snapshots[0].transfer_type #=> String, one of "time-based", "standard"
|
|
34353
34394
|
# resp.snapshots[0].completion_duration_minutes #=> Integer
|
|
34354
34395
|
# resp.snapshots[0].completion_time #=> Time
|
|
@@ -60958,8 +60999,9 @@ module Aws::EC2
|
|
|
60958
60999
|
# management account or delegated administrators for the organization.
|
|
60959
61000
|
#
|
|
60960
61001
|
# * An S3 bucket must be available before generating the report (you can
|
|
60961
|
-
# create a new one or use an existing one),
|
|
60962
|
-
#
|
|
61002
|
+
# create a new one or use an existing one), it must be in the same
|
|
61003
|
+
# Region where the report generation request is made, and it must have
|
|
61004
|
+
# an appropriate bucket policy. For a sample S3 policy, see *Sample
|
|
60963
61005
|
# Amazon S3 policy* under .
|
|
60964
61006
|
#
|
|
60965
61007
|
# * Trusted access must be enabled for the service for which the
|
|
@@ -60992,7 +61034,9 @@ module Aws::EC2
|
|
|
60992
61034
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
60993
61035
|
#
|
|
60994
61036
|
# @option params [required, String] :s3_bucket
|
|
60995
|
-
# The name of the S3 bucket where the report will be saved.
|
|
61037
|
+
# The name of the S3 bucket where the report will be saved. The bucket
|
|
61038
|
+
# must be in the same Region where the report generation request is
|
|
61039
|
+
# made.
|
|
60996
61040
|
#
|
|
60997
61041
|
# @option params [String] :s3_prefix
|
|
60998
61042
|
# The prefix for your S3 object.
|
|
@@ -63071,7 +63115,7 @@ module Aws::EC2
|
|
|
63071
63115
|
tracer: tracer
|
|
63072
63116
|
)
|
|
63073
63117
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
63074
|
-
context[:gem_version] = '1.
|
|
63118
|
+
context[:gem_version] = '1.498.0'
|
|
63075
63119
|
Seahorse::Client::Request.new(handlers, context)
|
|
63076
63120
|
end
|
|
63077
63121
|
|
|
@@ -740,6 +740,7 @@ module Aws::EC2
|
|
|
740
740
|
DeleteRouteRequest = Shapes::StructureShape.new(name: 'DeleteRouteRequest')
|
|
741
741
|
DeleteRouteTableRequest = Shapes::StructureShape.new(name: 'DeleteRouteTableRequest')
|
|
742
742
|
DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
|
|
743
|
+
DeleteSecurityGroupResult = Shapes::StructureShape.new(name: 'DeleteSecurityGroupResult')
|
|
743
744
|
DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
|
|
744
745
|
DeleteSpotDatafeedSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSpotDatafeedSubscriptionRequest')
|
|
745
746
|
DeleteSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationRequest')
|
|
@@ -2913,6 +2914,7 @@ module Aws::EC2
|
|
|
2913
2914
|
SnapshotIdStringList = Shapes::ListShape.new(name: 'SnapshotIdStringList')
|
|
2914
2915
|
SnapshotInfo = Shapes::StructureShape.new(name: 'SnapshotInfo')
|
|
2915
2916
|
SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
|
|
2917
|
+
SnapshotLocationEnum = Shapes::StringShape.new(name: 'SnapshotLocationEnum')
|
|
2916
2918
|
SnapshotRecycleBinInfo = Shapes::StructureShape.new(name: 'SnapshotRecycleBinInfo')
|
|
2917
2919
|
SnapshotRecycleBinInfoList = Shapes::ListShape.new(name: 'SnapshotRecycleBinInfoList')
|
|
2918
2920
|
SnapshotSet = Shapes::ListShape.new(name: 'SnapshotSet')
|
|
@@ -5475,6 +5477,7 @@ module Aws::EC2
|
|
|
5475
5477
|
CreateSnapshotRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
|
5476
5478
|
CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
|
|
5477
5479
|
CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
5480
|
+
CreateSnapshotRequest.add_member(:location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "Location"))
|
|
5478
5481
|
CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
5479
5482
|
CreateSnapshotRequest.struct_class = Types::CreateSnapshotRequest
|
|
5480
5483
|
|
|
@@ -5484,6 +5487,7 @@ module Aws::EC2
|
|
|
5484
5487
|
CreateSnapshotsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
5485
5488
|
CreateSnapshotsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
5486
5489
|
CreateSnapshotsRequest.add_member(:copy_tags_from_source, Shapes::ShapeRef.new(shape: CopyTagsFromSource, location_name: "CopyTagsFromSource"))
|
|
5490
|
+
CreateSnapshotsRequest.add_member(:location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "Location"))
|
|
5487
5491
|
CreateSnapshotsRequest.struct_class = Types::CreateSnapshotsRequest
|
|
5488
5492
|
|
|
5489
5493
|
CreateSnapshotsResult.add_member(:snapshots, Shapes::ShapeRef.new(shape: SnapshotSet, location_name: "snapshotSet"))
|
|
@@ -6366,6 +6370,10 @@ module Aws::EC2
|
|
|
6366
6370
|
DeleteSecurityGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
6367
6371
|
DeleteSecurityGroupRequest.struct_class = Types::DeleteSecurityGroupRequest
|
|
6368
6372
|
|
|
6373
|
+
DeleteSecurityGroupResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
|
6374
|
+
DeleteSecurityGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId"))
|
|
6375
|
+
DeleteSecurityGroupResult.struct_class = Types::DeleteSecurityGroupResult
|
|
6376
|
+
|
|
6369
6377
|
DeleteSnapshotRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
|
|
6370
6378
|
DeleteSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
6371
6379
|
DeleteSnapshotRequest.struct_class = Types::DeleteSnapshotRequest
|
|
@@ -14964,6 +14972,7 @@ module Aws::EC2
|
|
|
14964
14972
|
Snapshot.add_member(:storage_tier, Shapes::ShapeRef.new(shape: StorageTier, location_name: "storageTier"))
|
|
14965
14973
|
Snapshot.add_member(:restore_expiry_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "restoreExpiryTime"))
|
|
14966
14974
|
Snapshot.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
|
|
14975
|
+
Snapshot.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
14967
14976
|
Snapshot.add_member(:transfer_type, Shapes::ShapeRef.new(shape: TransferType, location_name: "transferType"))
|
|
14968
14977
|
Snapshot.add_member(:completion_duration_minutes, Shapes::ShapeRef.new(shape: SnapshotCompletionDurationMinutesResponse, location_name: "completionDurationMinutes"))
|
|
14969
14978
|
Snapshot.add_member(:completion_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "completionTime"))
|
|
@@ -15015,6 +15024,7 @@ module Aws::EC2
|
|
|
15015
15024
|
SnapshotInfo.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
|
15016
15025
|
SnapshotInfo.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
|
15017
15026
|
SnapshotInfo.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
|
|
15027
|
+
SnapshotInfo.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
15018
15028
|
SnapshotInfo.struct_class = Types::SnapshotInfo
|
|
15019
15029
|
|
|
15020
15030
|
SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
|
|
@@ -18289,7 +18299,7 @@ module Aws::EC2
|
|
|
18289
18299
|
o.http_method = "POST"
|
|
18290
18300
|
o.http_request_uri = "/"
|
|
18291
18301
|
o.input = Shapes::ShapeRef.new(shape: DeleteSecurityGroupRequest)
|
|
18292
|
-
o.output = Shapes::ShapeRef.new(shape:
|
|
18302
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSecurityGroupResult)
|
|
18293
18303
|
end)
|
|
18294
18304
|
|
|
18295
18305
|
api.add_operation(:delete_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -1223,25 +1223,24 @@ module Aws::EC2
|
|
|
1223
1223
|
# ],
|
|
1224
1224
|
# },
|
|
1225
1225
|
# ],
|
|
1226
|
+
# location: "regional", # accepts regional, local
|
|
1226
1227
|
# dry_run: false,
|
|
1227
1228
|
# })
|
|
1228
1229
|
# @param [Hash] options ({})
|
|
1229
1230
|
# @option options [String] :description
|
|
1230
1231
|
# A description for the snapshot.
|
|
1231
1232
|
# @option options [String] :outpost_arn
|
|
1232
|
-
#
|
|
1233
|
-
#
|
|
1233
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not on
|
|
1234
|
+
# an Outpost, omit this parameter.
|
|
1234
1235
|
#
|
|
1235
|
-
#
|
|
1236
|
-
# The snapshot is created in the same Region as the volume.
|
|
1236
|
+
# </note>
|
|
1237
1237
|
#
|
|
1238
|
-
# * To create
|
|
1239
|
-
#
|
|
1240
|
-
#
|
|
1238
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
|
1239
|
+
# specify the ARN of that Outpost. The snapshot must be created on the
|
|
1240
|
+
# same Outpost as the volume.
|
|
1241
1241
|
#
|
|
1242
|
-
# * To create
|
|
1243
|
-
#
|
|
1244
|
-
# The snapshot must be created on the same Outpost as the volume.
|
|
1242
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
|
1243
|
+
# this parameter.
|
|
1245
1244
|
#
|
|
1246
1245
|
# For more information, see [Create local snapshots from volumes on an
|
|
1247
1246
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
|
@@ -1253,6 +1252,19 @@ module Aws::EC2
|
|
|
1253
1252
|
# The ID of the Amazon EBS volume.
|
|
1254
1253
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
1255
1254
|
# The tags to apply to the snapshot during creation.
|
|
1255
|
+
# @option options [String] :location
|
|
1256
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is not
|
|
1257
|
+
# in a Local Zone, omit this parameter.
|
|
1258
|
+
#
|
|
1259
|
+
# </note>
|
|
1260
|
+
#
|
|
1261
|
+
# * To create a local snapshot in the same Local Zone as the source
|
|
1262
|
+
# volume, specify `local`.
|
|
1263
|
+
#
|
|
1264
|
+
# * To create a regional snapshot in the parent Region of the Local
|
|
1265
|
+
# Zone, specify `regional` or omit this parameter.
|
|
1266
|
+
#
|
|
1267
|
+
# Default value: `regional`
|
|
1256
1268
|
# @option options [Boolean] :dry_run
|
|
1257
1269
|
# Checks whether you have the required permissions for the action,
|
|
1258
1270
|
# without actually making the request, and provides an error response.
|
|
@@ -544,7 +544,7 @@ module Aws::EC2
|
|
|
544
544
|
# without actually making the request, and provides an error response.
|
|
545
545
|
# If you have the required permissions, the error response is
|
|
546
546
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
547
|
-
# @return [
|
|
547
|
+
# @return [Types::DeleteSecurityGroupResult]
|
|
548
548
|
def delete(options = {})
|
|
549
549
|
options = options.merge(group_id: @id)
|
|
550
550
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
|
@@ -84,6 +84,13 @@ module Aws::EC2
|
|
|
84
84
|
data[:sse_type]
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
+
# The Availability Zone or Local Zone of the snapshot. For example,
|
|
88
|
+
# `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone).
|
|
89
|
+
# @return [String]
|
|
90
|
+
def availability_zone
|
|
91
|
+
data[:availability_zone]
|
|
92
|
+
end
|
|
93
|
+
|
|
87
94
|
# <note markdown="1"> Only for snapshot copies.
|
|
88
95
|
#
|
|
89
96
|
# </note>
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -11504,20 +11504,17 @@ module Aws::EC2
|
|
|
11504
11504
|
# @return [String]
|
|
11505
11505
|
#
|
|
11506
11506
|
# @!attribute [rw] outpost_arn
|
|
11507
|
-
#
|
|
11508
|
-
#
|
|
11507
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not
|
|
11508
|
+
# on an Outpost, omit this parameter.
|
|
11509
11509
|
#
|
|
11510
|
-
#
|
|
11511
|
-
# The snapshot is created in the same Region as the volume.
|
|
11510
|
+
# </note>
|
|
11512
11511
|
#
|
|
11513
|
-
# * To create
|
|
11514
|
-
#
|
|
11515
|
-
#
|
|
11512
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
|
11513
|
+
# specify the ARN of that Outpost. The snapshot must be created on
|
|
11514
|
+
# the same Outpost as the volume.
|
|
11516
11515
|
#
|
|
11517
|
-
# * To create
|
|
11518
|
-
#
|
|
11519
|
-
# Outpost. The snapshot must be created on the same Outpost as the
|
|
11520
|
-
# volume.
|
|
11516
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
|
11517
|
+
# this parameter.
|
|
11521
11518
|
#
|
|
11522
11519
|
# For more information, see [Create local snapshots from volumes on an
|
|
11523
11520
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
|
@@ -11535,6 +11532,21 @@ module Aws::EC2
|
|
|
11535
11532
|
# The tags to apply to the snapshot during creation.
|
|
11536
11533
|
# @return [Array<Types::TagSpecification>]
|
|
11537
11534
|
#
|
|
11535
|
+
# @!attribute [rw] location
|
|
11536
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is
|
|
11537
|
+
# not in a Local Zone, omit this parameter.
|
|
11538
|
+
#
|
|
11539
|
+
# </note>
|
|
11540
|
+
#
|
|
11541
|
+
# * To create a local snapshot in the same Local Zone as the source
|
|
11542
|
+
# volume, specify `local`.
|
|
11543
|
+
#
|
|
11544
|
+
# * To create a regional snapshot in the parent Region of the Local
|
|
11545
|
+
# Zone, specify `regional` or omit this parameter.
|
|
11546
|
+
#
|
|
11547
|
+
# Default value: `regional`
|
|
11548
|
+
# @return [String]
|
|
11549
|
+
#
|
|
11538
11550
|
# @!attribute [rw] dry_run
|
|
11539
11551
|
# Checks whether you have the required permissions for the action,
|
|
11540
11552
|
# without actually making the request, and provides an error response.
|
|
@@ -11549,6 +11561,7 @@ module Aws::EC2
|
|
|
11549
11561
|
:outpost_arn,
|
|
11550
11562
|
:volume_id,
|
|
11551
11563
|
:tag_specifications,
|
|
11564
|
+
:location,
|
|
11552
11565
|
:dry_run)
|
|
11553
11566
|
SENSITIVE = []
|
|
11554
11567
|
include Aws::Structure
|
|
@@ -11565,28 +11578,24 @@ module Aws::EC2
|
|
|
11565
11578
|
# @return [Types::InstanceSpecification]
|
|
11566
11579
|
#
|
|
11567
11580
|
# @!attribute [rw] outpost_arn
|
|
11568
|
-
#
|
|
11569
|
-
#
|
|
11581
|
+
# <note markdown="1"> Only supported for instances on Outposts. If the source instance is
|
|
11582
|
+
# not on an Outpost, omit this parameter.
|
|
11570
11583
|
#
|
|
11571
|
-
#
|
|
11572
|
-
# parameter. The snapshots are created in the same Region as the
|
|
11573
|
-
# instance.
|
|
11584
|
+
# </note>
|
|
11574
11585
|
#
|
|
11575
|
-
# * To create snapshots
|
|
11576
|
-
#
|
|
11577
|
-
# created
|
|
11586
|
+
# * To create the snapshots on the same Outpost as the source
|
|
11587
|
+
# instance, specify the ARN of that Outpost. The snapshots must be
|
|
11588
|
+
# created on the same Outpost as the instance.
|
|
11578
11589
|
#
|
|
11579
|
-
# * To create snapshots
|
|
11580
|
-
#
|
|
11581
|
-
# Outpost. The snapshots must be created on the same Outpost as the
|
|
11582
|
-
# instance.
|
|
11590
|
+
# * To create the snapshots in the parent Region of the Outpost, omit
|
|
11591
|
+
# this parameter.
|
|
11583
11592
|
#
|
|
11584
|
-
# For more information, see [ Create
|
|
11585
|
-
#
|
|
11593
|
+
# For more information, see [ Create local snapshots from volumes on
|
|
11594
|
+
# an Outpost][1] in the *Amazon EBS User Guide*.
|
|
11586
11595
|
#
|
|
11587
11596
|
#
|
|
11588
11597
|
#
|
|
11589
|
-
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-
|
|
11598
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
|
|
11590
11599
|
# @return [String]
|
|
11591
11600
|
#
|
|
11592
11601
|
# @!attribute [rw] tag_specifications
|
|
@@ -11604,6 +11613,21 @@ module Aws::EC2
|
|
|
11604
11613
|
# Copies the tags from the specified volume to corresponding snapshot.
|
|
11605
11614
|
# @return [String]
|
|
11606
11615
|
#
|
|
11616
|
+
# @!attribute [rw] location
|
|
11617
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance
|
|
11618
|
+
# is not in a Local Zone, omit this parameter.
|
|
11619
|
+
#
|
|
11620
|
+
# </note>
|
|
11621
|
+
#
|
|
11622
|
+
# * To create local snapshots in the same Local Zone as the source
|
|
11623
|
+
# instance, specify `local`.
|
|
11624
|
+
#
|
|
11625
|
+
# * To create a regional snapshots in the parent Region of the Local
|
|
11626
|
+
# Zone, specify `regional` or omit this parameter.
|
|
11627
|
+
#
|
|
11628
|
+
# Default value: `regional`
|
|
11629
|
+
# @return [String]
|
|
11630
|
+
#
|
|
11607
11631
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshotsRequest AWS API Documentation
|
|
11608
11632
|
#
|
|
11609
11633
|
class CreateSnapshotsRequest < Struct.new(
|
|
@@ -11612,7 +11636,8 @@ module Aws::EC2
|
|
|
11612
11636
|
:outpost_arn,
|
|
11613
11637
|
:tag_specifications,
|
|
11614
11638
|
:dry_run,
|
|
11615
|
-
:copy_tags_from_source
|
|
11639
|
+
:copy_tags_from_source,
|
|
11640
|
+
:location)
|
|
11616
11641
|
SENSITIVE = []
|
|
11617
11642
|
include Aws::Structure
|
|
11618
11643
|
end
|
|
@@ -16288,6 +16313,23 @@ module Aws::EC2
|
|
|
16288
16313
|
include Aws::Structure
|
|
16289
16314
|
end
|
|
16290
16315
|
|
|
16316
|
+
# @!attribute [rw] return
|
|
16317
|
+
# Returns `true` if the request succeeds; otherwise, returns an error.
|
|
16318
|
+
# @return [Boolean]
|
|
16319
|
+
#
|
|
16320
|
+
# @!attribute [rw] group_id
|
|
16321
|
+
# The ID of the deleted security group.
|
|
16322
|
+
# @return [String]
|
|
16323
|
+
#
|
|
16324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupResult AWS API Documentation
|
|
16325
|
+
#
|
|
16326
|
+
class DeleteSecurityGroupResult < Struct.new(
|
|
16327
|
+
:return,
|
|
16328
|
+
:group_id)
|
|
16329
|
+
SENSITIVE = []
|
|
16330
|
+
include Aws::Structure
|
|
16331
|
+
end
|
|
16332
|
+
|
|
16291
16333
|
# @!attribute [rw] snapshot_id
|
|
16292
16334
|
# The ID of the EBS snapshot.
|
|
16293
16335
|
# @return [String]
|
|
@@ -35199,6 +35241,13 @@ module Aws::EC2
|
|
|
35199
35241
|
# and the request returns only results that match all of the specified
|
|
35200
35242
|
# filters.
|
|
35201
35243
|
#
|
|
35244
|
+
# For more information, see [List and filter using the CLI and API][1]
|
|
35245
|
+
# in the *Amazon EC2 User Guide*.
|
|
35246
|
+
#
|
|
35247
|
+
#
|
|
35248
|
+
#
|
|
35249
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI
|
|
35250
|
+
#
|
|
35202
35251
|
# @!attribute [rw] name
|
|
35203
35252
|
# The name of the filter. Filter names are case-sensitive.
|
|
35204
35253
|
# @return [String]
|
|
@@ -65528,6 +65577,11 @@ module Aws::EC2
|
|
|
65528
65577
|
# Reserved for future use.
|
|
65529
65578
|
# @return [String]
|
|
65530
65579
|
#
|
|
65580
|
+
# @!attribute [rw] availability_zone
|
|
65581
|
+
# The Availability Zone or Local Zone of the snapshot. For example,
|
|
65582
|
+
# `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone).
|
|
65583
|
+
# @return [String]
|
|
65584
|
+
#
|
|
65531
65585
|
# @!attribute [rw] transfer_type
|
|
65532
65586
|
# <note markdown="1"> Only for snapshot copies.
|
|
65533
65587
|
#
|
|
@@ -65633,6 +65687,7 @@ module Aws::EC2
|
|
|
65633
65687
|
:storage_tier,
|
|
65634
65688
|
:restore_expiry_time,
|
|
65635
65689
|
:sse_type,
|
|
65690
|
+
:availability_zone,
|
|
65636
65691
|
:transfer_type,
|
|
65637
65692
|
:completion_duration_minutes,
|
|
65638
65693
|
:completion_time,
|
|
@@ -65801,6 +65856,11 @@ module Aws::EC2
|
|
|
65801
65856
|
# Reserved for future use.
|
|
65802
65857
|
# @return [String]
|
|
65803
65858
|
#
|
|
65859
|
+
# @!attribute [rw] availability_zone
|
|
65860
|
+
# The Availability Zone or Local Zone of the snapshots. For example,
|
|
65861
|
+
# `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone).
|
|
65862
|
+
# @return [String]
|
|
65863
|
+
#
|
|
65804
65864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotInfo AWS API Documentation
|
|
65805
65865
|
#
|
|
65806
65866
|
class SnapshotInfo < Struct.new(
|
|
@@ -65815,7 +65875,8 @@ module Aws::EC2
|
|
|
65815
65875
|
:owner_id,
|
|
65816
65876
|
:snapshot_id,
|
|
65817
65877
|
:outpost_arn,
|
|
65818
|
-
:sse_type
|
|
65878
|
+
:sse_type,
|
|
65879
|
+
:availability_zone)
|
|
65819
65880
|
SENSITIVE = []
|
|
65820
65881
|
include Aws::Structure
|
|
65821
65882
|
end
|
|
@@ -67490,7 +67551,9 @@ module Aws::EC2
|
|
|
67490
67551
|
# @return [Boolean]
|
|
67491
67552
|
#
|
|
67492
67553
|
# @!attribute [rw] s3_bucket
|
|
67493
|
-
# The name of the S3 bucket where the report will be saved.
|
|
67554
|
+
# The name of the S3 bucket where the report will be saved. The bucket
|
|
67555
|
+
# must be in the same Region where the report generation request is
|
|
67556
|
+
# made.
|
|
67494
67557
|
# @return [String]
|
|
67495
67558
|
#
|
|
67496
67559
|
# @!attribute [rw] s3_prefix
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
|
@@ -334,25 +334,24 @@ module Aws::EC2
|
|
|
334
334
|
# ],
|
|
335
335
|
# },
|
|
336
336
|
# ],
|
|
337
|
+
# location: "regional", # accepts regional, local
|
|
337
338
|
# dry_run: false,
|
|
338
339
|
# })
|
|
339
340
|
# @param [Hash] options ({})
|
|
340
341
|
# @option options [String] :description
|
|
341
342
|
# A description for the snapshot.
|
|
342
343
|
# @option options [String] :outpost_arn
|
|
343
|
-
#
|
|
344
|
-
#
|
|
344
|
+
# <note markdown="1"> Only supported for volumes on Outposts. If the source volume is not on
|
|
345
|
+
# an Outpost, omit this parameter.
|
|
345
346
|
#
|
|
346
|
-
#
|
|
347
|
-
# The snapshot is created in the same Region as the volume.
|
|
347
|
+
# </note>
|
|
348
348
|
#
|
|
349
|
-
# * To create
|
|
350
|
-
#
|
|
351
|
-
#
|
|
349
|
+
# * To create the snapshot on the same Outpost as the source volume,
|
|
350
|
+
# specify the ARN of that Outpost. The snapshot must be created on the
|
|
351
|
+
# same Outpost as the volume.
|
|
352
352
|
#
|
|
353
|
-
# * To create
|
|
354
|
-
#
|
|
355
|
-
# The snapshot must be created on the same Outpost as the volume.
|
|
353
|
+
# * To create the snapshot in the parent Region of the Outpost, omit
|
|
354
|
+
# this parameter.
|
|
356
355
|
#
|
|
357
356
|
# For more information, see [Create local snapshots from volumes on an
|
|
358
357
|
# Outpost][1] in the *Amazon EBS User Guide*.
|
|
@@ -362,6 +361,19 @@ module Aws::EC2
|
|
|
362
361
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
|
|
363
362
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
364
363
|
# The tags to apply to the snapshot during creation.
|
|
364
|
+
# @option options [String] :location
|
|
365
|
+
# <note markdown="1"> Only supported for volumes in Local Zones. If the source volume is not
|
|
366
|
+
# in a Local Zone, omit this parameter.
|
|
367
|
+
#
|
|
368
|
+
# </note>
|
|
369
|
+
#
|
|
370
|
+
# * To create a local snapshot in the same Local Zone as the source
|
|
371
|
+
# volume, specify `local`.
|
|
372
|
+
#
|
|
373
|
+
# * To create a regional snapshot in the parent Region of the Local
|
|
374
|
+
# Zone, specify `regional` or omit this parameter.
|
|
375
|
+
#
|
|
376
|
+
# Default value: `regional`
|
|
365
377
|
# @option options [Boolean] :dry_run
|
|
366
378
|
# Checks whether you have the required permissions for the action,
|
|
367
379
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -3122,6 +3122,7 @@ module Aws
|
|
|
3122
3122
|
def storage_tier: () -> ("archive" | "standard")
|
|
3123
3123
|
def restore_expiry_time: () -> ::Time
|
|
3124
3124
|
def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
|
|
3125
|
+
def availability_zone: () -> ::String
|
|
3125
3126
|
def transfer_type: () -> ("time-based" | "standard")
|
|
3126
3127
|
def completion_duration_minutes: () -> ::Integer
|
|
3127
3128
|
def completion_time: () -> ::Time
|
|
@@ -3154,6 +3155,7 @@ module Aws
|
|
|
3154
3155
|
]?
|
|
3155
3156
|
},
|
|
3156
3157
|
],
|
|
3158
|
+
?location: ("regional" | "local"),
|
|
3157
3159
|
?dry_run: bool
|
|
3158
3160
|
) -> _CreateSnapshotResponseSuccess
|
|
3159
3161
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotResponseSuccess
|
|
@@ -3183,7 +3185,8 @@ module Aws
|
|
|
3183
3185
|
},
|
|
3184
3186
|
],
|
|
3185
3187
|
?dry_run: bool,
|
|
3186
|
-
?copy_tags_from_source: ("volume")
|
|
3188
|
+
?copy_tags_from_source: ("volume"),
|
|
3189
|
+
?location: ("regional" | "local")
|
|
3187
3190
|
) -> _CreateSnapshotsResponseSuccess
|
|
3188
3191
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSnapshotsResponseSuccess
|
|
3189
3192
|
|
|
@@ -4646,13 +4649,18 @@ module Aws
|
|
|
4646
4649
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
4647
4650
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
4648
4651
|
|
|
4652
|
+
interface _DeleteSecurityGroupResponseSuccess
|
|
4653
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecurityGroupResult]
|
|
4654
|
+
def return: () -> bool
|
|
4655
|
+
def group_id: () -> ::String
|
|
4656
|
+
end
|
|
4649
4657
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_security_group-instance_method
|
|
4650
4658
|
def delete_security_group: (
|
|
4651
4659
|
?group_id: ::String,
|
|
4652
4660
|
?group_name: ::String,
|
|
4653
4661
|
?dry_run: bool
|
|
4654
|
-
) ->
|
|
4655
|
-
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ->
|
|
4662
|
+
) -> _DeleteSecurityGroupResponseSuccess
|
|
4663
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityGroupResponseSuccess
|
|
4656
4664
|
|
|
4657
4665
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_snapshot-instance_method
|
|
4658
4666
|
def delete_snapshot: (
|
data/sig/resource.rbs
CHANGED
data/sig/security_group.rbs
CHANGED
|
@@ -202,8 +202,8 @@ module Aws
|
|
|
202
202
|
def delete: (
|
|
203
203
|
?group_name: ::String,
|
|
204
204
|
?dry_run: bool
|
|
205
|
-
) -> ::
|
|
206
|
-
| (?Hash[Symbol, untyped]) -> ::
|
|
205
|
+
) -> Types::DeleteSecurityGroupResult
|
|
206
|
+
| (?Hash[Symbol, untyped]) -> Types::DeleteSecurityGroupResult
|
|
207
207
|
|
|
208
208
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#revoke_egress-instance_method
|
|
209
209
|
def revoke_egress: (
|
data/sig/snapshot.rbs
CHANGED
|
@@ -36,6 +36,9 @@ module Aws
|
|
|
36
36
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#sse_type-instance_method
|
|
37
37
|
def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
|
|
38
38
|
|
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#availability_zone-instance_method
|
|
40
|
+
def availability_zone: () -> ::String
|
|
41
|
+
|
|
39
42
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#transfer_type-instance_method
|
|
40
43
|
def transfer_type: () -> ("time-based" | "standard")
|
|
41
44
|
|
data/sig/types.rbs
CHANGED
|
@@ -2561,6 +2561,7 @@ module Aws::EC2
|
|
|
2561
2561
|
attr_accessor outpost_arn: ::String
|
|
2562
2562
|
attr_accessor volume_id: ::String
|
|
2563
2563
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
2564
|
+
attr_accessor location: ("regional" | "local")
|
|
2564
2565
|
attr_accessor dry_run: bool
|
|
2565
2566
|
SENSITIVE: []
|
|
2566
2567
|
end
|
|
@@ -2572,6 +2573,7 @@ module Aws::EC2
|
|
|
2572
2573
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
2573
2574
|
attr_accessor dry_run: bool
|
|
2574
2575
|
attr_accessor copy_tags_from_source: ("volume")
|
|
2576
|
+
attr_accessor location: ("regional" | "local")
|
|
2575
2577
|
SENSITIVE: []
|
|
2576
2578
|
end
|
|
2577
2579
|
|
|
@@ -3759,6 +3761,12 @@ module Aws::EC2
|
|
|
3759
3761
|
SENSITIVE: []
|
|
3760
3762
|
end
|
|
3761
3763
|
|
|
3764
|
+
class DeleteSecurityGroupResult
|
|
3765
|
+
attr_accessor return: bool
|
|
3766
|
+
attr_accessor group_id: ::String
|
|
3767
|
+
SENSITIVE: []
|
|
3768
|
+
end
|
|
3769
|
+
|
|
3762
3770
|
class DeleteSnapshotRequest
|
|
3763
3771
|
attr_accessor snapshot_id: ::String
|
|
3764
3772
|
attr_accessor dry_run: bool
|
|
@@ -14302,6 +14310,7 @@ module Aws::EC2
|
|
|
14302
14310
|
attr_accessor storage_tier: ("archive" | "standard")
|
|
14303
14311
|
attr_accessor restore_expiry_time: ::Time
|
|
14304
14312
|
attr_accessor sse_type: ("sse-ebs" | "sse-kms" | "none")
|
|
14313
|
+
attr_accessor availability_zone: ::String
|
|
14305
14314
|
attr_accessor transfer_type: ("time-based" | "standard")
|
|
14306
14315
|
attr_accessor completion_duration_minutes: ::Integer
|
|
14307
14316
|
attr_accessor completion_time: ::Time
|
|
@@ -14355,6 +14364,7 @@ module Aws::EC2
|
|
|
14355
14364
|
attr_accessor snapshot_id: ::String
|
|
14356
14365
|
attr_accessor outpost_arn: ::String
|
|
14357
14366
|
attr_accessor sse_type: ("sse-ebs" | "sse-kms" | "none")
|
|
14367
|
+
attr_accessor availability_zone: ::String
|
|
14358
14368
|
SENSITIVE: []
|
|
14359
14369
|
end
|
|
14360
14370
|
|
data/sig/volume.rbs
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-ec2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.498.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: 2024-12-
|
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|