aws-sdk-ec2 1.365.0 → 1.367.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.
@@ -1057,6 +1057,15 @@ module Aws::EC2
1057
1057
  # The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
1058
1058
  # which to allocate the Dedicated Host.
1059
1059
  #
1060
+ # @option params [String] :host_maintenance
1061
+ # Indicates whether to enable or disable host maintenance for the
1062
+ # Dedicated Host. For more information, see [Host maintenance][1] in the
1063
+ # *Amazon EC2 User Guide*.
1064
+ #
1065
+ #
1066
+ #
1067
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
1068
+ #
1060
1069
  # @return [Types::AllocateHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1061
1070
  #
1062
1071
  # * {Types::AllocateHostsResult#host_ids #host_ids} => Array<String>
@@ -1083,6 +1092,7 @@ module Aws::EC2
1083
1092
  # ],
1084
1093
  # host_recovery: "on", # accepts on, off
1085
1094
  # outpost_arn: "String",
1095
+ # host_maintenance: "on", # accepts on, off
1086
1096
  # })
1087
1097
  #
1088
1098
  # @example Response structure
@@ -1654,7 +1664,7 @@ module Aws::EC2
1654
1664
  # resp = client.associate_address({
1655
1665
  # allocation_id: "AllocationId",
1656
1666
  # instance_id: "InstanceId",
1657
- # public_ip: "String",
1667
+ # public_ip: "EipAllocationPublicIp",
1658
1668
  # allow_reassociation: false,
1659
1669
  # dry_run: false,
1660
1670
  # network_interface_id: "NetworkInterfaceId",
@@ -4081,12 +4091,14 @@ module Aws::EC2
4081
4091
  # Cancels the specified Spot Fleet requests.
4082
4092
  #
4083
4093
  # After you cancel a Spot Fleet request, the Spot Fleet launches no new
4084
- # Spot Instances. You must specify whether the Spot Fleet should also
4085
- # terminate its Spot Instances. If you terminate the instances, the Spot
4086
- # Fleet request enters the `cancelled_terminating` state. Otherwise, the
4087
- # Spot Fleet request enters the `cancelled_running` state and the
4088
- # instances continue to run until they are interrupted or you terminate
4089
- # 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.
4090
4102
  #
4091
4103
  # @option params [Boolean] :dry_run
4092
4104
  # Checks whether you have the required permissions for the action,
@@ -4098,8 +4110,11 @@ module Aws::EC2
4098
4110
  # The IDs of the Spot Fleet requests.
4099
4111
  #
4100
4112
  # @option params [required, Boolean] :terminate_instances
4101
- # Indicates whether to terminate instances for a Spot Fleet request if
4102
- # 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`.
4103
4118
  #
4104
4119
  # @return [Types::CancelSpotFleetRequestsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4105
4120
  #
@@ -15262,11 +15277,11 @@ module Aws::EC2
15262
15277
  req.send_request(options)
15263
15278
  end
15264
15279
 
15265
- # Deletes the specified EC2 Fleet.
15280
+ # Deletes the specified EC2 Fleets.
15266
15281
  #
15267
15282
  # After you delete an EC2 Fleet, it launches no new instances.
15268
15283
  #
15269
- # 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
15270
15285
  # instances. If you choose to terminate the instances, the EC2 Fleet
15271
15286
  # enters the `deleted_terminating` state. Otherwise, the EC2 Fleet
15272
15287
  # enters the `deleted_running` state, and the instances continue to run
@@ -15303,11 +15318,11 @@ module Aws::EC2
15303
15318
  # The IDs of the EC2 Fleets.
15304
15319
  #
15305
15320
  # @option params [required, Boolean] :terminate_instances
15306
- # Indicates whether to terminate the instances when the EC2 Fleet is
15307
- # 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.
15308
15323
  #
15309
15324
  # To let the instances continue to run after the EC2 Fleet is deleted,
15310
- # specify `NoTerminateInstances`. Supported only for fleets of type
15325
+ # specify `no-terminate-instances`. Supported only for fleets of type
15311
15326
  # `maintain` and `request`.
