aws-sdk-ec2 1.365.0 → 1.367.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -992,6 +992,16 @@ module Aws::EC2
992
992
  # which to allocate the Dedicated Host.
993
993
  # @return [String]
994
994
  #
995
+ # @!attribute [rw] host_maintenance
996
+ # Indicates whether to enable or disable host maintenance for the
997
+ # Dedicated Host. For more information, see [Host maintenance][1] in
998
+ # the *Amazon EC2 User Guide*.
999
+ #
1000
+ #
1001
+ #
1002
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
1003
+ # @return [String]
1004
+ #
995
1005
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest AWS API Documentation
996
1006
  #
997
1007
  class AllocateHostsRequest < Struct.new(
@@ -1003,7 +1013,8 @@ module Aws::EC2
1003
1013
  :quantity,
1004
1014
  :tag_specifications,
1005
1015
  :host_recovery,
1006
- :outpost_arn)
1016
+ :outpost_arn,
1017
+ :host_maintenance)
1007
1018
  SENSITIVE = []
1008
1019
  include Aws::Structure
1009
1020
  end
@@ -3927,8 +3938,12 @@ module Aws::EC2
3927
3938
  # @return [Array<String>]
3928
3939
  #
3929
3940
  # @!attribute [rw] terminate_instances
3930
- # Indicates whether to terminate instances for a Spot Fleet request if
3931
- # it is canceled successfully.
3941
+ # Indicates whether to terminate the associated instances when the
3942
+ # Spot Fleet request is canceled. The default is to terminate the
3943
+ # instances.
3944
+ #
3945
+ # To let the instances continue to run after the Spot Fleet request is
3946
+ # canceled, specify `no-terminate-instances`.
3932
3947
  # @return [Boolean]
3933
3948
  #
3934
3949
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsRequest AWS API Documentation
@@ -12938,11 +12953,11 @@ module Aws::EC2
12938
12953
  # @return [Array<String>]
12939
12954
  #
12940
12955
  # @!attribute [rw] terminate_instances
12941
- # Indicates whether to terminate the instances when the EC2 Fleet is
12942
- # deleted. The default is to terminate the instances.
12956
+ # Indicates whether to terminate the associated instances when the EC2
12957
+ # Fleet is deleted. The default is to terminate the instances.
12943
12958
  #
12944
12959
  # To let the instances continue to run after the EC2 Fleet is deleted,
12945
- # specify `NoTerminateInstances`. Supported only for fleets of type
12960
+ # specify `no-terminate-instances`. Supported only for fleets of type
12946
12961
  # `maintain` and `request`.
12947
12962
  #
12948
12963
  # For `instant` fleets, you cannot specify `NoTerminateInstances`. A
@@ -15196,7 +15211,11 @@ module Aws::EC2
15196
15211
  # @return [String]
15197
15212
  #
15198
15213
  # @!attribute [rw] cidr
15199
- # The CIDR you want to deprovision from the pool.
15214
+ # The CIDR you want to deprovision from the pool. Enter the CIDR you
15215
+ # want to deprovision with a netmask of `/32`. You must rerun this
15216
+ # command for each IP address in the CIDR range. If your CIDR is a
15217
+ # `/24`, you will have to run this command to deprovision each of the
15218
+ # 256 IP addresses in the `/24` CIDR.
15200
15219
  # @return [String]
15201
15220
  #
15202
15221
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionPublicIpv4PoolCidrRequest AWS API Documentation
@@ -17060,14 +17079,19 @@ module Aws::EC2
17060
17079
  # @return [Array<Types::Filter>]
17061
17080
  #
17062
17081
  # @!attribute [rw] max_results
17063
- # The maximum number of results to return in a single call. To
17064
- # retrieve the remaining results, make another request with the
17065
- # returned NextToken value. If this parameter is not specified, then
17066
- # all results are returned.
17082
+ # The maximum number of items to return for this request. To get the
17083
+ # next page of items, make another request with the token returned in
17084
+ # the output. For more information, see [Pagination][1].
17085
+ #
17086
+ #
17087
+ #
17088
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
17067
17089
  # @return [Integer]
17068
17090
  #
17069
17091
  # @!attribute [rw] next_token
17070
- # The token for the next set of results.
17092
+ # The token returned from a previous paginated request. Pagination
17093
+ # continues from the end of the items returned by the previous
17094
+ # request.
17071
17095
  # @return [String]
17072
17096
  #
17073
17097
  # @!attribute [rw] dry_run
@@ -17095,8 +17119,8 @@ module Aws::EC2
17095
17119
  # @return [Array<Types::DescribeFastLaunchImagesSuccessItem>]
17096
17120
  #
17097
17121
  # @!attribute [rw] next_token
