aws-sdk-ec2 1.366.0 → 1.368.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.
@@ -1059,10 +1059,8 @@ module Aws::EC2
1059
1059
  #
1060
1060
  # @option params [String] :host_maintenance
1061
1061
  # Indicates whether to enable or disable host maintenance for the
1062
- # Dedicated Host. For more information, see [ Host maintenance][1] in
1063
- # the *Amazon EC2 User Guide*.
1064
- #
1065
- # Default: `on`
1062
+ # Dedicated Host. For more information, see [Host maintenance][1] in the
1063
+ # *Amazon EC2 User Guide*.
1066
1064
  #
1067
1065
  #
1068
1066
  #
@@ -1666,7 +1664,7 @@ module Aws::EC2
1666
1664
  # resp = client.associate_address({
1667
1665
  # allocation_id: "AllocationId",
1668
1666
  # instance_id: "InstanceId",
1669
- # public_ip: "String",
1667
+ # public_ip: "EipAllocationPublicIp",
1670
1668
  # allow_reassociation: false,
1671
1669
  # dry_run: false,
1672
1670
  # network_interface_id: "NetworkInterfaceId",
@@ -4093,12 +4091,14 @@ module Aws::EC2
4093
4091
  # Cancels the specified Spot Fleet requests.
4094
4092
  #
4095
4093
  # After you cancel a Spot Fleet request, the Spot Fleet launches no new
4096
- # Spot Instances. You must specify whether the Spot Fleet should also
4097
- # terminate its Spot Instances. If you terminate the instances, the Spot
4098
- # Fleet request enters the `cancelled_terminating` state. Otherwise, the
4099
- # Spot Fleet request enters the `cancelled_running` state and the
4100
- # instances continue to run until they are interrupted or you terminate
4101
- # them manually.
4094
+ # instances.
4095
+ #
4096
+ # You must also specify whether a canceled Spot Fleet request should
4097
+ # terminate its instances. If you choose to terminate the instances, the
4098
+ # Spot Fleet request enters the `cancelled_terminating` state.
4099
+ # Otherwise, the Spot Fleet request enters the `cancelled_running` state
4100
+ # and the instances continue to run until they are interrupted or you
4101
+ # terminate them manually.
4102
4102
  #
4103
4103
  # @option params [Boolean] :dry_run
4104
4104
  # Checks whether you have the required permissions for the action,
@@ -4110,8 +4110,11 @@ module Aws::EC2
4110
4110
  # The IDs of the Spot Fleet requests.
4111
4111
  #
4112
4112
  # @option params [required, Boolean] :terminate_instances
4113
- # Indicates whether to terminate instances for a Spot Fleet request if
4114
- # it is canceled successfully.
4113
+ # Indicates whether to terminate the associated instances when the Spot
4114
+ # Fleet request is canceled. The default is to terminate the instances.
4115
+ #
4116
+ # To let the instances continue to run after the Spot Fleet request is
4117
+ # canceled, specify `no-terminate-instances`.
4115
4118
  #
4116
4119
  # @return [Types::CancelSpotFleetRequestsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4117
4120
  #
@@ -5648,7 +5651,7 @@ module Aws::EC2
5648
5651
  #
5649
5652
  # [1]: https://docs.aws.amazon.com/vpn/latest/s2svpn/cgw-options.html
5650
5653
  #
5651
- # @option params [required, Integer] :bgp_asn
5654
+ # @option params [Integer] :bgp_asn
5652
5655
  # For devices that support BGP, the customer gateway's BGP ASN.
5653
5656
  #
5654
5657
  # Default: 65000
@@ -5712,7 +5715,7 @@ module Aws::EC2
5712
5715
  # @example Request syntax with placeholder values
5713
5716
  #
5714
5717
  # resp = client.create_customer_gateway({
5715
- # bgp_asn: 1, # required
5718
+ # bgp_asn: 1,
5716
5719
  # public_ip: "String",
5717
5720
  # certificate_arn: "String",
5718
5721
  # type: "ipsec.1", # required, accepts ipsec.1
@@ -15274,11 +15277,11 @@ module Aws::EC2
15274
15277
  req.send_request(options)
15275
15278
  end
15276
15279
 
15277
- # Deletes the specified EC2 Fleet.
15280
+ # Deletes the specified EC2 Fleets.
15278
15281
  #
15279
15282
  # After you delete an EC2 Fleet, it launches no new instances.
15280
15283
  #
15281
- # You must specify whether a deleted EC2 Fleet should also terminate its
15284
+ # You must also specify whether a deleted EC2 Fleet should terminate its
15282
15285
  # instances. If you choose to terminate the instances, the EC2 Fleet
