aws-sdk-ec2 1.45.0 → 1.46.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9e7bdd6b9bc0f7d2df7c25f0f32b67d776efae6
4
- data.tar.gz: e6c76b0d462a572409356c708c3d795ce84540f7
3
+ metadata.gz: abf2d400535d8bd04c7b4f0e805980cf1630dba2
4
+ data.tar.gz: c3eab2f716a2c8a143b42c9c03796f3c08216ff4
5
5
  SHA512:
6
- metadata.gz: 3e74e2592382384213f97da51fe15993bcb9b9e3f485b7abf53fd22e985755a074506d506cf30e6308be9bdb013893438ab7301d579c5bf56422cfdfaeb45ec2
7
- data.tar.gz: a8371c447196f32dd66da5ef5bbac2cdbfbb09c35fa111c163a7b4122d12cb38bc0da6e3b0be27fca9a4e3dee0f54786481bc50bec8038b0a4e6a89886a79f05
6
+ metadata.gz: ea488c1eac9a91d3a3afb61961b5598ddff72e1676fcd60e2b297ec7d45a9492eec6f6bec4e0456b4431d8a26329625041482f277c7412550a707b7a2d630ed6
7
+ data.tar.gz: 15e19df1c320a4c0e572815d691aa0a8beb68a74a38dde67f150be93a22ec9edc342fbbde065f2846fc328ca0559e7b91417e843d018bede8e2a6deddd66ea0a
data/lib/aws-sdk-ec2.rb CHANGED
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.45.0'
68
+ GEM_VERSION = '1.46.0'
69
69
 
70
70
  end
@@ -2365,6 +2365,11 @@ module Aws::EC2
2365
2365
  # current region. You specify the destination region by using its
2366
2366
  # endpoint when making the request.
2367
2367
  #
2368
+ # Copies of encrypted backing snapshots for the AMI are encrypted.
2369
+ # Copies of unencrypted backing snapshots remain unencrypted, unless you
2370
+ # set `Encrypted` during the copy operation. You cannot create an
2371
+ # unencrypted copy of an encrypted backing snapshot.
2372
+ #
2368
2373
  # For more information about the prerequisites and limits when copying
2369
2374
  # an AMI, see [Copying an AMI][1] in the *Amazon Elastic Compute Cloud
2370
2375
  # User Guide*.
@@ -2387,10 +2392,12 @@ module Aws::EC2
2387
2392
  #
2388
2393
  # @option params [Boolean] :encrypted
2389
2394
  # Specifies whether the destination snapshots of the copied image should
2390
- # be encrypted. The default CMK for EBS is used unless a non-default AWS
2391
- # Key Management Service (AWS KMS) CMK is specified with `KmsKeyId`. For
2392
- # more information, see [Amazon EBS Encryption][1] in the *Amazon
2393
- # Elastic Compute Cloud User Guide*.
2395
+ # be encrypted. You can encrypt a copy of an unencrypted snapshot, but
2396
+ # you cannot create an unencrypted copy of an encrypted snapshot. The
2397
+ # default CMK for EBS is used unless you specify a non-default AWS Key
2398
+ # Management Service (AWS KMS) CMK using `KmsKeyId`. For more
2399
+ # information, see [Amazon EBS Encryption][1] in the *Amazon Elastic
2400
+ # Compute Cloud User Guide*.
2394
2401
  #
2395
2402
  #
2396
2403
  #
@@ -2532,12 +2539,12 @@ module Aws::EC2
2532
2539
  #
2533
2540
  # @option params [Boolean] :encrypted
2534
2541
  # Specifies whether the destination snapshot should be encrypted. You
2535
- # can encrypt a copy of an unencrypted snapshot using this flag, but you
2536
- # cannot use it to create an unencrypted copy from an encrypted
2537
- # snapshot. Your default CMK for EBS is used unless a non-default AWS
2538
- # Key Management Service (AWS KMS) CMK is specified with `KmsKeyId`. For
2539
- # more information, see [Amazon EBS Encryption][1] in the *Amazon
2540
- # Elastic Compute Cloud User Guide*.
2542
+ # can encrypt a copy of an unencrypted snapshot, but you cannot use it
2543
+ # to create an unencrypted copy of an encrypted snapshot. Your default
2544
+ # CMK for EBS is used unless you specify a non-default AWS Key
2545
+ # Management Service (AWS KMS) CMK using `KmsKeyId`. For more
2546
+ # information, see [Amazon EBS Encryption][1] in the *Amazon Elastic
2547
+ # Compute Cloud User Guide*.
2541
2548
  #
