aws-sdk-ec2 1.366.0 → 1.367.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  #
@@ -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
  #
@@ -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
  #
@@ -31007,13 +31038,17 @@ module Aws::EC2
31007
31038
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31008
31039
  #
31009
31040
  # @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.
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
31014
31048
  #
31015
31049
  # @option params [String] :next_token
31016
- # 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.
31017
31052
  #
31018
31053
  # @option params [required, String] :spot_fleet_request_id
31019
31054
  # The ID of the Spot Fleet request.
@@ -31098,13 +31133,17 @@ module Aws::EC2
31098
31133
  # The type of events to describe. By default, all events are described.
31099
31134
  #
31100
31135
  # @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.
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
31105
31143
  #
31106
31144
  # @option params [String] :next_token
31107
- # 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.
31108
31147
  #
31109
31148
  # @option params [required, String] :spot_fleet_request_id
31110
31149
  # The ID of the Spot Fleet request.
@@ -31215,13 +31254,17 @@ module Aws::EC2
31215
31254
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31216
31255
  #
31217
31256
  # @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.
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
31222
31264
  #
31223
31265
  # @option params [String] :next_token
31224
- # 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.
31225
31268
  #
31226
31269
  # @option params [Array<String>] :spot_fleet_request_ids
31227
31270
  # The IDs of the Spot Fleet requests.
@@ -31517,12 +31560,12 @@ module Aws::EC2
31517
31560
  # instance lifecycle is `spot`.
31518
31561
  #
31519
31562
  # 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.
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.
31526
31569
  #
31527
31570
  # Spot Instance requests are deleted four hours after they are canceled
31528
31571
  # and their instances are terminated.
@@ -31663,13 +31706,17 @@ module Aws::EC2
31663
31706
  # One or more Spot Instance request IDs.
31664
31707
  #
31665
31708
  # @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.
31709
+ # The token returned from a previous paginated request. Pagination
31710
+ # continues from the end of the items returned by the previous request.
31668
31711
  #
31669
31712
  # @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.
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
31673
31720
  #
31674
31721
  # @return [Types::DescribeSpotInstanceRequestsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
31675
31722
  #
@@ -31899,13 +31946,17 @@ module Aws::EC2
31899
31946
  # Filters the results by the specified instance types.
31900
31947
  #
31901
31948
  # @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.
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
31906
31956
  #
31907
31957
  # @option params [String] :next_token
31908
- # 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.
31909
31960
  #
31910
31961
  # @option params [Array<String>] :product_descriptions
31911
31962
  # Filters the results by the specified basic product descriptions.
@@ -32134,13 +32185,20 @@ module Aws::EC2
32134
32185
  # specific bucket. For the filter value, specify the bucket name.
32135
32186
  #
32136
32187
  # @option params [String] :next_token
32137
- # 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.
32138
32190
  #
32139
32191
  # @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.
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
32144
32202
  #
32145
32203
  # @return [Types::DescribeStoreImageTasksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
32146
32204
  #
@@ -37184,7 +37242,7 @@ module Aws::EC2
37184
37242
  #
37185
37243
  # resp = client.disassociate_address({
37186
37244
  # association_id: "ElasticIpAssociationId",
37187
- # public_ip: "String",
37245
+ # public_ip: "EipAllocationPublicIp",
37188
37246
  # dry_run: false,
37189
37247
  # })
37190
37248
  #
@@ -38060,8 +38118,9 @@ module Aws::EC2
38060
38118
  # either the name or ID of the launch template, but not both.
38061
38119
  #
38062
38120
  # @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.
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.
38065
38124
  #
38066
38125
  # @option params [Boolean] :dry_run
38067
38126
  # Checks whether you have the required permissions for the action,
@@ -39655,13 +39714,17 @@ module Aws::EC2
39655
39714
  # The attributes required for the instance types.
39656
39715
  #
39657
39716
  # @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.
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
39662
39724
  #
39663
39725
  # @option params [String] :next_token
39664
- # 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.
39665
39728
  #
39666
39729
  # @return [Types::GetInstanceTypesFromInstanceRequirementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
39667
39730
  #
@@ -41290,13 +41353,17 @@ module Aws::EC2
41290
41353
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
41291
41354
  #