15283
15286
  # enters the `deleted_terminating` state. Otherwise, the EC2 Fleet
15284
15287
  # enters the `deleted_running` state, and the instances continue to run
@@ -15315,11 +15318,11 @@ module Aws::EC2
15315
15318
  # The IDs of the EC2 Fleets.
15316
15319
  #
15317
15320
  # @option params [required, Boolean] :terminate_instances
15318
- # Indicates whether to terminate the instances when the EC2 Fleet is
15319
- # deleted. The default is to terminate the instances.
15321
+ # Indicates whether to terminate the associated instances when the EC2
15322
+ # Fleet is deleted. The default is to terminate the instances.
15320
15323
  #
15321
15324
  # To let the instances continue to run after the EC2 Fleet is deleted,
15322
- # specify `NoTerminateInstances`. Supported only for fleets of type
15325
+ # specify `no-terminate-instances`. Supported only for fleets of type
15323
15326
  # `maintain` and `request`.
15324
15327
  #
15325
15328
  # For `instant` fleets, you cannot specify `NoTerminateInstances`. A
@@ -18541,7 +18544,11 @@ module Aws::EC2
18541
18544
  # The ID of the pool that you want to deprovision the CIDR from.
18542
18545
  #
18543
18546
  # @option params [required, String] :cidr
18544
- # The CIDR you want to deprovision from the pool.
18547
+ # The CIDR you want to deprovision from the pool. Enter the CIDR you
18548
+ # want to deprovision with a netmask of `/32`. You must rerun this
18549
+ # command for each IP address in the CIDR range. If your CIDR is a
18550
+ # `/24`, you will have to run this command to deprovision each of the
18551
+ # 256 IP addresses in the `/24` CIDR.
18545
18552
  #
18546
18553
  # @return [Types::DeprovisionPublicIpv4PoolCidrResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18547
18554
  #
@@ -21254,13 +21261,17 @@ module Aws::EC2
21254
21261
  # * `state` - The current state of fast launching for the Windows AMI.
21255
21262
  #
21256
21263
  # @option params [Integer] :max_results
21257
- # The maximum number of results to return in a single call. To retrieve
21258
- # the remaining results, make another request with the returned
21259
- # NextToken value. If this parameter is not specified, then all results
21260
- # are returned.
21264
+ # The maximum number of items to return for this request. To get the
21265
+ # next page of items, make another request with the token returned in
21266
+ # the output. For more information, see [Pagination][1].
21267
+ #
21268
+ #
21269
+ #
21270
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
21261
21271
  #
21262
21272
  # @option params [String] :next_token
21263
- # The token for the next set of results.
21273
+ # The token returned from a previous paginated request. Pagination
21274
+ # continues from the end of the items returned by the previous request.
21264
21275
  #
21265
21276
  # @option params [Boolean] :dry_run
21266
21277
  # Checks whether you have the required permissions for the action,
@@ -21421,13 +21432,17 @@ module Aws::EC2
21421
21432
  # The type of events to describe. By default, all events are described.
21422
21433
  #
21423
21434
  # @option params [Integer] :max_results
21424
- # The maximum number of results to return in a single call. Specify a
21425
- # value between 1 and 1000. The default value is 1000. To retrieve the
21426
- # remaining results, make another call with the returned `NextToken`
21427
- # value.
21435
+ # The maximum number of items to return for this request. To get the
21436
+ # next page of items, make another request with the token returned in
21437
+ # the output. For more information, see [Pagination][1].
21438
+ #
21439
+ #
21440
+ #
21441
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
21428
21442
  #
21429
21443
  # @option params [String] :next_token
21430
- # The token for the next set of results.
21444
+ # The token returned from a previous paginated request. Pagination
21445
+ # continues from the end of the items returned by the previous request.
21431
21446
  #
21432
21447
  # @option params [required, String] :fleet_id
21433
21448
  # The ID of the EC2 Fleet.
@@ -21493,13 +21508,17 @@ module Aws::EC2
21493
21508
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21494
21509
  #
21495
21510
  # @option params [Integer] :max_results
21496
- # The maximum number of results to return in a single call. Specify a
21497
- # value between 1 and 1000. The default value is 1000. To retrieve the
21498
- # remaining results, make another call with the returned `NextToken`
21499
- # value.
21511
+ # The maximum number of items to return for this request. To get the
21512
+ # next page of items, make another request with the token returned in
21513
+ # the output. For more information, see [Pagination][1].
21514
+ #
21515
+ #
21516
+ #
21517
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
21500
21518
  #