17098
- # The token to use for the next set of results. This value is null
17099
- # when there are no more results to return.
17122
+ # The token to include in another request to get the next page of
17123
+ # items. This value is `null` when there are no more items to return.
17100
17124
  # @return [String]
17101
17125
  #
17102
17126
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImagesResult AWS API Documentation
@@ -17132,8 +17156,9 @@ module Aws::EC2
17132
17156
  # @return [Types::FastLaunchLaunchTemplateSpecificationResponse]
17133
17157
  #
17134
17158
  # @!attribute [rw] max_parallel_launches
17135
- # The maximum number of parallel instances that are launched for
17136
- # creating resources.
17159
+ # The maximum number of instances that Amazon EC2 can launch at the
17160
+ # same time to create pre-provisioned snapshots for Windows faster
17161
+ # launching.
17137
17162
  # @return [Integer]
17138
17163
  #
17139
17164
  # @!attribute [rw] owner_id
@@ -17373,14 +17398,19 @@ module Aws::EC2
17373
17398
  # @return [String]
17374
17399
  #
17375
17400
  # @!attribute [rw] max_results
17376
- # The maximum number of results to return in a single call. Specify a
17377
- # value between 1 and 1000. The default value is 1000. To retrieve the
17378
- # remaining results, make another call with the returned `NextToken`
17379
- # value.
17401
+ # The maximum number of items to return for this request. To get the
17402
+ # next page of items, make another request with the token returned in
17403
+ # the output. For more information, see [Pagination][1].
17404
+ #
17405
+ #
17406
+ #
17407
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
17380
17408
  # @return [Integer]
17381
17409
  #
17382
17410
  # @!attribute [rw] next_token
17383
- # The token for the next set of results.
17411
+ # The token returned from a previous paginated request. Pagination
17412
+ # continues from the end of the items returned by the previous
17413
+ # request.
17384
17414
  # @return [String]
17385
17415
  #
17386
17416
  # @!attribute [rw] fleet_id
@@ -17414,12 +17444,13 @@ module Aws::EC2
17414
17444
  # *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z). All records up to this time
17415
17445
  # were retrieved.
17416
17446
  #
17417
- # If `nextToken` indicates that there are more results, this value is
17447
+ # If `nextToken` indicates that there are more items, this value is
17418
17448
  # not present.
17419
17449
  # @return [Time]
17420
17450
  #
17421
17451
  # @!attribute [rw] next_token
17422
- # The token for the next set of results.
17452
+ # The token to include in another request to get the next page of
17453
+ # items. This value is `null` when there are no more items to return.
17423
17454
  # @return [String]
17424
17455
  #
17425
17456
  # @!attribute [rw] fleet_id
@@ -17451,14 +17482,19 @@ module Aws::EC2
17451
17482
  # @return [Boolean]
17452
17483
  #
17453
17484
  # @!attribute [rw] max_results
17454
- # The maximum number of results to return in a single call. Specify a
17455
- # value between 1 and 1000. The default value is 1000. To retrieve the
17456
- # remaining results, make another call with the returned `NextToken`
17457
- # value.
17485
+ # The maximum number of items to return for this request. To get the
17486
+ # next page of items, make another request with the token returned in
17487
+ # the output. For more information, see [Pagination][1].
17488
+ #
17489
+ #
17490
+ #
17491
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
17458
17492
  # @return [Integer]
17459
17493
  #
17460
17494
  # @!attribute [rw] next_token
17461
- # The token for the next set of results.
17495
+ # The token returned from a previous paginated request. Pagination
17496
+ # continues from the end of the items returned by the previous
17497
+ # request.
17462
17498
  # @return [String]
17463
17499
  #
17464
17500
  # @!attribute [rw] fleet_id
@@ -17491,7 +17527,8 @@ module Aws::EC2
17491
17527
  # @return [Array<Types::ActiveInstance>]
17492
17528
  #
17493
17529
  # @!attribute [rw] next_token
17494
- # The token for the next set of results.
17530
+ # The token to include in another request to get the next page of
17531
+ # items. This value is `null` when there are no more items to return.
17495
17532
  # @return [String]
17496
17533
  #
17497
17534
  # @!attribute [rw] fleet_id
@@ -17554,14 +17591,19 @@ module Aws::EC2
17554
17591
  # @return [Boolean]
17555
17592
  #
17556
17593
  # @!attribute [rw] max_results
17557
- # The maximum number of results to return in a single call. Specify a
17558
- # value between 1 and 1000. The default value is 1000. To retrieve the
17559
- # remaining results, make another call with the returned `NextToken`
17560
- # value.
17594
+ # The maximum number of items to return for this request. To get the
17595
+ # next page of items, make another request with the token returned in
17596
+ # the output. For more information, see [Pagination][1].
17597
+ #
17598
+ #
17599
+ #
17600
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
17561
17601
  # @return [Integer]
17562
17602
  #
