aws-sdk-ec2 1.86.0 → 1.87.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cee1fcb9ada1759eb0f2bda37de5b0398eb2ccb2
4
- data.tar.gz: 5e259b673ef3246e27b3b6d8fad960b0783fc131
3
+ metadata.gz: 21dda517188475950d29fe7f6e39614b5a01590b
4
+ data.tar.gz: 5aa78a8b99f16769e3832e3d753fb2d17c97594d
5
5
  SHA512:
6
- metadata.gz: ae60eac47791c687a71bc190b8c52826f1ccbaa062ba0caa448b2f4669004782a17f68e9fa558c0160e630a1453807f5564b15ad9d6b6ad0aa6645cdae5b5ab6
7
- data.tar.gz: 5850a8b83446da5f7efcca472b1017d02d8ccbf19c2dc05842d34cca1eebc5e31f91f1f9247b1e0489d30255b7ebd4e1dc1cc212e16a116ab046ab3fc3b4d0ae
6
+ metadata.gz: 883e7edbf9f132e67c27eaed8acf9b0ca9956552942692c93c51cc61709803d798bf0b044d4a880550cf615388f1278c0c89e91e0e6feea78d50bcaa9b2342f5
7
+ data.tar.gz: 8b258f3003a9fbcb4a315d27dc33e56a8d022cb6804aca2acdedceb9147eb3bfdea4589cbf1e61f5aa6d7372428a95978118fb07f488ce6e58a74a42558dadc8
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.86.0'
68
+ GEM_VERSION = '1.87.0'
69
69
 
70
70
  end
@@ -7144,16 +7144,18 @@ module Aws::EC2
7144
7144
  # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-volume.html
7145
7145
  #
7146
7146
  # @option params [required, String] :availability_zone
7147
- # The Availability Zone in which to create the volume. Use
7148
- # DescribeAvailabilityZones to list the Availability Zones that are
7149
- # currently available to you.
7147
+ # The Availability Zone in which to create the volume.
7150
7148
  #
7151
7149
  # @option params [Boolean] :encrypted
7152
7150
  # Specifies the encryption state of the volume. The default effect of
7153
- # setting this parameter depends on the volume's source and ownership.
7154
- # Each default case can be overridden by specifying a customer master
7155
- # key (CMK) with the `KeyKeyId` parameter. For a complete list of
7156
- # possible encryption cases, see [Amazon EBS Encryption][1].
7151
+ # setting the `Encrypted` parameter to `true` through the console, API,
7152
+ # or CLI depends on the volume's origin (new or from a snapshot),
7153
+ # starting encryption state, ownership, and whether [account-level
7154
+ # encryption][1] is enabled. Each default case can be overridden by
7155
+ # specifying a customer master key (CMK) with the `KmsKeyId` parameter
7156
+ # in addition to setting `Encrypted` to `true`. For a complete list of
7157
+ # possible encryption cases, see [Amazon EBS
7158
+ # Encryption](AWSEC2/latest/UserGuide/EBSEncryption.htm).
7157
7159
  #
7158
7160
  # Encrypted Amazon EBS volumes may only be attached to instances that
7159
7161
  # support Amazon EBS encryption. For more information, see [Supported
@@ -7161,7 +7163,7 @@ module Aws::EC2
7161
7163
  #
7162
7164
  #
7163
7165
  #
7164
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
7166
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/account-level-encryption.html
7165
7167
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
7166
7168
  #
7167
7169
  # @option params [Integer] :iops
@@ -7181,10 +7183,10 @@ module Aws::EC2
7181
7183
  #
7182
7184
  # @option params [String] :kms_key_id
7183
7185
  # An identifier for the AWS Key Management Service (AWS KMS) customer
7184
- # master key (CMK) to use when creating the encrypted volume. This
7185
- # parameter is only required if you want to use a non-default CMK; if
7186
- # this parameter is not specified, the default CMK for EBS is used. If a
7187
- # `KmsKeyId` is specified, the `Encrypted` flag must also be set.
7186
+ # master key (CMK) to use to encrypt the volume. This parameter is only
7187
+ # required if you want to use a non-default CMK; if this parameter is
7188
+ # not specified, the default CMK for EBS is used. If a `KmsKeyId` is
7189
+ # specified, the `Encrypted` flag must also be set.
7188
7190
  #
7189
7191
  # The CMK identifier may be provided in any of the following formats:
7190
7192
  #
@@ -7221,7 +7223,7 @@ module Aws::EC2
7221
7223
  # Default: If you're creating the volume from a snapshot and don't
7222
7224
  # specify a volume size, the default is the snapshot size.
7223
7225
  #
7224
- # <note markdown="1"> At least one of Size or SnapshotId are required.
7226
+ # <note markdown="1"> At least one of Size or SnapshotId is required.
7225
7227
  #
7226
7228
  # </note>
7227
7229
  #
@@ -7577,7 +7579,7 @@ module Aws::EC2
7577
7579
  # attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
7578
7580
  # Use ModifyVpcAttribute to set the VPC attributes.
7579
7581
  #
7580
- # Default: `false`
7582
+ # Default: `true`
7581
7583
  #
7582
7584
  # @return [Types::CreateVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7583
7585
  #
@@ -7900,8 +7902,8 @@ module Aws::EC2
7900
7902
  end
7901
7903
 
7902
7904
  # Creates a VPN connection between an existing virtual private gateway
7903
- # and a VPN customer gateway. The only supported connection type is
7904
- # `ipsec.1`.
7905
+ # and a VPN customer gateway. The supported connection types are
7906
+ # `ipsec.1` and `ipsec.2`.
7905
7907
  #
7906
7908
  # The response includes information that you need to give to your
7907
7909
  # network administrator to configure your customer gateway.
@@ -7928,7 +7930,7 @@ module Aws::EC2
7928
7930
  # The ID of the customer gateway.
7929
7931
  #
7930
7932
  # @option params [required, String] :type
7931
- # The type of VPN connection (`ipsec.1`).
7933
+ # The type of VPN connection (`ipsec.1` \| `ipsec.2`).
7932
7934
  #
7933
7935
  # @option params [String] :vpn_gateway_id
7934
7936
  # The ID of the virtual private gateway. If you specify a virtual
@@ -21247,6 +21249,47 @@ module Aws::EC2
21247
21249
  req.send_request(options)
21248
21250
  end
21249
21251
 
21252
+ # Disables default encryption for EBS volumes that are created in your
21253
+ # account in the current region.
21254
+ #
21255
+ # Call this API if you have enabled default encryption using
21256
+ # EnableEbsEncryptionByDefault and want to disable default EBS
21257
+ # encryption. Once default EBS encryption is disabled, you can still
21258
+ # create an encrypted volume by setting *encrypted* to *true* in the API
21259
+ # call that creates the volume.
21260
+ #
21261
+ # Disabling default EBS encryption will not change the encryption status
21262
+ # of any of your existing volumes.
21263
+ #
21264
+ # @option params [Boolean] :dry_run
21265
+ # Checks whether you have the required permissions for the action,
21266
+ # without actually making the request, and provides an error response.
21267
+ # If you have the required permissions, the error response is
21268
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21269
+ #
21270
+ # @return [Types::DisableEbsEncryptionByDefaultResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21271
+ #
21272
+ # * {Types::DisableEbsEncryptionByDefaultResult#ebs_encryption_by_default #ebs_encryption_by_default} => Boolean
21273
+ #
21274
+ # @example Request syntax with placeholder values
21275
+ #
21276
+ # resp = client.disable_ebs_encryption_by_default({
21277
+ # dry_run: false,
21278
+ # })
21279
+ #
21280
+ # @example Response structure
21281
+ #
21282
+ # resp.ebs_encryption_by_default #=> Boolean
21283
+ #
21284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableEbsEncryptionByDefault AWS API Documentation
21285
+ #
21286
+ # @overload disable_ebs_encryption_by_default(params = {})
21287
+ # @param [Hash] params ({})
21288
+ def disable_ebs_encryption_by_default(params = {}, options = {})
21289
+ req = build_request(:disable_ebs_encryption_by_default, params)
21290
+ req.send_request(options)
21291
+ end
21292
+
21250
21293
  # Disables the specified resource attachment from propagating routes to