2542
2549
  #
2543
2550
  #
@@ -2849,7 +2856,7 @@ module Aws::EC2
2849
2856
  # in the *Amazon Virtual Private Cloud User Guide*. You cannot specify
2850
2857
  # the components of the default VPC yourself.
2851
2858
  #
2852
- # iIf you deleted your previous default VPC, you can create a default
2859
+ # If you deleted your previous default VPC, you can create a default
2853
2860
  # VPC. You cannot have more than one default VPC per Region.
2854
2861
  #
2855
2862
  # If your account supports EC2-Classic, you cannot use this action to
@@ -3543,13 +3550,13 @@ module Aws::EC2
3543
3550
  # device_name: "String",
3544
3551
  # virtual_name: "String",
3545
3552
  # ebs: {
3546
- # encrypted: false,
3547
3553
  # delete_on_termination: false,
3548
3554
  # iops: 1,
3549
- # kms_key_id: "String",
3550
3555
  # snapshot_id: "String",
3551
3556
  # volume_size: 1,
3552
3557
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
3558
+ # encrypted: false,
3559
+ # kms_key_id: "String",
3553
3560
  # },
3554
3561
  # no_device: "String",
3555
3562
  # },
@@ -6183,7 +6190,7 @@ module Aws::EC2
6183
6190
  # attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
6184
6191
  # Use ModifyVpcAttribute to set the VPC attributes.
6185
6192
  #
6186
- # Default: `true`
6193
+ # Default: `false`
6187
6194
  #
6188
6195
  # @return [Types::CreateVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6189
6196
  #
@@ -9838,7 +9845,7 @@ module Aws::EC2
9838
9845
  # including offerings that may not match the instance family and region
9839
9846
  # of your Dedicated Hosts. When purchasing an offering, ensure that the
9840
9847
  # instance family and Region of the offering matches that of the
9841
- # Dedicated Hosts with which it is to be associated . For more
9848
+ # Dedicated Hosts with which it is to be associated. For more
9842
9849
  # information about supported instance types, see [Dedicated Hosts
9843
9850
  # Overview][1] in the *Amazon Elastic Compute Cloud User Guide*.
9844
9851
  #
@@ -9945,7 +9952,7 @@ module Aws::EC2
9945
9952
  # The maximum number of results to return for the request in a single
9946
9953
  # page. The remaining results can be seen by sending another request
9947
9954
  # with the returned `nextToken` value. This value can be between 5 and
9948
- # 500.If `maxResults` is given a larger value than 500, you receive an
9955
+ # 500. If `maxResults` is given a larger value than 500, you receive an
9949
9956
  # error.
9950
9957
  #
9951
9958
  # @option params [String] :next_token
@@ -10385,13 +10392,13 @@ module Aws::EC2
10385
10392
  # resp.block_device_mappings #=> Array
10386
10393
  # resp.block_device_mappings[0].device_name #=> String
10387
10394
  # resp.block_device_mappings[0].virtual_name #=> String
10388
- # resp.block_device_mappings[0].ebs.encrypted #=> Boolean
10389
10395
  # resp.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
10390
10396
  # resp.block_device_mappings[0].ebs.iops #=> Integer
10391
- # resp.block_device_mappings[0].ebs.kms_key_id #=> String
10392
10397
  # resp.block_device_mappings[0].ebs.snapshot_id #=> String
10393
10398
  # resp.block_device_mappings[0].ebs.volume_size #=> Integer
10394
10399
  # resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
10400
+ # resp.block_device_mappings[0].ebs.encrypted #=> Boolean
10401
+ # resp.block_device_mappings[0].ebs.kms_key_id #=> String
10395
10402
  # resp.block_device_mappings[0].no_device #=> String
10396
10403
  # resp.image_id #=> String
10397
10404
  # resp.launch_permissions #=> Array
@@ -10617,13 +10624,13 @@ module Aws::EC2
10617
10624
  # resp.images[0].block_device_mappings #=> Array
