aws-sdk-ec2 1.366.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +217 -125
- data/lib/aws-sdk-ec2/client_api.rb +4 -2
- data/lib/aws-sdk-ec2/image.rb +18 -2
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +245 -137
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -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 [
|
1063
|
-
#
|
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: "
|
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
|
-
#
|
4097
|
-
#
|
4098
|
-
#
|
4099
|
-
#
|
4100
|
-
#
|
4101
|
-
#
|
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
|
4114
|
-
#
|
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
|
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
|
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
|
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 `
|
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
|
21258
|
-
#
|
21259
|
-
#
|
21260
|
-
#
|
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
|
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
|
21425
|
-
#
|
21426
|
-
#
|
21427
|
-
#
|
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
|
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
|
21497
|
-
#
|
21498
|
-
#
|
21499
|
-
#
|
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
|
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
|
21571
|
-
#
|
21572
|
-
#
|
21573
|
-
#
|
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
|
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
|
22918
|
-
#
|
22919
|
-
#
|
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
|
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.
|
23440
|
-
#
|
23441
|
-
#
|
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
|
23735
|
-
#
|
23736
|
-
#
|
23737
|
-
#
|
23738
|
-
#
|
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.
|
24562
|
-
#
|
24563
|
-
#
|
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
|
31011
|
-
#
|
31012
|
-
#
|
31013
|
-
#
|
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
|
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
|
31102
|
-
#
|
31103
|
-
#
|
31104
|
-
#
|
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
|
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
|
31219
|
-
#
|
31220
|
-
#
|
31221
|
-
#
|
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
|
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
|
31521
|
-
# which makes the list more manageable and returns the
|
31522
|
-
#
|
31523
|
-
#
|
31524
|
-
#
|
31525
|
-
#
|
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
|
31667
|
-
#
|
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
|
31671
|
-
#
|
31672
|
-
#
|
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
|
31903
|
-
#
|
31904
|
-
#
|
31905
|
-
#
|
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
|
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
|
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
|
32141
|
-
#
|
32142
|
-
#
|
32143
|
-
#
|
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: "
|
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
|
38064
|
-
#
|
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
|
39659
|
-
#
|
39660
|
-
#
|
39661
|
-
#
|
39717
|
+
# The maximum number of items to return for this request. To get the
|
39718
|
+
# next page of
|
39719
|
+
# the output. For more information,
|
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
|
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
|
41294
|
-
#
|
41295
|
-
#
|
41296
|
-
#
|
41356
|
+
# The maximum number of items to return for this request. To get the
|
41357
|
+
# next page of
|
41358
|
+
# the output. For more information,
|
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
|
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][
|
42307
|
+
# Import/Export][3] in the *VM Import/Export User Guide*.
|
42234
42308
|
#
|
42235
42309
|
#
|
42236
42310
|
#
|
42237
|
-
# [1]: https://
|
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
|
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
|
42956
|
-
#
|
42957
|
-
#
|
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.
|
44113
|
-
#
|
44114
|
-
# `
|
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
|
48120
|
-
#
|
48121
|
-
#
|
48122
|
-
#
|
48123
|
-
#
|
48124
|
-
#
|
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.
|
56101
|
+
context[:gem_version] = '1.367.0'
|
56010
56102
|
Seahorse::Client::Request.new(handlers, context)
|
56011
56103
|
end
|
56012
56104
|
|