21501
21519
  # @option params [String] :next_token
21502
- # The token for the next set of results.
21520
+ # The token returned from a previous paginated request. Pagination
21521
+ # continues from the end of the items returned by the previous request.
21503
21522
  #
21504
21523
  # @option params [required, String] :fleet_id
21505
21524
  # The ID of the EC2 Fleet.
@@ -21567,13 +21586,17 @@ module Aws::EC2
21567
21586
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21568
21587
  #
21569
21588
  # @option params [Integer] :max_results
21570
- # The maximum number of results to return in a single call. Specify a
21571
- # value between 1 and 1000. The default value is 1000. To retrieve the
21572
- # remaining results, make another call with the returned `NextToken`
21573
- # value.
21589
+ # The maximum number of items to return for this request. To get the
21590
+ # next page of items, make another request with the token returned in
21591
+ # the output. For more information, see [Pagination][1].
21592
+ #
21593
+ #
21594
+ #
21595
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
21574
21596
  #
21575
21597
  # @option params [String] :next_token
21576
- # The token for the next set of results.
21598
+ # The token returned from a previous paginated request. Pagination
21599
+ # continues from the end of the items returned by the previous request.
21577
21600
  #
21578
21601
  # @option params [Array<String>] :fleet_ids
21579
21602
  # The IDs of the EC2 Fleets.
@@ -22914,12 +22937,17 @@ module Aws::EC2
22914
22937
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22915
22938
  #
22916
22939
  # @option params [Integer] :max_results
22917
- # The maximum number of results to return with a single call. To
22918
- # retrieve the remaining results, make another call with the returned
22919
- # `nextToken` value.
22940
+ # The maximum number of items to return for this request. To get the
22941
+ # next page of items, make another request with the token returned in
22942
+ # the output. For more information, see [Pagination][1].
22943
+ #
22944
+ #
22945
+ #
22946
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
22920
22947
  #
22921
22948
  # @option params [String] :next_token
22922
- # The token for the next page of results.
22949
+ # The token returned from a previous paginated request. Pagination
22950
+ # continues from the end of the items returned by the previous request.
22923
22951
  #
22924
22952
  # @return [Types::DescribeImagesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22925
22953
  #
@@ -23036,7 +23064,7 @@ module Aws::EC2
23036
23064
  # resp.images[0].tags[0].key #=> String
23037
23065
  # resp.images[0].tags[0].value #=> String
23038
23066
  # resp.images[0].virtualization_type #=> String, one of "hvm", "paravirtual"
23039
- # resp.images[0].boot_mode #=> String, one of "legacy-bios", "uefi"
23067
+ # resp.images[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
23040
23068
  # resp.images[0].tpm_support #=> String, one of "v2.0"
23041
23069
  # resp.images[0].deprecation_time #=> String
23042
23070
  # resp.images[0].imds_support #=> String, one of "v2.0"
@@ -23134,7 +23162,7 @@ module Aws::EC2
23134
23162
  # resp.import_image_tasks[0].license_specifications #=> Array
23135
23163
  # resp.import_image_tasks[0].license_specifications[0].license_configuration_arn #=> String
23136
23164
  # resp.import_image_tasks[0].usage_operation #=> String
23137
- # resp.import_image_tasks[0].boot_mode #=> String, one of "legacy-bios", "uefi"
23165
+ # resp.import_image_tasks[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
23138
23166
  # resp.next_token #=> String
23139
23167
  #
23140
23168
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks AWS API Documentation
@@ -23436,9 +23464,10 @@ module Aws::EC2
23436
23464
  # @option params [Integer] :max_results
23437
23465
  # The maximum number of items to return for this request. To get the
23438
23466
  # next page of items, make another request with the token returned in
23439
- # the output. This value can be between 5 and 1000. You cannot specify
23440
- # this parameter and the instance IDs parameter in the same call. For
23441
- # more information, see [Pagination][1].
23467
+ # the output. For more information, see [Pagination][1].
23468
+ #
23469
+ # You cannot specify this parameter and the instance IDs parameter in
23470
+ # the same call.
23442
23471
  #
23443
23472
  #
23444
23473
  #
@@ -23731,11 +23760,12 @@ module Aws::EC2
23731
23760
  # Constraints: Maximum 100 explicitly specified instance IDs.
23732
23761
  #
23733
23762
  # @option params [Integer] :max_results