21251
21294
  # the specified propagation route table.
21252
21295
  #
@@ -21746,6 +21789,68 @@ module Aws::EC2
21746
21789
  req.send_request(options)
21747
21790
  end
21748
21791
 
21792
+ # Enables default encryption for EBS volumes that are created in your
21793
+ # account in the current region.
21794
+ #
21795
+ # Once encryption is enabled with this action, EBS volumes that are
21796
+ # created in your account will always be encrypted even if encryption is
21797
+ # not specified at launch. This setting overrides the *encrypted*
21798
+ # setting to *true* in all API calls that create EBS volumes in your
21799
+ # account. A volume will be encrypted even if you specify *encryption*
21800
+ # to be *false* in the API call that creates the volume.
21801
+ #
21802
+ # If you do not specify a customer master key (CMK) in the API call that
21803
+ # creates the EBS volume, then the volume is encrypted to your AWS
21804
+ # account's default CMK.
21805
+ #
21806
+ # You can specify a default CMK of your choice using
21807
+ # ModifyEbsDefaultKmsKeyId.
21808
+ #
21809
+ # Enabling default encryption for EBS volumes has no effect on existing
21810
+ # unencrypted volumes in your account. Encrypting the data in these
21811
+ # requires manual action. You can either create an encrypted snapshot of
21812
+ # an unencrypted volume, or encrypt a copy of an unencrypted snapshot.
21813
+ # Any volume restored from an encrypted snapshot is also encrypted. For
21814
+ # more information, see [Amazon EBS Snapshots][1].
21815
+ #
21816
+ # Once EBS encryption by default is enabled, you can no longer launch
21817
+ # older-generation instance types that do not support encryption. For
21818
+ # more information, see [Supported Instance Types][2].
21819
+ #
21820
+ #
21821
+ #
21822
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html
21823
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
21824
+ #
21825
+ # @option params [Boolean] :dry_run
21826
+ # Checks whether you have the required permissions for the action,
21827
+ # without actually making the request, and provides an error response.
21828
+ # If you have the required permissions, the error response is
21829
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21830
+ #
21831
+ # @return [Types::EnableEbsEncryptionByDefaultResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21832
+ #
21833
+ # * {Types::EnableEbsEncryptionByDefaultResult#ebs_encryption_by_default #ebs_encryption_by_default} => Boolean
21834
+ #
21835
+ # @example Request syntax with placeholder values
21836
+ #
21837
+ # resp = client.enable_ebs_encryption_by_default({
21838
+ # dry_run: false,
21839
+ # })
21840
+ #
21841
+ # @example Response structure
21842
+ #
21843
+ # resp.ebs_encryption_by_default #=> Boolean
21844
+ #
21845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableEbsEncryptionByDefault AWS API Documentation
21846
+ #
21847
+ # @overload enable_ebs_encryption_by_default(params = {})
21848
+ # @param [Hash] params ({})
21849
+ def enable_ebs_encryption_by_default(params = {}, options = {})
21850
+ req = build_request(:enable_ebs_encryption_by_default, params)
21851
+ req.send_request(options)
21852
+ end
21853
+
21749
21854
  # Enables the specified attachment to propagate routes to the specified
21750
21855
  # propagation route table.
21751
21856
  #
@@ -22237,6 +22342,71 @@ module Aws::EC2
22237
22342
  req.send_request(options)
22238
22343
  end
22239
22344
 
22345
+ # Describes the default customer master key (CMK) that your account uses
22346
+ # to encrypt EBS volumes if you don’t specify a CMK in the API call. You
22347
+ # can change this default using ModifyEbsDefaultKmsKeyId.
22348
+ #
22349
+ # @option params [Boolean] :dry_run
22350
+ # Checks whether you have the required permissions for the action,
22351
+ # without actually making the request, and provides an error response.
22352
+ # If you have the required permissions, the error response is
22353
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22354
+ #
22355
+ # @return [Types::GetEbsDefaultKmsKeyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22356
+ #
22357
+ # * {Types::GetEbsDefaultKmsKeyIdResult#kms_key_id #kms_key_id} => String
22358
+ #
22359
+ # @example Request syntax with placeholder values
22360
+ #
22361
+ # resp = client.get_ebs_default_kms_key_id({
22362
+ # dry_run: false,
22363
+ # })
22364
+ #
22365
+ # @example Response structure
22366
+ #
22367
+ # resp.kms_key_id #=> String
22368
+ #
22369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsDefaultKmsKeyId AWS API Documentation
22370
+ #
22371
+ # @overload get_ebs_default_kms_key_id(params = {})
22372
+ # @param [Hash] params ({})
22373
+ def get_ebs_default_kms_key_id(params = {}, options = {})
22374
+ req = build_request(:get_ebs_default_kms_key_id, params)
22375
+ req.send_request(options)
22376
+ end
22377
+
22378
+ # Describes whether default EBS encryption is enabled for your account
22379
+ # in the current region.
22380
+ #
22381
+ # @option params [Boolean] :dry_run
22382
+ # Checks whether you have the required permissions for the action,
22383
+ # without actually making the request, and provides an error response.
22384
+ # If you have the required permissions, the error response is
22385
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22386
+ #
22387
+ # @return [Types::GetEbsEncryptionByDefaultResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22388
+ #
22389
+ # * {Types::GetEbsEncryptionByDefaultResult#ebs_encryption_by_default #ebs_encryption_by_default} => Boolean
22390
+ #
22391
+ # @example Request syntax with placeholder values
22392
+ #
22393
+ # resp = client.get_ebs_encryption_by_default({
22394
+ # dry_run: false,
22395
+ # })
22396
+ #
22397
+ # @example Response structure
22398
+ #
22399
+ # resp.ebs_encryption_by_default #=> Boolean
22400
+ #
22401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefault AWS API Documentation
22402
+ #
22403
+ # @overload get_ebs_encryption_by_default(params = {})
22404
+ # @param [Hash] params ({})
22405
+ def get_ebs_encryption_by_default(params = {}, options = {})
22406
+ req = build_request(:get_ebs_encryption_by_default, params)
22407
+ req.send_request(options)
22408
+ end
22409
+
22240
22410
  # Preview a reservation purchase with configurations that match those of
22241
22411
  # your Dedicated Host. You must have active Dedicated Hosts in your
22242
22412
  # account before you purchase a reservation.
@@ -23598,6 +23768,71 @@ module Aws::EC2
23598
23768
  req.send_request(options)
23599
23769
  end
23600
23770
 
23771
+ # Changes the default customer master key (CMK) that your account uses
23772
+ # to encrypt EBS volumes if you don’t specify a CMK in the API call.
23773
+ #
23774
+ # Your account has an AWS-managed default CMK that is used for
23775
+ # encrypting an EBS volume when no CMK is specified in the API call that
23776
+ # creates the volume. By calling this API, you can specify a
23777
+ # customer-managed CMK to use in place of the AWS-managed default CMK.
23778
+ #
23779
+ # Note: Deleting or disabling the custom CMK that you have specified to
23780
+ # act as your default CMK will result in instance-launch failures.
23781
+ #
23782
+ # @option params [required, String] :kms_key_id
23783
+ # An identifier for the AWS Key Management Service (AWS KMS) customer
23784
+ # master key (CMK) to use to encrypt the volume. This parameter is only
23785
+ # required if you want to use a non-default CMK; if this parameter is
23786
+ # not specified, the default CMK for EBS is used. If a `KmsKeyId` is
23787
+ # specified, the `Encrypted` flag must also be set.
23788
+ #
23789
+ # The CMK identifier may be provided in any of the following formats:
23790
+ #
23791
+ # * Key ID
23792
+ #
23793
+ # * Key alias
23794
+ #
23795
+ # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
23796
+ # followed by the Region of the CMK, the AWS account ID of the CMK
23797
+ # owner, the `key` namespace, and then the CMK ID. For example,
23798
+ # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
23799
+ #
23800
+ # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
23801
+ # namespace, followed by the Region of the CMK, the AWS account ID of
23802
+ # the CMK owner, the `alias` namespace, and then the CMK alias. For
23803
+ # example,
23804
+ # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
23805
+ #
23806
+ # @option params [Boolean] :dry_run
23807
+ # Checks whether you have the required permissions for the action,
23808
+ # without actually making the request, and provides an error response.
23809
+ # If you have the required permissions, the error response is
23810
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
23811
+ #
23812
+ # @return [Types::ModifyEbsDefaultKmsKeyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
23813
+ #
23814
+ # * {Types::ModifyEbsDefaultKmsKeyIdResult#kms_key_id #kms_key_id} => String
23815
+ #
23816
+ # @example Request syntax with placeholder values
23817
+ #
23818
+ # resp = client.modify_ebs_default_kms_key_id({
23819
+ # kms_key_id: "String", # required
23820
+ # dry_run: false,
23821
+ # })
23822
+ #
23823
+ # @example Response structure
23824
+ #
23825
+ # resp.kms_key_id #=> String
23826
+ #
23827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyEbsDefaultKmsKeyId AWS API Documentation
23828
+ #
23829
+ # @overload modify_ebs_default_kms_key_id(params = {})
23830
+ # @param [Hash] params ({})
23831
+ def modify_ebs_default_kms_key_id(params = {}, options = {})
23832
+ req = build_request(:modify_ebs_default_kms_key_id, params)
23833
+ req.send_request(options)
23834
+ end
23835
+
23601
23836
  # Modifies the specified EC2 Fleet.