10618
10625
  # resp.images[0].block_device_mappings[0].device_name #=> String
10619
10626
  # resp.images[0].block_device_mappings[0].virtual_name #=> String
10620
- # resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
10621
10627
  # resp.images[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
10622
10628
  # resp.images[0].block_device_mappings[0].ebs.iops #=> Integer
10623
- # resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
10624
10629
  # resp.images[0].block_device_mappings[0].ebs.snapshot_id #=> String
10625
10630
  # resp.images[0].block_device_mappings[0].ebs.volume_size #=> Integer
10626
10631
  # resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
10632
+ # resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
10633
+ # resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
10627
10634
  # resp.images[0].block_device_mappings[0].no_device #=> String
10628
10635
  # resp.images[0].description #=> String
10629
10636
  # resp.images[0].ena_support #=> Boolean
@@ -10949,15 +10956,20 @@ module Aws::EC2
10949
10956
  req.send_request(options)
10950
10957
  end
10951
10958
 
10952
- # Describes the credit option for CPU usage of one or more of your T2
10953
- # instances. The credit options are `standard` and `unlimited`.
10959
+ # Describes the credit option for CPU usage of one or more of your T2 or
10960
+ # T3 instances. The credit options are `standard` and `unlimited`.
10961
+ #
10962
+ # If you do not specify an instance ID, Amazon EC2 returns T2 and T3
10963
+ # instances with the `unlimited` credit option, as well as instances
10964
+ # that were previously configured as T2 or T3 with the `unlimited`
10965
+ # credit option. For example, if you resize a T2 instance, while it is
10966
+ # configured as `unlimited`, to an M4 instance, Amazon EC2 returns the
10967
+ # M4 instance.
10954
10968
  #
10955
- # If you do not specify an instance ID, Amazon EC2 returns only the T2
10956
- # instances with the `unlimited` credit option. If you specify one or
10957
- # more instance IDs, Amazon EC2 returns the credit option (`standard` or
10958
- # `unlimited`) of those instances. If you specify an instance ID that is
10959
- # not valid, such as an instance that is not a T2 instance, an error is
10960
- # returned.
10969
+ # If you specify one or more instance IDs, Amazon EC2 returns the credit
10970
+ # option (`standard` or `unlimited`) of those instances. If you specify
10971
+ # an instance ID that is not valid, such as an instance that is not a T2
10972
+ # or T3 instance, an error is returned.
10961
10973
  #
10962
10974
  # Recently terminated instances might appear in the returned results.
10963
10975
  # This interval is usually less than one hour.
@@ -10967,12 +10979,12 @@ module Aws::EC2
10967
10979
  # instance IDs at all, the call fails. If you specify only instance IDs
10968
10980
  # in an unaffected zone, the call works normally.
10969
10981
  #
10970
- # For more information, see [T2 Instances][1] in the *Amazon Elastic
10971
- # Compute Cloud User Guide*.
10982
+ # For more information, see [Burstable Performance Instances][1] in the
10983
+ # *Amazon Elastic Compute Cloud User Guide*.
10972
10984
  #
10973
10985
  #
10974
10986
  #
10975
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
10987
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
10976
10988
  #
10977
10989
  # @option params [Boolean] :dry_run
10978
10990
  # Checks whether you have the required permissions for the action,
@@ -12492,9 +12504,6 @@ module Aws::EC2
12492
12504
  #
12493
12505
  # * `entry.cidr` - The IPv4 CIDR range specified in the entry.
12494
12506
  #
12495
- # * `entry.egress` - Indicates whether the entry applies to egress
12496
- # traffic.
12497
- #
12498
12507
  # * `entry.icmp.code` - The ICMP code specified in the entry, if any.
12499
12508
  #
12500
12509
  # * `entry.icmp.type` - The ICMP type specified in the entry, if any.
@@ -12514,7 +12523,7 @@ module Aws::EC2
12514
12523
  # \| `deny`).
12515
12524
  #
12516
12525
  # * `entry.rule-number` - The number of an entry (in other words, rule)
12517
- # in the ACL's set of entries.
12526
+ # in the set of ACL entries.
12518
12527
  #
12519
12528
  # * `network-acl-id` - The ID of the network ACL.
12520
12529
  #