23734
- # The maximum number of items to return for this request. To retrieve
23735
- # the next page of items, make another request with the token returned
23736
- # in the output. This value can be between 5 and 1000. You cannot
23737
- # specify this parameter and the instance IDs parameter in the same
23738
- # call. For more information, see [Pagination][1].
23763
+ # The maximum number of items to return for this request. To get the
23764
+ # next page of items, make another request with the token returned in
23765
+ # the output. For more information, see [Pagination][1].
23766
+ #
23767
+ # You cannot specify this parameter and the instance IDs parameter in
23768
+ # the same request.
23739
23769
  #
23740
23770
  #
23741
23771
  #
@@ -24558,9 +24588,10 @@ module Aws::EC2
24558
24588
  # @option params [Integer] :max_results
24559
24589
  # The maximum number of items to return for this request. To get the
24560
24590
  # next page of items, make another request with the token returned in
24561
- # the output. This value can be between 5 and 1000. You cannot specify
24562
- # this parameter and the instance IDs parameter in the same request. For
24563
- # more information, see [Pagination][1].
24591
+ # the output. For more information, see [Pagination][1].
24592
+ #
24593
+ # You cannot specify this parameter and the instance IDs parameter in
24594
+ # the same request.
24564
24595
  #
24565
24596
  #
24566
24597
  #
@@ -24789,7 +24820,7 @@ module Aws::EC2
24789
24820
  # resp.reservations[0].instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
24790
24821
  # resp.reservations[0].instances[0].metadata_options.instance_metadata_tags #=> String, one of "disabled", "enabled"
24791
24822
  # resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
24792
- # resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
24823
+ # resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
24793
24824
  # resp.reservations[0].instances[0].platform_details #=> String
24794
24825
  # resp.reservations[0].instances[0].usage_operation #=> String
24795
24826
  # resp.reservations[0].instances[0].usage_operation_update_time #=> Time
@@ -24799,6 +24830,7 @@ module Aws::EC2
24799
24830
  # resp.reservations[0].instances[0].ipv_6_address #=> String
24800
24831
  # resp.reservations[0].instances[0].tpm_support #=> String
24801
24832
  # resp.reservations[0].instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
24833
+ # resp.reservations[0].instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
24802
24834
  # resp.reservations[0].owner_id #=> String
24803
24835
  # resp.reservations[0].requester_id #=> String
24804
24836
  # resp.reservations[0].reservation_id #=> String
@@ -31007,13 +31039,17 @@ module Aws::EC2
31007
31039
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31008
31040
  #
31009
31041
  # @option params [Integer] :max_results
31010
- # The maximum number of results to return in a single call. Specify a
31011
- # value between 1 and 1000. The default value is 1000. To retrieve the
31012
- # remaining results, make another call with the returned `NextToken`
31013
- # value.
31042
+ # The maximum number of items to return for this request. To get the
31043
+ # next page of items, make another request with the token returned in
31044
+ # the output. For more information, see [Pagination][1].
31045
+ #
31046
+ #
31047
+ #
31048
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31014
31049
  #
31015
31050
  # @option params [String] :next_token
31016
- # The token for the next set of results.
31051
+ # The token to include in another request to get the next page of items.
31052
+ # This value is `null` when there are no more items to return.
31017
31053
  #
31018
31054
  # @option params [required, String] :spot_fleet_request_id
31019
31055
  # The ID of the Spot Fleet request.
@@ -31098,13 +31134,17 @@ module Aws::EC2
31098
31134
  # The type of events to describe. By default, all events are described.
31099
31135
  #
31100
31136
  # @option params [Integer] :max_results
31101
- # The maximum number of results to return in a single call. Specify a
31102
- # value between 1 and 1000. The default value is 1000. To retrieve the
31103
- # remaining results, make another call with the returned `NextToken`
31104
- # value.
31137
+ # The maximum number of items to return for this request. To get the
31138
+ # next page of items, make another request with the token returned in
31139
+ # the output. For more information, see [Pagination][1].
31140
+ #
31141
+ #
31142
+ #
31143
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31105
31144
  #
31106
31145
  # @option params [String] :next_token
31107
- # The token for the next set of results.
31146
+ # The token to include in another request to get the next page of items.
31147
+ # This value is `null` when there are no more items to return.
31108
31148
  #
31109
31149
  # @option params [required, String] :spot_fleet_request_id
31110
31150
  # The ID of the Spot Fleet request.
@@ -31215,13 +31255,17 @@ module Aws::EC2
31215
31255
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31216
31256
  #
31217
31257
  # @option params [Integer] :max_results