23602
23837
  #
23603
23838
  # While the EC2 Fleet is being modified, it is in the `modifying` state.
@@ -24896,6 +25131,8 @@ module Aws::EC2
24896
25131
 
24897
25132
  # Modifies the specified Spot Fleet request.
24898
25133
  #
25134
+ # You can only modify a Spot Fleet request of type `maintain`.
25135
+ #
24899
25136
  # While the Spot Fleet request is being modified, it is in the
24900
25137
  # `modifying` state.
24901
25138
  #
@@ -25002,11 +25239,8 @@ module Aws::EC2
25002
25239
  # created using version `2016-11-15` or later of the Amazon EC2 API.
25003
25240
  #
25004
25241
  # @option params [Types::AttributeBooleanValue] :map_public_ip_on_launch
25005
- # Specify `true` to indicate that network interfaces created in the
25006
- # specified subnet should be assigned a public IPv4 address. This
25007
- # includes a network interface that's created when launching an
25008
- # instance into the subnet (the instance therefore receives a public
25009
- # IPv4 address).
25242
+ # Specify `true` to indicate that ENIs attached to instances created in
25243
+ # the specified subnet should be assigned a public IPv4 address.
25010
25244
  #
25011
25245
  # @option params [required, String] :subnet_id
25012
25246
  # The ID of the subnet.
@@ -27959,6 +28193,50 @@ module Aws::EC2
27959
28193
  req.send_request(options)
27960
28194
  end
27961
28195
 
28196
+ # Resets the account's default customer master key (CMK) to the
28197
+ # account's AWS-managed default CMK. This default CMK is used to
28198
+ # encrypt EBS volumes when you have enabled EBS encryption by default
28199
+ # without specifying a CMK in the API call. If you have not enabled
28200
+ # encryption by default, then this CMK is used when you set the
28201
+ # `Encrypted` parameter to true without specifying a custom CMK in the
28202
+ # API call.
28203
+ #
28204
+ # Call this API if you have modified the default CMK that is used for
28205
+ # encrypting your EBS volume using ModifyEbsDefaultKmsKeyId and you want
28206
+ # to reset it to the AWS-managed default CMK. After resetting, you can
28207
+ # continue to provide a CMK of your choice in the API call that creates
28208
+ # the volume. However, if no CMK is specified, your account will encrypt
28209
+ # the volume to the AWS-managed default CMK.
28210
+ #
28211
+ # @option params [Boolean] :dry_run
28212
+ # Checks whether you have the required permissions for the action,
28213
+ # without actually making the request, and provides an error response.
28214
+ # If you have the required permissions, the error response is
28215
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
28216
+ #
28217
+ # @return [Types::ResetEbsDefaultKmsKeyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
28218
+ #
28219
+ # * {Types::ResetEbsDefaultKmsKeyIdResult#kms_key_id #kms_key_id} => String
28220
+ #
28221
+ # @example Request syntax with placeholder values
28222
+ #
28223
+ # resp = client.reset_ebs_default_kms_key_id({
28224
+ # dry_run: false,
28225
+ # })
28226
+ #
28227
+ # @example Response structure
28228
+ #
28229
+ # resp.kms_key_id #=> String
28230
+ #
28231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetEbsDefaultKmsKeyId AWS API Documentation
28232
+ #
28233
+ # @overload reset_ebs_default_kms_key_id(params = {})
28234
+ # @param [Hash] params ({})
28235
+ def reset_ebs_default_kms_key_id(params = {}, options = {})
28236
+ req = build_request(:reset_ebs_default_kms_key_id, params)
28237
+ req.send_request(options)
28238
+ end
28239
+
27962
28240
  # Resets the specified attribute of the specified Amazon FPGA Image
27963
28241
  # (AFI) to its default value. You can only reset the load permission
27964
28242
  # attribute.
@@ -28636,9 +28914,8 @@ module Aws::EC2
28636
28914
  # status.
28637
28915
  #
28638
28916
  # @option params [String] :image_id
28639
- # The ID of the AMI, which you can get by calling DescribeImages. An AMI
28640
- # ID is required to launch an instance and must be specified here or in
28641
- # a launch template.
28917
+ # The ID of the AMI. An AMI ID is required to launch an instance and
28918
+ # must be specified here or in a launch template.
28642
28919
  #
28643
28920
  # @option params [String] :instance_type
28644
28921
  # The instance type. For more information, see [Instance Types][1] in
@@ -28800,13 +29077,17 @@ module Aws::EC2
28800
29077
  # @option params [Boolean] :disable_api_termination
28801
29078
  # If you set this parameter to `true`, you can't terminate the instance
28802
29079
  # using the Amazon EC2 console, CLI, or API; otherwise, you can. To
28803
- # change this attribute to `false` after launch, use
28804
- # ModifyInstanceAttribute. Alternatively, if you set
28805
- # `InstanceInitiatedShutdownBehavior` to `terminate`, you can terminate
28806
- # the instance by running the shutdown command from the instance.
29080
+ # change this attribute after launch, use [ModifyInstanceAttribute][1].
29081
+ # Alternatively, if you set `InstanceInitiatedShutdownBehavior` to
29082
+ # `terminate`, you can terminate the instance by running the shutdown
29083
+ # command from the instance.
28807
29084
  #
28808
29085
  # Default: `false`
28809
29086
  #
29087
+ #
29088
+ #
29089
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
29090
+ #
28810
29091
  # @option params [Boolean] :dry_run
28811
29092
  # Checks whether you have the required permissions for the action,
28812
29093
  # without actually making the request, and provides an error response.
@@ -30346,7 +30627,7 @@ module Aws::EC2
30346
30627
  params: params,
30347
30628
  config: config)
30348
30629
  context[:gem_name] = 'aws-sdk-ec2'
30349
- context[:gem_version] = '1.86.0'
30630
+ context[:gem_version] = '1.87.0'
30350
30631
  Seahorse::Client::Request.new(handlers, context)
30351
30632
  end
30352
30633
 
@@ -595,6 +595,8 @@ module Aws::EC2
595
595
  DhcpOptionsList = Shapes::ListShape.new(name: 'DhcpOptionsList')
596
596
  DirectoryServiceAuthentication = Shapes::StructureShape.new(name: 'DirectoryServiceAuthentication')
597
597
  DirectoryServiceAuthenticationRequest = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationRequest')
598
+ DisableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultRequest')
599
+ DisableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultResult')
598
600
  DisableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationRequest')
599
601
  DisableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationResult')
600
602
  DisableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'DisableVgwRoutePropagationRequest')
@@ -650,6 +652,8 @@ module Aws::EC2
650
652
  ElasticInferenceAcceleratorAssociation = Shapes::StructureShape.new(name: 'ElasticInferenceAcceleratorAssociation')
651
653
  ElasticInferenceAcceleratorAssociationList = Shapes::ListShape.new(name: 'ElasticInferenceAcceleratorAssociationList')
652
654
  ElasticInferenceAccelerators = Shapes::ListShape.new(name: 'ElasticInferenceAccelerators')