15312
15327
  #
15313
15328
  # For `instant` fleets, you cannot specify `NoTerminateInstances`. A
@@ -18529,7 +18544,11 @@ module Aws::EC2
18529
18544
  # The ID of the pool that you want to deprovision the CIDR from.
18530
18545
  #
18531
18546
  # @option params [required, String] :cidr
18532
- # 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.
18533
18552
  #
18534
18553
  # @return [Types::DeprovisionPublicIpv4PoolCidrResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18535
18554
  #
@@ -21242,13 +21261,17 @@ module Aws::EC2
21242
21261
  # * `state` - The current state of fast launching for the Windows AMI.
21243
21262
  #
21244
21263
  # @option params [Integer] :max_results
21245
- # The maximum number of results to return in a single call. To retrieve
21246
- # the remaining results, make another request with the returned
21247
- # NextToken value. If this parameter is not specified, then all results
21248
- # 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
21249
21271
  #
21250
21272
  # @option params [String] :next_token
21251
- # 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.
21252
21275
  #
21253
21276
  # @option params [Boolean] :dry_run
21254
21277
  # Checks whether you have the required permissions for the action,
@@ -21409,13 +21432,17 @@ module Aws::EC2
21409
21432
  # The type of events to describe. By default, all events are described.
21410
21433
  #
21411
21434
  # @option params [Integer] :max_results
21412
- # The maximum number of results to return in a single call. Specify a
21413
- # value between 1 and 1000. The default value is 1000. To retrieve the
21414
- # remaining results, make another call with the returned `NextToken`
21415
- # 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
21416
21442
  #
21417
21443
  # @option params [String] :next_token
21418
- # 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.
21419
21446
  #
21420
21447
  # @option params [required, String] :fleet_id
21421
21448
  # The ID of the EC2 Fleet.
@@ -21481,13 +21508,17 @@ module Aws::EC2
21481
21508
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21482
21509
  #
21483
21510
  # @option params [Integer] :max_results
21484
- # The maximum number of results to return in a single call. Specify a
21485
- # value between 1 and 1000. The default value is 1000. To retrieve the
21486
- # remaining results, make another call with the returned `NextToken`
21487
- # 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
21488
21518
  #
21489
21519
  # @option params [String] :next_token
21490
- # 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.
21491
21522
  #
21492
21523
  # @option params [required, String] :fleet_id
21493
21524
  # The ID of the EC2 Fleet.
@@ -21555,13 +21586,17 @@ module Aws::EC2
21555
21586
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21556
21587
  #
21557
21588
  # @option params [Integer] :max_results
21558
- # The maximum number of results to return in a single call. Specify a
21559
- # value between 1 and 1000. The default value is 1000. To retrieve the
21560
- # remaining results, make another call with the returned `NextToken`
21561
- # 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
21562
21596
  #
21563
21597
  # @option params [String] :next_token
21564
- # 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.
21565
21600
  #
21566
21601
  # @option params [Array<String>] :fleet_ids
21567
21602
  # The IDs of the EC2 Fleets.
@@ -22398,6 +22433,7 @@ module Aws::EC2
22398
22433
  # resp.hosts[0].availability_zone_id #=> String
22399
22434
  # resp.hosts[0].member_of_service_linked_resource_group #=> Boolean
22400
22435
  # resp.hosts[0].outpost_arn #=> String
22436
+ # resp.hosts[0].host_maintenance #=> String, one of "on", "off"
22401
22437
  # resp.next_token #=> String
22402
22438
  #
22403
22439
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
@@ -22901,12 +22937,17 @@ module Aws::EC2
22901
22937
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22902
22938
  #
22903
22939
  # @option params [Integer] :max_results
22904
- # The maximum number of results to return with a single call. To
22905
- # retrieve the remaining results, make another call with the returned
22906
- # `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
22907
22947
  #
22908
22948
  # @option params [String] :next_token
22909
- # 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.
22910
22951
  #
22911
22952
  # @return [Types::DescribeImagesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22912
22953
  #