@@ -12969,9 +12978,18 @@ module Aws::EC2
12969
12978
  #
12970
12979
  # Default: Describes all your network interfaces.
12971
12980
  #
12981
+ # @option params [String] :next_token
12982
+ # The token to retrieve the next page of results.
12983
+ #
12984
+ # @option params [Integer] :max_results
12985
+ # The maximum number of items to return for this request. The request
12986
+ # returns a token that you can specify in a subsequent call to get the
12987
+ # next set of results.
12988
+ #
12972
12989
  # @return [Types::DescribeNetworkInterfacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12973
12990
  #
12974
12991
  # * {Types::DescribeNetworkInterfacesResult#network_interfaces #network_interfaces} => Array<Types::NetworkInterface>
12992
+ # * {Types::DescribeNetworkInterfacesResult#next_token #next_token} => String
12975
12993
  #
12976
12994
  #
12977
12995
  # @example Example: To describe a network interface
@@ -13049,6 +13067,8 @@ module Aws::EC2
13049
13067
  # ],
13050
13068
  # dry_run: false,
13051
13069
  # network_interface_ids: ["String"],
13070
+ # next_token: "String",
13071
+ # max_results: 1,
13052
13072
  # })
13053
13073
  #
13054
13074
  # @example Response structure
@@ -13097,6 +13117,7 @@ module Aws::EC2
13097
13117
  # resp.network_interfaces[0].tag_set[0].key #=> String
13098
13118
  # resp.network_interfaces[0].tag_set[0].value #=> String
13099
13119
  # resp.network_interfaces[0].vpc_id #=> String
13120
+ # resp.next_token #=> String
13100
13121
  #
13101
13122
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaces AWS API Documentation
13102
13123
  #
@@ -14469,10 +14490,10 @@ module Aws::EC2
14469
14490
  # in this request.
14470
14491
  #
14471
14492
  # @option params [Boolean] :dry_run
14472
- # Checks whether you have the required permissions for the operation,
14493
+ # Checks whether you have the required permissions for the action,
14473
14494
  # without actually making the request, and provides an error response.
14474
14495
  # If you have the required permissions, the error response is
14475
- # DryRunOperation. Otherwise, it is UnauthorizedOperation.
14496
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
14476
14497
  #
14477
14498
  # @option params [required, Array<String>] :group_id
14478
14499
  # One or more security group IDs in your account.
@@ -15454,13 +15475,13 @@ module Aws::EC2
15454
15475
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings #=> Array
15455
15476
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].device_name #=> String
15456
15477
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].virtual_name #=> String
15457
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
15458
15478
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
15459
15479
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.iops #=> Integer
15460
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
15461
15480
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.snapshot_id #=> String
15462
15481
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_size #=> Integer
15463
15482
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
15483
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
15484
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
15464
15485
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
15465
15486
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].ebs_optimized #=> Boolean
15466
15487
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].iam_instance_profile.arn #=> String
@@ -15770,13 +15791,13 @@ module Aws::EC2
15770
15791
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings #=> Array
15771
15792
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
15772
15793
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
15773
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
15774
15794
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
15775
15795
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
15776
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
15777
15796
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
15778
15797
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
15779
15798
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
15799
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
15800
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
15780
15801
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
15781
15802
  # resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
15782
15803
  # resp.spot_instance_requests[0].launch_specification.iam_instance_profile.arn #=> String
@@ -15987,10 +16008,10 @@ module Aws::EC2
15987
16008
  # VPC for which the VPC peering connection has been deleted.
15988
16009
  #
15989
16010
  # @option params [Boolean] :dry_run
15990
- # Checks whether you have the required permissions for the operation,
16011
+ # Checks whether you have the required permissions for the action,
15991
16012
  # without actually making the request, and provides an error response.
15992
16013
  # If you have the required permissions, the error response is
15993
- # DryRunOperation. Otherwise, it is UnauthorizedOperation.
16014
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
15994
16015
  #
15995
16016
  # @option params [Integer] :max_results
15996
16017
  # The maximum number of items to return for this request. The request
@@ -16230,7 +16251,7 @@ module Aws::EC2
16230
16251
  #
16231
16252
  # * `key` - The tag key.
16232
16253
  #
