aws-sdk-ec2 1.170.0 → 1.171.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 +61 -47
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/instance.rb +6 -6
- data/lib/aws-sdk-ec2/resource.rb +6 -6
- data/lib/aws-sdk-ec2/subnet.rb +6 -6
- data/lib/aws-sdk-ec2/types.rb +47 -30
- 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: 8317d9e657a951e519fe068e23137cca9b41c4df5fafb88b2c4df79a77f86f02
|
4
|
+
data.tar.gz: 2dbf840bc4ff720915903cfe4d7e439c8195d26deb0b82d2a585704edc98d434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35219e430abf9686b69ccd8f2d43a0f45a567b54cb6e924aa958dba6b8066838c553ad63d123b0429f86a91f601e7ea1438bc000a722c2afd4167d9302057c90
|
7
|
+
data.tar.gz: 683a39419a000b2bc2b7a426be113eaa5a75df27362968b25bd64c6565a59772740f4d92a8e285144fd362753078c5b479eaf16f6ec0c5773b7651454fdfde60
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -6577,7 +6577,7 @@ module Aws::EC2
|
|
6577
6577
|
# instances in different partitions, where instances in one partition do
|
6578
6578
|
# not share the same hardware with instances in another partition.
|
6579
6579
|
#
|
6580
|
-
# For more information, see [Placement
|
6580
|
+
# For more information, see [Placement groups][1] in the *Amazon Elastic
|
6581
6581
|
# Compute Cloud User Guide*.
|
6582
6582
|
#
|
6583
6583
|
#
|
@@ -10527,7 +10527,7 @@ module Aws::EC2
|
|
10527
10527
|
|
10528
10528
|
# Deletes the specified placement group. You must terminate all
|
10529
10529
|
# instances in the placement group before you can delete the placement
|
10530
|
-
# group. For more information, see [Placement
|
10530
|
+
# group. For more information, see [Placement groups][1] in the *Amazon
|
10531
10531
|
# Elastic Compute Cloud User Guide*.
|
10532
10532
|
#
|
10533
10533
|
#
|
@@ -15833,7 +15833,7 @@ module Aws::EC2
|
|
15833
15833
|
# instance IDs at all, the call fails. If you specify only instance IDs
|
15834
15834
|
# in an unaffected zone, the call works normally.
|
15835
15835
|
#
|
15836
|
-
# For more information, see [Burstable
|
15836
|
+
# For more information, see [Burstable performance instances][1] in the
|
15837
15837
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15838
15838
|
#
|
15839
15839
|
#
|
@@ -15949,19 +15949,19 @@ module Aws::EC2
|
|
15949
15949
|
#
|
15950
15950
|
# * **Status checks** - Amazon EC2 performs status checks on running EC2
|
15951
15951
|
# instances to identify hardware and software issues. For more
|
15952
|
-
# information, see [Status
|
15953
|
-
# [Troubleshooting
|
15952
|
+
# information, see [Status checks for your instances][1] and
|
15953
|
+
# [Troubleshooting instances with failed status checks][2] in the
|
15954
15954
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15955
15955
|
#
|
15956
15956
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
15957
15957
|
# reboot, stop, or terminate) for your instances related to hardware
|
15958
15958
|
# issues, software updates, or system maintenance. For more
|
15959
|
-
# information, see [Scheduled
|
15959
|
+
# information, see [Scheduled events for your instances][3] in the
|
15960
15960
|
# *Amazon Elastic Compute Cloud User Guide*.
|
15961
15961
|
#
|
15962
15962
|
# * **Instance state** - You can manage your instances from the moment
|
15963
15963
|
# you launch them through their termination. For more information, see
|
15964
|
-
# [Instance
|
15964
|
+
# [Instance lifecycle][4] in the *Amazon Elastic Compute Cloud User
|
15965
15965
|
# Guide*.
|
15966
15966
|
#
|
15967
15967
|
#
|
@@ -19030,7 +19030,7 @@ module Aws::EC2
|
|
19030
19030
|
end
|
19031
19031
|
|
19032
19032
|
# Describes the specified placement groups or all of your placement
|
19033
|
-
# groups. For more information, see [Placement
|
19033
|
+
# groups. For more information, see [Placement groups][1] in the *Amazon
|
19034
19034
|
# Elastic Compute Cloud User Guide*.
|
19035
19035
|
#
|
19036
19036
|
#
|
@@ -27130,7 +27130,7 @@ module Aws::EC2
|
|
27130
27130
|
# Describes the default credit option for CPU usage of a burstable
|
27131
27131
|
# performance instance family.
|
27132
27132
|
#
|
27133
|
-
# For more information, see [Burstable
|
27133
|
+
# For more information, see [Burstable performance instances][1] in the
|
27134
27134
|
# *Amazon Elastic Compute Cloud User Guide*.
|
27135
27135
|
#
|
27136
27136
|
#
|
@@ -28866,7 +28866,7 @@ module Aws::EC2
|
|
28866
28866
|
# `GetDefaultCreditSpecification` and check `DefaultCreditSpecification`
|
28867
28867
|
# for updates.
|
28868
28868
|
#
|
28869
|
-
# For more information, see [Burstable
|
28869
|
+
# For more information, see [Burstable performance instances][1] in the
|
28870
28870
|
# *Amazon Elastic Compute Cloud User Guide*.
|
28871
28871
|
#
|
28872
28872
|
#
|
@@ -29531,7 +29531,7 @@ module Aws::EC2
|
|
29531
29531
|
# ModifyNetworkInterfaceAttribute action.
|
29532
29532
|
#
|
29533
29533
|
# To modify some attributes, the instance must be stopped. For more
|
29534
|
-
# information, see [Modifying
|
29534
|
+
# information, see [Modifying attributes of a stopped instance][1] in
|
29535
29535
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29536
29536
|
#
|
29537
29537
|
#
|
@@ -29555,7 +29555,7 @@ module Aws::EC2
|
|
29555
29555
|
#
|
29556
29556
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
29557
29557
|
# must add them when you launch the instance. For more information, see
|
29558
|
-
# [Updating the
|
29558
|
+
# [Updating the block device mapping when launching an instance][1] in
|
29559
29559
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
29560
29560
|
#
|
29561
29561
|
#
|
@@ -29602,7 +29602,7 @@ module Aws::EC2
|
|
29602
29602
|
#
|
29603
29603
|
# @option params [Types::AttributeValue] :instance_type
|
29604
29604
|
# Changes the instance type to the specified value. For more
|
29605
|
-
# information, see [Instance
|
29605
|
+
# information, see [Instance types][1]. If the instance type is not
|
29606
29606
|
# valid, the error returned is `InvalidInstanceAttributeValue`.
|
29607
29607
|
#
|
29608
29608
|
#
|
@@ -29782,7 +29782,7 @@ module Aws::EC2
|
|
29782
29782
|
# burstable performance instance. The credit options are `standard` and
|
29783
29783
|
# `unlimited`.
|
29784
29784
|
#
|
29785
|
-
# For more information, see [Burstable
|
29785
|
+
# For more information, see [Burstable performance instances][1] in the
|
29786
29786
|
# *Amazon Elastic Compute Cloud User Guide*.
|
29787
29787
|
#
|
29788
29788
|
#
|
@@ -29898,7 +29898,7 @@ module Aws::EC2
|
|
29898
29898
|
# “pending”. After the parameter modifications are successfully applied
|
29899
29899
|
# to the instance, the state of the modifications changes from “pending”
|
29900
29900
|
# to “applied” in subsequent describe-instances API calls. For more
|
29901
|
-
# information, see [Instance
|
29901
|
+
# information, see [Instance metadata and user data][1].
|
29902
29902
|
#
|
29903
29903
|
#
|
29904
29904
|
#
|
@@ -31999,8 +31999,8 @@ module Aws::EC2
|
|
31999
31999
|
end
|
32000
32000
|
|
32001
32001
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
32002
|
-
# monitoring is enabled. For more information, see [Monitoring
|
32003
|
-
#
|
32002
|
+
# monitoring is enabled. For more information, see [Monitoring your
|
32003
|
+
# instances and volumes][1] in the *Amazon Elastic Compute Cloud User
|
32004
32004
|
# Guide*.
|
32005
32005
|
#
|
32006
32006
|
# To disable detailed monitoring, see .
|
@@ -32234,6 +32234,9 @@ module Aws::EC2
|
|
32234
32234
|
# @option params [required, String] :offering_id
|
32235
32235
|
# The ID of the offering.
|
32236
32236
|
#
|
32237
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
32238
|
+
# The tags to apply to the Dedicated Host Reservation during purchase.
|
32239
|
+
#
|
32237
32240
|
# @return [Types::PurchaseHostReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
32238
32241
|
#
|
32239
32242
|
# * {Types::PurchaseHostReservationResult#client_token #client_token} => String
|
@@ -32250,6 +32253,17 @@ module Aws::EC2
|
|
32250
32253
|
# host_id_set: ["DedicatedHostId"], # required
|
32251
32254
|
# limit_price: "String",
|
32252
32255
|
# offering_id: "OfferingId", # required
|
32256
|
+
# tag_specifications: [
|
32257
|
+
# {
|
32258
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
32259
|
+
# tags: [
|
32260
|
+
# {
|
32261
|
+
# key: "String",
|
32262
|
+
# value: "String",
|
32263
|
+
# },
|
32264
|
+
# ],
|
32265
|
+
# },
|
32266
|
+
# ],
|
32253
32267
|
# })
|
32254
32268
|
#
|
32255
32269
|
# @example Response structure
|
@@ -32485,8 +32499,8 @@ module Aws::EC2
|
|
32485
32499
|
# If an instance does not cleanly shut down within four minutes, Amazon
|
32486
32500
|
# EC2 performs a hard reboot.
|
32487
32501
|
#
|
32488
|
-
# For more information about troubleshooting, see [Getting
|
32489
|
-
#
|
32502
|
+
# For more information about troubleshooting, see [Getting console
|
32503
|
+
# output and rebooting instances][1] in the *Amazon Elastic Compute
|
32490
32504
|
# Cloud User Guide*.
|
32491
32505
|
#
|
32492
32506
|
#
|
@@ -35067,7 +35081,7 @@ module Aws::EC2
|
|
35067
35081
|
#
|
35068
35082
|
# * Some instance types must be launched into a VPC. If you do not have
|
35069
35083
|
# a default VPC, or if you do not specify a subnet ID, the request
|
35070
|
-
# fails. For more information, see [Instance
|
35084
|
+
# fails. For more information, see [Instance types available only in a
|
35071
35085
|
# VPC][1].
|
35072
35086
|
#
|
35073
35087
|
# * \[EC2-VPC\] All instances have a network interface with a primary
|
@@ -35075,10 +35089,10 @@ module Aws::EC2
|
|
35075
35089
|
# one from the IPv4 range of your subnet.
|
35076
35090
|
#
|
35077
35091
|
# * Not all instance types support IPv6 addresses. For more information,
|
35078
|
-
# see [Instance
|
35092
|
+
# see [Instance types][2].
|
35079
35093
|
#
|
35080
35094
|
# * If you don't specify a security group ID, we use the default
|
35081
|
-
# security group. For more information, see [Security
|
35095
|
+
# security group. For more information, see [Security groups][3].
|
35082
35096
|
#
|
35083
35097
|
# * If any of the AMIs have a product code attached for which the user
|
35084
35098
|
# has not subscribed, the request fails.
|
@@ -35095,17 +35109,17 @@ module Aws::EC2
|
|
35095
35109
|
# An instance is ready for you to use when it's in the `running` state.
|
35096
35110
|
# You can check the state of your instance using DescribeInstances. You
|
35097
35111
|
# can tag instances and EBS volumes during launch, after launch, or
|
35098
|
-
# both. For more information, see CreateTags and [Tagging
|
35099
|
-
# EC2
|
35112
|
+
# both. For more information, see CreateTags and [Tagging your Amazon
|
35113
|
+
# EC2 resources][5].
|
35100
35114
|
#
|
35101
35115
|
# Linux instances have access to the public key of the key pair at boot.
|
35102
35116
|
# You can use this key to provide secure access to the instance. Amazon
|
35103
35117
|
# EC2 public images use this feature to provide secure access without
|
35104
|
-
# passwords. For more information, see [Key
|
35118
|
+
# passwords. For more information, see [Key pairs][6] in the *Amazon
|
35105
35119
|
# Elastic Compute Cloud User Guide*.
|
35106
35120
|
#
|
35107
|
-
# For troubleshooting, see [What
|
35108
|
-
#
|
35121
|
+
# For troubleshooting, see [What to do if an instance immediately
|
35122
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
35109
35123
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
35110
35124
|
#
|
35111
35125
|
#
|
@@ -35127,7 +35141,7 @@ module Aws::EC2
|
|
35127
35141
|
# must be specified here or in a launch template.
|
35128
35142
|
#
|
35129
35143
|
# @option params [String] :instance_type
|
35130
|
-
# The instance type. For more information, see [Instance
|
35144
|
+
# The instance type. For more information, see [Instance types][1] in
|
35131
35145
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
35132
35146
|
#
|
35133
35147
|
# Default: `m1.small`
|
@@ -35258,7 +35272,7 @@ module Aws::EC2
|
|
35258
35272
|
#
|
35259
35273
|
# @option params [String] :user_data
|
35260
35274
|
# The user data to make available to the instance. For more information,
|
35261
|
-
# see [Running
|
35275
|
+
# see [Running commands on your Linux instance at launch][1] (Linux) and
|
35262
35276
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
35263
35277
|
# base64-encoding is performed for you, and you can load the text from a
|
35264
35278
|
# file. Otherwise, you must provide base64-encoded text. User data is
|
@@ -35394,7 +35408,7 @@ module Aws::EC2
|
|
35394
35408
|
# The credit option for CPU usage of the burstable performance instance.
|
35395
35409
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
35396
35410
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
35397
|
-
# information, see [Burstable
|
35411
|
+
# information, see [Burstable performance instances][2] in the *Amazon
|
35398
35412
|
# Elastic Compute Cloud User Guide*.
|
35399
35413
|
#
|
35400
35414
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
@@ -35406,7 +35420,7 @@ module Aws::EC2
|
|
35406
35420
|
#
|
35407
35421
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
35408
35422
|
# The CPU options for the instance. For more information, see
|
35409
|
-
# [Optimizing CPU
|
35423
|
+
# [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
|
35410
35424
|
# Guide*.
|
35411
35425
|
#
|
35412
35426
|
#
|
@@ -35422,7 +35436,7 @@ module Aws::EC2
|
|
35422
35436
|
#
|
35423
35437
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
35424
35438
|
# Indicates whether an instance is enabled for hibernation. For more
|
35425
|
-
# information, see [Hibernate
|
35439
|
+
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
35426
35440
|
# Compute Cloud User Guide*.
|
35427
35441
|
#
|
35428
35442
|
#
|
@@ -35434,7 +35448,7 @@ module Aws::EC2
|
|
35434
35448
|
#
|
35435
35449
|
# @option params [Types::InstanceMetadataOptionsRequest] :metadata_options
|
35436
35450
|
# The metadata options for the instance. For more information, see
|
35437
|
-
# [Instance
|
35451
|
+
# [Instance metadata and user data][1].
|
35438
35452
|
#
|
35439
35453
|
#
|
35440
35454
|
#
|
@@ -36234,7 +36248,7 @@ module Aws::EC2
|
|
36234
36248
|
#
|
36235
36249
|
# For more information about configuring your operating system to
|
36236
36250
|
# generate a crash dump when a kernel panic or stop error occurs, see
|
36237
|
-
# [Send a
|
36251
|
+
# [Send a diagnostic interrupt][1] (Linux instances) or [Send a
|
36238
36252
|
# Diagnostic Interrupt][2] (Windows instances).
|
36239
36253
|
#
|
36240
36254
|
#
|
@@ -36292,7 +36306,7 @@ module Aws::EC2
|
|
36292
36306
|
# Performing this operation on an instance that uses an instance store
|
36293
36307
|
# as its root device returns an error.
|
36294
36308
|
#
|
36295
|
-
# For more information, see [Stopping
|
36309
|
+
# For more information, see [Stopping instances][1] in the *Amazon
|
36296
36310
|
# Elastic Compute Cloud User Guide*.
|
36297
36311
|
#
|
36298
36312
|
#
|
@@ -36420,8 +36434,8 @@ module Aws::EC2
|
|
36420
36434
|
#
|
36421
36435
|
# You can use the Stop action to hibernate an instance if the instance
|
36422
36436
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
36423
|
-
# prerequisites][2]. For more information, see [Hibernate
|
36424
|
-
#
|
36437
|
+
# prerequisites][2]. For more information, see [Hibernate your
|
36438
|
+
# instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
|
36425
36439
|
#
|
36426
36440
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
36427
36441
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -36437,7 +36451,7 @@ module Aws::EC2
|
|
36437
36451
|
# You can't stop or hibernate instance store-backed instances. You
|
36438
36452
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
36439
36453
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
36440
|
-
# interrupted. For more information, see [Hibernating
|
36454
|
+
# interrupted. For more information, see [Hibernating interrupted Spot
|
36441
36455
|
# Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
36442
36456
|
#
|
36443
36457
|
# When you stop or hibernate an instance, we shut it down. You can
|
@@ -36454,13 +36468,13 @@ module Aws::EC2
|
|
36454
36468
|
# devices attached during the instance launch are automatically deleted.
|
36455
36469
|
# For more information about the differences between rebooting,
|
36456
36470
|
# stopping, hibernating, and terminating instances, see [Instance
|
36457
|
-
#
|
36471
|
+
# lifecycle][5] in the *Amazon Elastic Compute Cloud User Guide*.
|
36458
36472
|
#
|
36459
36473
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
36460
36474
|
# short while. If your instance appears stuck in the stopping state
|
36461
36475
|
# after a period of time, there may be an issue with the underlying host
|
36462
|
-
# computer. For more information, see [Troubleshooting
|
36463
|
-
#
|
36476
|
+
# computer. For more information, see [Troubleshooting stopping your
|
36477
|
+
# instance][6] in the *Amazon Elastic Compute Cloud User Guide*.
|
36464
36478
|
#
|
36465
36479
|
#
|
36466
36480
|
#
|
@@ -36477,8 +36491,8 @@ module Aws::EC2
|
|
36477
36491
|
# @option params [Boolean] :hibernate
|
36478
36492
|
# Hibernates the instance if the instance was enabled for hibernation at
|
36479
36493
|
# launch. If the instance cannot hibernate successfully, a normal
|
36480
|
-
# shutdown occurs. For more information, see [Hibernate
|
36481
|
-
#
|
36494
|
+
# shutdown occurs. For more information, see [Hibernate your
|
36495
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
36482
36496
|
#
|
36483
36497
|
# Default: `false`
|
36484
36498
|
#
|
@@ -36637,11 +36651,11 @@ module Aws::EC2
|
|
36637
36651
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
36638
36652
|
# set to `true` are automatically deleted. For more information about
|
36639
36653
|
# the differences between stopping and terminating instances, see
|
36640
|
-
# [Instance
|
36654
|
+
# [Instance lifecycle][1] in the *Amazon Elastic Compute Cloud User
|
36641
36655
|
# Guide*.
|
36642
36656
|
#
|
36643
36657
|
# For more information about troubleshooting, see [Troubleshooting
|
36644
|
-
#
|
36658
|
+
# terminating your instance][2] in the *Amazon Elastic Compute Cloud
|
36645
36659
|
# User Guide*.
|
36646
36660
|
#
|
36647
36661
|
#
|
@@ -36795,7 +36809,7 @@ module Aws::EC2
|
|
36795
36809
|
end
|
36796
36810
|
|
36797
36811
|
# Disables detailed monitoring for a running instance. For more
|
36798
|
-
# information, see [Monitoring
|
36812
|
+
# information, see [Monitoring your instances and volumes][1] in the
|
36799
36813
|
# *Amazon Elastic Compute Cloud User Guide*.
|
36800
36814
|
#
|
36801
36815
|
#
|
@@ -37123,7 +37137,7 @@ module Aws::EC2
|
|
37123
37137
|
params: params,
|
37124
37138
|
config: config)
|
37125
37139
|
context[:gem_name] = 'aws-sdk-ec2'
|
37126
|
-
context[:gem_version] = '1.
|
37140
|
+
context[:gem_version] = '1.171.0'
|
37127
37141
|
Seahorse::Client::Request.new(handlers, context)
|
37128
37142
|
end
|
37129
37143
|
|
@@ -7844,6 +7844,7 @@ module Aws::EC2
|
|
7844
7844
|
PurchaseHostReservationRequest.add_member(:host_id_set, Shapes::ShapeRef.new(shape: RequestHostIdSet, required: true, location_name: "HostIdSet"))
|
7845
7845
|
PurchaseHostReservationRequest.add_member(:limit_price, Shapes::ShapeRef.new(shape: String, location_name: "LimitPrice"))
|
7846
7846
|
PurchaseHostReservationRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: OfferingId, required: true, location_name: "OfferingId"))
|
7847
|
+
PurchaseHostReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
7847
7848
|
PurchaseHostReservationRequest.struct_class = Types::PurchaseHostReservationRequest
|
7848
7849
|
|
7849
7850
|
PurchaseHostReservationResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -900,7 +900,7 @@ module Aws::EC2
|
|
900
900
|
#
|
901
901
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
902
902
|
# must add them when you launch the instance. For more information, see
|
903
|
-
# [Updating the
|
903
|
+
# [Updating the block device mapping when launching an instance][1] in
|
904
904
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
905
905
|
#
|
906
906
|
#
|
@@ -937,7 +937,7 @@ module Aws::EC2
|
|
937
937
|
# system shutdown).
|
938
938
|
# @option options [Types::AttributeValue] :instance_type
|
939
939
|
# Changes the instance type to the specified value. For more
|
940
|
-
# information, see [Instance
|
940
|
+
# information, see [Instance types][1]. If the instance type is not
|
941
941
|
# valid, the error returned is `InvalidInstanceAttributeValue`.
|
942
942
|
#
|
943
943
|
#
|
@@ -1216,8 +1216,8 @@ module Aws::EC2
|
|
1216
1216
|
# @option options [Boolean] :hibernate
|
1217
1217
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1218
1218
|
# launch. If the instance cannot hibernate successfully, a normal
|
1219
|
-
# shutdown occurs. For more information, see [Hibernate
|
1220
|
-
#
|
1219
|
+
# shutdown occurs. For more information, see [Hibernate your
|
1220
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
1221
1221
|
#
|
1222
1222
|
# Default: `false`
|
1223
1223
|
#
|
@@ -1757,8 +1757,8 @@ module Aws::EC2
|
|
1757
1757
|
# @option options [Boolean] :hibernate
|
1758
1758
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1759
1759
|
# launch. If the instance cannot hibernate successfully, a normal
|
1760
|
-
# shutdown occurs. For more information, see [Hibernate
|
1761
|
-
#
|
1760
|
+
# shutdown occurs. For more information, see [Hibernate your
|
1761
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
1762
1762
|
#
|
1763
1763
|
# Default: `false`
|
1764
1764
|
#
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -221,7 +221,7 @@ module Aws::EC2
|
|
221
221
|
# The ID of the AMI. An AMI ID is required to launch an instance and
|
222
222
|
# must be specified here or in a launch template.
|
223
223
|
# @option options [String] :instance_type
|
224
|
-
# The instance type. For more information, see [Instance
|
224
|
+
# The instance type. For more information, see [Instance types][1] in
|
225
225
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
226
226
|
#
|
227
227
|
# Default: `m1.small`
|
@@ -339,7 +339,7 @@ module Aws::EC2
|
|
339
339
|
# part of the network interface.
|
340
340
|
# @option options [String] :user_data
|
341
341
|
# The user data to make available to the instance. For more information,
|
342
|
-
# see [Running
|
342
|
+
# see [Running commands on your Linux instance at launch][1] (Linux) and
|
343
343
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
344
344
|
# base64-encoding is performed for you, and you can load the text from a
|
345
345
|
# file. Otherwise, you must provide base64-encoded text. User data is
|
@@ -457,7 +457,7 @@ module Aws::EC2
|
|
457
457
|
# The credit option for CPU usage of the burstable performance instance.
|
458
458
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
459
459
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
460
|
-
# information, see [Burstable
|
460
|
+
# information, see [Burstable performance instances][2] in the *Amazon
|
461
461
|
# Elastic Compute Cloud User Guide*.
|
462
462
|
#
|
463
463
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
@@ -468,7 +468,7 @@ module Aws::EC2
|
|
468
468
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
469
469
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
470
470
|
# The CPU options for the instance. For more information, see
|
471
|
-
# [Optimizing CPU
|
471
|
+
# [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
|
472
472
|
# Guide*.
|
473
473
|
#
|
474
474
|
#
|
@@ -482,7 +482,7 @@ module Aws::EC2
|
|
482
482
|
# platform, Availability Zone).
|
483
483
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
484
484
|
# Indicates whether an instance is enabled for hibernation. For more
|
485
|
-
# information, see [Hibernate
|
485
|
+
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
486
486
|
# Compute Cloud User Guide*.
|
487
487
|
#
|
488
488
|
#
|
@@ -492,7 +492,7 @@ module Aws::EC2
|
|
492
492
|
# The license configurations.
|
493
493
|
# @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
|
494
494
|
# The metadata options for the instance. For more information, see
|
495
|
-
# [Instance
|
495
|
+
# [Instance metadata and user data][1].
|
496
496
|
#
|
497
497
|
#
|
498
498
|
#
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -428,7 +428,7 @@ module Aws::EC2
|
|
428
428
|
# The ID of the AMI. An AMI ID is required to launch an instance and
|
429
429
|
# must be specified here or in a launch template.
|
430
430
|
# @option options [String] :instance_type
|
431
|
-
# The instance type. For more information, see [Instance
|
431
|
+
# The instance type. For more information, see [Instance types][1] in
|
432
432
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
433
433
|
#
|
434
434
|
# Default: `m1.small`
|
@@ -541,7 +541,7 @@ module Aws::EC2
|
|
541
541
|
# Default: Amazon EC2 uses the default security group.
|
542
542
|
# @option options [String] :user_data
|
543
543
|
# The user data to make available to the instance. For more information,
|
544
|
-
# see [Running
|
544
|
+
# see [Running commands on your Linux instance at launch][1] (Linux) and
|
545
545
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
546
546
|
# base64-encoding is performed for you, and you can load the text from a
|
547
547
|
# file. Otherwise, you must provide base64-encoded text. User data is
|
@@ -659,7 +659,7 @@ module Aws::EC2
|
|
659
659
|
# The credit option for CPU usage of the burstable performance instance.
|
660
660
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
661
661
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
662
|
-
# information, see [Burstable
|
662
|
+
# information, see [Burstable performance instances][2] in the *Amazon
|
663
663
|
# Elastic Compute Cloud User Guide*.
|
664
664
|
#
|
665
665
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
@@ -670,7 +670,7 @@ module Aws::EC2
|
|
670
670
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
671
671
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
672
672
|
# The CPU options for the instance. For more information, see
|
673
|
-
# [Optimizing CPU
|
673
|
+
# [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
|
674
674
|
# Guide*.
|
675
675
|
#
|
676
676
|
#
|
@@ -684,7 +684,7 @@ module Aws::EC2
|
|
684
684
|
# platform, Availability Zone).
|
685
685
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
686
686
|
# Indicates whether an instance is enabled for hibernation. For more
|
687
|
-
# information, see [Hibernate
|
687
|
+
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
688
688
|
# Compute Cloud User Guide*.
|
689
689
|
#
|
690
690
|
#
|
@@ -694,7 +694,7 @@ module Aws::EC2
|
|
694
694
|
# The license configurations.
|
695
695
|
# @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
|
696
696
|
# The metadata options for the instance. For more information, see
|
697
|
-
# [Instance
|
697
|
+
# [Instance metadata and user data][1].
|
698
698
|
#
|
699
699
|
#
|
700
700
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -23438,8 +23438,8 @@ module Aws::EC2
|
|
23438
23438
|
#
|
23439
23439
|
# @!attribute [rw] delete_on_termination
|
23440
23440
|
# Indicates whether the EBS volume is deleted on instance termination.
|
23441
|
-
# For more information, see [Preserving Amazon EBS
|
23442
|
-
#
|
23441
|
+
# For more information, see [Preserving Amazon EBS volumes on instance
|
23442
|
+
# termination][1] in the Amazon Elastic Compute Cloud User Guide.
|
23443
23443
|
#
|
23444
23444
|
#
|
23445
23445
|
#
|
@@ -23452,7 +23452,7 @@ module Aws::EC2
|
|
23452
23452
|
# are provisioned for the volume. For `gp2` volumes, this represents
|
23453
23453
|
# the baseline performance of the volume and the rate at which the
|
23454
23454
|
# volume accumulates I/O credits for bursting. For more information,
|
23455
|
-
# see [Amazon EBS
|
23455
|
+
# see [Amazon EBS volume types][1] in the *Amazon Elastic Compute
|
23456
23456
|
# Cloud User Guide*.
|
23457
23457
|
#
|
23458
23458
|
# Constraints: Range is 100-16,000 IOPS for `gp2` volumes and 100 to
|
@@ -23523,8 +23523,8 @@ module Aws::EC2
|
|
23523
23523
|
# In no case can you remove encryption from an encrypted volume.
|
23524
23524
|
#
|
23525
23525
|
# Encrypted volumes can only be attached to instances that support
|
23526
|
-
# Amazon EBS encryption. For more information, see [Supported
|
23527
|
-
#
|
23526
|
+
# Amazon EBS encryption. For more information, see [Supported instance
|
23527
|
+
# types][2].
|
23528
23528
|
#
|
23529
23529
|
# This parameter is not returned by .
|
23530
23530
|
#
|
@@ -26943,8 +26943,8 @@ module Aws::EC2
|
|
26943
26943
|
|
26944
26944
|
# Indicates whether your instance is configured for hibernation. This
|
26945
26945
|
# parameter is valid only if the instance meets the [hibernation
|
26946
|
-
# prerequisites][1]. For more information, see [Hibernate
|
26947
|
-
#
|
26946
|
+
# prerequisites][1]. For more information, see [Hibernate your
|
26947
|
+
# instance][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
26948
26948
|
#
|
26949
26949
|
#
|
26950
26950
|
#
|
@@ -26966,8 +26966,8 @@ module Aws::EC2
|
|
26966
26966
|
|
26967
26967
|
# Indicates whether your instance is configured for hibernation. This
|
26968
26968
|
# parameter is valid only if the instance meets the [hibernation
|
26969
|
-
# prerequisites][1]. For more information, see [Hibernate
|
26970
|
-
#
|
26969
|
+
# prerequisites][1]. For more information, see [Hibernate your
|
26970
|
+
# instance][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
26971
26971
|
#
|
26972
26972
|
#
|
26973
26973
|
#
|
@@ -33785,8 +33785,8 @@ module Aws::EC2
|
|
33785
33785
|
#
|
33786
33786
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
33787
33787
|
# must add them when you launch the instance. For more information,
|
33788
|
-
# see [Updating the
|
33789
|
-
#
|
33788
|
+
# see [Updating the block device mapping when launching an
|
33789
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
33790
33790
|
#
|
33791
33791
|
#
|
33792
33792
|
#
|
@@ -33842,7 +33842,7 @@ module Aws::EC2
|
|
33842
33842
|
#
|
33843
33843
|
# @!attribute [rw] instance_type
|
33844
33844
|
# Changes the instance type to the specified value. For more
|
33845
|
-
# information, see [Instance
|
33845
|
+
# information, see [Instance types][1]. If the instance type is not
|
33846
33846
|
# valid, the error returned is `InvalidInstanceAttributeValue`.
|
33847
33847
|
#
|
33848
33848
|
#
|
@@ -38044,6 +38044,17 @@ module Aws::EC2
|
|
38044
38044
|
# host_id_set: ["DedicatedHostId"], # required
|
38045
38045
|
# limit_price: "String",
|
38046
38046
|
# offering_id: "OfferingId", # required
|
38047
|
+
# tag_specifications: [
|
38048
|
+
# {
|
38049
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
38050
|
+
# tags: [
|
38051
|
+
# {
|
38052
|
+
# key: "String",
|
38053
|
+
# value: "String",
|
38054
|
+
# },
|
38055
|
+
# ],
|
38056
|
+
# },
|
38057
|
+
# ],
|
38047
38058
|
# }
|
38048
38059
|
#
|
38049
38060
|
# @!attribute [rw] client_token
|
@@ -38081,6 +38092,10 @@ module Aws::EC2
|
|
38081
38092
|
# The ID of the offering.
|
38082
38093
|
# @return [String]
|
38083
38094
|
#
|
38095
|
+
# @!attribute [rw] tag_specifications
|
38096
|
+
# The tags to apply to the Dedicated Host Reservation during purchase.
|
38097
|
+
# @return [Array<Types::TagSpecification>]
|
38098
|
+
#
|
38084
38099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservationRequest AWS API Documentation
|
38085
38100
|
#
|
38086
38101
|
class PurchaseHostReservationRequest < Struct.new(
|
@@ -38088,7 +38103,8 @@ module Aws::EC2
|
|
38088
38103
|
:currency_code,
|
38089
38104
|
:host_id_set,
|
38090
38105
|
:limit_price,
|
38091
|
-
:offering_id
|
38106
|
+
:offering_id,
|
38107
|
+
:tag_specifications)
|
38092
38108
|
SENSITIVE = []
|
38093
38109
|
include Aws::Structure
|
38094
38110
|
end
|
@@ -42076,7 +42092,7 @@ module Aws::EC2
|
|
42076
42092
|
# @return [String]
|
42077
42093
|
#
|
42078
42094
|
# @!attribute [rw] instance_type
|
42079
|
-
# The instance type. For more information, see [Instance
|
42095
|
+
# The instance type. For more information, see [Instance types][1] in
|
42080
42096
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
42081
42097
|
#
|
42082
42098
|
# Default: `m1.small`
|
@@ -42221,8 +42237,8 @@ module Aws::EC2
|
|
42221
42237
|
#
|
42222
42238
|
# @!attribute [rw] user_data
|
42223
42239
|
# The user data to make available to the instance. For more
|
42224
|
-
# information, see [Running
|
42225
|
-
#
|
42240
|
+
# information, see [Running commands on your Linux instance at
|
42241
|
+
# launch][1] (Linux) and [Adding User Data][2] (Windows). If you are
|
42226
42242
|
# using a command line tool, base64-encoding is performed for you, and
|
42227
42243
|
# you can load the text from a file. Otherwise, you must provide
|
42228
42244
|
# base64-encoded text. User data is limited to 16 KB.
|
@@ -42374,7 +42390,7 @@ module Aws::EC2
|
|
42374
42390
|
# instance. Valid values are `standard` and `unlimited`. To change
|
42375
42391
|
# this attribute after launch, use [
|
42376
42392
|
# ModifyInstanceCreditSpecification][1]. For more information, see
|
42377
|
-
# [Burstable
|
42393
|
+
# [Burstable performance instances][2] in the *Amazon Elastic Compute
|
42378
42394
|
# Cloud User Guide*.
|
42379
42395
|
#
|
42380
42396
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
@@ -42387,7 +42403,7 @@ module Aws::EC2
|
|
42387
42403
|
#
|
42388
42404
|
# @!attribute [rw] cpu_options
|
42389
42405
|
# The CPU options for the instance. For more information, see
|
42390
|
-
# [Optimizing CPU
|
42406
|
+
# [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud
|
42391
42407
|
# User Guide*.
|
42392
42408
|
#
|
42393
42409
|
#
|
@@ -42405,7 +42421,7 @@ module Aws::EC2
|
|
42405
42421
|
#
|
42406
42422
|
# @!attribute [rw] hibernation_options
|
42407
42423
|
# Indicates whether an instance is enabled for hibernation. For more
|
42408
|
-
# information, see [Hibernate
|
42424
|
+
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
42409
42425
|
# Compute Cloud User Guide*.
|
42410
42426
|
#
|
42411
42427
|
#
|
@@ -42419,7 +42435,7 @@ module Aws::EC2
|
|
42419
42435
|
#
|
42420
42436
|
# @!attribute [rw] metadata_options
|
42421
42437
|
# The metadata options for the instance. For more information, see
|
42422
|
-
# [Instance
|
42438
|
+
# [Instance metadata and user data][1].
|
42423
42439
|
#
|
42424
42440
|
#
|
42425
42441
|
#
|
@@ -45832,8 +45848,8 @@ module Aws::EC2
|
|
45832
45848
|
# @!attribute [rw] hibernate
|
45833
45849
|
# Hibernates the instance if the instance was enabled for hibernation
|
45834
45850
|
# at launch. If the instance cannot hibernate successfully, a normal
|
45835
|
-
# shutdown occurs. For more information, see [Hibernate
|
45836
|
-
#
|
45851
|
+
# shutdown occurs. For more information, see [Hibernate your
|
45852
|
+
# instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
45837
45853
|
#
|
45838
45854
|
# Default: `false`
|
45839
45855
|
#
|
@@ -46210,14 +46226,15 @@ module Aws::EC2
|
|
46210
46226
|
# The type of resource to tag. Currently, the resource types that
|
46211
46227
|
# support tagging on creation are: `capacity-reservation` \|
|
46212
46228
|
# `client-vpn-endpoint` \| `dedicated-host` \| `fleet` \| `fpga-image`
|
46213
|
-
# \| `
|
46214
|
-
# `
|
46215
|
-
# `
|
46216
|
-
# `traffic-mirror-
|
46217
|
-
# `
|
46218
|
-
# `transit-gateway-
|
46219
|
-
#
|
46220
|
-
# `
|
46229
|
+
# \| `host-reservation` \| `instance` \| `ipv4pool-ec2` \|
|
46230
|
+
# `ipv6pool-ec2` \| `key-pair` \| `launch-template` \| `natgateway` \|
|
46231
|
+
# `spot-fleet-request` \| `placement-group` \| `snapshot` \|
|
46232
|
+
# `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
46233
|
+
# `traffic-mirror-target` \| `transit-gateway` \|
|
46234
|
+
# `transit-gateway-attachment` \| `transit-gateway-route-table` \|
|
46235
|
+
# `vpc-endpoint` (for interface and gateway endpoints) \|
|
46236
|
+
# `vpc-endpoint-service` (for AWS PrivateLink) \| `volume` \|
|
46237
|
+
# `vpc-flow-log`.
|
46221
46238
|
#
|
46222
46239
|
# To tag a resource after it has been created, see [CreateTags][1].
|
46223
46240
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.171.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|