@@ -23423,9 +23464,10 @@ module Aws::EC2
23423
23464
  # @option params [Integer] :max_results
23424
23465
  # The maximum number of items to return for this request. To get the
23425
23466
  # next page of items, make another request with the token returned in
23426
- # the output. This value can be between 5 and 1000. You cannot specify
23427
- # this parameter and the instance IDs parameter in the same call. For
23428
- # 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.
23429
23471
  #
23430
23472
  #
23431
23473
  #
@@ -23718,11 +23760,12 @@ module Aws::EC2
23718
23760
  # Constraints: Maximum 100 explicitly specified instance IDs.
23719
23761
  #
23720
23762
  # @option params [Integer] :max_results
23721
- # The maximum number of items to return for this request. To retrieve
23722
- # the next page of items, make another request with the token returned
23723
- # in the output. This value can be between 5 and 1000. You cannot
23724
- # specify this parameter and the instance IDs parameter in the same
23725
- # 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.
23726
23769
  #
23727
23770
  #
23728
23771
  #
@@ -24545,9 +24588,10 @@ module Aws::EC2
24545
24588
  # @option params [Integer] :max_results
24546
24589
  # The maximum number of items to return for this request. To get the
24547
24590
  # next page of items, make another request with the token returned in
24548
- # the output. This value can be between 5 and 1000. You cannot specify
24549
- # this parameter and the instance IDs parameter in the same request. For
24550
- # 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.
24551
24595
  #
24552
24596
  #
24553
24597
  #
@@ -30994,13 +31038,17 @@ module Aws::EC2
30994
31038
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
30995
31039
  #
30996
31040
  # @option params [Integer] :max_results
30997
- # The maximum number of results to return in a single call. Specify a
30998
- # value between 1 and 1000. The default value is 1000. To retrieve the
30999
- # remaining results, make another call with the returned `NextToken`
31000
- # value.
31041
+ # The maximum number of items to return for this request. To get the
31042
+ # next page of items, make another request with the token returned in
31043
+ # the output. For more information, see [Pagination][1].
31044
+ #
31045
+ #
31046
+ #
31047
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31001
31048
  #
31002
31049
  # @option params [String] :next_token
31003
- # The token for the next set of results.
31050
+ # The token to include in another request to get the next page of items.
31051
+ # This value is `null` when there are no more items to return.
31004
31052
  #
31005
31053
  # @option params [required, String] :spot_fleet_request_id
31006
31054
  # The ID of the Spot Fleet request.
@@ -31085,13 +31133,17 @@ module Aws::EC2
31085
31133
  # The type of events to describe. By default, all events are described.
31086
31134
  #
31087
31135
  # @option params [Integer] :max_results
31088
- # The maximum number of results to return in a single call. Specify a
31089
- # value between 1 and 1000. The default value is 1000. To retrieve the
31090
- # remaining results, make another call with the returned `NextToken`
31091
- # value.
31136
+ # The maximum number of items to return for this request. To get the
31137
+ # next page of items, make another request with the token returned in
31138
+ # the output. For more information, see [Pagination][1].
31139
+ #
31140
+ #
31141
+ #
31142
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31092
31143
  #
31093
31144
  # @option params [String] :next_token
31094
- # The token for the next set of results.
31145
+ # The token to include in another request to get the next page of items.
31146
+ # This value is `null` when there are no more items to return.
31095
31147
  #
31096
31148
  # @option params [required, String] :spot_fleet_request_id
31097
31149
  # The ID of the Spot Fleet request.
@@ -31202,13 +31254,17 @@ module Aws::EC2
31202
31254
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31203
31255
  #
31204
31256
  # @option params [Integer] :max_results
31205
- # The maximum number of results to return in a single call. Specify a
31206
- # value between 1 and 1000. The default value is 1000. To retrieve the
31207
- # remaining results, make another call with the returned `NextToken`
31208
- # value.
31257
+ # The maximum number of items to return for this request. To get the
31258
+ # next page of items, make another request with the token returned in
31259
+ # the output. For more information, see [Pagination][1].
31260
+ #
31261
+ #
31262
+ #
31263
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31209
31264
  #