16233
- # * `resource-id` - The resource ID.
16254
+ # * `resource-id` - The ID of the resource.
16234
16255
  #
16235
16256
  # * `resource-type` - The resource type (`customer-gateway` \|
16236
16257
  # `dhcp-options` \| `elastic-ip` \| `fleet` \| `fpga-image` \| `image`
@@ -16241,6 +16262,10 @@ module Aws::EC2
16241
16262
  # `vpc` \| `vpc-peering-connection` \| `vpn-connection` \|
16242
16263
  # `vpn-gateway`).
16243
16264
  #
16265
+ # * `tag`\:&lt;key&gt; - The key/value combination of the tag. For
16266
+ # example, specify "tag:Owner" for the filter name and "TeamA" for
16267
+ # the filter value to find resources with the tag "Owner=TeamA".
16268
+ #
16244
16269
  # * `value` - The tag value.
16245
16270
  #
16246
16271
  # @option params [Integer] :max_results
@@ -19955,7 +19980,7 @@ module Aws::EC2
19955
19980
  # tenancy of `host` but without a specific host ID are placed onto any
19956
19981
  # available Dedicated Host in your account that has auto-placement
19957
19982
  # enabled. When auto-placement is disabled, you need to provide a host
19958
- # ID ito have the instance launch onto a specific host. If no host ID is
19983
+ # ID to have the instance launch onto a specific host. If no host ID is
19959
19984
  # provided, the instance is launched onto a suitable host with
19960
19985
  # auto-placement enabled.
19961
19986
  #
@@ -20483,15 +20508,15 @@ module Aws::EC2
20483
20508
  req.send_request(options)
20484
20509
  end
20485
20510
 
20486
- # Modifies the credit option for CPU usage on a running or stopped T2
20487
- # instance. The credit options are `standard` and `unlimited`.
20511
+ # Modifies the credit option for CPU usage on a running or stopped T2 or
20512
+ # T3 instance. The credit options are `standard` and `unlimited`.
20488
20513
  #
20489
- # For more information, see [T2 Instances][1] in the *Amazon Elastic
20490
- # Compute Cloud User Guide*.
20514
+ # For more information, see [Burstable Performance Instances][1] in the
20515
+ # *Amazon Elastic Compute Cloud User Guide*.
20491
20516
  #
20492
20517
  #
20493
20518
  #
20494
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
20519
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
20495
20520
  #
20496
20521
  # @option params [Boolean] :dry_run
20497
20522
  # Checks whether you have the required permissions for the action,
@@ -21679,7 +21704,7 @@ module Aws::EC2
21679
21704
  # The VPC peering connection options for the accepter VPC.
21680
21705
  #
21681
21706
  # @option params [Boolean] :dry_run
21682
- # Checks whether you have the required permissions for the operation,
21707
+ # Checks whether you have the required permissions for the action,
21683
21708
  # without actually making the request, and provides an error response.
21684
21709
  # If you have the required permissions, the error response is
21685
21710
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -21753,7 +21778,7 @@ module Aws::EC2
21753
21778
  # The instance tenancy attribute for the VPC.
21754
21779
  #
21755
21780
  # @option params [Boolean] :dry_run
21756
- # Checks whether you have the required permissions for the operation,
21781
+ # Checks whether you have the required permissions for the action,
21757
21782
  # without actually making the request, and provides an error response.
21758
21783
  # If you have the required permissions, the error response is
21759
21784
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -22335,13 +22360,13 @@ module Aws::EC2
22335
22360
  # device_name: "String",
22336
22361
  # virtual_name: "String",
22337
22362
  # ebs: {
22338
- # encrypted: false,
22339
22363
  # delete_on_termination: false,
22340
22364
  # iops: 1,
22341
- # kms_key_id: "String",
22342
22365
  # snapshot_id: "String",
22343
22366
  # volume_size: 1,
22344
22367
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
22368
+ # encrypted: false,
22369
+ # kms_key_id: "String",
22345
22370
  # },
22346
22371
  # no_device: "String",
22347
22372
  # },
@@ -22528,8 +22553,8 @@ module Aws::EC2
22528
22553
  # released. On-Demand billing is stopped and the host goes into
22529
22554
  # `released` state. The host ID of Dedicated Hosts that have been