17563
17603
  # @!attribute [rw] next_token
17564
- # The token for the next set of results.
17604
+ # The token returned from a previous paginated request. Pagination
17605
+ # continues from the end of the items returned by the previous
17606
+ # request.
17565
17607
  # @return [String]
17566
17608
  #
17567
17609
  # @!attribute [rw] fleet_ids
@@ -17607,7 +17649,8 @@ module Aws::EC2
17607
17649
  end
17608
17650
 
17609
17651
  # @!attribute [rw] next_token
17610
- # The token for the next set of results.
17652
+ # The token to include in another request to get the next page of
17653
+ # items. This value is `null` when there are no more items to return.
17611
17654
  # @return [String]
17612
17655
  #
17613
17656
  # @!attribute [rw] fleets
@@ -18371,13 +18414,19 @@ module Aws::EC2
18371
18414
  # @return [Boolean]
18372
18415
  #
18373
18416
  # @!attribute [rw] max_results
18374
- # The maximum number of results to return with a single call. To
18375
- # retrieve the remaining results, make another call with the returned
18376
- # `nextToken` value.
18417
+ # The maximum number of items to return for this request. To get the
18418
+ # next page of items, make another request with the token returned in
18419
+ # the output. For more information, see [Pagination][1].
18420
+ #
18421
+ #
18422
+ #
18423
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
18377
18424
  # @return [Integer]
18378
18425
  #
18379
18426
  # @!attribute [rw] next_token
18380
- # The token for the next page of results.
18427
+ # The token returned from a previous paginated request. Pagination
18428
+ # continues from the end of the items returned by the previous
18429
+ # request.
18381
18430
  # @return [String]
18382
18431
  #
18383
18432
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesRequest AWS API Documentation
@@ -18400,8 +18449,8 @@ module Aws::EC2
18400
18449
  # @return [Array<Types::Image>]
18401
18450
  #
18402
18451
  # @!attribute [rw] next_token
18403
- # The token to use to retrieve the next page of results. This value is
18404
- # `null` when there are no more results to return.
18452
+ # The token to include in another request to get the next page of
18453
+ # items. This value is `null` when there are no more items to return.
18405
18454
  # @return [String]
18406
18455
  #
18407
18456
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesResult AWS API Documentation
@@ -18577,9 +18626,10 @@ module Aws::EC2
18577
18626
  # @!attribute [rw] max_results
18578
18627
  # The maximum number of items to return for this request. To get the
18579
18628
  # next page of items, make another request with the token returned in
18580
- # the output. This value can be between 5 and 1000. You cannot specify
18581
- # this parameter and the instance IDs parameter in the same call. For
18582
- # more information, see [Pagination][1].
18629
+ # the output. For more information, see [Pagination][1].
18630
+ #
18631
+ # You cannot specify this parameter and the instance IDs parameter in
18632
+ # the same call.
18583
18633
  #
18584
18634
  #
18585
18635
  #
@@ -18800,11 +18850,12 @@ module Aws::EC2
18800
18850
  # @return [Array<String>]
18801
18851
  #
18802
18852
  # @!attribute [rw] max_results
18803
- # The maximum number of items to return for this request. To retrieve
18804
- # the next page of items, make another request with the token returned
18805
- # in the output. This value can be between 5 and 1000. You cannot
18806
- # specify this parameter and the instance IDs parameter in the same
18807
- # call. For more information, see [Pagination][1].
18853
+ # The maximum number of items to return for this request. To get the
18854
+ # next page of items, make another request with the token returned in
18855
+ # the output. For more information, see [Pagination][1].
18856
+ #
18857
+ # You cannot specify this parameter and the instance IDs parameter in
18858
+ # the same request.
18808
18859
  #
18809
18860
  #
18810
18861
  #
@@ -19458,9 +19509,10 @@ module Aws::EC2
19458
19509
  # @!attribute [rw] max_results
19459
19510
  # The maximum number of items to return for this request. To get the
19460
19511
  # next page of items, make another request with the token returned in
19461
- # the output. This value can be between 5 and 1000. You cannot specify
19462
- # this parameter and the instance IDs parameter in the same request.
19463
- # For more information, see [Pagination][1].
19512
+ # the output. For more information, see [Pagination][1].
19513
+ #
19514
+ # You cannot specify this parameter and the instance IDs parameter in
19515
+ # the same request.
19464
19516
  #
19465
19517
  #
19466
19518
  #
@@ -23179,14 +23231,18 @@ module Aws::EC2
23179
23231
  # @return [Boolean]
23180
23232
  #
23181
23233
  # @!attribute [rw] max_results
