aws-sdk-ec2 1.528.0 → 1.529.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/client.rb +81 -52
- data/lib/aws-sdk-ec2/client_api.rb +12 -0
- data/lib/aws-sdk-ec2/image.rb +18 -5
- data/lib/aws-sdk-ec2/resource.rb +10 -9
- data/lib/aws-sdk-ec2/types.rb +97 -20
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/image.rbs +1 -0
- data/sig/types.rbs +11 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2faa1aaf4db28fbe810198a8ccee19c1fc5cc6c587ad29d50cdb02673cdc797c
|
4
|
+
data.tar.gz: cd007dd57910c646c148efa61df4d6ac342bd0ab3b2b27e4f8cd48de447edb1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 123c9e6fde741a41c945faf38ce3afeee757528dea49cd01ab070c4778a7cd3d9016f7ccdf0ab692b364211772ec39f74fa68f8b7498ac0d157883b015ffc522
|
7
|
+
data.tar.gz: d878cc90b4a0f81de8959bd44254f1fe98dbc3f4deb8ad83f8e67f4fa312eaf03617d8ef5f3953b258f492ed63c7909ff01c6fa9be46eab480a9586f93aff76e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.529.0 (2025-05-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Enable the option to automatically delete underlying Amazon EBS snapshots when deregistering Amazon Machine Images (AMIs)
|
8
|
+
|
4
9
|
1.528.0 (2025-05-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.529.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4397,9 +4397,9 @@ module Aws::EC2
|
|
4397
4397
|
end
|
4398
4398
|
|
4399
4399
|
# Removes your Amazon Web Services account from the launch permissions
|
4400
|
-
# for the specified AMI. For more information, see [
|
4401
|
-
#
|
4402
|
-
#
|
4400
|
+
# for the specified AMI. For more information, see [Cancel having an AMI
|
4401
|
+
# shared with your Amazon Web Services account][1] in the *Amazon EC2
|
4402
|
+
# User Guide*.
|
4403
4403
|
#
|
4404
4404
|
#
|
4405
4405
|
#
|
@@ -4844,7 +4844,7 @@ module Aws::EC2
|
|
4844
4844
|
# unencrypted snapshots.
|
4845
4845
|
#
|
4846
4846
|
# For information about the prerequisites when copying an AMI, see [Copy
|
4847
|
-
# an AMI][2] in the *Amazon EC2 User Guide*.
|
4847
|
+
# an Amazon EC2 AMI][2] in the *Amazon EC2 User Guide*.
|
4848
4848
|
#
|
4849
4849
|
#
|
4850
4850
|
#
|
@@ -4853,8 +4853,8 @@ module Aws::EC2
|
|
4853
4853
|
#
|
4854
4854
|
# @option params [String] :client_token
|
4855
4855
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
4856
|
-
# the request. For more information, see [Ensuring idempotency
|
4857
|
-
# the *Amazon EC2 API Reference*.
|
4856
|
+
# the request. For more information, see [Ensuring idempotency in Amazon
|
4857
|
+
# EC2 API requests][1] in the *Amazon EC2 API Reference*.
|
4858
4858
|
#
|
4859
4859
|
# **A suitable default value is auto-generated.** You should normally
|
4860
4860
|
# not need to pass this option.**
|
@@ -4971,7 +4971,8 @@ module Aws::EC2
|
|
4971
4971
|
# If you do not specify a value, the AMI copy operation is completed on
|
4972
4972
|
# a best-effort basis.
|
4973
4973
|
#
|
4974
|
-
# For more information, see [
|
4974
|
+
# For more information, see [Time-based copies for Amazon EBS snapshots
|
4975
|
+
# and EBS-backed AMIs][1].
|
4975
4976
|
#
|
4976
4977
|
#
|
4977
4978
|
#
|
@@ -7764,8 +7765,8 @@ module Aws::EC2
|
|
7764
7765
|
# launch an instance from this new AMI, the instance automatically
|
7765
7766
|
# launches with those additional volumes.
|
7766
7767
|
#
|
7767
|
-
# For more information, see [Create an Amazon EBS-backed
|
7768
|
-
#
|
7768
|
+
# For more information, see [Create an Amazon EBS-backed AMI][1] in the
|
7769
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
7769
7770
|
#
|
7770
7771
|
#
|
7771
7772
|
#
|
@@ -12432,15 +12433,15 @@ module Aws::EC2
|
|
12432
12433
|
#
|
12433
12434
|
# To use this API, you must have the required permissions. For more
|
12434
12435
|
# information, see [Permissions for storing and restoring AMIs using
|
12435
|
-
#
|
12436
|
+
# S3][2] in the *Amazon EC2 User Guide*.
|
12436
12437
|
#
|
12437
|
-
# For more information, see [Store and restore an AMI using
|
12438
|
-
#
|
12438
|
+
# For more information, see [Store and restore an AMI using S3][3] in
|
12439
|
+
# the *Amazon EC2 User Guide*.
|
12439
12440
|
#
|
12440
12441
|
#
|
12441
12442
|
#
|
12442
12443
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html
|
12443
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
12444
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-ami-store-restore.html#ami-s3-permissions
|
12444
12445
|
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
12445
12446
|
#
|
12446
12447
|
# @option params [required, String] :bucket
|
@@ -13616,14 +13617,14 @@ module Aws::EC2
|
|
13616
13617
|
#
|
13617
13618
|
# To use this API, you must have the required permissions. For more
|
13618
13619
|
# information, see [Permissions for storing and restoring AMIs using
|
13619
|
-
#
|
13620
|
+
# S3][1] in the *Amazon EC2 User Guide*.
|
13620
13621
|
#
|
13621
|
-
# For more information, see [Store and restore an AMI using
|
13622
|
-
#
|
13622
|
+
# For more information, see [Store and restore an AMI using S3][2] in
|
13623
|
+
# the *Amazon EC2 User Guide*.
|
13623
13624
|
#
|
13624
13625
|
#
|
13625
13626
|
#
|
13626
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
13627
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-ami-store-restore.html#ami-s3-permissions
|
13627
13628
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
13628
13629
|
#
|
13629
13630
|
# @option params [required, String] :image_id
|
@@ -21716,16 +21717,21 @@ module Aws::EC2
|
|
21716
21717
|
# be restored before its retention period expires, after which it is
|
21717
21718
|
# permanently deleted. If the deregistered AMI doesn't match a
|
21718
21719
|
# retention rule, it is permanently deleted immediately. For more
|
21719
|
-
# information, see [
|
21720
|
+
# information, see [Recover deleted Amazon EBS snapshots and EBS-backed
|
21721
|
+
# AMIs with Recycle Bin][1] in the *Amazon EBS User Guide*.
|
21722
|
+
#
|
21723
|
+
# When deregistering an EBS-backed AMI, you can optionally delete its
|
21724
|
+
# associated snapshots at the same time. However, if a snapshot is
|
21725
|
+
# associated with multiple AMIs, it won't be deleted even if specified
|
21726
|
+
# for deletion, although the AMI will still be deregistered.
|
21720
21727
|
#
|
21721
21728
|
# Deregistering an AMI does not delete the following:
|
21722
21729
|
#
|
21723
21730
|
# * Instances already launched from the AMI. You'll continue to incur
|
21724
21731
|
# usage costs for the instances until you terminate them.
|
21725
21732
|
#
|
21726
|
-
# * For EBS-backed AMIs:
|
21727
|
-
#
|
21728
|
-
# to incur snapshot storage costs.
|
21733
|
+
# * For EBS-backed AMIs: Snapshots that are associated with multiple
|
21734
|
+
# AMIs. You'll continue to incur snapshot storage costs.
|
21729
21735
|
#
|
21730
21736
|
# * For instance store-backed AMIs: The files uploaded to Amazon S3
|
21731
21737
|
# during AMI creation. You'll continue to incur S3 storage costs.
|
@@ -21741,21 +21747,43 @@ module Aws::EC2
|
|
21741
21747
|
# @option params [required, String] :image_id
|
21742
21748
|
# The ID of the AMI.
|
21743
21749
|
#
|
21750
|
+
# @option params [Boolean] :delete_associated_snapshots
|
21751
|
+
# Specifies whether to delete the snapshots associated with the AMI
|
21752
|
+
# during deregistration.
|
21753
|
+
#
|
21754
|
+
# <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
|
21755
|
+
# regardless of this setting.
|
21756
|
+
#
|
21757
|
+
# </note>
|
21758
|
+
#
|
21759
|
+
# Default: The snapshots are not deleted.
|
21760
|
+
#
|
21744
21761
|
# @option params [Boolean] :dry_run
|
21745
21762
|
# Checks whether you have the required permissions for the action,
|
21746
21763
|
# without actually making the request, and provides an error response.
|
21747
21764
|
# If you have the required permissions, the error response is
|
21748
21765
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
21749
21766
|
#
|
21750
|
-
# @return [
|
21767
|
+
# @return [Types::DeregisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21768
|
+
#
|
21769
|
+
# * {Types::DeregisterImageResult#return #return} => Boolean
|
21770
|
+
# * {Types::DeregisterImageResult#delete_snapshot_results #delete_snapshot_results} => Array<Types::DeleteSnapshotReturnCode>
|
21751
21771
|
#
|
21752
21772
|
# @example Request syntax with placeholder values
|
21753
21773
|
#
|
21754
21774
|
# resp = client.deregister_image({
|
21755
21775
|
# image_id: "ImageId", # required
|
21776
|
+
# delete_associated_snapshots: false,
|
21756
21777
|
# dry_run: false,
|
21757
21778
|
# })
|
21758
21779
|
#
|
21780
|
+
# @example Response structure
|
21781
|
+
#
|
21782
|
+
# resp.return #=> Boolean
|
21783
|
+
# resp.delete_snapshot_results #=> Array
|
21784
|
+
# resp.delete_snapshot_results[0].snapshot_id #=> String
|
21785
|
+
# resp.delete_snapshot_results[0].return_code #=> String, one of "success", "skipped", "missing-permissions", "internal-error", "client-error"
|
21786
|
+
#
|
21759
21787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage AWS API Documentation
|
21760
21788
|
#
|
21761
21789
|
# @overload deregister_image(params = {})
|
@@ -37741,14 +37769,14 @@ module Aws::EC2
|
|
37741
37769
|
#
|
37742
37770
|
# To use this API, you must have the required permissions. For more
|
37743
37771
|
# information, see [Permissions for storing and restoring AMIs using
|
37744
|
-
#
|
37772
|
+
# S3][1] in the *Amazon EC2 User Guide*.
|
37745
37773
|
#
|
37746
|
-
# For more information, see [Store and restore an AMI using
|
37747
|
-
#
|
37774
|
+
# For more information, see [Store and restore an AMI using S3][2] in
|
37775
|
+
# the *Amazon EC2 User Guide*.
|
37748
37776
|
#
|
37749
37777
|
#
|
37750
37778
|
#
|
37751
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions
|
37779
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-ami-store-restore.html#ami-s3-permissions
|
37752
37780
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html
|
37753
37781
|
#
|
37754
37782
|
# @option params [Array<String>] :image_ids
|
@@ -43077,7 +43105,7 @@ module Aws::EC2
|
|
43077
43105
|
#
|
43078
43106
|
#
|
43079
43107
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html
|
43080
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
43108
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html
|
43081
43109
|
#
|
43082
43110
|
# @option params [Boolean] :dry_run
|
43083
43111
|
# Checks whether you have the required permissions for the action,
|
@@ -43110,8 +43138,8 @@ module Aws::EC2
|
|
43110
43138
|
|
43111
43139
|
# Cancels the deprecation of the specified AMI.
|
43112
43140
|
#
|
43113
|
-
# For more information, see [Deprecate an AMI][1] in the
|
43114
|
-
# User Guide*.
|
43141
|
+
# For more information, see [Deprecate an Amazon EC2 AMI][1] in the
|
43142
|
+
# *Amazon EC2 User Guide*.
|
43115
43143
|
#
|
43116
43144
|
#
|
43117
43145
|
#
|
@@ -43158,12 +43186,12 @@ module Aws::EC2
|
|
43158
43186
|
# deregistration protection, you won’t immediately be able to deregister
|
43159
43187
|
# the AMI.
|
43160
43188
|
#
|
43161
|
-
# For more information, see [Protect an AMI from
|
43162
|
-
# the *Amazon EC2 User Guide*.
|
43189
|
+
# For more information, see [Protect an Amazon EC2 AMI from
|
43190
|
+
# deregistration][1] in the *Amazon EC2 User Guide*.
|
43163
43191
|
#
|
43164
43192
|
#
|
43165
43193
|
#
|
43166
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
43194
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deregistration-protection.html
|
43167
43195
|
#
|
43168
43196
|
# @option params [required, String] :image_id
|
43169
43197
|
# The ID of the AMI.
|
@@ -44900,8 +44928,8 @@ module Aws::EC2
|
|
44900
44928
|
#
|
44901
44929
|
# Only the AMI owner can re-enable a disabled AMI.
|
44902
44930
|
#
|
44903
|
-
# For more information, see [Disable an AMI][1] in the
|
44904
|
-
# Guide*.
|
44931
|
+
# For more information, see [Disable an Amazon EC2 AMI][1] in the
|
44932
|
+
# *Amazon EC2 User Guide*.
|
44905
44933
|
#
|
44906
44934
|
#
|
44907
44935
|
#
|
@@ -44956,7 +44984,7 @@ module Aws::EC2
|
|
44956
44984
|
#
|
44957
44985
|
#
|
44958
44986
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html
|
44959
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
44987
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html
|
44960
44988
|
#
|
44961
44989
|
# @option params [required, String] :image_block_public_access_state
|
44962
44990
|
# Specify `block-new-sharing` to enable block public access for AMIs at
|
@@ -45052,12 +45080,12 @@ module Aws::EC2
|
|
45052
45080
|
# To allow the AMI to be deregistered, you must first disable
|
45053
45081
|
# deregistration protection using DisableImageDeregistrationProtection.
|
45054
45082
|
#
|
45055
|
-
# For more information, see [Protect an AMI from
|
45056
|
-
# the *Amazon EC2 User Guide*.
|
45083
|
+
# For more information, see [Protect an Amazon EC2 AMI from
|
45084
|
+
# deregistration][1] in the *Amazon EC2 User Guide*.
|
45057
45085
|
#
|
45058
45086
|
#
|
45059
45087
|
#
|
45060
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
45088
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deregistration-protection.html
|
45061
45089
|
#
|
45062
45090
|
# @option params [required, String] :image_id
|
45063
45091
|
# The ID of the AMI.
|
@@ -46822,7 +46850,7 @@ module Aws::EC2
|
|
46822
46850
|
#
|
46823
46851
|
#
|
46824
46852
|
#
|
46825
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
46853
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-to-amis.html
|
46826
46854
|
#
|
46827
46855
|
# @option params [Boolean] :dry_run
|
46828
46856
|
# Checks whether you have the required permissions for the action,
|
@@ -59097,8 +59125,7 @@ module Aws::EC2
|
|
59097
59125
|
# instance launched from the AMI is encrypted.
|
59098
59126
|
#
|
59099
59127
|
# For more information, see [Create an AMI from a snapshot][1] and [Use
|
59100
|
-
# encryption with
|
59101
|
-
# Guide*.
|
59128
|
+
# encryption with EBS-backed AMIs][3] in the *Amazon EC2 User Guide*.
|
59102
59129
|
#
|
59103
59130
|
# **Amazon Web Services Marketplace product codes**
|
59104
59131
|
#
|
@@ -59140,7 +59167,7 @@ module Aws::EC2
|
|
59140
59167
|
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
59141
59168
|
# bucket must have the `aws-exec-read` canned access control list (ACL)
|
59142
59169
|
# to ensure that it can be accessed by Amazon EC2. For more information,
|
59143
|
-
# see [Canned
|
59170
|
+
# see [Canned ACL][1] in the *Amazon S3 Service Developer Guide*.
|
59144
59171
|
#
|
59145
59172
|
#
|
59146
59173
|
#
|
@@ -59154,8 +59181,9 @@ module Aws::EC2
|
|
59154
59181
|
# you can publish AMIs that include billable software and list them on
|
59155
59182
|
# the Amazon Web Services Marketplace. You must first register as a
|
59156
59183
|
# seller on the Amazon Web Services Marketplace. For more information,
|
59157
|
-
# see [Getting started as
|
59158
|
-
#
|
59184
|
+
# see [Getting started as an Amazon Web Services Marketplace seller][1]
|
59185
|
+
# and [AMI-based products in Amazon Web Services Marketplace][2] in the
|
59186
|
+
# *Amazon Web Services Marketplace Seller Guide*.
|
59159
59187
|
#
|
59160
59188
|
#
|
59161
59189
|
#
|
@@ -59171,8 +59199,8 @@ module Aws::EC2
|
|
59171
59199
|
#
|
59172
59200
|
# </note>
|
59173
59201
|
#
|
59174
|
-
# For more information, see [
|
59175
|
-
# Guide*.
|
59202
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
59203
|
+
# boot modes][1] in the *Amazon EC2 User Guide*.
|
59176
59204
|
#
|
59177
59205
|
#
|
59178
59206
|
#
|
@@ -59190,8 +59218,8 @@ module Aws::EC2
|
|
59190
59218
|
# Base64 representation of the non-volatile UEFI variable store. To
|
59191
59219
|
# retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
|
59192
59220
|
# can inspect and modify the UEFI data by using the [python-uefivars
|
59193
|
-
# tool][2] on GitHub. For more information, see [UEFI Secure Boot
|
59194
|
-
# the *Amazon EC2 User Guide*.
|
59221
|
+
# tool][2] on GitHub. For more information, see [UEFI Secure Boot for
|
59222
|
+
# Amazon EC2 instances][3] in the *Amazon EC2 User Guide*.
|
59195
59223
|
#
|
59196
59224
|
#
|
59197
59225
|
#
|
@@ -59268,8 +59296,8 @@ module Aws::EC2
|
|
59268
59296
|
# If you create an AMI on an Outpost, then all backing snapshots must be
|
59269
59297
|
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
59270
59298
|
# Outpost that include local snapshots can be used to launch instances
|
59271
|
-
# on the same Outpost only. For more information, [
|
59272
|
-
# snapshots
|
59299
|
+
# on the same Outpost only. For more information, [Create AMIs from
|
59300
|
+
# local snapshots][1] in the *Amazon EBS User Guide*.
|
59273
59301
|
#
|
59274
59302
|
#
|
59275
59303
|
#
|
@@ -61948,7 +61976,8 @@ module Aws::EC2
|
|
61948
61976
|
end
|
61949
61977
|
|
61950
61978
|
# Restores an AMI from the Recycle Bin. For more information, see
|
61951
|
-
# [
|
61979
|
+
# [Recover deleted Amazon EBS snapshots and EBS-back AMIs with Recycle
|
61980
|
+
# Bin][1] in the *Amazon EC2 User Guide*.
|
61952
61981
|
#
|
61953
61982
|
#
|
61954
61983
|
#
|
@@ -66048,7 +66077,7 @@ module Aws::EC2
|
|
66048
66077
|
tracer: tracer
|
66049
66078
|
)
|
66050
66079
|
context[:gem_name] = 'aws-sdk-ec2'
|
66051
|
-
context[:gem_version] = '1.
|
66080
|
+
context[:gem_version] = '1.529.0'
|
66052
66081
|
Seahorse::Client::Request.new(handlers, context)
|
66053
66082
|
end
|
66054
66083
|
|
@@ -776,6 +776,8 @@ module Aws::EC2
|
|
776
776
|
DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
|
777
777
|
DeleteSecurityGroupResult = Shapes::StructureShape.new(name: 'DeleteSecurityGroupResult')
|
778
778
|
DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
|
779
|
+
DeleteSnapshotResultSet = Shapes::ListShape.new(name: 'DeleteSnapshotResultSet')
|
780
|
+
DeleteSnapshotReturnCode = Shapes::StructureShape.new(name: 'DeleteSnapshotReturnCode')
|
779
781
|
DeleteSpotDatafeedSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSpotDatafeedSubscriptionRequest')
|
780
782
|
DeleteSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationRequest')
|
781
783
|
DeleteSubnetCidrReservationResult = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationResult')
|
@@ -3056,6 +3058,7 @@ module Aws::EC2
|
|
3056
3058
|
SnapshotLocationEnum = Shapes::StringShape.new(name: 'SnapshotLocationEnum')
|
3057
3059
|
SnapshotRecycleBinInfo = Shapes::StructureShape.new(name: 'SnapshotRecycleBinInfo')
|
3058
3060
|
SnapshotRecycleBinInfoList = Shapes::ListShape.new(name: 'SnapshotRecycleBinInfoList')
|
3061
|
+
SnapshotReturnCodes = Shapes::StringShape.new(name: 'SnapshotReturnCodes')
|
3059
3062
|
SnapshotSet = Shapes::ListShape.new(name: 'SnapshotSet')
|
3060
3063
|
SnapshotState = Shapes::StringShape.new(name: 'SnapshotState')
|
3061
3064
|
SnapshotTaskDetail = Shapes::StructureShape.new(name: 'SnapshotTaskDetail')
|
@@ -6688,6 +6691,12 @@ module Aws::EC2
|
|
6688
6691
|
DeleteSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6689
6692
|
DeleteSnapshotRequest.struct_class = Types::DeleteSnapshotRequest
|
6690
6693
|
|
6694
|
+
DeleteSnapshotResultSet.member = Shapes::ShapeRef.new(shape: DeleteSnapshotReturnCode, location_name: "item")
|
6695
|
+
|
6696
|
+
DeleteSnapshotReturnCode.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
6697
|
+
DeleteSnapshotReturnCode.add_member(:return_code, Shapes::ShapeRef.new(shape: SnapshotReturnCodes, location_name: "returnCode"))
|
6698
|
+
DeleteSnapshotReturnCode.struct_class = Types::DeleteSnapshotReturnCode
|
6699
|
+
|
6691
6700
|
DeleteSpotDatafeedSubscriptionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6692
6701
|
DeleteSpotDatafeedSubscriptionRequest.struct_class = Types::DeleteSpotDatafeedSubscriptionRequest
|
6693
6702
|
|
@@ -6936,9 +6945,12 @@ module Aws::EC2
|
|
6936
6945
|
DeprovisionedAddressSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
6937
6946
|
|
6938
6947
|
DeregisterImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
6948
|
+
DeregisterImageRequest.add_member(:delete_associated_snapshots, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteAssociatedSnapshots"))
|
6939
6949
|
DeregisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6940
6950
|
DeregisterImageRequest.struct_class = Types::DeregisterImageRequest
|
6941
6951
|
|
6952
|
+
DeregisterImageResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
6953
|
+
DeregisterImageResult.add_member(:delete_snapshot_results, Shapes::ShapeRef.new(shape: DeleteSnapshotResultSet, location_name: "deleteSnapshotResultSet"))
|
6942
6954
|
DeregisterImageResult.struct_class = Types::DeregisterImageResult
|
6943
6955
|
|
6944
6956
|
DeregisterInstanceEventNotificationAttributesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -142,8 +142,9 @@ module Aws::EC2
|
|
142
142
|
data[:virtualization_type]
|
143
143
|
end
|
144
144
|
|
145
|
-
# The boot mode of the image. For more information, see [
|
146
|
-
# in the *Amazon EC2 User
|
145
|
+
# The boot mode of the image. For more information, see [Instance launch
|
146
|
+
# behavior with Amazon EC2 boot modes][1] in the *Amazon EC2 User
|
147
|
+
# Guide*.
|
147
148
|
#
|
148
149
|
#
|
149
150
|
#
|
@@ -245,7 +246,8 @@ module Aws::EC2
|
|
245
246
|
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
246
247
|
# AMI was created using any other API. For some older AMIs, the ID might
|
247
248
|
# not be available. For more information, see [Identify the source AMI
|
248
|
-
# used to create a new AMI][1] in the *Amazon EC2 User
|
249
|
+
# used to create a new Amazon EC2 AMI][1] in the *Amazon EC2 User
|
250
|
+
# Guide*.
|
249
251
|
#
|
250
252
|
#
|
251
253
|
#
|
@@ -261,8 +263,8 @@ module Aws::EC2
|
|
261
263
|
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
262
264
|
# the AMI was created using any other API. For some older AMIs, the
|
263
265
|
# Region might not be available. For more information, see [Identify the
|
264
|
-
# source AMI used to create a new AMI][1] in the *Amazon EC2
|
265
|
-
# Guide*.
|
266
|
+
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon EC2
|
267
|
+
# User Guide*.
|
266
268
|
#
|
267
269
|
#
|
268
270
|
#
|
@@ -605,9 +607,20 @@ module Aws::EC2
|
|
605
607
|
# @example Request syntax with placeholder values
|
606
608
|
#
|
607
609
|
# image.deregister({
|
610
|
+
# delete_associated_snapshots: false,
|
608
611
|
# dry_run: false,
|
609
612
|
# })
|
610
613
|
# @param [Hash] options ({})
|
614
|
+
# @option options [Boolean] :delete_associated_snapshots
|
615
|
+
# Specifies whether to delete the snapshots associated with the AMI
|
616
|
+
# during deregistration.
|
617
|
+
#
|
618
|
+
# <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
|
619
|
+
# regardless of this setting.
|
620
|
+
#
|
621
|
+
# </note>
|
622
|
+
#
|
623
|
+
# Default: The snapshots are not deleted.
|
611
624
|
# @option options [Boolean] :dry_run
|
612
625
|
# Checks whether you have the required permissions for the action,
|
613
626
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1968,7 +1968,7 @@ module Aws::EC2
|
|
1968
1968
|
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
1969
1969
|
# bucket must have the `aws-exec-read` canned access control list (ACL)
|
1970
1970
|
# to ensure that it can be accessed by Amazon EC2. For more information,
|
1971
|
-
# see [Canned
|
1971
|
+
# see [Canned ACL][1] in the *Amazon S3 Service Developer Guide*.
|
1972
1972
|
#
|
1973
1973
|
#
|
1974
1974
|
#
|
@@ -1981,8 +1981,9 @@ module Aws::EC2
|
|
1981
1981
|
# you can publish AMIs that include billable software and list them on
|
1982
1982
|
# the Amazon Web Services Marketplace. You must first register as a
|
1983
1983
|
# seller on the Amazon Web Services Marketplace. For more information,
|
1984
|
-
# see [Getting started as
|
1985
|
-
#
|
1984
|
+
# see [Getting started as an Amazon Web Services Marketplace seller][1]
|
1985
|
+
# and [AMI-based products in Amazon Web Services Marketplace][2] in the
|
1986
|
+
# *Amazon Web Services Marketplace Seller Guide*.
|
1986
1987
|
#
|
1987
1988
|
#
|
1988
1989
|
#
|
@@ -1997,8 +1998,8 @@ module Aws::EC2
|
|
1997
1998
|
#
|
1998
1999
|
# </note>
|
1999
2000
|
#
|
2000
|
-
# For more information, see [
|
2001
|
-
# Guide*.
|
2001
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
2002
|
+
# boot modes][1] in the *Amazon EC2 User Guide*.
|
2002
2003
|
#
|
2003
2004
|
#
|
2004
2005
|
#
|
@@ -2014,8 +2015,8 @@ module Aws::EC2
|
|
2014
2015
|
# Base64 representation of the non-volatile UEFI variable store. To
|
2015
2016
|
# retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
|
2016
2017
|
# can inspect and modify the UEFI data by using the [python-uefivars
|
2017
|
-
# tool][2] on GitHub. For more information, see [UEFI Secure Boot
|
2018
|
-
# the *Amazon EC2 User Guide*.
|
2018
|
+
# tool][2] on GitHub. For more information, see [UEFI Secure Boot for
|
2019
|
+
# Amazon EC2 instances][3] in the *Amazon EC2 User Guide*.
|
2019
2020
|
#
|
2020
2021
|
#
|
2021
2022
|
#
|
@@ -2082,8 +2083,8 @@ module Aws::EC2
|
|
2082
2083
|
# If you create an AMI on an Outpost, then all backing snapshots must be
|
2083
2084
|
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
2084
2085
|
# Outpost that include local snapshots can be used to launch instances
|
2085
|
-
# on the same Outpost only. For more information, [
|
2086
|
-
# snapshots
|
2086
|
+
# on the same Outpost only. For more information, [Create AMIs from
|
2087
|
+
# local snapshots][1] in the *Amazon EBS User Guide*.
|
2087
2088
|
#
|
2088
2089
|
#
|
2089
2090
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7257,8 +7257,8 @@ module Aws::EC2
|
|
7257
7257
|
#
|
7258
7258
|
# @!attribute [rw] client_token
|
7259
7259
|
# Unique, case-sensitive identifier you provide to ensure idempotency
|
7260
|
-
# of the request. For more information, see [Ensuring idempotency
|
7261
|
-
# in the *Amazon EC2 API Reference*.
|
7260
|
+
# of the request. For more information, see [Ensuring idempotency in
|
7261
|
+
# Amazon EC2 API requests][1] in the *Amazon EC2 API Reference*.
|
7262
7262
|
#
|
7263
7263
|
# **A suitable default value is auto-generated.** You should normally
|
7264
7264
|
# not need to pass this option.
|
@@ -7385,7 +7385,8 @@ module Aws::EC2
|
|
7385
7385
|
# If you do not specify a value, the AMI copy operation is completed
|
7386
7386
|
# on a best-effort basis.
|
7387
7387
|
#
|
7388
|
-
# For more information, see [
|
7388
|
+
# For more information, see [Time-based copies for Amazon EBS
|
7389
|
+
# snapshots and EBS-backed AMIs][1].
|
7389
7390
|
#
|
7390
7391
|
#
|
7391
7392
|
#
|
@@ -17403,6 +17404,49 @@ module Aws::EC2
|
|
17403
17404
|
include Aws::Structure
|
17404
17405
|
end
|
17405
17406
|
|
17407
|
+
# The snapshot ID and its deletion result code.
|
17408
|
+
#
|
17409
|
+
# @!attribute [rw] snapshot_id
|
17410
|
+
# The ID of the snapshot.
|
17411
|
+
# @return [String]
|
17412
|
+
#
|
17413
|
+
# @!attribute [rw] return_code
|
17414
|
+
# The result code from the snapshot deletion attempt. Possible values:
|
17415
|
+
#
|
17416
|
+
# * `success` - The snapshot was successfully deleted.
|
17417
|
+
#
|
17418
|
+
# * `skipped` - The snapshot was not deleted because it's associated
|
17419
|
+
# with other AMIs.
|
17420
|
+
#
|
17421
|
+
# * `missing-permissions` - The snapshot was not deleted because the
|
17422
|
+
# role lacks `DeleteSnapshot` permissions. For more information, see
|
17423
|
+
# [How Amazon EBS works with IAM][1].
|
17424
|
+
#
|
17425
|
+
# * `internal-error` - The snapshot was not deleted due to a server
|
17426
|
+
# error.
|
17427
|
+
#
|
17428
|
+
# * `client-error` - The snapshot was not deleted due to a client
|
17429
|
+
# configuration error.
|
17430
|
+
#
|
17431
|
+
# For details about an error, check the `DeleteSnapshot` event in the
|
17432
|
+
# CloudTrail event history. For more information, see [View event
|
17433
|
+
# history][2] in the *Amazon Web Services CloudTrail User Guide*.
|
17434
|
+
#
|
17435
|
+
#
|
17436
|
+
#
|
17437
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/security_iam_service-with-iam.html
|
17438
|
+
# [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html
|
17439
|
+
# @return [String]
|
17440
|
+
#
|
17441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotReturnCode AWS API Documentation
|
17442
|
+
#
|
17443
|
+
class DeleteSnapshotReturnCode < Struct.new(
|
17444
|
+
:snapshot_id,
|
17445
|
+
:return_code)
|
17446
|
+
SENSITIVE = []
|
17447
|
+
include Aws::Structure
|
17448
|
+
end
|
17449
|
+
|
17406
17450
|
# Contains the parameters for DeleteSpotDatafeedSubscription.
|
17407
17451
|
#
|
17408
17452
|
# @!attribute [rw] dry_run
|
@@ -18612,6 +18656,18 @@ module Aws::EC2
|
|
18612
18656
|
# The ID of the AMI.
|
18613
18657
|
# @return [String]
|
18614
18658
|
#
|
18659
|
+
# @!attribute [rw] delete_associated_snapshots
|
18660
|
+
# Specifies whether to delete the snapshots associated with the AMI
|
18661
|
+
# during deregistration.
|
18662
|
+
#
|
18663
|
+
# <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
|
18664
|
+
# regardless of this setting.
|
18665
|
+
#
|
18666
|
+
# </note>
|
18667
|
+
#
|
18668
|
+
# Default: The snapshots are not deleted.
|
18669
|
+
# @return [Boolean]
|
18670
|
+
#
|
18615
18671
|
# @!attribute [rw] dry_run
|
18616
18672
|
# Checks whether you have the required permissions for the action,
|
18617
18673
|
# without actually making the request, and provides an error response.
|
@@ -18623,14 +18679,30 @@ module Aws::EC2
|
|
18623
18679
|
#
|
18624
18680
|
class DeregisterImageRequest < Struct.new(
|
18625
18681
|
:image_id,
|
18682
|
+
:delete_associated_snapshots,
|
18626
18683
|
:dry_run)
|
18627
18684
|
SENSITIVE = []
|
18628
18685
|
include Aws::Structure
|
18629
18686
|
end
|
18630
18687
|
|
18688
|
+
# @!attribute [rw] return
|
18689
|
+
# Returns `true` if the request succeeds; otherwise, it returns an
|
18690
|
+
# error.
|
18691
|
+
# @return [Boolean]
|
18692
|
+
#
|
18693
|
+
# @!attribute [rw] delete_snapshot_results
|
18694
|
+
# The deletion result for each snapshot associated with the AMI,
|
18695
|
+
# including the snapshot ID and its success or error code.
|
18696
|
+
# @return [Array<Types::DeleteSnapshotReturnCode>]
|
18697
|
+
#
|
18631
18698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageResult AWS API Documentation
|
18632
18699
|
#
|
18633
|
-
class DeregisterImageResult <
|
18700
|
+
class DeregisterImageResult < Struct.new(
|
18701
|
+
:return,
|
18702
|
+
:delete_snapshot_results)
|
18703
|
+
SENSITIVE = []
|
18704
|
+
include Aws::Structure
|
18705
|
+
end
|
18634
18706
|
|
18635
18707
|
# @!attribute [rw] dry_run
|
18636
18708
|
# Checks whether you have the required permissions for the action,
|
@@ -42376,8 +42448,9 @@ module Aws::EC2
|
|
42376
42448
|
# @return [String]
|
42377
42449
|
#
|
42378
42450
|
# @!attribute [rw] boot_mode
|
42379
|
-
# The boot mode of the image. For more information, see [
|
42380
|
-
# modes][1] in the *Amazon EC2
|
42451
|
+
# The boot mode of the image. For more information, see [Instance
|
42452
|
+
# launch behavior with Amazon EC2 boot modes][1] in the *Amazon EC2
|
42453
|
+
# User Guide*.
|
42381
42454
|
#
|
42382
42455
|
#
|
42383
42456
|
#
|
@@ -42465,8 +42538,8 @@ module Aws::EC2
|
|
42465
42538
|
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
42466
42539
|
# AMI was created using any other API. For some older AMIs, the ID
|
42467
42540
|
# might not be available. For more information, see [Identify the
|
42468
|
-
# source AMI used to create a new AMI][1] in the *Amazon
|
42469
|
-
# Guide*.
|
42541
|
+
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
|
42542
|
+
# EC2 User Guide*.
|
42470
42543
|
#
|
42471
42544
|
#
|
42472
42545
|
#
|
@@ -42480,8 +42553,8 @@ module Aws::EC2
|
|
42480
42553
|
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
42481
42554
|
# the AMI was created using any other API. For some older AMIs, the
|
42482
42555
|
# Region might not be available. For more information, see [Identify
|
42483
|
-
# the source AMI used to create a new AMI][1] in the
|
42484
|
-
# Guide*.
|
42556
|
+
# the source AMI used to create a new Amazon EC2 AMI][1] in the
|
42557
|
+
# *Amazon EC2 User Guide*.
|
42485
42558
|
#
|
42486
42559
|
#
|
42487
42560
|
#
|
@@ -42618,7 +42691,8 @@ module Aws::EC2
|
|
42618
42691
|
# retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
|
42619
42692
|
# You can inspect and modify the UEFI data by using the
|
42620
42693
|
# [python-uefivars tool][2] on GitHub. For more information, see [UEFI
|
42621
|
-
# Secure Boot][3] in the *Amazon EC2 User
|
42694
|
+
# Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
|
42695
|
+
# Guide*.
|
42622
42696
|
#
|
42623
42697
|
#
|
42624
42698
|
#
|
@@ -62321,8 +62395,8 @@ module Aws::EC2
|
|
62321
62395
|
# The full path to your AMI manifest in Amazon S3 storage. The
|
62322
62396
|
# specified bucket must have the `aws-exec-read` canned access control
|
62323
62397
|
# list (ACL) to ensure that it can be accessed by Amazon EC2. For more
|
62324
|
-
# information, see [Canned
|
62325
|
-
#
|
62398
|
+
# information, see [Canned ACL][1] in the *Amazon S3 Service Developer
|
62399
|
+
# Guide*.
|
62326
62400
|
#
|
62327
62401
|
#
|
62328
62402
|
#
|
@@ -62337,8 +62411,10 @@ module Aws::EC2
|
|
62337
62411
|
# you can publish AMIs that include billable software and list them on
|
62338
62412
|
# the Amazon Web Services Marketplace. You must first register as a
|
62339
62413
|
# seller on the Amazon Web Services Marketplace. For more information,
|
62340
|
-
# see [Getting started as
|
62341
|
-
#
|
62414
|
+
# see [Getting started as an Amazon Web Services Marketplace
|
62415
|
+
# seller][1] and [AMI-based products in Amazon Web Services
|
62416
|
+
# Marketplace][2] in the *Amazon Web Services Marketplace Seller
|
62417
|
+
# Guide*.
|
62342
62418
|
#
|
62343
62419
|
#
|
62344
62420
|
#
|
@@ -62355,8 +62431,8 @@ module Aws::EC2
|
|
62355
62431
|
#
|
62356
62432
|
# </note>
|
62357
62433
|
#
|
62358
|
-
# For more information, see [
|
62359
|
-
# Guide*.
|
62434
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
62435
|
+
# boot modes][1] in the *Amazon EC2 User Guide*.
|
62360
62436
|
#
|
62361
62437
|
#
|
62362
62438
|
#
|
@@ -62377,7 +62453,8 @@ module Aws::EC2
|
|
62377
62453
|
# retrieve the UEFI data, use the [GetInstanceUefiData][1] command.
|
62378
62454
|
# You can inspect and modify the UEFI data by using the
|
62379
62455
|
# [python-uefivars tool][2] on GitHub. For more information, see [UEFI
|
62380
|
-
# Secure Boot][3] in the *Amazon EC2 User
|
62456
|
+
# Secure Boot for Amazon EC2 instances][3] in the *Amazon EC2 User
|
62457
|
+
# Guide*.
|
62381
62458
|
#
|
62382
62459
|
#
|
62383
62460
|
#
|
@@ -62466,8 +62543,8 @@ module Aws::EC2
|
|
62466
62543
|
# If you create an AMI on an Outpost, then all backing snapshots must
|
62467
62544
|
# be on the same Outpost or in the Region of that Outpost. AMIs on an
|
62468
62545
|
# Outpost that include local snapshots can be used to launch instances
|
62469
|
-
# on the same Outpost only. For more information, [
|
62470
|
-
# snapshots
|
62546
|
+
# on the same Outpost only. For more information, [Create AMIs from
|
62547
|
+
# local snapshots][1] in the *Amazon EBS User Guide*.
|
62471
62548
|
#
|
62472
62549
|
#
|
62473
62550
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -5352,10 +5352,13 @@ module Aws
|
|
5352
5352
|
|
5353
5353
|
interface _DeregisterImageResponseSuccess
|
5354
5354
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterImageResult]
|
5355
|
+
def return: () -> bool
|
5356
|
+
def delete_snapshot_results: () -> ::Array[Types::DeleteSnapshotReturnCode]
|
5355
5357
|
end
|
5356
5358
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#deregister_image-instance_method
|
5357
5359
|
def deregister_image: (
|
5358
5360
|
image_id: ::String,
|
5361
|
+
?delete_associated_snapshots: bool,
|
5359
5362
|
?dry_run: bool
|
5360
5363
|
) -> _DeregisterImageResponseSuccess
|
5361
5364
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterImageResponseSuccess
|
data/sig/image.rbs
CHANGED
@@ -169,6 +169,7 @@ module Aws
|
|
169
169
|
|
170
170
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#deregister-instance_method
|
171
171
|
def deregister: (
|
172
|
+
?delete_associated_snapshots: bool,
|
172
173
|
?dry_run: bool
|
173
174
|
) -> Types::DeregisterImageResult
|
174
175
|
| (?Hash[Symbol, untyped]) -> Types::DeregisterImageResult
|
data/sig/types.rbs
CHANGED
@@ -3992,6 +3992,12 @@ module Aws::EC2
|
|
3992
3992
|
SENSITIVE: []
|
3993
3993
|
end
|
3994
3994
|
|
3995
|
+
class DeleteSnapshotReturnCode
|
3996
|
+
attr_accessor snapshot_id: ::String
|
3997
|
+
attr_accessor return_code: ("success" | "skipped" | "missing-permissions" | "internal-error" | "client-error")
|
3998
|
+
SENSITIVE: []
|
3999
|
+
end
|
4000
|
+
|
3995
4001
|
class DeleteSpotDatafeedSubscriptionRequest
|
3996
4002
|
attr_accessor dry_run: bool
|
3997
4003
|
SENSITIVE: []
|
@@ -4371,11 +4377,15 @@ module Aws::EC2
|
|
4371
4377
|
|
4372
4378
|
class DeregisterImageRequest
|
4373
4379
|
attr_accessor image_id: ::String
|
4380
|
+
attr_accessor delete_associated_snapshots: bool
|
4374
4381
|
attr_accessor dry_run: bool
|
4375
4382
|
SENSITIVE: []
|
4376
4383
|
end
|
4377
4384
|
|
4378
|
-
class DeregisterImageResult
|
4385
|
+
class DeregisterImageResult
|
4386
|
+
attr_accessor return: bool
|
4387
|
+
attr_accessor delete_snapshot_results: ::Array[Types::DeleteSnapshotReturnCode]
|
4388
|
+
SENSITIVE: []
|
4379
4389
|
end
|
4380
4390
|
|
4381
4391
|
class DeregisterInstanceEventNotificationAttributesRequest
|