22530
22555
  # released can no longer be specified in another request, for example,
22531
- # ModifyHosts. You must stop or terminate all instances on a host before
22532
- # it can be released.
22556
+ # to modify the host. You must stop or terminate all instances on a host
22557
+ # before it can be released.
22533
22558
  #
22534
22559
  # When Dedicated Hosts are released, it may take some time for them to
22535
22560
  # stop counting toward your limit and you may receive capacity errors
@@ -23244,13 +23269,13 @@ module Aws::EC2
23244
23269
  # device_name: "String",
23245
23270
  # virtual_name: "String",
23246
23271
  # ebs: {
23247
- # encrypted: false,
23248
23272
  # delete_on_termination: false,
23249
23273
  # iops: 1,
23250
- # kms_key_id: "String",
23251
23274
  # snapshot_id: "String",
23252
23275
  # volume_size: 1,
23253
23276
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
23277
+ # encrypted: false,
23278
+ # kms_key_id: "String",
23254
23279
  # },
23255
23280
  # no_device: "String",
23256
23281
  # },
@@ -23551,13 +23576,13 @@ module Aws::EC2
23551
23576
  # device_name: "String",
23552
23577
  # virtual_name: "String",
23553
23578
  # ebs: {
23554
- # encrypted: false,
23555
23579
  # delete_on_termination: false,
23556
23580
  # iops: 1,
23557
- # kms_key_id: "String",
23558
23581
  # snapshot_id: "String",
23559
23582
  # volume_size: 1,
23560
23583
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
23584
+ # encrypted: false,
23585
+ # kms_key_id: "String",
23561
23586
  # },
23562
23587
  # no_device: "String",
23563
23588
  # },
@@ -23634,13 +23659,13 @@ module Aws::EC2
23634
23659
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings #=> Array
23635
23660
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
23636
23661
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
23637
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
23638
23662
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
23639
23663
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
23640
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
23641
23664
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
23642
23665
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
23643
23666
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
23667
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
23668
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
23644
23669
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
23645
23670
  # resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
23646
23671
  # resp.spot_instance_requests[0].launch_specification.iam_instance_profile.arn #=> String
@@ -24535,14 +24560,15 @@ module Aws::EC2
24535
24560
  # @option params [Types::CreditSpecificationRequest] :credit_specification
24536
24561
  # The credit option for CPU usage of the instance. Valid values are
24537
24562
  # `standard` and `unlimited`. To change this attribute after launch, use
24538
- # ModifyInstanceCreditSpecification. For more information, see [T2
24539
- # Instances][1] in the *Amazon Elastic Compute Cloud User Guide*.
24563
+ # ModifyInstanceCreditSpecification. For more information, see
24564
+ # [Burstable Performance Instances][1] in the *Amazon Elastic Compute
24565
+ # Cloud User Guide*.
24540
24566
  #
24541
- # Default: `standard`
24567
+ # Default: `standard` (T2 instances) or `unlimited` (T3 instances)
24542
24568
  #
24543
24569
  #
24544
24570
  #
24545
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
24571
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
24546
24572
  #
24547
24573
  # @option params [Types::CpuOptionsRequest] :cpu_options
24548
24574
  # The CPU options for the instance. For more information, see
@@ -24610,13 +24636,13 @@ module Aws::EC2
24610
24636
  # device_name: "String",
24611
24637
  # virtual_name: "String",
24612
24638
  # ebs: {
24613
- # encrypted: false,
24614
24639
  # delete_on_termination: false,
24615
24640
  # iops: 1,
24616
- # kms_key_id: "String",
24617
24641
  # snapshot_id: "String",
24618
24642
  # volume_size: 1,
24619
24643
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
24644
+ # encrypted: false,
24645
+ # kms_key_id: "String",
24620
24646
  # },
24621
24647
  # no_device: "String",
24622
24648
  # },
@@ -25717,7 +25743,7 @@ module Aws::EC2
25717
25743
  params: params,
25718
25744
  config: config)
25719
25745
  context[:gem_name] = 'aws-sdk-ec2'
25720
- context[:gem_version] = '1.45.0'
25746
+ context[:gem_version] = '1.46.0'
25721
25747
  Seahorse::Client::Request.new(handlers, context)
25722
25748
  end
25723
25749