31218
- # The maximum number of results to return in a single call. Specify a
31219
- # value between 1 and 1000. The default value is 1000. To retrieve the
31220
- # remaining results, make another call with the returned `NextToken`
31221
- # value.
31258
+ # The maximum number of items to return for this request. To get the
31259
+ # next page of items, make another request with the token returned in
31260
+ # the output. For more information, see [Pagination][1].
31261
+ #
31262
+ #
31263
+ #
31264
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31222
31265
  #
31223
31266
  # @option params [String] :next_token
31224
- # The token for the next set of results.
31267
+ # The token to include in another request to get the next page of items.
31268
+ # This value is `null` when there are no more items to return.
31225
31269
  #
31226
31270
  # @option params [Array<String>] :spot_fleet_request_ids
31227
31271
  # The IDs of the Spot Fleet requests.
@@ -31517,12 +31561,12 @@ module Aws::EC2
31517
31561
  # instance lifecycle is `spot`.
31518
31562
  #
31519
31563
  # We recommend that you set `MaxResults` to a value between 5 and 1000
31520
- # to limit the number of results returned. This paginates the output,
31521
- # which makes the list more manageable and returns the results faster.
31522
- # If the list of results exceeds your `MaxResults` value, then that
31523
- # number of results is returned along with a `NextToken` value that can
31524
- # be passed to a subsequent `DescribeSpotInstanceRequests` request to
31525
- # retrieve the remaining results.
31564
+ # to limit the number of items returned. This paginates the output,
31565
+ # which makes the list more manageable and returns the items faster. If
31566
+ # the list of items exceeds your `MaxResults` value, then that number of
31567
+ # items is returned along with a `NextToken` value that can be passed to
31568
+ # a subsequent `DescribeSpotInstanceRequests` request to retrieve the
31569
+ # remaining items.
31526
31570
  #
31527
31571
  # Spot Instance requests are deleted four hours after they are canceled
31528
31572
  # and their instances are terminated.
@@ -31663,13 +31707,17 @@ module Aws::EC2
31663
31707
  # One or more Spot Instance request IDs.
31664
31708
  #
31665
31709
  # @option params [String] :next_token
31666
- # The token to request the next set of results. This value is `null`
31667
- # when there are no more results to return.
31710
+ # The token returned from a previous paginated request. Pagination
31711
+ # continues from the end of the items returned by the previous request.
31668
31712
  #
31669
31713
  # @option params [Integer] :max_results
31670
- # The maximum number of results to return in a single call. Specify a
31671
- # value between 5 and 1000. To retrieve the remaining results, make
31672
- # another call with the returned `NextToken` value.
31714
+ # The maximum number of items to return for this request. To get the
31715
+ # next page of items, make another request with the token returned in
31716
+ # the output. For more information, see [Pagination][1].
31717
+ #
31718
+ #
31719
+ #
31720
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31673
31721
  #
31674
31722
  # @return [Types::DescribeSpotInstanceRequestsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
31675
31723
  #
@@ -31899,13 +31947,17 @@ module Aws::EC2
31899
31947
  # Filters the results by the specified instance types.
31900
31948
  #
31901
31949
  # @option params [Integer] :max_results
31902
- # The maximum number of results to return in a single call. Specify a
31903
- # value between 1 and 1000. The default value is 1000. To retrieve the
31904
- # remaining results, make another call with the returned `NextToken`
31905
- # value.
31950
+ # The maximum number of items to return for this request. To get the
31951
+ # next page of items, make another request with the token returned in
31952
+ # the output. For more information, see [Pagination][1].
31953
+ #
31954
+ #
31955
+ #
31956
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31906
31957
  #
31907
31958
  # @option params [String] :next_token
31908
- # The token for the next set of results.
31959
+ # The token returned from a previous paginated request. Pagination
31960
+ # continues from the end of the items returned by the previous request.
31909
31961
  #
31910
31962
  # @option params [Array<String>] :product_descriptions
31911
31963
  # Filters the results by the specified basic product descriptions.
@@ -32134,13 +32186,20 @@ module Aws::EC2
32134
32186
  # specific bucket. For the filter value, specify the bucket name.
32135
32187
  #
32136
32188
  # @option params [String] :next_token
32137
- # The token for the next page of results.
32189
+ # The token returned from a previous paginated request. Pagination
32190
+ # continues from the end of the items returned by the previous request.
32138
32191
  #
32139
32192
  # @option params [Integer] :max_results