23182
- # The maximum number of results to return in a single call. Specify a
23183
- # value between 1 and 1000. The default value is 1000. To retrieve the
23184
- # remaining results, make another call with the returned `NextToken`
23185
- # value.
23234
+ # The maximum number of items to return for this request. To get the
23235
+ # next page of items, make another request with the token returned in
23236
+ # the output. For more information, see [Pagination][1].
23237
+ #
23238
+ #
23239
+ #
23240
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
23186
23241
  # @return [Integer]
23187
23242
  #
23188
23243
  # @!attribute [rw] next_token
23189
- # The token for the next set of results.
23244
+ # The token to include in another request to get the next page of
23245
+ # items. This value is `null` when there are no more items to return.
23190
23246
  # @return [String]
23191
23247
  #
23192
23248
  # @!attribute [rw] spot_fleet_request_id
@@ -23212,8 +23268,8 @@ module Aws::EC2
23212
23268
  # @return [Array<Types::ActiveInstance>]
23213
23269
  #
23214
23270
  # @!attribute [rw] next_token
23215
- # The token required to retrieve the next set of results. This value
23216
- # is `null` when there are no more results to return.
23271
+ # The token to include in another request to get the next page of
23272
+ # items. This value is `null` when there are no more items to return.
23217
23273
  # @return [String]
23218
23274
  #
23219
23275
  # @!attribute [rw] spot_fleet_request_id
@@ -23245,14 +23301,18 @@ module Aws::EC2
23245
23301
  # @return [String]
23246
23302
  #
23247
23303
  # @!attribute [rw] max_results
23248
- # The maximum number of results to return in a single call. Specify a
23249
- # value between 1 and 1000. The default value is 1000. To retrieve the
23250
- # remaining results, make another call with the returned `NextToken`
23251
- # value.
23304
+ # The maximum number of items to return for this request. To get the
23305
+ # next page of items, make another request with the token returned in
23306
+ # the output. For more information, see [Pagination][1].
23307
+ #
23308
+ #
23309
+ #
23310
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
23252
23311
  # @return [Integer]
23253
23312
  #
23254
23313
  # @!attribute [rw] next_token
23255
- # The token for the next set of results.
23314
+ # The token to include in another request to get the next page of
23315
+ # items. This value is `null` when there are no more items to return.
23256
23316
  # @return [String]
23257
23317
  #
23258
23318
  # @!attribute [rw] spot_fleet_request_id
@@ -23289,13 +23349,13 @@ module Aws::EC2
23289
23349
  # *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z). All records up to this time
23290
23350
  # were retrieved.
23291
23351
  #
23292
- # If `nextToken` indicates that there are more results, this value is
23352
+ # If `nextToken` indicates that there are more items, this value is
23293
23353
  # not present.
23294
23354
  # @return [Time]
23295
23355
  #
23296
23356
  # @!attribute [rw] next_token
23297
- # The token required to retrieve the next set of results. This value
23298
- # is `null` when there are no more results to return.
23357
+ # The token to include in another request to get the next page of
23358
+ # items. This value is `null` when there are no more items to return.
23299
23359
  # @return [String]
23300
23360
  #
23301
23361
  # @!attribute [rw] spot_fleet_request_id
@@ -23329,14 +23389,18 @@ module Aws::EC2
23329
23389
  # @return [Boolean]
23330
23390
  #
23331
23391
  # @!attribute [rw] max_results
23332
- # The maximum number of results to return in a single call. Specify a
23333
- # value between 1 and 1000. The default value is 1000. To retrieve the
23334
- # remaining results, make another call with the returned `NextToken`
23335
- # value.
23392
+ # The maximum number of items to return for this request. To get the
23393
+ # next page of items, make another request with the token returned in
23394
+ # the output. For more information, see [Pagination][1].
23395
+ #
23396
+ #
23397
+ #
23398
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
23336
23399
  # @return [Integer]
23337
23400
  #
23338
23401
  # @!attribute [rw] next_token
23339
- # The token for the next set of results.
23402
+ # The token to include in another request to get the next page of
23403
+ # items. This value is `null` when there are no more items to return.
23340
23404
  # @return [String]
23341
23405
  #
23342
23406
  # @!attribute [rw] spot_fleet_request_ids
@@ -23357,8 +23421,8 @@ module Aws::EC2
23357
23421
  # Contains the output of DescribeSpotFleetRequests.
23358
23422
  #
23359
23423
  # @!attribute [rw] next_token
23360
- # The token required to retrieve the next set of results. This value
23361
- # is `null` when there are no more results to return.
23424
+ # The token to include in another request to get the next page of
23425
+ # items. This value is `null` when there are no more items to return.
23362
23426
  # @return [String]
23363
23427
  #
23364
23428
  # @!attribute [rw] spot_fleet_request_configs
@@ -23511,14 +23575,19 @@ module Aws::EC2
23511
23575
  # @return [Array<String>]
23512
23576
  #
23513
23577
  # @!attribute [rw] next_token
