aws-sdk-ec2 1.220.0 → 1.221.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +110 -91
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/instance.rb +7 -6
- data/lib/aws-sdk-ec2/resource.rb +10 -12
- data/lib/aws-sdk-ec2/subnet.rb +10 -12
- data/lib/aws-sdk-ec2/types.rb +89 -87
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af907a52070e0ed5892e97cd6806cc60b27bfc6d8ecf6428f125864dcefd4bc6
|
4
|
+
data.tar.gz: 6bce8892dc51df15cfabd07803c09aa72e678cb8c9e2cbeab9ae5d8ea6d5fc78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3705c5ebd54b381f358d8b43ae041fd447ec3c42e43647b5687d655907f02fb08521ebc8b09d6ccb9ebd65a370f8b3024cc2892d327f05aa73039921530d50d6
|
7
|
+
data.tar.gz: 1e79d1bfa6107838b6798220eeb86abc9908401239ff4c7565a293c572303dd0612e53f60ab4f9380975af9344f63ac0ec0ea15e57c67cfcbb615db43224436b
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -877,8 +877,8 @@ module Aws::EC2
|
|
877
877
|
# Indicates whether the host accepts any untargeted instance launches
|
878
878
|
# that match its instance type configuration, or if it only accepts Host
|
879
879
|
# tenancy instance launches that specify its unique host ID. For more
|
880
|
-
# information, see [ Understanding
|
881
|
-
#
|
880
|
+
# information, see [ Understanding auto-placement and affinity][1] in
|
881
|
+
# the *Amazon EC2 User Guide*.
|
882
882
|
#
|
883
883
|
# Default: `on`
|
884
884
|
#
|
@@ -891,7 +891,7 @@ module Aws::EC2
|
|
891
891
|
#
|
892
892
|
# @option params [String] :client_token
|
893
893
|
# Unique, case-sensitive identifier that you provide to ensure the
|
894
|
-
# idempotency of the request. For more information, see [
|
894
|
+
# idempotency of the request. For more information, see [Ensuring
|
895
895
|
# Idempotency][1].
|
896
896
|
#
|
897
897
|
#
|
@@ -928,7 +928,7 @@ module Aws::EC2
|
|
928
928
|
# @option params [String] :host_recovery
|
929
929
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
930
930
|
# Host. Host recovery is disabled by default. For more information, see
|
931
|
-
# [ Host
|
931
|
+
# [ Host recovery][1] in the *Amazon EC2 User Guide*.
|
932
932
|
#
|
933
933
|
# Default: `off`
|
934
934
|
#
|
@@ -2998,7 +2998,7 @@ module Aws::EC2
|
|
2998
2998
|
# Instance Marketplace.
|
2999
2999
|
#
|
3000
3000
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
3001
|
-
# *Amazon
|
3001
|
+
# *Amazon EC2 User Guide*.
|
3002
3002
|
#
|
3003
3003
|
#
|
3004
3004
|
#
|
@@ -3661,8 +3661,8 @@ module Aws::EC2
|
|
3661
3661
|
# still get the Regional RI discounts for that usage. By creating
|
3662
3662
|
# Capacity Reservations, you ensure that you always have access to
|
3663
3663
|
# Amazon EC2 capacity when you need it, for as long as you need it. For
|
3664
|
-
# more information, see [Capacity Reservations][1] in the *Amazon
|
3665
|
-
#
|
3664
|
+
# more information, see [Capacity Reservations][1] in the *Amazon EC2
|
3665
|
+
# User Guide*.
|
3666
3666
|
#
|
3667
3667
|
# Your request to create a Capacity Reservation could fail if Amazon EC2
|
3668
3668
|
# does not have sufficient capacity to fulfill the request. If your
|
@@ -3677,7 +3677,7 @@ module Aws::EC2
|
|
3677
3677
|
# request fails due to limit constraints, increase your On-Demand
|
3678
3678
|
# Instance limit for the required instance type and try again. For more
|
3679
3679
|
# information about increasing your instance limits, see [Amazon EC2
|
3680
|
-
# Service
|
3680
|
+
# Service Quotas][2] in the *Amazon EC2 User Guide*.
|
3681
3681
|
#
|
3682
3682
|
#
|
3683
3683
|
#
|
@@ -3686,7 +3686,7 @@ module Aws::EC2
|
|
3686
3686
|
#
|
3687
3687
|
# @option params [String] :client_token
|
3688
3688
|
# Unique, case-sensitive identifier that you provide to ensure the
|
3689
|
-
# idempotency of the request. For more information, see [
|
3689
|
+
# idempotency of the request. For more information, see [Ensure
|
3690
3690
|
# Idempotency][1].
|
3691
3691
|
#
|
3692
3692
|
#
|
@@ -3695,8 +3695,7 @@ module Aws::EC2
|
|
3695
3695
|
#
|
3696
3696
|
# @option params [required, String] :instance_type
|
3697
3697
|
# The instance type for which to reserve capacity. For more information,
|
3698
|
-
# see [Instance
|
3699
|
-
# Guide*.
|
3698
|
+
# see [Instance types][1] in the *Amazon EC2 User Guide*.
|
3700
3699
|
#
|
3701
3700
|
#
|
3702
3701
|
#
|
@@ -3838,6 +3837,7 @@ module Aws::EC2
|
|
3838
3837
|
# resp.capacity_reservation.ebs_optimized #=> Boolean
|
3839
3838
|
# resp.capacity_reservation.ephemeral_storage #=> Boolean
|
3840
3839
|
# resp.capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
3840
|
+
# resp.capacity_reservation.start_date #=> Time
|
3841
3841
|
# resp.capacity_reservation.end_date #=> Time
|
3842
3842
|
# resp.capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
|
3843
3843
|
# resp.capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -4699,7 +4699,7 @@ module Aws::EC2
|
|
4699
4699
|
# subnet.
|
4700
4700
|
#
|
4701
4701
|
# For more information, see [Launching an EC2 Fleet][1] in the *Amazon
|
4702
|
-
#
|
4702
|
+
# EC2 User Guide*.
|
4703
4703
|
#
|
4704
4704
|
#
|
4705
4705
|
#
|
@@ -4744,7 +4744,7 @@ module Aws::EC2
|
|
4744
4744
|
# @option params [String] :type
|
4745
4745
|
# The type of request. The default value is `maintain`.
|
4746
4746
|
#
|
4747
|
-
# * `maintain` - The EC2 Fleet
|
4747
|
+
# * `maintain` - The EC2 Fleet places an asynchronous request for your
|
4748
4748
|
# desired capacity, and continues to maintain your desired Spot
|
4749
4749
|
# capacity by replenishing interrupted Spot Instances.
|
4750
4750
|
#
|
@@ -4758,7 +4758,7 @@ module Aws::EC2
|
|
4758
4758
|
# could not be launched.
|
4759
4759
|
#
|
4760
4760
|
# For more information, see [EC2 Fleet request types][1] in the *Amazon
|
4761
|
-
#
|
4761
|
+
# EC2 User Guide*.
|
4762
4762
|
#
|
4763
4763
|
#
|
4764
4764
|
#
|
@@ -7204,8 +7204,8 @@ module Aws::EC2
|
|
7204
7204
|
# instances in different partitions, where instances in one partition do
|
7205
7205
|
# not share the same hardware with instances in another partition.
|
7206
7206
|
#
|
7207
|
-
# For more information, see [Placement groups][1] in the *Amazon
|
7208
|
-
#
|
7207
|
+
# For more information, see [Placement groups][1] in the *Amazon EC2
|
7208
|
+
# User Guide*.
|
7209
7209
|
#
|
7210
7210
|
#
|
7211
7211
|
#
|
@@ -7318,7 +7318,7 @@ module Aws::EC2
|
|
7318
7318
|
# DescribeReservedInstancesListings operation.
|
7319
7319
|
#
|
7320
7320
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
7321
|
-
# *Amazon
|
7321
|
+
# *Amazon EC2 User Guide*.
|
7322
7322
|
#
|
7323
7323
|
#
|
7324
7324
|
#
|
@@ -10997,7 +10997,7 @@ module Aws::EC2
|
|
10997
10997
|
# `instant` fleets.
|
10998
10998
|
#
|
10999
10999
|
# For more information, see [Deleting an EC2 Fleet][1] in the *Amazon
|
11000
|
-
#
|
11000
|
+
# EC2 User Guide*.
|
11001
11001
|
#
|
11002
11002
|
#
|
11003
11003
|
#
|
@@ -11803,7 +11803,7 @@ module Aws::EC2
|
|
11803
11803
|
# Deletes the specified placement group. You must terminate all
|
11804
11804
|
# instances in the placement group before you can delete the placement
|
11805
11805
|
# group. For more information, see [Placement groups][1] in the *Amazon
|
11806
|
-
#
|
11806
|
+
# EC2 User Guide*.
|
11807
11807
|
#
|
11808
11808
|
#
|
11809
11809
|
#
|
@@ -14169,8 +14169,8 @@ module Aws::EC2
|
|
14169
14169
|
# date and time specified in your request. The reserved capacity is
|
14170
14170
|
# no longer available for your use.
|
14171
14171
|
#
|
14172
|
-
# * `cancelled` - The Capacity Reservation was
|
14173
|
-
#
|
14172
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
14173
|
+
# capacity is no longer available for your use.
|
14174
14174
|
#
|
14175
14175
|
# * `pending` - The Capacity Reservation request was successful but
|
14176
14176
|
# the capacity provisioning is still pending.
|
@@ -14256,6 +14256,7 @@ module Aws::EC2
|
|
14256
14256
|
# resp.capacity_reservations[0].ebs_optimized #=> Boolean
|
14257
14257
|
# resp.capacity_reservations[0].ephemeral_storage #=> Boolean
|
14258
14258
|
# resp.capacity_reservations[0].state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
14259
|
+
# resp.capacity_reservations[0].start_date #=> Time
|
14259
14260
|
# resp.capacity_reservations[0].end_date #=> Time
|
14260
14261
|
# resp.capacity_reservations[0].end_date_type #=> String, one of "unlimited", "limited"
|
14261
14262
|
# resp.capacity_reservations[0].instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -15630,6 +15631,13 @@ module Aws::EC2
|
|
15630
15631
|
# and not miss a recorded event. EC2 Fleet events are available for 48
|
15631
15632
|
# hours.
|
15632
15633
|
#
|
15634
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15635
|
+
# *Amazon EC2 User Guide*.
|
15636
|
+
#
|
15637
|
+
#
|
15638
|
+
#
|
15639
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15640
|
+
#
|
15633
15641
|
# @option params [Boolean] :dry_run
|
15634
15642
|
# Checks whether you have the required permissions for the action,
|
15635
15643
|
# without actually making the request, and provides an error response.
|
@@ -15698,6 +15706,13 @@ module Aws::EC2
|
|
15698
15706
|
|
15699
15707
|
# Describes the running instances for the specified EC2 Fleet.
|
15700
15708
|
#
|
15709
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15710
|
+
# *Amazon EC2 User Guide*.
|
15711
|
+
#
|
15712
|
+
#
|
15713
|
+
#
|
15714
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15715
|
+
#
|
15701
15716
|
# @option params [Boolean] :dry_run
|
15702
15717
|
# Checks whether you have the required permissions for the action,
|
15703
15718
|
# without actually making the request, and provides an error response.
|
@@ -15765,6 +15780,13 @@ module Aws::EC2
|
|
15765
15780
|
|
15766
15781
|
# Describes the specified EC2 Fleets or all of your EC2 Fleets.
|
15767
15782
|
#
|
15783
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15784
|
+
# *Amazon EC2 User Guide*.
|
15785
|
+
#
|
15786
|
+
#
|
15787
|
+
#
|
15788
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15789
|
+
#
|
15768
15790
|
# @option params [Boolean] :dry_run
|
15769
15791
|
# Checks whether you have the required permissions for the action,
|
15770
15792
|
# without actually making the request, and provides an error response.
|
@@ -16191,8 +16213,8 @@ module Aws::EC2
|
|
16191
16213
|
# Region of your Dedicated Hosts. When purchasing an offering, ensure
|
16192
16214
|
# that the instance family and Region of the offering matches that of
|
16193
16215
|
# the Dedicated Hosts with which it is to be associated. For more
|
16194
|
-
# information about supported instance types, see [Dedicated Hosts
|
16195
|
-
#
|
16216
|
+
# information about supported instance types, see [Dedicated Hosts][1]
|
16217
|
+
# in the *Amazon EC2 User Guide*.
|
16196
16218
|
#
|
16197
16219
|
#
|
16198
16220
|
#
|
@@ -17388,7 +17410,7 @@ module Aws::EC2
|
|
17388
17410
|
# in an unaffected zone, the call works normally.
|
17389
17411
|
#
|
17390
17412
|
# For more information, see [Burstable performance instances][1] in the
|
17391
|
-
# *Amazon
|
17413
|
+
# *Amazon EC2 User Guide*.
|
17392
17414
|
#
|
17393
17415
|
#
|
17394
17416
|
#
|
@@ -17505,18 +17527,17 @@ module Aws::EC2
|
|
17505
17527
|
# instances to identify hardware and software issues. For more
|
17506
17528
|
# information, see [Status checks for your instances][1] and
|
17507
17529
|
# [Troubleshooting instances with failed status checks][2] in the
|
17508
|
-
# *Amazon
|
17530
|
+
# *Amazon EC2 User Guide*.
|
17509
17531
|
#
|
17510
17532
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
17511
17533
|
# reboot, stop, or terminate) for your instances related to hardware
|
17512
17534
|
# issues, software updates, or system maintenance. For more
|
17513
17535
|
# information, see [Scheduled events for your instances][3] in the
|
17514
|
-
# *Amazon
|
17536
|
+
# *Amazon EC2 User Guide*.
|
17515
17537
|
#
|
17516
17538
|
# * **Instance state** - You can manage your instances from the moment
|
17517
17539
|
# you launch them through their termination. For more information, see
|
17518
|
-
# [Instance lifecycle][4] in the *Amazon
|
17519
|
-
# Guide*.
|
17540
|
+
# [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
|
17520
17541
|
#
|
17521
17542
|
#
|
17522
17543
|
#
|
@@ -17791,8 +17812,8 @@ module Aws::EC2
|
|
17791
17812
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17792
17813
|
#
|
17793
17814
|
# @option params [Array<String>] :instance_types
|
17794
|
-
# The instance types. For more information, see [Instance
|
17795
|
-
# the *Amazon
|
17815
|
+
# The instance types. For more information, see [Instance types][1] in
|
17816
|
+
# the *Amazon EC2 User Guide*.
|
17796
17817
|
#
|
17797
17818
|
#
|
17798
17819
|
#
|
@@ -21129,7 +21150,7 @@ module Aws::EC2
|
|
21129
21150
|
|
21130
21151
|
# Describes the specified placement groups or all of your placement
|
21131
21152
|
# groups. For more information, see [Placement groups][1] in the *Amazon
|
21132
|
-
#
|
21153
|
+
# EC2 User Guide*.
|
21133
21154
|
#
|
21134
21155
|
#
|
21135
21156
|
#
|
@@ -21570,7 +21591,7 @@ module Aws::EC2
|
|
21570
21591
|
# Describes one or more of the Reserved Instances that you purchased.
|
21571
21592
|
#
|
21572
21593
|
# For more information about Reserved Instances, see [Reserved
|
21573
|
-
# Instances][1] in the *Amazon
|
21594
|
+
# Instances][1] in the *Amazon EC2 User Guide*.
|
21574
21595
|
#
|
21575
21596
|
#
|
21576
21597
|
#
|
@@ -21726,7 +21747,7 @@ module Aws::EC2
|
|
21726
21747
|
# based on the total price of all of the listings that you purchase.
|
21727
21748
|
#
|
21728
21749
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21729
|
-
# *Amazon
|
21750
|
+
# *Amazon EC2 User Guide*.
|
21730
21751
|
#
|
21731
21752
|
#
|
21732
21753
|
#
|
@@ -21805,7 +21826,7 @@ module Aws::EC2
|
|
21805
21826
|
# only information about the specific modification is returned.
|
21806
21827
|
#
|
21807
21828
|
# For more information, see [Modifying Reserved Instances][1] in the
|
21808
|
-
# Amazon
|
21829
|
+
# *Amazon EC2 User Guide*.
|
21809
21830
|
#
|
21810
21831
|
#
|
21811
21832
|
#
|
@@ -21918,7 +21939,7 @@ module Aws::EC2
|
|
21918
21939
|
# Instances.
|
21919
21940
|
#
|
21920
21941
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21921
|
-
# *Amazon
|
21942
|
+
# *Amazon EC2 User Guide*.
|
21922
21943
|
#
|
21923
21944
|
#
|
21924
21945
|
#
|
@@ -21973,8 +21994,8 @@ module Aws::EC2
|
|
21973
21994
|
#
|
21974
21995
|
# @option params [String] :instance_type
|
21975
21996
|
# The instance type that the reservation will cover (for example,
|
21976
|
-
# `m1.small`). For more information, see [Instance
|
21977
|
-
# *Amazon
|
21997
|
+
# `m1.small`). For more information, see [Instance types][1] in the
|
21998
|
+
# *Amazon EC2 User Guide*.
|
21978
21999
|
#
|
21979
22000
|
#
|
21980
22001
|
#
|
@@ -29424,8 +29445,8 @@ module Aws::EC2
|
|
29424
29445
|
# time during the instance lifecycle. This option is supported on
|
29425
29446
|
# instance types that use the Nitro hypervisor.
|
29426
29447
|
#
|
29427
|
-
# For more information, see [Instance
|
29428
|
-
#
|
29448
|
+
# For more information, see [Instance console output][1] in the *Amazon
|
29449
|
+
# EC2 User Guide*.
|
29429
29450
|
#
|
29430
29451
|
#
|
29431
29452
|
#
|
@@ -29539,7 +29560,7 @@ module Aws::EC2
|
|
29539
29560
|
# performance instance family.
|
29540
29561
|
#
|
29541
29562
|
# For more information, see [Burstable performance instances][1] in the
|
29542
|
-
# *Amazon
|
29563
|
+
# *Amazon EC2 User Guide*.
|
29543
29564
|
#
|
29544
29565
|
#
|
29545
29566
|
#
|
@@ -30071,8 +30092,8 @@ module Aws::EC2
|
|
30071
30092
|
# The Windows password is generated at boot by the `EC2Config` service
|
30072
30093
|
# or `EC2Launch` scripts (Windows Server 2016 and later). This usually
|
30073
30094
|
# only happens the first time an instance is launched. For more
|
30074
|
-
# information, see [EC2Config][1] and [EC2Launch][2] in the Amazon
|
30075
|
-
#
|
30095
|
+
# information, see [EC2Config][1] and [EC2Launch][2] in the *Amazon EC2
|
30096
|
+
# User Guide*.
|
30076
30097
|
#
|
30077
30098
|
# For the `EC2Config` service, the password is not generated for
|
30078
30099
|
# rebundled AMIs unless `Ec2SetPassword` is enabled before bundling.
|
@@ -31391,6 +31412,10 @@ module Aws::EC2
|
|
31391
31412
|
# specified date and time. You must provide an `EndDate` value if
|
31392
31413
|
# `EndDateType` is `limited`.
|
31393
31414
|
#
|
31415
|
+
# @option params [Boolean] :accept
|
31416
|
+
# Reserved. Capacity Reservations you have created are accepted by
|
31417
|
+
# default.
|
31418
|
+
#
|
31394
31419
|
# @option params [Boolean] :dry_run
|
31395
31420
|
# Checks whether you have the required permissions for the action,
|
31396
31421
|
# without actually making the request, and provides an error response.
|
@@ -31408,6 +31433,7 @@ module Aws::EC2
|
|
31408
31433
|
# instance_count: 1,
|
31409
31434
|
# end_date: Time.now,
|
31410
31435
|
# end_date_type: "unlimited", # accepts unlimited, limited
|
31436
|
+
# accept: false,
|
31411
31437
|
# dry_run: false,
|
31412
31438
|
# })
|
31413
31439
|
#
|
@@ -31555,7 +31581,7 @@ module Aws::EC2
|
|
31555
31581
|
# for updates.
|
31556
31582
|
#
|
31557
31583
|
# For more information, see [Burstable performance instances][1] in the
|
31558
|
-
# *Amazon
|
31584
|
+
# *Amazon EC2 User Guide*.
|
31559
31585
|
#
|
31560
31586
|
#
|
31561
31587
|
#
|
@@ -31903,8 +31929,8 @@ module Aws::EC2
|
|
31903
31929
|
#
|
31904
31930
|
# @option params [String] :host_recovery
|
31905
31931
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
31906
|
-
# Host. For more information, see [ Host
|
31907
|
-
#
|
31932
|
+
# Host. For more information, see [ Host recovery][1] in the *Amazon EC2
|
31933
|
+
# User Guide*.
|
31908
31934
|
#
|
31909
31935
|
#
|
31910
31936
|
#
|
@@ -32252,7 +32278,7 @@ module Aws::EC2
|
|
32252
32278
|
#
|
32253
32279
|
# To modify some attributes, the instance must be stopped. For more
|
32254
32280
|
# information, see [Modifying attributes of a stopped instance][1] in
|
32255
|
-
# the *Amazon
|
32281
|
+
# the *Amazon EC2 User Guide*.
|
32256
32282
|
#
|
32257
32283
|
#
|
32258
32284
|
#
|
@@ -32276,7 +32302,7 @@ module Aws::EC2
|
|
32276
32302
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
32277
32303
|
# must add them when you launch the instance. For more information, see
|
32278
32304
|
# [Updating the block device mapping when launching an instance][1] in
|
32279
|
-
# the *Amazon
|
32305
|
+
# the *Amazon EC2 User Guide*.
|
32280
32306
|
#
|
32281
32307
|
#
|
32282
32308
|
#
|
@@ -32322,8 +32348,9 @@ module Aws::EC2
|
|
32322
32348
|
#
|
32323
32349
|
# @option params [Types::AttributeValue] :instance_type
|
32324
32350
|
# Changes the instance type to the specified value. For more
|
32325
|
-
# information, see [Instance types][1]
|
32326
|
-
# valid, the error returned is
|
32351
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
32352
|
+
# If the instance type is not valid, the error returned is
|
32353
|
+
# `InvalidInstanceAttributeValue`.
|
32327
32354
|
#
|
32328
32355
|
#
|
32329
32356
|
#
|
@@ -32504,7 +32531,7 @@ module Aws::EC2
|
|
32504
32531
|
# `unlimited`.
|
32505
32532
|
#
|
32506
32533
|
# For more information, see [Burstable performance instances][1] in the
|
32507
|
-
# *Amazon
|
32534
|
+
# *Amazon EC2 User Guide*.
|
32508
32535
|
#
|
32509
32536
|
#
|
32510
32537
|
#
|
@@ -32619,7 +32646,8 @@ module Aws::EC2
|
|
32619
32646
|
# “pending”. After the parameter modifications are successfully applied
|
32620
32647
|
# to the instance, the state of the modifications changes from “pending”
|
32621
32648
|
# to “applied” in subsequent describe-instances API calls. For more
|
32622
|
-
# information, see [Instance metadata and user data][1]
|
32649
|
+
# information, see [Instance metadata and user data][1] in the *Amazon
|
32650
|
+
# EC2 User Guide*.
|
32623
32651
|
#
|
32624
32652
|
#
|
32625
32653
|
#
|
@@ -33073,7 +33101,7 @@ module Aws::EC2
|
|
33073
33101
|
# Availability Zone, network platform, and instance type.
|
33074
33102
|
#
|
33075
33103
|
# For more information, see [Modifying Reserved Instances][1] in the
|
33076
|
-
# Amazon
|
33104
|
+
# *Amazon EC2 User Guide*.
|
33077
33105
|
#
|
33078
33106
|
#
|
33079
33107
|
#
|
@@ -35160,8 +35188,7 @@ module Aws::EC2
|
|
35160
35188
|
|
35161
35189
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
35162
35190
|
# monitoring is enabled. For more information, see [Monitoring your
|
35163
|
-
# instances and volumes][1] in the *Amazon
|
35164
|
-
# Guide*.
|
35191
|
+
# instances and volumes][1] in the *Amazon EC2 User Guide*.
|
35165
35192
|
#
|
35166
35193
|
# To disable detailed monitoring, see .
|
35167
35194
|
#
|
@@ -35366,7 +35393,7 @@ module Aws::EC2
|
|
35366
35393
|
#
|
35367
35394
|
# @option params [String] :client_token
|
35368
35395
|
# Unique, case-sensitive identifier that you provide to ensure the
|
35369
|
-
# idempotency of the request. For more information, see [
|
35396
|
+
# idempotency of the request. For more information, see [Ensuring
|
35370
35397
|
# Idempotency][1].
|
35371
35398
|
#
|
35372
35399
|
#
|
@@ -35466,8 +35493,7 @@ module Aws::EC2
|
|
35466
35493
|
# current time.
|
35467
35494
|
#
|
35468
35495
|
# For more information, see [Reserved Instances][1] and [Reserved
|
35469
|
-
# Instance Marketplace][2] in the *Amazon
|
35470
|
-
# Guide*.
|
35496
|
+
# Instance Marketplace][2] in the *Amazon EC2 User Guide*.
|
35471
35497
|
#
|
35472
35498
|
#
|
35473
35499
|
#
|
@@ -35660,8 +35686,7 @@ module Aws::EC2
|
|
35660
35686
|
# EC2 performs a hard reboot.
|
35661
35687
|
#
|
35662
35688
|
# For more information about troubleshooting, see [Getting console
|
35663
|
-
# output and rebooting instances][1] in the *Amazon
|
35664
|
-
# Cloud User Guide*.
|
35689
|
+
# output and rebooting instances][1] in the *Amazon EC2 User Guide*.
|
35665
35690
|
#
|
35666
35691
|
#
|
35667
35692
|
#
|
@@ -37839,8 +37864,8 @@ module Aws::EC2
|
|
37839
37864
|
# The `sourceDestCheck` attribute controls whether source/destination
|
37840
37865
|
# checking is enabled. The default value is `true`, which means checking
|
37841
37866
|
# is enabled. This value must be `false` for a NAT instance to perform
|
37842
|
-
# NAT. For more information, see [NAT Instances][1] in the *Amazon
|
37843
|
-
#
|
37867
|
+
# NAT. For more information, see [NAT Instances][1] in the *Amazon VPC
|
37868
|
+
# User Guide*.
|
37844
37869
|
#
|
37845
37870
|
#
|
37846
37871
|
#
|
@@ -38512,12 +38537,10 @@ module Aws::EC2
|
|
38512
38537
|
# Linux instances have access to the public key of the key pair at boot.
|
38513
38538
|
# You can use this key to provide secure access to the instance. Amazon
|
38514
38539
|
# EC2 public images use this feature to provide secure access without
|
38515
|
-
# passwords. For more information, see [Key pairs][6]
|
38516
|
-
# Elastic Compute Cloud User Guide*.
|
38540
|
+
# passwords. For more information, see [Key pairs][6].
|
38517
38541
|
#
|
38518
38542
|
# For troubleshooting, see [What to do if an instance immediately
|
38519
|
-
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
38520
|
-
# in the *Amazon Elastic Compute Cloud User Guide*.
|
38543
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8].
|
38521
38544
|
#
|
38522
38545
|
#
|
38523
38546
|
#
|
@@ -38539,7 +38562,7 @@ module Aws::EC2
|
|
38539
38562
|
#
|
38540
38563
|
# @option params [String] :instance_type
|
38541
38564
|
# The instance type. For more information, see [Instance types][1] in
|
38542
|
-
# the *Amazon
|
38565
|
+
# the *Amazon EC2 User Guide*.
|
38543
38566
|
#
|
38544
38567
|
# Default: `m1.small`
|
38545
38568
|
#
|
@@ -38572,8 +38595,8 @@ module Aws::EC2
|
|
38572
38595
|
# The ID of the kernel.
|
38573
38596
|
#
|
38574
38597
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38575
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38576
|
-
#
|
38598
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
38599
|
+
# Guide*.
|
38577
38600
|
#
|
38578
38601
|
#
|
38579
38602
|
#
|
@@ -38634,8 +38657,8 @@ module Aws::EC2
|
|
38634
38657
|
# go to the AWS Resource Center and search for the kernel ID.
|
38635
38658
|
#
|
38636
38659
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38637
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38638
|
-
#
|
38660
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
38661
|
+
# Guide*.
|
38639
38662
|
#
|
38640
38663
|
#
|
38641
38664
|
#
|
@@ -38762,8 +38785,7 @@ module Aws::EC2
|
|
38762
38785
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
38763
38786
|
# resource that you can attach to your Windows instance to accelerate
|
38764
38787
|
# the graphics performance of your applications. For more information,
|
38765
|
-
# see [
|
38766
|
-
# User Guide*.
|
38788
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
38767
38789
|
#
|
38768
38790
|
#
|
38769
38791
|
#
|
@@ -38806,7 +38828,7 @@ module Aws::EC2
|
|
38806
38828
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
38807
38829
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
38808
38830
|
# information, see [Burstable performance instances][2] in the *Amazon
|
38809
|
-
#
|
38831
|
+
# EC2 User Guide*.
|
38810
38832
|
#
|
38811
38833
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
38812
38834
|
#
|
@@ -38817,8 +38839,7 @@ module Aws::EC2
|
|
38817
38839
|
#
|
38818
38840
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
38819
38841
|
# The CPU options for the instance. For more information, see
|
38820
|
-
# [Optimizing CPU options][1] in the *Amazon
|
38821
|
-
# Guide*.
|
38842
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
38822
38843
|
#
|
38823
38844
|
#
|
38824
38845
|
#
|
@@ -38833,8 +38854,8 @@ module Aws::EC2
|
|
38833
38854
|
#
|
38834
38855
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
38835
38856
|
# Indicates whether an instance is enabled for hibernation. For more
|
38836
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
38837
|
-
#
|
38857
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
38858
|
+
# Guide*.
|
38838
38859
|
#
|
38839
38860
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
38840
38861
|
# instance.
|
@@ -39220,7 +39241,7 @@ module Aws::EC2
|
|
39220
39241
|
# it as needed. If you terminate a Scheduled Instance before the current
|
39221
39242
|
# scheduled time period ends, you can launch it again after a few
|
39222
39243
|
# minutes. For more information, see [Scheduled Instances][1] in the
|
39223
|
-
# *Amazon
|
39244
|
+
# *Amazon EC2 User Guide*.
|
39224
39245
|
#
|
39225
39246
|
#
|
39226
39247
|
#
|
@@ -39737,8 +39758,8 @@ module Aws::EC2
|
|
39737
39758
|
# Performing this operation on an instance that uses an instance store
|
39738
39759
|
# as its root device returns an error.
|
39739
39760
|
#
|
39740
|
-
# For more information, see [Stopping instances][1] in the *Amazon
|
39741
|
-
#
|
39761
|
+
# For more information, see [Stopping instances][1] in the *Amazon EC2
|
39762
|
+
# User Guide*.
|
39742
39763
|
#
|
39743
39764
|
#
|
39744
39765
|
#
|
@@ -40169,7 +40190,7 @@ module Aws::EC2
|
|
40169
40190
|
# You can use the Stop action to hibernate an instance if the instance
|
40170
40191
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
40171
40192
|
# prerequisites][2]. For more information, see [Hibernate your
|
40172
|
-
# instance][3] in the *Amazon
|
40193
|
+
# instance][3] in the *Amazon EC2 User Guide*.
|
40173
40194
|
#
|
40174
40195
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
40175
40196
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -40186,7 +40207,7 @@ module Aws::EC2
|
|
40186
40207
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
40187
40208
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
40188
40209
|
# interrupted. For more information, see [Hibernating interrupted Spot
|
40189
|
-
# Instances][4] in the *Amazon
|
40210
|
+
# Instances][4] in the *Amazon EC2 User Guide*.
|
40190
40211
|
#
|
40191
40212
|
# When you stop or hibernate an instance, we shut it down. You can
|
40192
40213
|
# restart your instance at any time. Before stopping or hibernating an
|
@@ -40202,13 +40223,13 @@ module Aws::EC2
|
|
40202
40223
|
# devices attached during the instance launch are automatically deleted.
|
40203
40224
|
# For more information about the differences between rebooting,
|
40204
40225
|
# stopping, hibernating, and terminating instances, see [Instance
|
40205
|
-
# lifecycle][5] in the *Amazon
|
40226
|
+
# lifecycle][5] in the *Amazon EC2 User Guide*.
|
40206
40227
|
#
|
40207
40228
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
40208
40229
|
# short while. If your instance appears stuck in the stopping state
|
40209
40230
|
# after a period of time, there may be an issue with the underlying host
|
40210
40231
|
# computer. For more information, see [Troubleshooting stopping your
|
40211
|
-
# instance][6] in the *Amazon
|
40232
|
+
# instance][6] in the *Amazon EC2 User Guide*.
|
40212
40233
|
#
|
40213
40234
|
#
|
40214
40235
|
#
|
@@ -40226,7 +40247,7 @@ module Aws::EC2
|
|
40226
40247
|
# Hibernates the instance if the instance was enabled for hibernation at
|
40227
40248
|
# launch. If the instance cannot hibernate successfully, a normal
|
40228
40249
|
# shutdown occurs. For more information, see [Hibernate your
|
40229
|
-
# instance][1] in the *Amazon
|
40250
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
40230
40251
|
#
|
40231
40252
|
# Default: `false`
|
40232
40253
|
#
|
@@ -40385,12 +40406,10 @@ module Aws::EC2
|
|
40385
40406
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
40386
40407
|
# set to `true` are automatically deleted. For more information about
|
40387
40408
|
# the differences between stopping and terminating instances, see
|
40388
|
-
# [Instance lifecycle][1] in the *Amazon
|
40389
|
-
# Guide*.
|
40409
|
+
# [Instance lifecycle][1] in the *Amazon EC2 User Guide*.
|
40390
40410
|
#
|
40391
40411
|
# For more information about troubleshooting, see [Troubleshooting
|
40392
|
-
# terminating your instance][2] in the *Amazon
|
40393
|
-
# User Guide*.
|
40412
|
+
# terminating your instance][2] in the *Amazon EC2 User Guide*.
|
40394
40413
|
#
|
40395
40414
|
#
|
40396
40415
|
#
|
@@ -40544,7 +40563,7 @@ module Aws::EC2
|
|
40544
40563
|
|
40545
40564
|
# Disables detailed monitoring for a running instance. For more
|
40546
40565
|
# information, see [Monitoring your instances and volumes][1] in the
|
40547
|
-
# *Amazon
|
40566
|
+
# *Amazon EC2 User Guide*.
|
40548
40567
|
#
|
40549
40568
|
#
|
40550
40569
|
#
|
@@ -40871,7 +40890,7 @@ module Aws::EC2
|
|
40871
40890
|
params: params,
|
40872
40891
|
config: config)
|
40873
40892
|
context[:gem_name] = 'aws-sdk-ec2'
|
40874
|
-
context[:gem_version] = '1.
|
40893
|
+
context[:gem_version] = '1.221.0'
|
40875
40894
|
Seahorse::Client::Request.new(handlers, context)
|
40876
40895
|
end
|
40877
40896
|
|