32140
- # The maximum number of results to return in a single call. To retrieve
32141
- # the remaining results, make another call with the returned `NextToken`
32142
- # value. This value can be between 1 and 200. You cannot specify this
32143
- # parameter and the `ImageIDs` parameter in the same call.
32193
+ # The maximum number of items to return for this request. To get the
32194
+ # next page of items, make another request with the token returned in
32195
+ # the output. For more information, see [Pagination][1].
32196
+ #
32197
+ # You cannot specify this parameter and the `ImageIDs` parameter in the
32198
+ # same call.
32199
+ #
32200
+ #
32201
+ #
32202
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
32144
32203
  #
32145
32204
  # @return [Types::DescribeStoreImageTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
32146
32205
  #
@@ -37184,7 +37243,7 @@ module Aws::EC2
37184
37243
  #
37185
37244
  # resp = client.disassociate_address({
37186
37245
  # association_id: "ElasticIpAssociationId",
37187
- # public_ip: "String",
37246
+ # public_ip: "EipAllocationPublicIp",
37188
37247
  # dry_run: false,
37189
37248
  # })
37190
37249
  #
@@ -38060,8 +38119,9 @@ module Aws::EC2
38060
38119
  # either the name or ID of the launch template, but not both.
38061
38120
  #
38062
38121
  # @option params [Integer] :max_parallel_launches
38063
- # The maximum number of parallel instances to launch for creating
38064
- # resources. Value must be `6` or greater.
38122
+ # The maximum number of instances that Amazon EC2 can launch at the same
38123
+ # time to create pre-provisioned snapshots for Windows faster launching.
38124
+ # Value must be `6` or greater.
38065
38125
  #
38066
38126
  # @option params [Boolean] :dry_run
38067
38127
  # Checks whether you have the required permissions for the action,
@@ -39655,13 +39715,17 @@ module Aws::EC2
39655
39715
  # The attributes required for the instance types.
39656
39716
  #
39657
39717
  # @option params [Integer] :max_results
39658
- # The maximum number of results to return in a single call. Specify a
39659
- # value between 1 and
 1000. The default value is 1000. To retrieve the
39660
- # remaining results, make another call with
 the returned `NextToken`
39661
- # value.
39718
+ # The maximum number of items to return for this request. To get the
39719
+ # next page of and
 1000.items, make another request with the token returned in
39720
+ # the output. For more information, with
 thesee [Pagination][1].
39721
+ #
39722
+ #
39723
+ #
39724
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
39662
39725
  #
39663
39726
  # @option params [String] :next_token
39664
- # The token for the next set of results.
39727
+ # The token returned from a previous paginated request. Pagination
39728
+ # continues from the end of the items returned by the previous request.
39665
39729
  #
39666
39730
  # @return [Types::GetInstanceTypesFromInstanceRequirementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
39667
39731
  #
@@ -41290,13 +41354,17 @@ module Aws::EC2
41290
41354
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
41291
41355
  #
41292
41356
  # @option params [Integer] :max_results
41293
- # The maximum number of results to return in a single call. Specify a
41294
- # value between 1 and
 1000. The default value is 1000. To retrieve the
41295
- # remaining results, make another call with
 the returned `NextToken`
41296
- # value.
41357
+ # The maximum number of items to return for this request. To get the
41358
+ # next page of and
 1000.items, make another request with the token returned in
41359
+ # the output. For more information, with
 thesee [Pagination][1].
41360
+ #
41361
+ #
41362
+ #
41363
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
41297
41364
  #
41298
41365
  # @option params [String] :next_token
41299
- # The token for the next set of results.
41366
+ # The token returned from a previous paginated request. Pagination
41367
+ # continues from the end of the items returned by the previous request.
41300
41368
  #
41301
41369
  # @return [Types::GetSpotPlacementScoresResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
41302
41370
  #
@@ -42221,6 +42289,13 @@ module Aws::EC2
42221
42289
  req.send_request(options)
42222
42290
  end
42223
42291
 
42292
+ # <note markdown="1"> To import your virtual machines (VMs) with a console-based experience,
42293
+ # you can use the *Import virtual machine images to Amazon Web Services*
42294
+ # template in the [Migration Hub Orchestrator console][1]. For more
42295
+ # information, see the [ *Migration Hub Orchestrator User Guide* ][2].
42296
+ #
42297
+ # </note>
42298
+ #
42224
42299
  # Import single or multi-volume disk images or EBS snapshots into an
42225
42300
  # Amazon Machine Image (AMI).
42226
42301
  #
@@ -42230,11 +42305,13 @@ module Aws::EC2
42230
42305
  # system is licensed appropriately and your billing is optimized.
42231
42306
  #
42232
42307
  # For more information, see [Importing a VM as an image using VM