655
+ EnableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultRequest')
656
+ EnableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultResult')
653
657
  EnableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationRequest')
654
658
  EnableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationResult')
655
659
  EnableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'EnableVgwRoutePropagationRequest')
@@ -716,6 +720,10 @@ module Aws::EC2
716
720
  GetConsoleOutputResult = Shapes::StructureShape.new(name: 'GetConsoleOutputResult')
717
721
  GetConsoleScreenshotRequest = Shapes::StructureShape.new(name: 'GetConsoleScreenshotRequest')
718
722
  GetConsoleScreenshotResult = Shapes::StructureShape.new(name: 'GetConsoleScreenshotResult')
723
+ GetEbsDefaultKmsKeyIdRequest = Shapes::StructureShape.new(name: 'GetEbsDefaultKmsKeyIdRequest')
724
+ GetEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'GetEbsDefaultKmsKeyIdResult')
725
+ GetEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'GetEbsEncryptionByDefaultRequest')
726
+ GetEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'GetEbsEncryptionByDefaultResult')
719
727
  GetHostReservationPurchasePreviewRequest = Shapes::StructureShape.new(name: 'GetHostReservationPurchasePreviewRequest')
720
728
  GetHostReservationPurchasePreviewResult = Shapes::StructureShape.new(name: 'GetHostReservationPurchasePreviewResult')
721
729
  GetLaunchTemplateDataRequest = Shapes::StructureShape.new(name: 'GetLaunchTemplateDataRequest')
@@ -946,6 +954,8 @@ module Aws::EC2
946
954
  ModifyCapacityReservationResult = Shapes::StructureShape.new(name: 'ModifyCapacityReservationResult')
947
955
  ModifyClientVpnEndpointRequest = Shapes::StructureShape.new(name: 'ModifyClientVpnEndpointRequest')
948
956
  ModifyClientVpnEndpointResult = Shapes::StructureShape.new(name: 'ModifyClientVpnEndpointResult')
957
+ ModifyEbsDefaultKmsKeyIdRequest = Shapes::StructureShape.new(name: 'ModifyEbsDefaultKmsKeyIdRequest')
958
+ ModifyEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'ModifyEbsDefaultKmsKeyIdResult')
949
959
  ModifyFleetRequest = Shapes::StructureShape.new(name: 'ModifyFleetRequest')
950
960
  ModifyFleetResult = Shapes::StructureShape.new(name: 'ModifyFleetResult')
951
961
  ModifyFpgaImageAttributeRequest = Shapes::StructureShape.new(name: 'ModifyFpgaImageAttributeRequest')
@@ -1171,6 +1181,8 @@ module Aws::EC2
1171
1181
  ReservedInstancesOfferingIdStringList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingIdStringList')
1172
1182
  ReservedInstancesOfferingList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingList')
1173
1183
  ReservedIntancesIds = Shapes::ListShape.new(name: 'ReservedIntancesIds')
1184
+ ResetEbsDefaultKmsKeyIdRequest = Shapes::StructureShape.new(name: 'ResetEbsDefaultKmsKeyIdRequest')
1185
+ ResetEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'ResetEbsDefaultKmsKeyIdResult')
1174
1186
  ResetFpgaImageAttributeName = Shapes::StringShape.new(name: 'ResetFpgaImageAttributeName')
1175
1187
  ResetFpgaImageAttributeRequest = Shapes::StructureShape.new(name: 'ResetFpgaImageAttributeRequest')
1176
1188
  ResetFpgaImageAttributeResult = Shapes::StructureShape.new(name: 'ResetFpgaImageAttributeResult')
@@ -3973,6 +3985,12 @@ module Aws::EC2
3973
3985
  DirectoryServiceAuthenticationRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: String, location_name: "DirectoryId"))
3974
3986
  DirectoryServiceAuthenticationRequest.struct_class = Types::DirectoryServiceAuthenticationRequest
3975
3987
 
3988
+ DisableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3989
+ DisableEbsEncryptionByDefaultRequest.struct_class = Types::DisableEbsEncryptionByDefaultRequest
3990
+
3991
+ DisableEbsEncryptionByDefaultResult.add_member(:ebs_encryption_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsEncryptionByDefault"))
3992
+ DisableEbsEncryptionByDefaultResult.struct_class = Types::DisableEbsEncryptionByDefaultResult
3993
+
3976
3994
  DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayRouteTableId"))
3977
3995
  DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayAttachmentId"))
3978
3996
  DisableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -4152,6 +4170,12 @@ module Aws::EC2
4152
4170
 
4153
4171
  ElasticInferenceAccelerators.member = Shapes::ShapeRef.new(shape: ElasticInferenceAccelerator, location_name: "item")
4154
4172
 
4173
+ EnableEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4174
+ EnableEbsEncryptionByDefaultRequest.struct_class = Types::EnableEbsEncryptionByDefaultRequest
4175
+
4176
+ EnableEbsEncryptionByDefaultResult.add_member(:ebs_encryption_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsEncryptionByDefault"))
4177
+ EnableEbsEncryptionByDefaultResult.struct_class = Types::EnableEbsEncryptionByDefaultResult
4178
+
4155
4179
  EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayRouteTableId"))
4156
4180
  EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayAttachmentId"))
4157
4181
  EnableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -4380,6 +4404,18 @@ module Aws::EC2
4380
4404
  GetConsoleScreenshotResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
4381
4405
  GetConsoleScreenshotResult.struct_class = Types::GetConsoleScreenshotResult
4382
4406
 
4407
+ GetEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4408
+ GetEbsDefaultKmsKeyIdRequest.struct_class = Types::GetEbsDefaultKmsKeyIdRequest
4409
+
4410
+ GetEbsDefaultKmsKeyIdResult.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
4411
+ GetEbsDefaultKmsKeyIdResult.struct_class = Types::GetEbsDefaultKmsKeyIdResult
4412
+
4413
+ GetEbsEncryptionByDefaultRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4414
+ GetEbsEncryptionByDefaultRequest.struct_class = Types::GetEbsEncryptionByDefaultRequest
4415
+
4416
+ GetEbsEncryptionByDefaultResult.add_member(:ebs_encryption_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsEncryptionByDefault"))
4417
+ GetEbsEncryptionByDefaultResult.struct_class = Types::GetEbsEncryptionByDefaultResult
4418
+
4383
4419
  GetHostReservationPurchasePreviewRequest.add_member(:host_id_set, Shapes::ShapeRef.new(shape: RequestHostIdSet, required: true, location_name: "HostIdSet"))
4384
4420
  GetHostReservationPurchasePreviewRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OfferingId"))
4385
4421
  GetHostReservationPurchasePreviewRequest.struct_class = Types::GetHostReservationPurchasePreviewRequest
@@ -5367,6 +5403,13 @@ module Aws::EC2
5367
5403
  ModifyClientVpnEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
5368
5404
  ModifyClientVpnEndpointResult.struct_class = Types::ModifyClientVpnEndpointResult
5369
5405
 
5406
+ ModifyEbsDefaultKmsKeyIdRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "KmsKeyId"))
5407
+ ModifyEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5408
+ ModifyEbsDefaultKmsKeyIdRequest.struct_class = Types::ModifyEbsDefaultKmsKeyIdRequest
5409
+
5410
+ ModifyEbsDefaultKmsKeyIdResult.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
5411
+ ModifyEbsDefaultKmsKeyIdResult.struct_class = Types::ModifyEbsDefaultKmsKeyIdResult
5412
+
5370
5413
  ModifyFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5371
5414
  ModifyFleetRequest.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "ExcessCapacityTerminationPolicy"))
5372
5415
  ModifyFleetRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, required: true, location_name: "FleetId"))
@@ -6331,6 +6374,12 @@ module Aws::EC2
6331
6374
 
6332
6375
  ReservedIntancesIds.member = Shapes::ShapeRef.new(shape: ReservedInstancesId, location_name: "item")
6333
6376
 
6377
+ ResetEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6378
+ ResetEbsDefaultKmsKeyIdRequest.struct_class = Types::ResetEbsDefaultKmsKeyIdRequest
6379
+
6380
+ ResetEbsDefaultKmsKeyIdResult.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
6381
+ ResetEbsDefaultKmsKeyIdResult.struct_class = Types::ResetEbsDefaultKmsKeyIdResult
6382
+
6334
6383
  ResetFpgaImageAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6335