23514
- # The token to request the next set of results. This value is `null`
23515
- # when there are no more results to return.
23578
+ # The token returned from a previous paginated request. Pagination
23579
+ # continues from the end of the items returned by the previous
23580
+ # request.
23516
23581
  # @return [String]
23517
23582
  #
23518
23583
  # @!attribute [rw] max_results
23519
- # The maximum number of results to return in a single call. Specify a
23520
- # value between 5 and 1000. To retrieve the remaining results, make
23521
- # another call with the returned `NextToken` value.
23584
+ # The maximum number of items to return for this request. To get the
23585
+ # next page of items, make another request with the token returned in
23586
+ # the output. For more information, see [Pagination][1].
23587
+ #
23588
+ #
23589
+ #
23590
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
23522
23591
  # @return [Integer]
23523
23592
  #
23524
23593
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsRequest AWS API Documentation
@@ -23540,8 +23609,8 @@ module Aws::EC2
23540
23609
  # @return [Array<Types::SpotInstanceRequest>]
23541
23610
  #
23542
23611
  # @!attribute [rw] next_token
23543
- # The token to use to retrieve the next set of results. This value is
23544
- # `null` when there are no more results to return.
23612
+ # The token to include in another request to get the next page of
23613
+ # items. This value is `null` when there are no more items to return.
23545
23614
  # @return [String]
23546
23615
  #
23547
23616
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsResult AWS API Documentation
@@ -23601,14 +23670,19 @@ module Aws::EC2
23601
23670
  # @return [Array<String>]
23602
23671
  #
23603
23672
  # @!attribute [rw] max_results
23604
- # The maximum number of results to return in a single call. Specify a
23605
- # value between 1 and 1000. The default value is 1000. To retrieve the
23606
- # remaining results, make another call with the returned `NextToken`
23607
- # value.
23673
+ # The maximum number of items to return for this request. To get the
23674
+ # next page of items, make another request with the token returned in
23675
+ # the output. For more information, see [Pagination][1].
23676
+ #
23677
+ #
23678
+ #
23679
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
23608
23680
  # @return [Integer]
23609
23681
  #
23610
23682
  # @!attribute [rw] next_token
23611
- # The token for the next set of results.
23683
+ # The token returned from a previous paginated request. Pagination
23684
+ # continues from the end of the items returned by the previous
23685
+ # request.
23612
23686
  # @return [String]
23613
23687
  #
23614
23688
  # @!attribute [rw] product_descriptions
@@ -23640,8 +23714,8 @@ module Aws::EC2
23640
23714
  # Contains the output of DescribeSpotPriceHistory.
23641
23715
  #
23642
23716
  # @!attribute [rw] next_token
23643
- # The token required to retrieve the next set of results. This value
23644
- # is null or an empty string when there are no more results to return.
23717
+ # The token to include in another request to get the next page of
23718
+ # items. This value is `null` when there are no more items to return.
23645
23719
  # @return [String]
23646
23720
  #
23647
23721
  # @!attribute [rw] spot_price_history
@@ -23737,15 +23811,22 @@ module Aws::EC2
23737
23811
  # @return [Array<Types::Filter>]
23738
23812
  #
23739
23813
  # @!attribute [rw] next_token
23740
- # The token for the next page of results.
23814
+ # The token returned from a previous paginated request. Pagination
23815
+ # continues from the end of the items returned by the previous
23816
+ # request.
23741
23817
  # @return [String]
23742
23818
  #
23743
23819
  # @!attribute [rw] max_results
23744
- # The maximum number of results to return in a single call. To
23745
- # retrieve the remaining results, make another call with the returned
23746
- # `NextToken` value. This value can be between 1 and 200. You cannot
23747
- # specify this parameter and the `ImageIDs` parameter in the same
23748
- # call.
23820
+ # The maximum number of items to return for this request. To get the
23821
+ # next page of items, make another request with the token returned in
23822
+ # the output. For more information, see [Pagination][1].
23823
+ #
23824
+ # You cannot specify this parameter and the `ImageIDs` parameter in
23825
+ # the same call.
23826
+ #
23827
+ #
23828
+ #
23829
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
23749
23830
  # @return [Integer]
23750
23831
  #
23751
23832
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasksRequest AWS API Documentation
@@ -23765,8 +23846,8 @@ module Aws::EC2
23765
23846
  # @return [Array<Types::StoreImageTaskResult>]
23766
23847
  #
23767
23848
  # @!attribute [rw] next_token
23768
- # The token to use to retrieve the next page of results. This value is
23769
- # `null` when there are no more results to return.
23849
+ # The token to include in another request to get the next page of
23850
+ # items. This value is `null` when there are no more items to return.
23770
23851
  # @return [String]
23771
23852
  #