42233
- # Import/Export][1] in the *VM Import/Export User Guide*.
42308
+ # Import/Export][3] in the *VM Import/Export User Guide*.
42234
42309
  #
42235
42310
  #
42236
42311
  #
42237
- # [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
42312
+ # [1]: https://console.aws.amazon.com/migrationhub/orchestrator
42313
+ # [2]: https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/import-vm-images.html
42314
+ # [3]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
42238
42315
  #
42239
42316
  # @option params [String] :architecture
42240
42317
  # The architecture of the virtual machine.
@@ -42428,7 +42505,7 @@ module Aws::EC2
42428
42505
  # },
42429
42506
  # ],
42430
42507
  # usage_operation: "String",
42431
- # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
42508
+ # boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
42432
42509
  # })
42433
42510
  #
42434
42511
  # @example Response structure
@@ -42949,16 +43026,13 @@ module Aws::EC2
42949
43026
  # single request.
42950
43027
  #
42951
43028
  # @option params [String] :next_token
42952
- # The token for the next page of results.
43029
+ # The token returned from a previous paginated request. Pagination
43030
+ # continues from the end of the items returned by the previous request.
42953
43031
  #
42954
43032
  # @option params [Integer] :max_results
42955
- # The maximum number of results to return with a single call. To
42956
- # retrieve the remaining results, make another call with the returned
42957
- # `nextToken` value.
42958
- #
42959
- # If you do not specify a value for *MaxResults*, the request returns
42960
- # 1,000 items per page by default. For more information, see [
42961
- # Pagination][1].
43033
+ # The maximum number of items to return for this request. To get the
43034
+ # next page of items, make another request with the token returned in
43035
+ # the output. For more information, see [Pagination][1].
42962
43036
  #
42963
43037
  #
42964
43038
  #
@@ -44109,9 +44183,11 @@ module Aws::EC2
44109
44183
  end
44110
44184
 
44111
44185
  # Modifies the specified attribute of the specified AMI. You can specify
44112
- # only one attribute at a time. You can use the `Attribute` parameter to
44113
- # specify the attribute or one of the following parameters:
44114
- # `Description` or `LaunchPermission`.
44186
+ # only one attribute at a time.
44187
+ #
44188
+ # To specify the attribute, you can use the `Attribute` parameter, or
44189
+ # one of the following parameters: `Description`, `ImdsSupport`, or
44190
+ # `LaunchPermission`.
44115
44191
  #
44116
44192
  # Images with an Amazon Web Services Marketplace product code cannot be
44117
44193
  # made public.
@@ -44123,7 +44199,7 @@ module Aws::EC2
44123
44199
  # @option params [String] :attribute
44124
44200
  # The name of the attribute to modify.
44125
44201
  #
44126
- # Valid values: `description` \| `launchPermission`
44202
+ # Valid values: `description` \| `imdsSupport` \| `launchPermission`
44127
44203
  #
44128
44204
  # @option params [Types::AttributeValue] :description
44129
44205
  # A new description for the AMI.
@@ -44151,7 +44227,7 @@ module Aws::EC2
44151
44227
  #
44152
44228
  # @option params [String] :value
44153
44229
  # The value of the attribute being modified. This parameter can be used
44154
- # only when the `Attribute` parameter is `description`.
44230
+ # only when the `Attribute` parameter is `description` or `imdsSupport`.
44155
44231
  #
44156
44232
  # @option params [Boolean] :dry_run
44157
44233
  # Checks whether you have the required permissions for the action,
@@ -44168,6 +44244,22 @@ module Aws::EC2
44168
44244
  # parameter can be used only when the `Attribute` parameter is
44169
44245
  # `launchPermission`.
44170
44246
  #
44247
+ # @option params [Types::AttributeValue] :imds_support
44248
+ # Set to `v2.0` to indicate that IMDSv2 is specified in the AMI.
44249
+ # Instances launched from this AMI will have `HttpTokens` automatically
44250
+ # set to `required` so that, by default, the instance requires that
44251
+ # IMDSv2 is used when requesting instance metadata. In addition,
44252
+ # `HttpPutResponseHopLimit` is set to `2`. For more information, see
44253
+ # [Configure the AMI][1] in the *Amazon EC2 User Guide*.
44254
+ #
44255
+ # Do not use this parameter unless your AMI software supports IMDSv2.
44256
+ # After you set the value to `v2.0`, you can't undo it. The only way to
44257
+ # “reset” your AMI is to create a new AMI from the underlying snapshot.
44258
+ #
44259
+ #
44260
+ #
44261
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
44262
+ #
44171
44263
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
44172
44264
  #