41292
41355
  # @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.
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
41297
41363
  #
41298
41364
  # @option params [String] :next_token
41299
- # 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.
41300
41367
  #
41301
41368
  # @return [Types::GetSpotPlacementScoresResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
41302
41369
  #
@@ -42221,6 +42288,13 @@ module Aws::EC2
42221
42288
  req.send_request(options)
42222
42289
  end
42223
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
+ #
42224
42298
  # Import single or multi-volume disk images or EBS snapshots into an
42225
42299
  # Amazon Machine Image (AMI).
42226
42300
  #
@@ -42230,11 +42304,13 @@ module Aws::EC2
42230
42304
  # system is licensed appropriately and your billing is optimized.
42231
42305
  #
42232
42306
  # For more information, see [Importing a VM as an image using VM
42233
- # Import/Export][1] in the *VM Import/Export User Guide*.
42307
+ # Import/Export][3] in the *VM Import/Export User Guide*.
42234
42308
  #
42235
42309
  #
42236
42310
  #
42237
- # [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
42238
42314
  #
42239
42315
  # @option params [String] :architecture
42240
42316
  # The architecture of the virtual machine.
@@ -42949,16 +43025,13 @@ module Aws::EC2
42949
43025
  # single request.
42950
43026
  #
42951
43027
  # @option params [String] :next_token
42952
- # 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.
42953
43030
  #
42954
43031
  # @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].
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].
42962
43035
  #
42963
43036
  #
42964
43037
  #
@@ -44109,9 +44182,11 @@ module Aws::EC2
44109
44182
  end
44110
44183
 
44111
44184
  # 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`.
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`.
44115
44190
  #
44116
44191
  # Images with an Amazon Web Services Marketplace product code cannot be
44117
44192
  # made public.
@@ -44123,7 +44198,7 @@ module Aws::EC2
44123
44198
  # @option params [String] :attribute
44124
44199
  # The name of the attribute to modify.
44125
44200
  #
44126
- # Valid values: `description` \| `launchPermission`
44201
+ # Valid values: `description` \| `imdsSupport` \| `launchPermission`
44127
44202
  #
44128
44203
  # @option params [Types::AttributeValue] :description
44129
44204
  # A new description for the AMI.
@@ -44151,7 +44226,7 @@ module Aws::EC2
44151
44226
  #
44152
44227
  # @option params [String] :value
44153
44228
  # The value of the attribute being modified. This parameter can be used
44154
- # only when the `Attribute` parameter is `description`.
44229
+ # only when the `Attribute` parameter is `description` or `imdsSupport`.
44155
44230
  #
44156
44231
  # @option params [Boolean] :dry_run
44157
44232
  # Checks whether you have the required permissions for the action,
@@ -44168,6 +44243,22 @@ module Aws::EC2
44168
44243
  # parameter can be used only when the `Attribute` parameter is
44169
44244
  # `launchPermission`.
44170
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
+ #
44171
44262
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
44172
44263
  #
44173
44264
  #
@@ -44241,6 +44332,7 @@ module Aws::EC2
44241
44332
  # dry_run: false,
44242
44333
  # organization_arns: ["String"],
44243
44334
  # organizational_unit_arns: ["String"],
44335
+ # imds_support: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
44244
44336
  # })
44245
44337
  #
44246
44338
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute AWS API Documentation
@@ -48116,12 +48208,12 @@ module Aws::EC2
48116
48208
  # can enable DNS resolution for queries from the local VPC. This ensures
48117
48209
  # that queries from the local VPC resolve to private IP addresses in the
48118
48210
  # 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
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
48125
48217
  # accepter VPC peering options. To verify which VPCs are the accepter
48126
48218
  # and the requester for a VPC peering connection, use the
48127
48219
  # DescribeVpcPeeringConnections command.
@@ -56006,7 +56098,7 @@ module Aws::EC2
56006
56098
  params: params,
56007
56099
  config: config)
56008
56100
  context[:gem_name] = 'aws-sdk-ec2'
56009
- context[:gem_version] = '1.366.0'
56101
+ context[:gem_version] = '1.367.0'
56010
56102
  Seahorse::Client::Request.new(handlers, context)
56011
56103
  end
56012
56104