23772
23853
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasksResult AWS API Documentation
@@ -27110,8 +27191,9 @@ module Aws::EC2
27110
27191
  # @return [Types::FastLaunchLaunchTemplateSpecificationResponse]
27111
27192
  #
27112
27193
  # @!attribute [rw] max_parallel_launches
27113
- # The maximum number of parallel instances to launch for creating
27114
- # resources.
27194
+ # The maximum number of instances that Amazon EC2 can launch at the
27195
+ # same time to create pre-provisioned snapshots for Windows faster
27196
+ # launching.
27115
27197
  # @return [Integer]
27116
27198
  #
27117
27199
  # @!attribute [rw] owner_id
@@ -28989,8 +29071,9 @@ module Aws::EC2
28989
29071
  # @return [Types::FastLaunchLaunchTemplateSpecificationRequest]
28990
29072
  #
28991
29073
  # @!attribute [rw] max_parallel_launches
28992
- # The maximum number of parallel instances to launch for creating
28993
- # resources. Value must be `6` or greater.
29074
+ # The maximum number of instances that Amazon EC2 can launch at the
29075
+ # same time to create pre-provisioned snapshots for Windows faster
29076
+ # launching. Value must be `6` or greater.
28994
29077
  # @return [Integer]
28995
29078
  #
28996
29079
  # @!attribute [rw] dry_run
@@ -29024,10 +29107,10 @@ module Aws::EC2
29024
29107
  # @return [String]
29025
29108
  #
29026
29109
  # @!attribute [rw] snapshot_configuration
29027
- # The configuration settings that were defined for creating and
29028
- # managing the pre-provisioned snapshots for faster launching of the
29029
- # Windows AMI. This property is returned when the associated
29030
- # `resourceType` is `snapshot`.
29110
+ # Settings to create and manage the pre-provisioned snapshots that
29111
+ # Amazon EC2 uses for faster launches from the Windows AMI. This
29112
+ # property is returned when the associated `resourceType` is
29113
+ # `snapshot`.
29031
29114
  # @return [Types::FastLaunchSnapshotConfigurationResponse]
29032
29115
  #
29033
29116
  # @!attribute [rw] launch_template
@@ -29036,8 +29119,9 @@ module Aws::EC2
29036
29119
  # @return [Types::FastLaunchLaunchTemplateSpecificationResponse]
29037
29120
  #
29038
29121
  # @!attribute [rw] max_parallel_launches
29039
- # The maximum number of parallel instances to launch for creating
29040
- # resources.
29122
+ # The maximum number of instances that Amazon EC2 can launch at the
29123
+ # same time to create pre-provisioned snapshots for Windows faster
29124
+ # launching.
29041
29125
  # @return [Integer]
29042
29126
  #
29043
29127
  # @!attribute [rw] owner_id
@@ -30931,6 +31015,8 @@ module Aws::EC2
30931
31015
  # @!attribute [rw] instance_type
30932
31016
  # The instance type.
30933
31017
  #
31018
+ # `mac1.metal` is not supported as a launch template override.
31019
+ #
30934
31020
  # <note markdown="1"> If you specify `InstanceType`, you can't specify
30935
31021
  # `InstanceRequirements`.
30936
31022
  #
@@ -31019,6 +31105,8 @@ module Aws::EC2
31019
31105
  # @!attribute [rw] instance_type
31020
31106
  # The instance type.
31021
31107
  #
31108
+ # `mac1.metal` is not supported as a launch template override.
31109
+ #
31022
31110
  # <note markdown="1"> If you specify `InstanceType`, you can't specify
31023
31111
  # `InstanceRequirements`.
31024
31112
  #
@@ -32309,14 +32397,19 @@ module Aws::EC2
32309
32397
  # @return [Types::InstanceRequirementsRequest]
32310
32398
  #
32311
32399
  # @!attribute [rw] max_results
32312
- # The maximum number of results to return in a single call. Specify a
32313
- # value between 1 and
 1000. The default value is 1000. To retrieve
32314
- # the remaining results, make another call with
 the returned
32315
- # `NextToken` value.
32400
+ # The maximum number of items to return for this request. To get the
32401
+ # next page of and
 1000.items, make another request with the token returned in
32402
+ # the output. For more information, see with
 the returned[Pagination][1].
32403
+ #
32404
+ #
32405
+ #
32406
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
32316
32407
  # @return [Integer]
32317
32408
  #
32318
32409
  # @!attribute [rw] next_token
32319
- # The token for the next set of results.
32410
+ # The token returned from a previous paginated request. Pagination
32411
+ # continues from the end of the items returned by the previous
32412
+ # request.
32320
32413
  # @return [String]
32321
32414
  #
32322
32415
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTypesFromInstanceRequirementsRequest AWS API Documentation
@@ -32337,7 +32430,8 @@ module Aws::EC2
32337
32430
  # @return [Array<Types::InstanceTypeInfoFromInstanceRequirements>]