44173
44265
  #
@@ -44241,6 +44333,7 @@ module Aws::EC2
44241
44333
  # dry_run: false,
44242
44334
  # organization_arns: ["String"],
44243
44335
  # organizational_unit_arns: ["String"],
44336
+ # imds_support: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
44244
44337
  # })
44245
44338
  #
44246
44339
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute AWS API Documentation
@@ -48116,12 +48209,12 @@ module Aws::EC2
48116
48209
  # can enable DNS resolution for queries from the local VPC. This ensures
48117
48210
  # that queries from the local VPC resolve to private IP addresses in the
48118
48211
  # peer VPC. This option is not available if the peered VPCs are in
48119
- # different different Amazon Web Services accounts or different Regions.
48120
- # For peered VPCs in different Amazon Web Services accounts, each Amazon
48121
- # Web Services account owner must initiate a separate request to modify
48122
- # the peering connection options. For inter-region peering connections,
48123
- # you must use the Region for the requester VPC to modify the requester
48124
- # VPC peering options and the Region for the accepter VPC to modify the
48212
+ # different Amazon Web Services accounts or different Regions. For
48213
+ # peered VPCs in different Amazon Web Services accounts, each Amazon Web
48214
+ # Services account owner must initiate a separate request to modify the
48215
+ # peering connection options. For inter-region peering connections, you
48216
+ # must use the Region for the requester VPC to modify the requester VPC
48217
+ # peering options and the Region for the accepter VPC to modify the
48125
48218
  # accepter VPC peering options. To verify which VPCs are the accepter
48126
48219
  # and the requester for a VPC peering connection, use the
48127
48220
  # DescribeVpcPeeringConnections command.
@@ -49731,8 +49824,16 @@ module Aws::EC2
49731
49824
  # Default: `paravirtual`
49732
49825
  #
49733
49826
  # @option params [String] :boot_mode
49734
- # The boot mode of the AMI. For more information, see [Boot modes][1] in
49735
- # the *Amazon EC2 User Guide*.
49827
+ # The boot mode of the AMI. A value of `uefi-preferred` indicates that
49828
+ # the AMI supports both UEFI and Legacy BIOS.
49829
+ #
49830
+ # <note markdown="1"> The operating system contained in the AMI must be configured to
49831
+ # support the specified boot mode.
49832
+ #
49833
+ # </note>
49834
+ #
49835
+ # For more information, see [Boot modes][1] in the *Amazon EC2 User
49836
+ # Guide*.
49736
49837
  #
49737
49838
  #
49738
49839
  #
@@ -49813,7 +49914,7 @@ module Aws::EC2
49813
49914
  # root_device_name: "String",
49814
49915
  # sriov_net_support: "String",
49815
49916
  # virtualization_type: "String",
49816
- # boot_mode: "legacy-bios", # accepts legacy-bios, uefi
49917
+ # boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
49817
49918
  # tpm_support: "v2.0", # accepts v2.0
49818
49919
  # uefi_data: "StringType",
49819
49920
  # imds_support: "v2.0", # accepts v2.0
@@ -53683,7 +53784,7 @@ module Aws::EC2
53683
53784
  # resp.instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
53684
53785
  # resp.instances[0].metadata_options.instance_metadata_tags #=> String, one of "disabled", "enabled"
53685
53786
  # resp.instances[0].enclave_options.enabled #=> Boolean
53686
- # resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
53787
+ # resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi", "uefi-preferred"
53687
53788
  # resp.instances[0].platform_details #=> String
53688
53789
  # resp.instances[0].usage_operation #=> String
53689
53790
  # resp.instances[0].usage_operation_update_time #=> Time
@@ -53693,6 +53794,7 @@ module Aws::EC2
53693
53794
  # resp.instances[0].ipv_6_address #=> String
53694
53795
  # resp.instances[0].tpm_support #=> String
53695
53796
  # resp.instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
53797
+ # resp.instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
53696
53798
  # resp.owner_id #=> String
53697
53799
  # resp.requester_id #=> String
53698
53800
  # resp.reservation_id #=> String
@@ -56006,7 +56108,7 @@ module Aws::EC2
56006
56108
  params: params,
56007
56109
  config: config)
56008
56110
  context[:gem_name] = 'aws-sdk-ec2'
56009
- context[:gem_version] = '1.366.0'
56111
+ context[:gem_version] = '1.368.0'
56010
56112
  Seahorse::Client::Request.new(handlers, context)
56011
56113
  end
56012
56114