31210
31265
  # @option params [String] :next_token
31211
- # The token for the next set of results.
31266
+ # The token to include in another request to get the next page of items.
31267
+ # This value is `null` when there are no more items to return.
31212
31268
  #
31213
31269
  # @option params [Array<String>] :spot_fleet_request_ids
31214
31270
  # The IDs of the Spot Fleet requests.
@@ -31504,12 +31560,12 @@ module Aws::EC2
31504
31560
  # instance lifecycle is `spot`.
31505
31561
  #
31506
31562
  # We recommend that you set `MaxResults` to a value between 5 and 1000
31507
- # to limit the number of results returned. This paginates the output,
31508
- # which makes the list more manageable and returns the results faster.
31509
- # If the list of results exceeds your `MaxResults` value, then that
31510
- # number of results is returned along with a `NextToken` value that can
31511
- # be passed to a subsequent `DescribeSpotInstanceRequests` request to
31512
- # retrieve the remaining results.
31563
+ # to limit the number of items returned. This paginates the output,
31564
+ # which makes the list more manageable and returns the items faster. If
31565
+ # the list of items exceeds your `MaxResults` value, then that number of
31566
+ # items is returned along with a `NextToken` value that can be passed to
31567
+ # a subsequent `DescribeSpotInstanceRequests` request to retrieve the
31568
+ # remaining items.
31513
31569
  #
31514
31570
  # Spot Instance requests are deleted four hours after they are canceled
31515
31571
  # and their instances are terminated.
@@ -31650,13 +31706,17 @@ module Aws::EC2
31650
31706
  # One or more Spot Instance request IDs.
31651
31707
  #
31652
31708
  # @option params [String] :next_token
31653
- # The token to request the next set of results. This value is `null`
31654
- # when there are no more results to return.
31709
+ # The token returned from a previous paginated request. Pagination
31710
+ # continues from the end of the items returned by the previous request.
31655
31711
  #
31656
31712
  # @option params [Integer] :max_results
31657
- # The maximum number of results to return in a single call. Specify a
31658
- # value between 5 and 1000. To retrieve the remaining results, make
31659
- # another call with the returned `NextToken` value.
31713
+ # The maximum number of items to return for this request. To get the
31714
+ # next page of items, make another request with the token returned in
31715
+ # the output. For more information, see [Pagination][1].
31716
+ #
31717
+ #
31718
+ #
31719
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31660
31720
  #
31661
31721
  # @return [Types::DescribeSpotInstanceRequestsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
31662
31722
  #
@@ -31886,13 +31946,17 @@ module Aws::EC2
31886
31946
  # Filters the results by the specified instance types.
31887
31947
  #
31888
31948
  # @option params [Integer] :max_results
31889
- # The maximum number of results to return in a single call. Specify a
31890
- # value between 1 and 1000. The default value is 1000. To retrieve the
31891
- # remaining results, make another call with the returned `NextToken`
31892
- # value.
31949
+ # The maximum number of items to return for this request. To get the
31950
+ # next page of items, make another request with the token returned in
31951
+ # the output. For more information, see [Pagination][1].
31952
+ #
31953
+ #
31954
+ #
31955
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
31893
31956
  #
31894
31957
  # @option params [String] :next_token
31895
- # The token for the next set of results.
31958
+ # The token returned from a previous paginated request. Pagination
31959
+ # continues from the end of the items returned by the previous request.
31896
31960
  #
31897
31961
  # @option params [Array<String>] :product_descriptions
31898
31962
  # Filters the results by the specified basic product descriptions.
@@ -32121,13 +32185,20 @@ module Aws::EC2
32121
32185
  # specific bucket. For the filter value, specify the bucket name.
32122
32186
  #
32123
32187
  # @option params [String] :next_token
32124
- # The token for the next page of results.
32188
+ # The token returned from a previous paginated request. Pagination
32189
+ # continues from the end of the items returned by the previous request.
32125
32190
  #
32126
32191
  # @option params [Integer] :max_results