32338
32431
  #
32339
32432
  # @!attribute [rw] next_token
32340
- # The token for the next set of results.
32433
+ # The token to include in another request to get the next page of
32434
+ # items. This value is `null` when there are no more items to return.
32341
32435
  # @return [String]
32342
32436
  #
32343
32437
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTypesFromInstanceRequirementsResult AWS API Documentation
@@ -33224,14 +33318,19 @@ module Aws::EC2
33224
33318
  # @return [Boolean]
33225
33319
  #
33226
33320
  # @!attribute [rw] max_results
33227
- # The maximum number of results to return in a single call. Specify a
33228
- # value between 1 and
 1000. The default value is 1000. To retrieve
33229
- # the remaining results, make another call with
 the returned
33230
- # `NextToken` value.
33321
+ # The maximum number of items to return for this request. To get the
33322
+ # next page of and
 1000.items, make another request with the token returned in
33323
+ # the output. For more information, see with
 the returned[Pagination][1].
33324
+ #
33325
+ #
33326
+ #
33327
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
33231
33328
  # @return [Integer]
33232
33329
  #
33233
33330
  # @!attribute [rw] next_token
33234
- # The token for the next set of results.
33331
+ # The token returned from a previous paginated request. Pagination
33332
+ # continues from the end of the items returned by the previous
33333
+ # request.
33235
33334
  # @return [String]
33236
33335
  #
33237
33336
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSpotPlacementScoresRequest AWS API Documentation
@@ -33278,7 +33377,8 @@ module Aws::EC2
33278
33377
  # @return [Array<Types::SpotPlacementScore>]
33279
33378
  #
33280
33379
  # @!attribute [rw] next_token
33281
- # The token for the next set of results.
33380
+ # The token to include in another request to get the next page of
33381
+ # items. This value is `null` when there are no more items to return.
33282
33382
  # @return [String]
33283
33383
  #
33284
33384
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSpotPlacementScoresResult AWS API Documentation
@@ -34256,6 +34356,11 @@ module Aws::EC2
34256
34356
  # which the Dedicated Host is allocated.
34257
34357
  # @return [String]
34258
34358
  #
34359
+ # @!attribute [rw] host_maintenance
34360
+ # Indicates whether host maintenance is enabled or disabled for the
34361
+ # Dedicated Host.
34362
+ # @return [String]
34363
+ #
34259
34364
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
34260
34365
  #
34261
34366
  class Host < Struct.new(
@@ -34276,7 +34381,8 @@ module Aws::EC2
34276
34381
  :owner_id,
34277
34382
  :availability_zone_id,
34278
34383
  :member_of_service_linked_resource_group,
34279
- :outpost_arn)
34384
+ :outpost_arn,
34385
+ :host_maintenance)
34280
34386
  SENSITIVE = []
34281
34387
  include Aws::Structure
34282
34388
  end
@@ -40464,7 +40570,8 @@ module Aws::EC2
40464
40570
  # Describes the launch specification for an instance.
40465
40571
  #
40466
40572
  # @!attribute [rw] user_data
40467
- # The Base64-encoded user data for the instance.
40573
+ # The base64-encoded user data that instances use when starting up.
40574
+ # User data is limited to 16 KB.
40468
40575
  # @return [String]
40469
40576
  #
40470
40577
  # @!attribute [rw] security_groups
@@ -42199,17 +42306,15 @@ module Aws::EC2
42199
42306
  # @return [Array<String>]
42200
42307
  #
42201
42308
  # @!attribute [rw] next_token
42202
- # The token for the next page of results.
42309
+ # The token returned from a previous paginated request. Pagination
42310
+ # continues from the end of the items returned by the previous
42311
+ # request.
42203
42312
  # @return [String]
42204
42313
  #
42205
42314
  # @!attribute [rw] max_results
42206
- # The maximum number of results to return with a single call. To
42207
- # retrieve the remaining results, make another call with the returned
42208
- # `nextToken` value.
42209
- #
42210
- # If you do not specify a value for *MaxResults*, the request returns
42211
- # 1,000 items per page by default. For more information, see [
42212
- # Pagination][1].
42315
+ # The maximum number of items to return for this request. To get the
42316
+ # next page of items, make another request with the token returned in
42317
+ # the output. For more information, see [Pagination][1].
42213
42318
  #
42214
42319
  #
42215
42320
  #
@@ -42239,8 +42344,8 @@ module Aws::EC2
42239
42344
  # @return [Array<Types::ImageRecycleBinInfo>]
42240
42345
  #
42241
42346
  # @!attribute [rw] next_token
42242
- # The token to use to retrieve the next page of results. This value is
42243
- # `null` when there are no more results to return.
42347
+ # The token to include in another request to get the next page of
42348
+ # items. This value is `null` when there are no more items to return.
42244
42349
  # @return [String]