6384
  ResetFpgaImageAttributeRequest.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FpgaImageId"))
6336
6385
  ResetFpgaImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: ResetFpgaImageAttributeName, location_name: "Attribute"))
@@ -9752,6 +9801,14 @@ module Aws::EC2
9752
9801
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
9753
9802
  end)
9754
9803
 
9804
+ api.add_operation(:disable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
9805
+ o.name = "DisableEbsEncryptionByDefault"
9806
+ o.http_method = "POST"
9807
+ o.http_request_uri = "/"
9808
+ o.input = Shapes::ShapeRef.new(shape: DisableEbsEncryptionByDefaultRequest)
9809
+ o.output = Shapes::ShapeRef.new(shape: DisableEbsEncryptionByDefaultResult)
9810
+ end)
9811
+
9755
9812
  api.add_operation(:disable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
9756
9813
  o.name = "DisableTransitGatewayRouteTablePropagation"
9757
9814
  o.http_method = "POST"
@@ -9840,6 +9897,14 @@ module Aws::EC2
9840
9897
  o.output = Shapes::ShapeRef.new(shape: DisassociateVpcCidrBlockResult)
9841
9898
  end)
9842
9899
 
9900
+ api.add_operation(:enable_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
9901
+ o.name = "EnableEbsEncryptionByDefault"
9902
+ o.http_method = "POST"
9903
+ o.http_request_uri = "/"
9904
+ o.input = Shapes::ShapeRef.new(shape: EnableEbsEncryptionByDefaultRequest)
9905
+ o.output = Shapes::ShapeRef.new(shape: EnableEbsEncryptionByDefaultResult)
9906
+ end)
9907
+
9843
9908
  api.add_operation(:enable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
9844
9909
  o.name = "EnableTransitGatewayRouteTablePropagation"
9845
9910
  o.http_method = "POST"
@@ -9920,6 +9985,22 @@ module Aws::EC2
9920
9985
  o.output = Shapes::ShapeRef.new(shape: GetConsoleScreenshotResult)
9921
9986
  end)
9922
9987
 
9988
+ api.add_operation(:get_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
9989
+ o.name = "GetEbsDefaultKmsKeyId"
9990
+ o.http_method = "POST"
9991
+ o.http_request_uri = "/"
9992
+ o.input = Shapes::ShapeRef.new(shape: GetEbsDefaultKmsKeyIdRequest)
9993
+ o.output = Shapes::ShapeRef.new(shape: GetEbsDefaultKmsKeyIdResult)
9994
+ end)
9995
+
9996
+ api.add_operation(:get_ebs_encryption_by_default, Seahorse::Model::Operation.new.tap do |o|
9997
+ o.name = "GetEbsEncryptionByDefault"
9998
+ o.http_method = "POST"
9999
+ o.http_request_uri = "/"
10000
+ o.input = Shapes::ShapeRef.new(shape: GetEbsEncryptionByDefaultRequest)
10001
+ o.output = Shapes::ShapeRef.new(shape: GetEbsEncryptionByDefaultResult)
10002
+ end)
10003
+
9923
10004
  api.add_operation(:get_host_reservation_purchase_preview, Seahorse::Model::Operation.new.tap do |o|
9924
10005
  o.name = "GetHostReservationPurchasePreview"
9925
10006
  o.http_method = "POST"
@@ -10058,6 +10139,14 @@ module Aws::EC2
10058
10139
  o.output = Shapes::ShapeRef.new(shape: ModifyClientVpnEndpointResult)
10059
10140
  end)
10060
10141
 
10142
+ api.add_operation(:modify_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
10143
+ o.name = "ModifyEbsDefaultKmsKeyId"
10144
+ o.http_method = "POST"
10145
+ o.http_request_uri = "/"
10146
+ o.input = Shapes::ShapeRef.new(shape: ModifyEbsDefaultKmsKeyIdRequest)
10147
+ o.output = Shapes::ShapeRef.new(shape: ModifyEbsDefaultKmsKeyIdResult)
10148
+ end)
10149
+
10061
10150
  api.add_operation(:modify_fleet, Seahorse::Model::Operation.new.tap do |o|
10062
10151
  o.name = "ModifyFleet"
10063
10152
  o.http_method = "POST"
@@ -10458,6 +10547,14 @@ module Aws::EC2
10458
10547
  o.output = Shapes::ShapeRef.new(shape: RequestSpotInstancesResult)
10459
10548
  end)
10460
10549
 