32127
- # The maximum number of results to return in a single call. To retrieve
32128
- # the remaining results, make another call with the returned `NextToken`
32129
- # value. This value can be between 1 and 200. You cannot specify this
32130
- # parameter and the `ImageIDs` parameter in the same call.
32192
+ # The maximum number of items to return for this request. To get the
32193
+ # next page of items, make another request with the token returned in
32194
+ # the output. For more information, see [Pagination][1].
32195
+ #
32196
+ # You cannot specify this parameter and the `ImageIDs` parameter in the
32197
+ # same call.
32198
+ #
32199
+ #
32200
+ #
32201
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
32131
32202
  #
32132
32203
  # @return [Types::DescribeStoreImageTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
32133
32204
  #
@@ -37171,7 +37242,7 @@ module Aws::EC2
37171
37242
  #
37172
37243
  # resp = client.disassociate_address({
37173
37244
  # association_id: "ElasticIpAssociationId",
37174
- # public_ip: "String",
37245
+ # public_ip: "EipAllocationPublicIp",
37175
37246
  # dry_run: false,
37176
37247
  # })
37177
37248
  #
@@ -38047,8 +38118,9 @@ module Aws::EC2
38047
38118
  # either the name or ID of the launch template, but not both.
38048
38119
  #
38049
38120
  # @option params [Integer] :max_parallel_launches
38050
- # The maximum number of parallel instances to launch for creating
38051
- # resources. Value must be `6` or greater.
38121
+ # The maximum number of instances that Amazon EC2 can launch at the same
38122
+ # time to create pre-provisioned snapshots for Windows faster launching.
38123
+ # Value must be `6` or greater.
38052
38124
  #
38053
38125
  # @option params [Boolean] :dry_run
38054
38126
  # Checks whether you have the required permissions for the action,
@@ -39642,13 +39714,17 @@ module Aws::EC2
39642
39714
  # The attributes required for the instance types.
39643
39715
  #
39644
39716
  # @option params [Integer] :max_results
39645
- # The maximum number of results to return in a single call. Specify a
39646
- # value between 1 and
 1000. The default value is 1000. To retrieve the
39647
- # remaining results, make another call with
 the returned `NextToken`
39648
- # value.
39717
+ # The maximum number of items to return for this request. To get the
39718
+ # next page of and
 1000.items, make another request with the token returned in
39719
+ # the output. For more information, with
 thesee [Pagination][1].
39720
+ #
39721
+ #
39722
+ #
39723
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
39649
39724
  #
39650
39725
  # @option params [String] :next_token
39651
- # The token for the next set of results.
39726
+ # The token returned from a previous paginated request. Pagination
39727
+ # continues from the end of the items returned by the previous request.
39652
39728
  #
39653
39729
  # @return [Types::GetInstanceTypesFromInstanceRequirementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
39654
39730
  #
@@ -41277,13 +41353,17 @@ module Aws::EC2
41277
41353
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
41278
41354
  #
41279
41355
  # @option params [Integer] :max_results
41280
- # The maximum number of results to return in a single call. Specify a
41281
- # value between 1 and
 1000. The default value is 1000. To retrieve the
41282
- # remaining results, make another call with
 the returned `NextToken`
41283
- # value.
41356
+ # The maximum number of items to return for this request. To get the
41357
+ # next page of and
 1000.items, make another request with the token returned in
41358
+ # the output. For more information, with
 thesee [Pagination][1].
41359
+ #
41360
+ #
41361
+ #
41362
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
41284
41363
  #
41285
41364
  # @option params [String] :next_token
41286
- # The token for the next set of results.
41365
+ # The token returned from a previous paginated request. Pagination
41366
+ # continues from the end of the items returned by the previous request.
41287
41367
  #
41288
41368
  # @return [Types::GetSpotPlacementScoresResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
41289
41369
  #
@@ -42208,6 +42288,13 @@ module Aws::EC2
42208
42288
  req.send_request(options)
42209
42289
  end
42210
42290
 