42245
42350
  #
42246
42351
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ListImagesInRecycleBinResult AWS API Documentation
@@ -43561,6 +43666,16 @@ module Aws::EC2
43561
43666
  # in the same request.
43562
43667
  # @return [String]
43563
43668
  #
43669
+ # @!attribute [rw] host_maintenance
43670
+ # Indicates whether to enable or disable host maintenance for the
43671
+ # Dedicated Host. For more information, see [ Host maintenance][1] in
43672
+ # the *Amazon EC2 User Guide*.
43673
+ #
43674
+ #
43675
+ #
43676
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
43677
+ # @return [String]
43678
+ #
43564
43679
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsRequest AWS API Documentation
43565
43680
  #
43566
43681
  class ModifyHostsRequest < Struct.new(
@@ -43568,7 +43683,8 @@ module Aws::EC2
43568
43683
  :host_ids,
43569
43684
  :host_recovery,
43570
43685
  :instance_type,
43571
- :instance_family)
43686
+ :instance_family,
43687
+ :host_maintenance)
43572
43688
  SENSITIVE = []
43573
43689
  include Aws::Structure
43574
43690
  end
@@ -43663,7 +43779,7 @@ module Aws::EC2
43663
43779
  # @!attribute [rw] attribute
43664
43780
  # The name of the attribute to modify.
43665
43781
  #
43666
- # Valid values: `description` \| `launchPermission`
43782
+ # Valid values: `description` \| `imdsSupport` \| `launchPermission`
43667
43783
  # @return [String]
43668
43784
  #
43669
43785
  # @!attribute [rw] description
@@ -43699,7 +43815,8 @@ module Aws::EC2
43699
43815
  #
43700
43816
  # @!attribute [rw] value
43701
43817
  # The value of the attribute being modified. This parameter can be
43702
- # used only when the `Attribute` parameter is `description`.
43818
+ # used only when the `Attribute` parameter is `description` or
43819
+ # `imdsSupport`.
43703
43820
  # @return [String]
43704
43821
  #
43705
43822
  # @!attribute [rw] dry_run
@@ -43721,6 +43838,25 @@ module Aws::EC2
43721
43838
  # `launchPermission`.
43722
43839
  # @return [Array<String>]
43723
43840
  #
43841
+ # @!attribute [rw] imds_support
43842
+ # Set to `v2.0` to indicate that IMDSv2 is specified in the AMI.
43843
+ # Instances launched from this AMI will have `HttpTokens`
43844
+ # automatically set to `required` so that, by default, the instance
43845
+ # requires that IMDSv2 is used when requesting instance metadata. In
43846
+ # addition, `HttpPutResponseHopLimit` is set to `2`. For more
43847
+ # information, see [Configure the AMI][1] in the *Amazon EC2 User
43848
+ # Guide*.
43849
+ #
43850
+ # Do not use this parameter unless your AMI software supports IMDSv2.
43851
+ # After you set the value to `v2.0`, you can't undo it. The only way
43852
+ # to “reset” your AMI is to create a new AMI from the underlying
43853
+ # snapshot.
43854
+ #
43855
+ #
43856
+ #
43857
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
43858
+ # @return [Types::AttributeValue]
43859
+ #
43724
43860
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttributeRequest AWS API Documentation
43725
43861
  #
43726
43862
  class ModifyImageAttributeRequest < Struct.new(
@@ -43735,7 +43871,8 @@ module Aws::EC2
43735
43871
  :value,
43736
43872
  :dry_run,
43737
43873
  :organization_arns,
43738
- :organizational_unit_arns)
43874
+ :organizational_unit_arns,
43875
+ :imds_support)
43739
43876
  SENSITIVE = []
43740
43877
  include Aws::Structure
43741
43878
  end
@@ -52339,8 +52476,8 @@ module Aws::EC2
52339
52476
  # @return [String]
52340
52477
  #
52341
52478
  # @!attribute [rw] user_data
52342
- # The Base64-encoded user data for the instance. User data is limited
52343
- # to 16 KB.
52479
+ # The base64-encoded user data that instances use when starting up.
52480
+ # User data is limited to 16 KB.
52344
52481
  # @return [String]
52345
52482
  #
52346
52483
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotLaunchSpecification AWS API Documentation
@@ -56816,7 +56953,8 @@ module Aws::EC2
56816
56953
  # @return [String]
56817
56954
  #
56818
56955
  # @!attribute [rw] user_data
56819
- # The Base64-encoded user data that instances use when starting up.
56956
+ # The base64-encoded user data that instances use when starting up.
56957
+ # User data is limited to 16 KB.
56820
56958
  # @return [String]
56821
56959
  #
56822
56960
  # @!attribute [rw] weighted_capacity