10550
+ api.add_operation(:reset_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
10551
+ o.name = "ResetEbsDefaultKmsKeyId"
10552
+ o.http_method = "POST"
10553
+ o.http_request_uri = "/"
10554
+ o.input = Shapes::ShapeRef.new(shape: ResetEbsDefaultKmsKeyIdRequest)
10555
+ o.output = Shapes::ShapeRef.new(shape: ResetEbsDefaultKmsKeyIdResult)
10556
+ end)
10557
+
10461
10558
  api.add_operation(:reset_fpga_image_attribute, Seahorse::Model::Operation.new.tap do |o|
10462
10559
  o.name = "ResetFpgaImageAttribute"
10463
10560
  o.http_method = "POST"
@@ -201,9 +201,8 @@ module Aws::EC2
201
201
  # not blank and its encryption status is used for the volume encryption
202
202
  # status.
203
203
  # @option options [String] :image_id
204
- # The ID of the AMI, which you can get by calling DescribeImages. An AMI
205
- # ID is required to launch an instance and must be specified here or in
206
- # a launch template.
204
+ # The ID of the AMI. An AMI ID is required to launch an instance and
205
+ # must be specified here or in a launch template.
207
206
  # @option options [String] :instance_type
208
207
  # The instance type. For more information, see [Instance Types][1] in
209
208
  # the *Amazon Elastic Compute Cloud User Guide*.
@@ -348,12 +347,16 @@ module Aws::EC2
348
347
  # @option options [Boolean] :disable_api_termination
349
348
  # If you set this parameter to `true`, you can't terminate the instance
350
349
  # using the Amazon EC2 console, CLI, or API; otherwise, you can. To
351
- # change this attribute to `false` after launch, use
352
- # ModifyInstanceAttribute. Alternatively, if you set
353
- # `InstanceInitiatedShutdownBehavior` to `terminate`, you can terminate
354
- # the instance by running the shutdown command from the instance.
350
+ # change this attribute after launch, use [ModifyInstanceAttribute][1].
351
+ # Alternatively, if you set `InstanceInitiatedShutdownBehavior` to
352
+ # `terminate`, you can terminate the instance by running the shutdown
353
+ # command from the instance.
355
354
  #
356
355
  # Default: `false`
356
+ #
357
+ #
358
+ #
359
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
357
360
  # @option options [Boolean] :dry_run
358
361
  # Checks whether you have the required permissions for the action,
359
362
  # without actually making the request, and provides an error response.
@@ -878,15 +881,17 @@ module Aws::EC2
878
881
  # })
879
882
  # @param [Hash] options ({})
880
883
  # @option options [required, String] :availability_zone
881
- # The Availability Zone in which to create the volume. Use
882
- # DescribeAvailabilityZones to list the Availability Zones that are
883
- # currently available to you.
884
+ # The Availability Zone in which to create the volume.
884
885
  # @option options [Boolean] :encrypted
885
886
  # Specifies the encryption state of the volume. The default effect of
886
- # setting this parameter depends on the volume's source and ownership.
887
- # Each default case can be overridden by specifying a customer master
888
- # key (CMK) with the `KeyKeyId` parameter. For a complete list of
889
- # possible encryption cases, see [Amazon EBS Encryption][1].
887
+ # setting the `Encrypted` parameter to `true` through the console, API,
888
+ # or CLI depends on the volume's origin (new or from a snapshot),
889
+ # starting encryption state, ownership, and whether [account-level
890
+ # encryption][1] is enabled. Each default case can be overridden by
891
+ # specifying a customer master key (CMK) with the `KmsKeyId` parameter
892
+ # in addition to setting `Encrypted` to `true`. For a complete list of
893
+ # possible encryption cases, see [Amazon EBS
894
+ # Encryption](AWSEC2/latest/UserGuide/EBSEncryption.htm).
890
895
  #
891
896
  # Encrypted Amazon EBS volumes may only be attached to instances that
892
897
  # support Amazon EBS encryption. For more information, see [Supported
@@ -894,7 +899,7 @@ module Aws::EC2
894
899
  #
895
900
  #
896
901
  #
897
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
902
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/account-level-encryption.html
898
903
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
899
904
  # @option options [Integer] :iops
900
905
  # The number of I/O operations per second (IOPS) to provision for the
@@ -912,10 +917,10 @@ module Aws::EC2
912
917
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
913
918
  # @option options [String] :kms_key_id
914
919
  # An identifier for the AWS Key Management Service (AWS KMS) customer
915
- # master key (CMK) to use when creating the encrypted volume. This
916
- # parameter is only required if you want to use a non-default CMK; if
917
- # this parameter is not specified, the default CMK for EBS is used. If a
918
- # `KmsKeyId` is specified, the `Encrypted` flag must also be set.
920
+ # master key (CMK) to use to encrypt the volume. This parameter is only
921
+ # required if you want to use a non-default CMK; if this parameter is
922
+ # not specified, the default CMK for EBS is used. If a `KmsKeyId` is
923
+ # specified, the `Encrypted` flag must also be set.
919
924
  #
920
925
  # The CMK identifier may be provided in any of the following formats:
921
926
  #
@@ -951,7 +956,7 @@ module Aws::EC2
951
956
  # Default: If you're creating the volume from a snapshot and don't
952
957
  # specify a volume size, the default is the snapshot size.
953
958
  #
954
- # <note markdown="1"> At least one of Size or SnapshotId are required.
959
+ # <note markdown="1"> At least one of Size or SnapshotId is required.
955
960
  #
956
961
  # </note>
957
962
  # @option options [String] :snapshot_id
@@ -396,9 +396,8 @@ module Aws::EC2
396
396
  # not blank and its encryption status is used for the volume encryption
397
397
  # status.
398
398
  # @option options [String] :image_id
399
- # The ID of the AMI, which you can get by calling DescribeImages. An AMI
400
- # ID is required to launch an instance and must be specified here or in
401
- # a launch template.
399
+ # The ID of the AMI. An AMI ID is required to launch an instance and
400
+ # must be specified here or in a launch template.
402
401
  # @option options [String] :instance_type
403
402
  # The instance type. For more information, see [Instance Types][1] in
404
403
  # the *Amazon Elastic Compute Cloud User Guide*.
@@ -538,12 +537,16 @@ module Aws::EC2
538
537
  # @option options [Boolean] :disable_api_termination
539
538
  # If you set this parameter to `true`, you can't terminate the instance
540
539
  # using the Amazon EC2 console, CLI, or API; otherwise, you can. To
541
- # change this attribute to `false` after launch, use
542
- # ModifyInstanceAttribute. Alternatively, if you set
543
- # `InstanceInitiatedShutdownBehavior` to `terminate`, you can terminate
544
- # the instance by running the shutdown command from the instance.
540
+ # change this attribute after launch, use [ModifyInstanceAttribute][1].
541
+ # Alternatively, if you set `InstanceInitiatedShutdownBehavior` to
542
+ # `terminate`, you can terminate the instance by running the shutdown
543
+ # command from the instance.
545
544
  #
546
545
  # Default: `false`
546
+ #
547
+ #
548
+ #
549
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
547
550
  # @option options [Boolean] :dry_run
548
551
  # Checks whether you have the required permissions for the action,
549
552
  # without actually making the request, and provides an error response.
@@ -6964,18 +6964,19 @@ module Aws::EC2
6964
6964
  # }
6965
6965
  #
6966
6966
  # @!attribute [rw] availability_zone
6967
- # The Availability Zone in which to create the volume. Use
6968
- # DescribeAvailabilityZones to list the Availability Zones that are
6969
- # currently available to you.
6967
+ # The Availability Zone in which to create the volume.
6970
6968
  # @return [String]
6971
6969
  #
6972
6970
  # @!attribute [rw] encrypted
6973
6971
  # Specifies the encryption state of the volume. The default effect of
6974
- # setting this parameter depends on the volume's source and
6975
- # ownership. Each default case can be overridden by specifying a
6976
- # customer master key (CMK) with the `KeyKeyId` parameter. For a
6977
- # complete list of possible encryption cases, see [Amazon EBS
6978
- # Encryption][1].
6972
+ # setting the `Encrypted` parameter to `true` through the console,
6973
+ # API, or CLI depends on the volume's origin (new or from a
6974
+ # snapshot), starting encryption state, ownership, and whether
6975
+ # [account-level encryption][1] is enabled. Each default case can be
6976
+ # overridden by specifying a customer master key (CMK) with the
6977
+ # `KmsKeyId` parameter in addition to setting `Encrypted` to `true`.
6978
+ # For a complete list of possible encryption cases, see [Amazon EBS
6979
+ # Encryption](AWSEC2/latest/UserGuide/EBSEncryption.htm).
6979
6980
  #
6980
6981
  # Encrypted Amazon EBS volumes may only be attached to instances that
6981
6982
  # support Amazon EBS encryption. For more information, see [Supported
@@ -6983,7 +6984,7 @@ module Aws::EC2
6983
6984
  #
6984
6985
  #
6985
6986
  #
6986
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
6987
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/account-level-encryption.html
6987
6988
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
6988
6989
  # @return [Boolean]
6989
6990
  #
@@ -7006,10 +7007,10 @@ module Aws::EC2
7006
7007
  #
7007
7008
  # @!attribute [rw] kms_key_id
7008
7009
  # An identifier for the AWS Key Management Service (AWS KMS) customer
7009
- # master key (CMK) to use when creating the encrypted volume. This
7010
- # parameter is only required if you want to use a non-default CMK; if
7011
- # this parameter is not specified, the default CMK for EBS is used. If
7012
- # a `KmsKeyId` is specified, the `Encrypted` flag must also be set.
7010
+ # master key (CMK) to use to encrypt the volume. This parameter is
7011
+ # only required if you want to use a non-default CMK; if this
7012
+ # parameter is not specified, the default CMK for EBS is used. If a
7013
+ # `KmsKeyId` is specified, the `Encrypted` flag must also be set.
7013
7014
  #
7014
7015
  # The CMK identifier may be provided in any of the following formats:
7015
7016
  #
@@ -7047,7 +7048,7 @@ module Aws::EC2
7047
7048
  # Default: If you're creating the volume from a snapshot and don't
7048
7049
  # specify a volume size, the default is the snapshot size.
7049
7050
  #
7050
- # <note markdown="1"> At least one of Size or SnapshotId are required.
7051
+ # <note markdown="1"> At least one of Size or SnapshotId is required.
7051
7052
  #
7052
7053
  # </note>
7053
7054
  # @return [Integer]
@@ -7259,7 +7260,7 @@ module Aws::EC2
7259
7260
  # attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
7260
7261
  # Use ModifyVpcAttribute to set the VPC attributes.
7261
7262
  #
7262
- # Default: `false`
7263
+ # Default: `true`
7263
7264
  # @return [Boolean]
7264
7265
  #
7265
7266
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest AWS API Documentation
@@ -7515,7 +7516,7 @@ module Aws::EC2
7515
7516
  # @return [String]
7516
7517
  #
7517
7518
  # @!attribute [rw] type
7518
- # The type of VPN connection (`ipsec.1`).
7519
+ # The type of VPN connection (`ipsec.1` \| `ipsec.2`).
7519
7520
  # @return [String]
7520
7521
  #
7521
7522
  # @!attribute [rw] vpn_gateway_id
@@ -17875,6 +17876,38 @@ module Aws::EC2
17875
17876
  include Aws::Structure
17876
17877
  end
17877
17878
 
17879
+ # @note When making an API call, you may pass DisableEbsEncryptionByDefaultRequest
17880
+ # data as a hash:
17881
+ #
17882
+ # {
17883
+ # dry_run: false,
17884
+ # }
17885
+ #
17886
+ # @!attribute [rw] dry_run
17887
+ # Checks whether you have the required permissions for the action,
17888
+ # without actually making the request, and provides an error response.
17889
+ # If you have the required permissions, the error response is
17890
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17891
+ # @return [Boolean]
17892
+ #
17893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableEbsEncryptionByDefaultRequest AWS API Documentation
17894
+ #
17895
+ class DisableEbsEncryptionByDefaultRequest < Struct.new(
17896
+ :dry_run)
17897
+ include Aws::Structure
17898
+ end
17899
+
17900
+ # @!attribute [rw] ebs_encryption_by_default
17901
+ # Account-level encryption status after performing the action.
17902
+ # @return [Boolean]
17903
+ #
17904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableEbsEncryptionByDefaultResult AWS API Documentation
17905
+ #
17906
+ class DisableEbsEncryptionByDefaultResult < Struct.new(
17907
+ :ebs_encryption_by_default)
17908
+ include Aws::Structure
17909
+ end
17910
+
17878
17911
  # @note When making an API call, you may pass DisableTransitGatewayRouteTablePropagationRequest
17879
17912
  # data as a hash:
17880
17913
  #
@@ -18489,7 +18522,7 @@ module Aws::EC2
18489
18522
  # Cloud User Guide*.
18490
18523
  #
18491
18524
  # Constraints: Range is 100-16,000 IOPS for `gp2` volumes and 100 to
18492
- # 64,000IOPS for `io1` volumes in most Regions. Maximum `io1`IOPS of
18525
+ # 64,000IOPS for `io1` volumes in most Regions. Maximum `io1` IOPS of
18493
18526
  # 64,000 is guaranteed only on [Nitro-based instances][2]. Other
18494
18527
  # instance families guarantee performance up to 32,000 IOPS. For more
18495
18528
  # information, see [Amazon EBS Volume Types][1] in the *Amazon Elastic
@@ -18530,25 +18563,28 @@ module Aws::EC2
18530
18563
  # @return [String]
18531
18564
  #
18532
18565
  # @!attribute [rw] encrypted
18533
- # Indicates whether the encryption state of an EBS volume is to be
18534
- # changed while being restored from a backing snapshot. The default
18535
- # effect of setting this parameter to `true` or leaving it unset
18536
- # depends on the origin, starting encryption state, and ownership of
18537
- # the volume. Each default case can be overridden by specifying a
18538
- # customer master key (CMK) as argument to the `KmsKeyId` parameter in
18539
- # addition to setting `Encrypted` = `true`. For a complete list of
18540
- # possible encryption cases, see [Amazon EBS Encryption][1].
18566
+ # Indicates whether the encryption state of an EBS volume is changed
18567
+ # while being restored from a backing snapshot. The default effect of
18568
+ # setting the `Encrypted` parameter to `true` through the console,
18569
+ # API, or CLI depends on the volume's origin (new or from a
18570
+ # snapshot), starting encryption state, ownership, and whether
18571
+ # [account-level encryption][1] is enabled. Each default case can be
18572
+ # overridden by specifying a customer master key (CMK) with the
18573
+ # `KmsKeyId` parameter in addition to setting `Encrypted` to `true`.
18574
+ # For a complete list of possible encryption cases, see [Amazon EBS
18575
+ # Encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
18541
18576
  #
18542
18577
  # In no case can you remove encryption from an encrypted volume.
18543
18578
  #
18544
18579
  # Encrypted volumes can only be attached to instances that support
18545
18580
  # Amazon EBS encryption. For more information, see [Supported Instance
18546
- # Types][2].
18581
+ # Types][3].
18547
18582
  #
18548
18583
  #
18549
18584
  #
18550
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
18551
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
18585
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/account-level-encryption.html
18586
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters
18587
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
18552
18588
  # @return [Boolean]
18553
18589
  #
18554
18590
  # @!attribute [rw] kms_key_id
@@ -18822,6 +18858,38 @@ module Aws::EC2
18822
18858
  include Aws::Structure
18823
18859
  end
18824
18860
 
18861
+ # @note When making an API call, you may pass EnableEbsEncryptionByDefaultRequest
18862
+ # data as a hash:
18863
+ #
18864
+ # {
18865
+ # dry_run: false,
18866
+ # }
18867
+ #
18868
+ # @!attribute [rw] dry_run
18869
+ # Checks whether you have the required permissions for the action,
18870
+ # without actually making the request, and provides an error response.
18871
+ # If you have the required permissions, the error response is
18872
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18873
+ # @return [Boolean]
18874
+ #
18875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableEbsEncryptionByDefaultRequest AWS API Documentation
18876
+ #
18877
+ class EnableEbsEncryptionByDefaultRequest < Struct.new(
18878
+ :dry_run)
18879
+ include Aws::Structure
18880
+ end
18881
+
18882
+ # @!attribute [rw] ebs_encryption_by_default
18883
+ # Account-level encryption status after performing the action.
18884
+ # @return [Boolean]
18885
+ #
18886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableEbsEncryptionByDefaultResult AWS API Documentation
18887
+ #
18888
+ class EnableEbsEncryptionByDefaultResult < Struct.new(
18889
+ :ebs_encryption_by_default)
18890
+ include Aws::Structure
18891
+ end
18892
+
18825
18893
  # @note When making an API call, you may pass EnableTransitGatewayRouteTablePropagationRequest
18826
18894
  # data as a hash:
18827
18895
  #
@@ -20144,6 +20212,73 @@ module Aws::EC2
20144
20212
  include Aws::Structure
20145
20213
  end
20146
20214
 
20215
+ # @note When making an API call, you may pass GetEbsDefaultKmsKeyIdRequest
20216
+ # data as a hash:
20217
+ #
20218
+ # {
20219
+ # dry_run: false,
20220
+ # }
20221
+ #
20222
+ # @!attribute [rw] dry_run
20223
+ # Checks whether you have the required permissions for the action,
20224
+ # without actually making the request, and provides an error response.
20225
+ # If you have the required permissions, the error response is
20226
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
20227
+ # @return [Boolean]
20228
+ #
20229
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsDefaultKmsKeyIdRequest AWS API Documentation
20230
+ #
20231
+ class GetEbsDefaultKmsKeyIdRequest < Struct.new(
20232
+ :dry_run)
20233
+ include Aws::Structure
20234
+ end
20235
+
20236
+ # @!attribute [rw] kms_key_id
20237
+ # The full ARN of the default CMK that your account uses to encrypt an
20238
+ # EBS volume when no CMK is specified in the API call that creates the
20239
+ # volume.
20240
+ # @return [String]
20241
+ #
20242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsDefaultKmsKeyIdResult AWS API Documentation
20243
+ #
20244
+ class GetEbsDefaultKmsKeyIdResult < Struct.new(
20245
+ :kms_key_id)
20246
+ include Aws::Structure
20247
+ end
20248
+
20249
+ # @note When making an API call, you may pass GetEbsEncryptionByDefaultRequest
20250
+ # data as a hash:
20251
+ #
20252
+ # {
20253
+ # dry_run: false,
20254
+ # }
20255
+ #
20256
+ # @!attribute [rw] dry_run
20257
+ # Checks whether you have the required permissions for the action,
20258
+ # without actually making the request, and provides an error response.
20259
+ # If you have the required permissions, the error response is
20260
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
20261
+ # @return [Boolean]
20262
+ #
20263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefaultRequest AWS API Documentation
20264
+ #
20265
+ class GetEbsEncryptionByDefaultRequest < Struct.new(
20266
+ :dry_run)
20267
+ include Aws::Structure
20268
+ end
20269
+
20270
+ # @!attribute [rw] ebs_encryption_by_default
20271
+ # Indicates whether default encryption for EBS volumes is enabled or
20272
+ # disabled.
20273
+ # @return [Boolean]
20274
+ #
20275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefaultResult AWS API Documentation
20276
+ #
20277
+ class GetEbsEncryptionByDefaultResult < Struct.new(
20278
+ :ebs_encryption_by_default)
20279
+ include Aws::Structure
20280
+ end
20281
+
20147
20282
  # @note When making an API call, you may pass GetHostReservationPurchasePreviewRequest
20148
20283
  # data as a hash:
20149
20284
  #
@@ -25443,6 +25578,67 @@ module Aws::EC2
25443
25578
  include Aws::Structure
25444
25579
  end
25445
25580
 
25581
+ # @note When making an API call, you may pass ModifyEbsDefaultKmsKeyIdRequest
25582
+ # data as a hash:
25583
+ #
25584
+ # {
25585
+ # kms_key_id: "String", # required
25586
+ # dry_run: false,
25587
+ # }
25588
+ #
25589
+ # @!attribute [rw] kms_key_id
25590
+ # An identifier for the AWS Key Management Service (AWS KMS) customer
25591
+ # master key (CMK) to use to encrypt the volume. This parameter is
25592
+ # only required if you want to use a non-default CMK; if this
25593
+ # parameter is not specified, the default CMK for EBS is used. If a
25594
+ # `KmsKeyId` is specified, the `Encrypted` flag must also be set.
25595
+ #
25596
+ # The CMK identifier may be provided in any of the following formats:
25597
+ #
25598
+ # * Key ID
25599
+ #
25600
+ # * Key alias
25601
+ #
25602
+ # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
25603
+ # followed by the Region of the CMK, the AWS account ID of the CMK
25604
+ # owner, the `key` namespace, and then the CMK ID. For example,
25605
+ # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
25606
+ #
25607
+ # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
25608
+ # namespace, followed by the Region of the CMK, the AWS account ID
25609
+ # of the CMK owner, the `alias` namespace, and then the CMK alias.
25610
+ # For example,
25611
+ # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
25612
+ # @return [String]
25613
+ #
25614
+ # @!attribute [rw] dry_run
25615
+ # Checks whether you have the required permissions for the action,
25616
+ # without actually making the request, and provides an error response.
25617
+ # If you have the required permissions, the error response is
25618
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
25619
+ # @return [Boolean]
25620
+ #
25621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyEbsDefaultKmsKeyIdRequest AWS API Documentation
25622
+ #
25623
+ class ModifyEbsDefaultKmsKeyIdRequest < Struct.new(
25624
+ :kms_key_id,
25625
+ :dry_run)
25626
+ include Aws::Structure
25627
+ end
25628
+
25629
+ # @!attribute [rw] kms_key_id
25630
+ # The full ARN of the default CMK that your account uses to encrypt an
25631
+ # EBS volume when no CMK is specified in the API call that creates the
25632
+ # volume.
25633
+ # @return [String]
25634
+ #
25635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyEbsDefaultKmsKeyIdResult AWS API Documentation
25636
+ #
25637
+ class ModifyEbsDefaultKmsKeyIdResult < Struct.new(
25638
+ :kms_key_id)
25639
+ include Aws::Structure
25640
+ end
25641
+
25446
25642
  # @note When making an API call, you may pass ModifyFleetRequest
25447
25643
  # data as a hash:
25448
25644
  #
@@ -26585,11 +26781,8 @@ module Aws::EC2
26585
26781
  # @return [Types::AttributeBooleanValue]
26586
26782
  #
26587
26783
  # @!attribute [rw] map_public_ip_on_launch
26588
- # Specify `true` to indicate that network interfaces created in the
26589
- # specified subnet should be assigned a public IPv4 address. This
26590
- # includes a network interface that's created when launching an
26591
- # instance into the subnet (the instance therefore receives a public
26592
- # IPv4 address).
26784
+ # Specify `true` to indicate that ENIs attached to instances created
26785
+ # in the specified subnet should be assigned a public IPv4 address.
26593
26786
  # @return [Types::AttributeBooleanValue]
26594
26787
  #
26595
26788
  # @!attribute [rw] subnet_id
@@ -30030,11 +30223,7 @@ module Aws::EC2
30030
30223
  # @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>]
30031
30224
  #
30032
30225
  # @!attribute [rw] image_id
30033
- # The ID of the AMI, which you can get by using [DescribeImages][1].
30034
- #
30035
- #
30036
- #
30037
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
30226
+ # The ID of the AMI.
30038
30227
  # @return [String]
30039
30228
  #
30040
30229
  # @!attribute [rw] instance_type
@@ -30081,9 +30270,13 @@ module Aws::EC2
30081
30270
  # @return [String]
30082
30271
  #
30083
30272
  # @!attribute [rw] disable_api_termination
30084
- # If set to `true`, you can't terminate the instance using the Amazon
30085
- # EC2 console, CLI, or API. To change this attribute to `false` after
30086
- # launch, use [ ModifyInstanceAttribute][1].
30273
+ # If you set this parameter to `true`, you can't terminate the
30274
+ # instance using the Amazon EC2 console, CLI, or API; otherwise, you
30275
+ # can. To change this attribute after launch, use
30276
+ # [ModifyInstanceAttribute][1]. Alternatively, if you set
30277
+ # `InstanceInitiatedShutdownBehavior` to `terminate`, you can
30278
+ # terminate the instance by running the shutdown command from the
30279
+ # instance.
30087
30280
  #
30088
30281
  #
30089
30282
  #
@@ -31311,6 +31504,40 @@ module Aws::EC2
31311
31504
  include Aws::Structure
31312
31505
  end
31313
31506
 
31507
+ # @note When making an API call, you may pass ResetEbsDefaultKmsKeyIdRequest
31508
+ # data as a hash:
31509
+ #
31510
+ # {
31511
+ # dry_run: false,
31512
+ # }
31513
+ #
31514
+ # @!attribute [rw] dry_run
31515
+ # Checks whether you have the required permissions for the action,
31516
+ # without actually making the request, and provides an error response.
31517
+ # If you have the required permissions, the error response is
31518
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31519
+ # @return [Boolean]
31520
+ #
31521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetEbsDefaultKmsKeyIdRequest AWS API Documentation
31522
+ #
31523
+ class ResetEbsDefaultKmsKeyIdRequest < Struct.new(
31524
+ :dry_run)
31525
+ include Aws::Structure
31526
+ end
31527
+
31528
+ # @!attribute [rw] kms_key_id
31529
+ # The full ARN of the default CMK that your account uses to encrypt an
31530
+ # EBS volume when no CMK is specified in the API call that creates the
31531
+ # volume.
31532
+ # @return [String]
31533
+ #
31534
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetEbsDefaultKmsKeyIdResult AWS API Documentation
31535
+ #
31536
+ class ResetEbsDefaultKmsKeyIdResult < Struct.new(
31537
+ :kms_key_id)
31538
+ include Aws::Structure
31539
+ end
31540
+
31314
31541
  # @note When making an API call, you may pass ResetFpgaImageAttributeRequest
31315
31542
  # data as a hash:
31316
31543
  #
@@ -32344,9 +32571,8 @@ module Aws::EC2
32344
32571
  # @return [Array<Types::BlockDeviceMapping>]
32345
32572
  #
32346
32573
  # @!attribute [rw] image_id
32347
- # The ID of the AMI, which you can get by calling DescribeImages. An
32348
- # AMI ID is required to launch an instance and must be specified here
32349
- # or in a launch template.
32574
+ # The ID of the AMI. An AMI ID is required to launch an instance and
32575
+ # must be specified here or in a launch template.
32350
32576
  # @return [String]
32351
32577
  #
32352
32578
  # @!attribute [rw] instance_type
@@ -32526,13 +32752,17 @@ module Aws::EC2
32526
32752
  # @!attribute [rw] disable_api_termination
32527
32753
  # If you set this parameter to `true`, you can't terminate the
32528
32754
  # instance using the Amazon EC2 console, CLI, or API; otherwise, you
32529
- # can. To change this attribute to `false` after launch, use
32530
- # ModifyInstanceAttribute. Alternatively, if you set
32755
+ # can. To change this attribute after launch, use
32756
+ # [ModifyInstanceAttribute][1]. Alternatively, if you set
32531
32757
  # `InstanceInitiatedShutdownBehavior` to `terminate`, you can
32532
32758
  # terminate the instance by running the shutdown command from the
32533
32759
  # instance.
32534
32760
  #
32535
32761
  # Default: `false`
32762
+ #
32763
+ #
32764
+ #
32765
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
32536
32766
  # @return [Boolean]
32537
32767
  #
32538
32768
  # @!attribute [rw] dry_run
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.86.0
4
+ version: 1.87.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: 2019-05-22 00:00:00.000000000 Z
11
+ date: 2019-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4