42291
+ # <note markdown="1"> To import your virtual machines (VMs) with a console-based experience,
42292
+ # you can use the *Import virtual machine images to Amazon Web Services*
42293
+ # template in the [Migration Hub Orchestrator console][1]. For more
42294
+ # information, see the [ *Migration Hub Orchestrator User Guide* ][2].
42295
+ #
42296
+ # </note>
42297
+ #
42211
42298
  # Import single or multi-volume disk images or EBS snapshots into an
42212
42299
  # Amazon Machine Image (AMI).
42213
42300
  #
@@ -42217,11 +42304,13 @@ module Aws::EC2
42217
42304
  # system is licensed appropriately and your billing is optimized.
42218
42305
  #
42219
42306
  # For more information, see [Importing a VM as an image using VM
42220
- # Import/Export][1] in the *VM Import/Export User Guide*.
42307
+ # Import/Export][3] in the *VM Import/Export User Guide*.
42221
42308
  #
42222
42309
  #
42223
42310
  #
42224
- # [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
42311
+ # [1]: https://console.aws.amazon.com/migrationhub/orchestrator
42312
+ # [2]: https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/import-vm-images.html
42313
+ # [3]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
42225
42314
  #
42226
42315
  # @option params [String] :architecture
42227
42316
  # The architecture of the virtual machine.
@@ -42936,16 +43025,13 @@ module Aws::EC2
42936
43025
  # single request.
42937
43026
  #
42938
43027
  # @option params [String] :next_token
42939
- # The token for the next page of results.
43028
+ # The token returned from a previous paginated request. Pagination
43029
+ # continues from the end of the items returned by the previous request.
42940
43030
  #
42941
43031
  # @option params [Integer] :max_results
42942
- # The maximum number of results to return with a single call. To
42943
- # retrieve the remaining results, make another call with the returned
42944
- # `nextToken` value.
42945
- #
42946
- # If you do not specify a value for *MaxResults*, the request returns
42947
- # 1,000 items per page by default. For more information, see [
42948
- # Pagination][1].
43032
+ # The maximum number of items to return for this request. To get the
43033
+ # next page of items, make another request with the token returned in
43034
+ # the output. For more information, see [Pagination][1].
42949
43035
  #
42950
43036
  #
42951
43037
  #
@@ -43905,6 +43991,15 @@ module Aws::EC2
43905
43991
  # You cannot specify **InstanceFamily** and **InstanceType** in the same
43906
43992
  # request.
43907
43993
  #
43994
+ # @option params [String] :host_maintenance
43995
+ # Indicates whether to enable or disable host maintenance for the
43996
+ # Dedicated Host. For more information, see [ Host maintenance][1] in
43997
+ # the *Amazon EC2 User Guide*.
43998
+ #
43999
+ #
44000
+ #
44001
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
44002
+ #
43908
44003
  # @return [Types::ModifyHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
43909
44004
  #
43910
44005
  # * {Types::ModifyHostsResult#successful #successful} => Array&lt;String&gt;
@@ -43918,6 +44013,7 @@ module Aws::EC2
43918
44013
  # host_recovery: "on", # accepts on, off
43919
44014
  # instance_type: "String",
43920
44015
  # instance_family: "String",
44016
+ # host_maintenance: "on", # accepts on, off
43921
44017
  # })
43922
44018
  #
43923
44019
  # @example Response structure
@@ -44086,9 +44182,11 @@ module Aws::EC2
44086
44182
  end
44087
44183
 
44088
44184
  # Modifies the specified attribute of the specified AMI. You can specify
44089
- # only one attribute at a time. You can use the `Attribute` parameter to
44090
- # specify the attribute or one of the following parameters:
44091
- # `Description` or `LaunchPermission`.
44185
+ # only one attribute at a time.
44186
+ #
44187
+ # To specify the attribute, you can use the `Attribute` parameter, or
44188
+ # one of the following parameters: `Description`, `ImdsSupport`, or
44189
+ # `LaunchPermission`.
44092
44190
  #
44093
44191
  # Images with an Amazon Web Services Marketplace product code cannot be
44094
44192
  # made public.
@@ -44100,7 +44198,7 @@ module Aws::EC2
44100
44198
  # @option params [String] :attribute
44101
44199
  # The name of the attribute to modify.
44102
44200
  #
44103
- # Valid values: `description` \| `launchPermission`
44201
+ # Valid values: `description` \| `imdsSupport` \| `launchPermission`
44104
44202
  #
44105
44203
  # @option params [Types::AttributeValue] :description
44106
44204
  # A new description for the AMI.
@@ -44128,7 +44226,7 @@ module Aws::EC2
44128
44226
  #
44129
44227
  # @option params [String] :value
44130
44228
  # The value of the attribute being modified. This parameter can be used
44131
- # only when the `Attribute` parameter is `description`.
44229
+ # only when the `Attribute` parameter is `description` or `imdsSupport`.
44132
44230
  #
44133
44231
  # @option params [Boolean] :dry_run
44134
44232
  # Checks whether you have the required permissions for the action,
@@ -44145,6 +44243,22 @@ module Aws::EC2
44145
44243
  # parameter can be used only when the `Attribute` parameter is
44146
44244
  # `launchPermission`.
44147
44245
  #
44246
+ # @option params [Types::AttributeValue] :imds_support
44247
+ # Set to `v2.0` to indicate that IMDSv2 is specified in the AMI.
44248
+ # Instances launched from this AMI will have `HttpTokens` automatically
44249
+ # set to `required` so that, by default, the instance requires that
44250
+ # IMDSv2 is used when requesting instance metadata. In addition,
44251
+ # `HttpPutResponseHopLimit` is set to `2`. For more information, see
44252
+ # [Configure the AMI][1] in the *Amazon EC2 User Guide*.
44253
+ #
44254
+ # Do not use this parameter unless your AMI software supports IMDSv2.
44255
+ # After you set the value to `v2.0`, you can't undo it. The only way to
44256
+ # “reset” your AMI is to create a new AMI from the underlying snapshot.
44257
+ #
44258
+ #
44259
+ #
44260
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
44261
+ #
44148
44262
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
44149
44263
  #
44150
44264
  #
@@ -44218,6 +44332,7 @@ module Aws::EC2
44218
44332
  # dry_run: false,
44219
44333
  # organization_arns: ["String"],
44220
44334
  # organizational_unit_arns: ["String"],
44335
+ # imds_support: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
44221
44336
  # })
44222
44337
  #
44223
44338
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute AWS API Documentation
@@ -48093,12 +48208,12 @@ module Aws::EC2
48093
48208
  # can enable DNS resolution for queries from the local VPC. This ensures
48094
48209
  # that queries from the local VPC resolve to private IP addresses in the
48095
48210
  # peer VPC. This option is not available if the peered VPCs are in
48096
- # different different Amazon Web Services accounts or different Regions.
48097
- # For peered VPCs in different Amazon Web Services accounts, each Amazon
48098
- # Web Services account owner must initiate a separate request to modify
48099
- # the peering connection options. For inter-region peering connections,
48100
- # you must use the Region for the requester VPC to modify the requester
48101
- # VPC peering options and the Region for the accepter VPC to modify the
48211
+ # different Amazon Web Services accounts or different Regions. For
48212
+ # peered VPCs in different Amazon Web Services accounts, each Amazon Web
48213
+ # Services account owner must initiate a separate request to modify the
48214
+ # peering connection options. For inter-region peering connections, you
48215
+ # must use the Region for the requester VPC to modify the requester VPC
48216
+ # peering options and the Region for the accepter VPC to modify the
48102
48217
  # accepter VPC peering options. To verify which VPCs are the accepter
48103
48218
  # and the requester for a VPC peering connection, use the
48104
48219
  # DescribeVpcPeeringConnections command.
@@ -55983,7 +56098,7 @@ module Aws::EC2
55983
56098
  params: params,
55984
56099
  config: config)
55985
56100
  context[:gem_name] = 'aws-sdk-ec2'
55986
- context[:gem_version] = '1.365.0'
56101
+ context[:gem_version] = '1.367.0'
55987
56102
  Seahorse::Client::Request.new(handlers, context)
55988
56103
  end
55989
56104