aws-sdk-ec2 1.61.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +136 -20
- data/lib/aws-sdk-ec2/client_api.rb +88 -0
- data/lib/aws-sdk-ec2/instance.rb +42 -0
- data/lib/aws-sdk-ec2/placement_group.rb +4 -0
- data/lib/aws-sdk-ec2/resource.rb +29 -0
- data/lib/aws-sdk-ec2/subnet.rb +29 -0
- data/lib/aws-sdk-ec2/types.rb +412 -70
- data/lib/aws-sdk-ec2/vpc.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07afe89c8159d5dc0435b3792b68be5341e30d99
|
4
|
+
data.tar.gz: 4cdfb8c62bac9a2316653138dbdb6e360e347139
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3a038b046aeb0ea465df190e27f48ae8526e3548a8cd6824b1375feb23a5fbcbe61086d194281d742ef2a798786f80ad96e8308534eb81324fc0b35405923ef
|
7
|
+
data.tar.gz: 48421f7bd4b383153be3f5fcdcd315fc9aac0848dc0b6e7df4ae33fe0ef101fb34d61382fc5c9a689dd7bbf440072990a276d493edba140e4937cd2fbe900521
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4462,6 +4462,11 @@ module Aws::EC2
|
|
4462
4462
|
# type: "String", # required
|
4463
4463
|
# },
|
4464
4464
|
# ],
|
4465
|
+
# elastic_inference_accelerators: [
|
4466
|
+
# {
|
4467
|
+
# type: "String", # required
|
4468
|
+
# },
|
4469
|
+
# ],
|
4465
4470
|
# security_group_ids: ["String"],
|
4466
4471
|
# security_groups: ["String"],
|
4467
4472
|
# instance_market_options: {
|
@@ -4487,6 +4492,14 @@ module Aws::EC2
|
|
4487
4492
|
# capacity_reservation_id: "String",
|
4488
4493
|
# },
|
4489
4494
|
# },
|
4495
|
+
# hibernation_options: {
|
4496
|
+
# configured: false,
|
4497
|
+
# },
|
4498
|
+
# license_specifications: [
|
4499
|
+
# {
|
4500
|
+
# license_configuration_arn: "String",
|
4501
|
+
# },
|
4502
|
+
# ],
|
4490
4503
|
# },
|
4491
4504
|
# })
|
4492
4505
|
#
|
@@ -4693,6 +4706,11 @@ module Aws::EC2
|
|
4693
4706
|
# type: "String", # required
|
4694
4707
|
# },
|
4695
4708
|
# ],
|
4709
|
+
# elastic_inference_accelerators: [
|
4710
|
+
# {
|
4711
|
+
# type: "String", # required
|
4712
|
+
# },
|
4713
|
+
# ],
|
4696
4714
|
# security_group_ids: ["String"],
|
4697
4715
|
# security_groups: ["String"],
|
4698
4716
|
# instance_market_options: {
|
@@ -4718,6 +4736,14 @@ module Aws::EC2
|
|
4718
4736
|
# capacity_reservation_id: "String",
|
4719
4737
|
# },
|
4720
4738
|
# },
|
4739
|
+
# hibernation_options: {
|
4740
|
+
# configured: false,
|
4741
|
+
# },
|
4742
|
+
# license_specifications: [
|
4743
|
+
# {
|
4744
|
+
# license_configuration_arn: "String",
|
4745
|
+
# },
|
4746
|
+
# ],
|
4721
4747
|
# },
|
4722
4748
|
# })
|
4723
4749
|
#
|
@@ -4783,6 +4809,8 @@ module Aws::EC2
|
|
4783
4809
|
# resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
4784
4810
|
# resp.launch_template_version.launch_template_data.elastic_gpu_specifications #=> Array
|
4785
4811
|
# resp.launch_template_version.launch_template_data.elastic_gpu_specifications[0].type #=> String
|
4812
|
+
# resp.launch_template_version.launch_template_data.elastic_inference_accelerators #=> Array
|
4813
|
+
# resp.launch_template_version.launch_template_data.elastic_inference_accelerators[0].type #=> String
|
4786
4814
|
# resp.launch_template_version.launch_template_data.security_group_ids #=> Array
|
4787
4815
|
# resp.launch_template_version.launch_template_data.security_group_ids[0] #=> String
|
4788
4816
|
# resp.launch_template_version.launch_template_data.security_groups #=> Array
|
@@ -4798,6 +4826,9 @@ module Aws::EC2
|
|
4798
4826
|
# resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
|
4799
4827
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
4800
4828
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
4829
|
+
# resp.launch_template_version.launch_template_data.hibernation_options.configured #=> Boolean
|
4830
|
+
# resp.launch_template_version.launch_template_data.license_specifications #=> Array
|
4831
|
+
# resp.launch_template_version.launch_template_data.license_specifications[0].license_configuration_arn #=> String
|
4801
4832
|
#
|
4802
4833
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion AWS API Documentation
|
4803
4834
|
#
|
@@ -12573,6 +12604,10 @@ module Aws::EC2
|
|
12573
12604
|
# * `group-name` - The name of the security group for the instance.
|
12574
12605
|
# EC2-Classic only.
|
12575
12606
|
#
|
12607
|
+
# * `hibernation-options.configured` - A Boolean that indicates whether
|
12608
|
+
# the instance is enabled for hibernation. A value of `true` means
|
12609
|
+
# that the instance is enabled for hibernation.
|
12610
|
+
#
|
12576
12611
|
# * `host-id` - The ID of the Dedicated Host on which the instance is
|
12577
12612
|
# running, if applicable.
|
12578
12613
|
#
|
@@ -12950,6 +12985,11 @@ module Aws::EC2
|
|
12950
12985
|
# resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_association_id #=> String
|
12951
12986
|
# resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_association_state #=> String
|
12952
12987
|
# resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_association_time #=> String
|
12988
|
+
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations #=> Array
|
12989
|
+
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_arn #=> String
|
12990
|
+
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_id #=> String
|
12991
|
+
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
|
12992
|
+
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
|
12953
12993
|
# resp.reservations[0].instances[0].network_interfaces #=> Array
|
12954
12994
|
# resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
|
12955
12995
|
# resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
|
@@ -13000,6 +13040,9 @@ module Aws::EC2
|
|
13000
13040
|
# resp.reservations[0].instances[0].capacity_reservation_id #=> String
|
13001
13041
|
# resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
13002
13042
|
# resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
13043
|
+
# resp.reservations[0].instances[0].hibernation_options.configured #=> Boolean
|
13044
|
+
# resp.reservations[0].instances[0].licenses #=> Array
|
13045
|
+
# resp.reservations[0].instances[0].licenses[0].license_configuration_arn #=> String
|
13003
13046
|
# resp.reservations[0].owner_id #=> String
|
13004
13047
|
# resp.reservations[0].requester_id #=> String
|
13005
13048
|
# resp.reservations[0].reservation_id #=> String
|
@@ -13406,6 +13449,8 @@ module Aws::EC2
|
|
13406
13449
|
# resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].value #=> String
|
13407
13450
|
# resp.launch_template_versions[0].launch_template_data.elastic_gpu_specifications #=> Array
|
13408
13451
|
# resp.launch_template_versions[0].launch_template_data.elastic_gpu_specifications[0].type #=> String
|
13452
|
+
# resp.launch_template_versions[0].launch_template_data.elastic_inference_accelerators #=> Array
|
13453
|
+
# resp.launch_template_versions[0].launch_template_data.elastic_inference_accelerators[0].type #=> String
|
13409
13454
|
# resp.launch_template_versions[0].launch_template_data.security_group_ids #=> Array
|
13410
13455
|
# resp.launch_template_versions[0].launch_template_data.security_group_ids[0] #=> String
|
13411
13456
|
# resp.launch_template_versions[0].launch_template_data.security_groups #=> Array
|
@@ -13421,6 +13466,9 @@ module Aws::EC2
|
|
13421
13466
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
|
13422
13467
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
13423
13468
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
13469
|
+
# resp.launch_template_versions[0].launch_template_data.hibernation_options.configured #=> Boolean
|
13470
|
+
# resp.launch_template_versions[0].launch_template_data.license_specifications #=> Array
|
13471
|
+
# resp.launch_template_versions[0].launch_template_data.license_specifications[0].license_configuration_arn #=> String
|
13424
13472
|
# resp.next_token #=> String
|
13425
13473
|
#
|
13426
13474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
|
@@ -21098,6 +21146,8 @@ module Aws::EC2
|
|
21098
21146
|
# resp.launch_template_data.tag_specifications[0].tags[0].value #=> String
|
21099
21147
|
# resp.launch_template_data.elastic_gpu_specifications #=> Array
|
21100
21148
|
# resp.launch_template_data.elastic_gpu_specifications[0].type #=> String
|
21149
|
+
# resp.launch_template_data.elastic_inference_accelerators #=> Array
|
21150
|
+
# resp.launch_template_data.elastic_inference_accelerators[0].type #=> String
|
21101
21151
|
# resp.launch_template_data.security_group_ids #=> Array
|
21102
21152
|
# resp.launch_template_data.security_group_ids[0] #=> String
|
21103
21153
|
# resp.launch_template_data.security_groups #=> Array
|
@@ -21113,6 +21163,9 @@ module Aws::EC2
|
|
21113
21163
|
# resp.launch_template_data.cpu_options.threads_per_core #=> Integer
|
21114
21164
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
21115
21165
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
21166
|
+
# resp.launch_template_data.hibernation_options.configured #=> Boolean
|
21167
|
+
# resp.launch_template_data.license_specifications #=> Array
|
21168
|
+
# resp.launch_template_data.license_specifications[0].license_configuration_arn #=> String
|
21116
21169
|
#
|
21117
21170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
|
21118
21171
|
#
|
@@ -27128,6 +27181,9 @@ module Aws::EC2
|
|
27128
27181
|
# @option params [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
27129
27182
|
# An elastic GPU to associate with the instance.
|
27130
27183
|
#
|
27184
|
+
# @option params [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
27185
|
+
# An elastic inference accelerator.
|
27186
|
+
#
|
27131
27187
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
27132
27188
|
# The tags to apply to the resources during launch. You can only tag
|
27133
27189
|
# instances and volumes on launch. The specified tags are applied to all
|
@@ -27172,6 +27228,18 @@ module Aws::EC2
|
|
27172
27228
|
# @option params [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
27173
27229
|
# Information about the Capacity Reservation targeting option.
|
27174
27230
|
#
|
27231
|
+
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
27232
|
+
# Indicates whether an instance is enabled for hibernation. For more
|
27233
|
+
# information, see [Hibernate Your Instance][1] in the *Amazon Elastic
|
27234
|
+
# Compute Cloud User Guide*.
|
27235
|
+
#
|
27236
|
+
#
|
27237
|
+
#
|
27238
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
27239
|
+
#
|
27240
|
+
# @option params [Array<Types::LicenseConfigurationRequest>] :license_specifications
|
27241
|
+
# The license configurations.
|
27242
|
+
#
|
27175
27243
|
# @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27176
27244
|
#
|
27177
27245
|
# * {Types::Reservation#groups #groups} => Array<Types::GroupIdentifier>
|
@@ -27309,6 +27377,11 @@ module Aws::EC2
|
|
27309
27377
|
# type: "String", # required
|
27310
27378
|
# },
|
27311
27379
|
# ],
|
27380
|
+
# elastic_inference_accelerators: [
|
27381
|
+
# {
|
27382
|
+
# type: "String", # required
|
27383
|
+
# },
|
27384
|
+
# ],
|
27312
27385
|
# tag_specifications: [
|
27313
27386
|
# {
|
27314
27387
|
# resource_type: "customer-gateway", # accepts customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
@@ -27348,6 +27421,14 @@ module Aws::EC2
|
|
27348
27421
|
# capacity_reservation_id: "String",
|
27349
27422
|
# },
|
27350
27423
|
# },
|
27424
|
+
# hibernation_options: {
|
27425
|
+
# configured: false,
|
27426
|
+
# },
|
27427
|
+
# license_specifications: [
|
27428
|
+
# {
|
27429
|
+
# license_configuration_arn: "String",
|
27430
|
+
# },
|
27431
|
+
# ],
|
27351
27432
|
# })
|
27352
27433
|
#
|
27353
27434
|
# @example Response structure
|
@@ -27403,6 +27484,11 @@ module Aws::EC2
|
|
27403
27484
|
# resp.instances[0].elastic_gpu_associations[0].elastic_gpu_association_id #=> String
|
27404
27485
|
# resp.instances[0].elastic_gpu_associations[0].elastic_gpu_association_state #=> String
|
27405
27486
|
# resp.instances[0].elastic_gpu_associations[0].elastic_gpu_association_time #=> String
|
27487
|
+
# resp.instances[0].elastic_inference_accelerator_associations #=> Array
|
27488
|
+
# resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_arn #=> String
|
27489
|
+
# resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_id #=> String
|
27490
|
+
# resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
|
27491
|
+
# resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
|
27406
27492
|
# resp.instances[0].network_interfaces #=> Array
|
27407
27493
|
# resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
|
27408
27494
|
# resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
|
@@ -27453,6 +27539,9 @@ module Aws::EC2
|
|
27453
27539
|
# resp.instances[0].capacity_reservation_id #=> String
|
27454
27540
|
# resp.instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
|
27455
27541
|
# resp.instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
27542
|
+
# resp.instances[0].hibernation_options.configured #=> Boolean
|
27543
|
+
# resp.instances[0].licenses #=> Array
|
27544
|
+
# resp.instances[0].licenses[0].license_configuration_arn #=> String
|
27456
27545
|
# resp.owner_id #=> String
|
27457
27546
|
# resp.requester_id #=> String
|
27458
27547
|
# resp.reservation_id #=> String
|
@@ -27839,6 +27928,11 @@ module Aws::EC2
|
|
27839
27928
|
|
27840
27929
|
# Stops an Amazon EBS-backed instance.
|
27841
27930
|
#
|
27931
|
+
# You can use the Stop action to hibernate an instance if the instance
|
27932
|
+
# is [enabled for hibernation][1] and it meets the [hibernation
|
27933
|
+
# prerequisites][2]. For more information, see [Hibernate Your
|
27934
|
+
# Instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
|
27935
|
+
#
|
27842
27936
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
27843
27937
|
# however, your root partition Amazon EBS volume remains and continues
|
27844
27938
|
# to persist your data, and you are charged for Amazon EBS volume usage.
|
@@ -27850,37 +27944,58 @@ module Aws::EC2
|
|
27850
27944
|
# EC2 charges a one-minute minimum for instance usage, and thereafter
|
27851
27945
|
# charges per second for instance usage.
|
27852
27946
|
#
|
27853
|
-
# You can't start or
|
27854
|
-
# store-backed instances.
|
27855
|
-
#
|
27856
|
-
#
|
27857
|
-
#
|
27858
|
-
#
|
27859
|
-
#
|
27860
|
-
#
|
27861
|
-
#
|
27862
|
-
#
|
27863
|
-
#
|
27864
|
-
# instance
|
27865
|
-
#
|
27866
|
-
#
|
27867
|
-
#
|
27868
|
-
#
|
27947
|
+
# You can't start, stop, or hibernate Spot Instances, and you can't
|
27948
|
+
# stop or hibernate instance store-backed instances. For information
|
27949
|
+
# about using hibernation for Spot Instances, see [Hibernating
|
27950
|
+
# Interrupted Spot Instances][4] in the *Amazon Elastic Compute Cloud
|
27951
|
+
# User Guide*.
|
27952
|
+
#
|
27953
|
+
# When you stop or hibernate an instance, we shut it down. You can
|
27954
|
+
# restart your instance at any time. Before stopping or hibernating an
|
27955
|
+
# instance, make sure it is in a state from which it can be restarted.
|
27956
|
+
# Stopping an instance does not preserve data stored in RAM, but
|
27957
|
+
# hibernating an instance does preserve data stored in RAM. If an
|
27958
|
+
# instance cannot hibernate successfully, a normal shutdown occurs.
|
27959
|
+
#
|
27960
|
+
# Stopping and hibernating an instance is different to rebooting or
|
27961
|
+
# terminating it. For example, when you stop or hibernate an instance,
|
27962
|
+
# the root device and any other devices attached to the instance
|
27963
|
+
# persist. When you terminate an instance, the root device and any other
|
27964
|
+
# devices attached during the instance launch are automatically deleted.
|
27965
|
+
# For more information about the differences between rebooting,
|
27966
|
+
# stopping, hibernating, and terminating instances, see [Instance
|
27967
|
+
# Lifecycle][5] in the *Amazon Elastic Compute Cloud User Guide*.
|
27869
27968
|
#
|
27870
27969
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
27871
27970
|
# short while. If your instance appears stuck in the stopping state
|
27872
27971
|
# after a period of time, there may be an issue with the underlying host
|
27873
27972
|
# computer. For more information, see [Troubleshooting Stopping Your
|
27874
|
-
# Instance][
|
27973
|
+
# Instance][6] in the *Amazon Elastic Compute Cloud User Guide*.
|
27875
27974
|
#
|
27876
27975
|
#
|
27877
27976
|
#
|
27878
|
-
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
27879
|
-
# [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
27977
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation
|
27978
|
+
# [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
|
27979
|
+
# [3]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
27980
|
+
# [4]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances
|
27981
|
+
# [5]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
27982
|
+
# [6]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
|
27880
27983
|
#
|
27881
27984
|
# @option params [required, Array<String>] :instance_ids
|
27882
27985
|
# One or more instance IDs.
|
27883
27986
|
#
|
27987
|
+
# @option params [Boolean] :hibernate
|
27988
|
+
# Hibernates the instance if the instance was enabled for hibernation at
|
27989
|
+
# launch. If the instance cannot hibernate successfully, a normal
|
27990
|
+
# shutdown occurs. For more information, see [Hibernate Your
|
27991
|
+
# Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
27992
|
+
#
|
27993
|
+
# Default: `false`
|
27994
|
+
#
|
27995
|
+
#
|
27996
|
+
#
|
27997
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
27998
|
+
#
|
27884
27999
|
# @option params [Boolean] :dry_run
|
27885
28000
|
# Checks whether you have the required permissions for the action,
|
27886
28001
|
# without actually making the request, and provides an error response.
|
@@ -27931,6 +28046,7 @@ module Aws::EC2
|
|
27931
28046
|
#
|
27932
28047
|
# resp = client.stop_instances({
|
27933
28048
|
# instance_ids: ["String"], # required
|
28049
|
+
# hibernate: false,
|
27934
28050
|
# dry_run: false,
|
27935
28051
|
# force: false,
|
27936
28052
|
# })
|
@@ -28461,7 +28577,7 @@ module Aws::EC2
|
|
28461
28577
|
params: params,
|
28462
28578
|
config: config)
|
28463
28579
|
context[:gem_name] = 'aws-sdk-ec2'
|
28464
|
-
context[:gem_version] = '1.
|
28580
|
+
context[:gem_version] = '1.62.0'
|
28465
28581
|
Seahorse::Client::Request.new(handlers, context)
|
28466
28582
|
end
|
28467
28583
|
|
@@ -568,6 +568,10 @@ module Aws::EC2
|
|
568
568
|
ElasticGpuState = Shapes::StringShape.new(name: 'ElasticGpuState')
|
569
569
|
ElasticGpuStatus = Shapes::StringShape.new(name: 'ElasticGpuStatus')
|
570
570
|
ElasticGpus = Shapes::StructureShape.new(name: 'ElasticGpus')
|
571
|
+
ElasticInferenceAccelerator = Shapes::StructureShape.new(name: 'ElasticInferenceAccelerator')
|
572
|
+
ElasticInferenceAcceleratorAssociation = Shapes::StructureShape.new(name: 'ElasticInferenceAcceleratorAssociation')
|
573
|
+
ElasticInferenceAcceleratorAssociationList = Shapes::ListShape.new(name: 'ElasticInferenceAcceleratorAssociationList')
|
574
|
+
ElasticInferenceAccelerators = Shapes::ListShape.new(name: 'ElasticInferenceAccelerators')
|
571
575
|
EnableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationRequest')
|
572
576
|
EnableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationResult')
|
573
577
|
EnableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'EnableVgwRoutePropagationRequest')
|
@@ -649,6 +653,8 @@ module Aws::EC2
|
|
649
653
|
GroupIdentifierSet = Shapes::ListShape.new(name: 'GroupIdentifierSet')
|
650
654
|
GroupIds = Shapes::ListShape.new(name: 'GroupIds')
|
651
655
|
GroupNameStringList = Shapes::ListShape.new(name: 'GroupNameStringList')
|
656
|
+
HibernationOptions = Shapes::StructureShape.new(name: 'HibernationOptions')
|
657
|
+
HibernationOptionsRequest = Shapes::StructureShape.new(name: 'HibernationOptionsRequest')
|
652
658
|
HistoryRecord = Shapes::StructureShape.new(name: 'HistoryRecord')
|
653
659
|
HistoryRecordEntry = Shapes::StructureShape.new(name: 'HistoryRecordEntry')
|
654
660
|
HistoryRecordSet = Shapes::ListShape.new(name: 'HistoryRecordSet')
|
@@ -796,7 +802,13 @@ module Aws::EC2
|
|
796
802
|
LaunchTemplateCpuOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateCpuOptionsRequest')
|
797
803
|
LaunchTemplateEbsBlockDevice = Shapes::StructureShape.new(name: 'LaunchTemplateEbsBlockDevice')
|
798
804
|
LaunchTemplateEbsBlockDeviceRequest = Shapes::StructureShape.new(name: 'LaunchTemplateEbsBlockDeviceRequest')
|
805
|
+
LaunchTemplateElasticInferenceAccelerator = Shapes::StructureShape.new(name: 'LaunchTemplateElasticInferenceAccelerator')
|
806
|
+
LaunchTemplateElasticInferenceAcceleratorList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorList')
|
807
|
+
LaunchTemplateElasticInferenceAcceleratorResponse = Shapes::StructureShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponse')
|
808
|
+
LaunchTemplateElasticInferenceAcceleratorResponseList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponseList')
|
799
809
|
LaunchTemplateErrorCode = Shapes::StringShape.new(name: 'LaunchTemplateErrorCode')
|
810
|
+
LaunchTemplateHibernationOptions = Shapes::StructureShape.new(name: 'LaunchTemplateHibernationOptions')
|
811
|
+
LaunchTemplateHibernationOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateHibernationOptionsRequest')
|
800
812
|
LaunchTemplateIamInstanceProfileSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateIamInstanceProfileSpecification')
|
801
813
|
LaunchTemplateIamInstanceProfileSpecificationRequest = Shapes::StructureShape.new(name: 'LaunchTemplateIamInstanceProfileSpecificationRequest')
|
802
814
|
LaunchTemplateInstanceMarketOptions = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMarketOptions')
|
@@ -805,6 +817,10 @@ module Aws::EC2
|
|
805
817
|
LaunchTemplateInstanceNetworkInterfaceSpecificationList = Shapes::ListShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationList')
|
806
818
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationRequest')
|
807
819
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = Shapes::ListShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList')
|
820
|
+
LaunchTemplateLicenseConfiguration = Shapes::StructureShape.new(name: 'LaunchTemplateLicenseConfiguration')
|
821
|
+
LaunchTemplateLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'LaunchTemplateLicenseConfigurationRequest')
|
822
|
+
LaunchTemplateLicenseList = Shapes::ListShape.new(name: 'LaunchTemplateLicenseList')
|
823
|
+
LaunchTemplateLicenseSpecificationListRequest = Shapes::ListShape.new(name: 'LaunchTemplateLicenseSpecificationListRequest')
|
808
824
|
LaunchTemplateName = Shapes::StringShape.new(name: 'LaunchTemplateName')
|
809
825
|
LaunchTemplateNameStringList = Shapes::ListShape.new(name: 'LaunchTemplateNameStringList')
|
810
826
|
LaunchTemplateOverrides = Shapes::StructureShape.new(name: 'LaunchTemplateOverrides')
|
@@ -823,6 +839,10 @@ module Aws::EC2
|
|
823
839
|
LaunchTemplateVersionSet = Shapes::ListShape.new(name: 'LaunchTemplateVersionSet')
|
824
840
|
LaunchTemplatesMonitoring = Shapes::StructureShape.new(name: 'LaunchTemplatesMonitoring')
|
825
841
|
LaunchTemplatesMonitoringRequest = Shapes::StructureShape.new(name: 'LaunchTemplatesMonitoringRequest')
|
842
|
+
LicenseConfiguration = Shapes::StructureShape.new(name: 'LicenseConfiguration')
|
843
|
+
LicenseConfigurationRequest = Shapes::StructureShape.new(name: 'LicenseConfigurationRequest')
|
844
|
+
LicenseList = Shapes::ListShape.new(name: 'LicenseList')
|
845
|
+
LicenseSpecificationListRequest = Shapes::ListShape.new(name: 'LicenseSpecificationListRequest')
|
826
846
|
ListingState = Shapes::StringShape.new(name: 'ListingState')
|
827
847
|
ListingStatus = Shapes::StringShape.new(name: 'ListingStatus')
|
828
848
|
LoadBalancersConfig = Shapes::StructureShape.new(name: 'LoadBalancersConfig')
|
@@ -3724,6 +3744,19 @@ module Aws::EC2
|
|
3724
3744
|
ElasticGpus.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
3725
3745
|
ElasticGpus.struct_class = Types::ElasticGpus
|
3726
3746
|
|
3747
|
+
ElasticInferenceAccelerator.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
|
3748
|
+
ElasticInferenceAccelerator.struct_class = Types::ElasticInferenceAccelerator
|
3749
|
+
|
3750
|
+
ElasticInferenceAcceleratorAssociation.add_member(:elastic_inference_accelerator_arn, Shapes::ShapeRef.new(shape: String, location_name: "elasticInferenceAcceleratorArn"))
|
3751
|
+
ElasticInferenceAcceleratorAssociation.add_member(:elastic_inference_accelerator_association_id, Shapes::ShapeRef.new(shape: String, location_name: "elasticInferenceAcceleratorAssociationId"))
|
3752
|
+
ElasticInferenceAcceleratorAssociation.add_member(:elastic_inference_accelerator_association_state, Shapes::ShapeRef.new(shape: String, location_name: "elasticInferenceAcceleratorAssociationState"))
|
3753
|
+
ElasticInferenceAcceleratorAssociation.add_member(:elastic_inference_accelerator_association_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "elasticInferenceAcceleratorAssociationTime"))
|
3754
|
+
ElasticInferenceAcceleratorAssociation.struct_class = Types::ElasticInferenceAcceleratorAssociation
|
3755
|
+
|
3756
|
+
ElasticInferenceAcceleratorAssociationList.member = Shapes::ShapeRef.new(shape: ElasticInferenceAcceleratorAssociation, location_name: "item")
|
3757
|
+
|
3758
|
+
ElasticInferenceAccelerators.member = Shapes::ShapeRef.new(shape: ElasticInferenceAccelerator, location_name: "item")
|
3759
|
+
|
3727
3760
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayRouteTableId"))
|
3728
3761
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayAttachmentId"))
|
3729
3762
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -4023,6 +4056,12 @@ module Aws::EC2
|
|
4023
4056
|
|
4024
4057
|
GroupNameStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "GroupName")
|
4025
4058
|
|
4059
|
+
HibernationOptions.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "configured"))
|
4060
|
+
HibernationOptions.struct_class = Types::HibernationOptions
|
4061
|
+
|
4062
|
+
HibernationOptionsRequest.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "Configured"))
|
4063
|
+
HibernationOptionsRequest.struct_class = Types::HibernationOptionsRequest
|
4064
|
+
|
4026
4065
|
HistoryRecord.add_member(:event_information, Shapes::ShapeRef.new(shape: EventInformation, required: true, location_name: "eventInformation"))
|
4027
4066
|
HistoryRecord.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "eventType"))
|
4028
4067
|
HistoryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "timestamp"))
|
@@ -4338,6 +4377,7 @@ module Aws::EC2
|
|
4338
4377
|
Instance.add_member(:iam_instance_profile, Shapes::ShapeRef.new(shape: IamInstanceProfile, location_name: "iamInstanceProfile"))
|
4339
4378
|
Instance.add_member(:instance_lifecycle, Shapes::ShapeRef.new(shape: InstanceLifecycleType, location_name: "instanceLifecycle"))
|
4340
4379
|
Instance.add_member(:elastic_gpu_associations, Shapes::ShapeRef.new(shape: ElasticGpuAssociationList, location_name: "elasticGpuAssociationSet"))
|
4380
|
+
Instance.add_member(:elastic_inference_accelerator_associations, Shapes::ShapeRef.new(shape: ElasticInferenceAcceleratorAssociationList, location_name: "elasticInferenceAcceleratorAssociationSet"))
|
4341
4381
|
Instance.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceList, location_name: "networkInterfaceSet"))
|
4342
4382
|
Instance.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
|
4343
4383
|
Instance.add_member(:root_device_type, Shapes::ShapeRef.new(shape: DeviceType, location_name: "rootDeviceType"))
|
@@ -4351,6 +4391,8 @@ module Aws::EC2
|
|
4351
4391
|
Instance.add_member(:cpu_options, Shapes::ShapeRef.new(shape: CpuOptions, location_name: "cpuOptions"))
|
4352
4392
|
Instance.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
4353
4393
|
Instance.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecificationResponse, location_name: "capacityReservationSpecification"))
|
4394
|
+
Instance.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: HibernationOptions, location_name: "hibernationOptions"))
|
4395
|
+
Instance.add_member(:licenses, Shapes::ShapeRef.new(shape: LicenseList, location_name: "licenseSet"))
|
4354
4396
|
Instance.struct_class = Types::Instance
|
4355
4397
|
|
4356
4398
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
@@ -4693,6 +4735,22 @@ module Aws::EC2
|
|
4693
4735
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
4694
4736
|
LaunchTemplateEbsBlockDeviceRequest.struct_class = Types::LaunchTemplateEbsBlockDeviceRequest
|
4695
4737
|
|
4738
|
+
LaunchTemplateElasticInferenceAccelerator.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
|
4739
|
+
LaunchTemplateElasticInferenceAccelerator.struct_class = Types::LaunchTemplateElasticInferenceAccelerator
|
4740
|
+
|
4741
|
+
LaunchTemplateElasticInferenceAcceleratorList.member = Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAccelerator, location_name: "item")
|
4742
|
+
|
4743
|
+
LaunchTemplateElasticInferenceAcceleratorResponse.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
4744
|
+
LaunchTemplateElasticInferenceAcceleratorResponse.struct_class = Types::LaunchTemplateElasticInferenceAcceleratorResponse
|
4745
|
+
|
4746
|
+
LaunchTemplateElasticInferenceAcceleratorResponseList.member = Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAcceleratorResponse, location_name: "item")
|
4747
|
+
|
4748
|
+
LaunchTemplateHibernationOptions.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "configured"))
|
4749
|
+
LaunchTemplateHibernationOptions.struct_class = Types::LaunchTemplateHibernationOptions
|
4750
|
+
|
4751
|
+
LaunchTemplateHibernationOptionsRequest.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "Configured"))
|
4752
|
+
LaunchTemplateHibernationOptionsRequest.struct_class = Types::LaunchTemplateHibernationOptionsRequest
|
4753
|
+
|
4696
4754
|
LaunchTemplateIamInstanceProfileSpecification.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
4697
4755
|
LaunchTemplateIamInstanceProfileSpecification.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
4698
4756
|
LaunchTemplateIamInstanceProfileSpecification.struct_class = Types::LaunchTemplateIamInstanceProfileSpecification
|
@@ -4741,6 +4799,16 @@ module Aws::EC2
|
|
4741
4799
|
|
4742
4800
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest, location_name: "InstanceNetworkInterfaceSpecification")
|
4743
4801
|
|
4802
|
+
LaunchTemplateLicenseConfiguration.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "licenseConfigurationArn"))
|
4803
|
+
LaunchTemplateLicenseConfiguration.struct_class = Types::LaunchTemplateLicenseConfiguration
|
4804
|
+
|
4805
|
+
LaunchTemplateLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
|
4806
|
+
LaunchTemplateLicenseConfigurationRequest.struct_class = Types::LaunchTemplateLicenseConfigurationRequest
|
4807
|
+
|
4808
|
+
LaunchTemplateLicenseList.member = Shapes::ShapeRef.new(shape: LaunchTemplateLicenseConfiguration, location_name: "item")
|
4809
|
+
|
4810
|
+
LaunchTemplateLicenseSpecificationListRequest.member = Shapes::ShapeRef.new(shape: LaunchTemplateLicenseConfigurationRequest, location_name: "item")
|
4811
|
+
|
4744
4812
|
LaunchTemplateNameStringList.member = Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "item")
|
4745
4813
|
|
4746
4814
|
LaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
@@ -4820,6 +4888,16 @@ module Aws::EC2
|
|
4820
4888
|
LaunchTemplatesMonitoringRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
4821
4889
|
LaunchTemplatesMonitoringRequest.struct_class = Types::LaunchTemplatesMonitoringRequest
|
4822
4890
|
|
4891
|
+
LicenseConfiguration.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "licenseConfigurationArn"))
|
4892
|
+
LicenseConfiguration.struct_class = Types::LicenseConfiguration
|
4893
|
+
|
4894
|
+
LicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
|
4895
|
+
LicenseConfigurationRequest.struct_class = Types::LicenseConfigurationRequest
|
4896
|
+
|
4897
|
+
LicenseList.member = Shapes::ShapeRef.new(shape: LicenseConfiguration, location_name: "item")
|
4898
|
+
|
4899
|
+
LicenseSpecificationListRequest.member = Shapes::ShapeRef.new(shape: LicenseConfigurationRequest, location_name: "item")
|
4900
|
+
|
4823
4901
|
LoadBalancersConfig.add_member(:classic_load_balancers_config, Shapes::ShapeRef.new(shape: ClassicLoadBalancersConfig, location_name: "classicLoadBalancersConfig"))
|
4824
4902
|
LoadBalancersConfig.add_member(:target_groups_config, Shapes::ShapeRef.new(shape: TargetGroupsConfig, location_name: "targetGroupsConfig"))
|
4825
4903
|
LoadBalancersConfig.struct_class = Types::LoadBalancersConfig
|
@@ -5618,12 +5696,15 @@ module Aws::EC2
|
|
5618
5696
|
RequestLaunchTemplateData.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "UserData"))
|
5619
5697
|
RequestLaunchTemplateData.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateTagSpecificationRequestList, location_name: "TagSpecification"))
|
5620
5698
|
RequestLaunchTemplateData.add_member(:elastic_gpu_specifications, Shapes::ShapeRef.new(shape: ElasticGpuSpecificationList, location_name: "ElasticGpuSpecification"))
|
5699
|
+
RequestLaunchTemplateData.add_member(:elastic_inference_accelerators, Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAcceleratorList, location_name: "ElasticInferenceAccelerator"))
|
5621
5700
|
RequestLaunchTemplateData.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdStringList, location_name: "SecurityGroupId"))
|
5622
5701
|
RequestLaunchTemplateData.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupStringList, location_name: "SecurityGroup"))
|
5623
5702
|
RequestLaunchTemplateData.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMarketOptionsRequest, location_name: "InstanceMarketOptions"))
|
5624
5703
|
RequestLaunchTemplateData.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecificationRequest, location_name: "CreditSpecification"))
|
5625
5704
|
RequestLaunchTemplateData.add_member(:cpu_options, Shapes::ShapeRef.new(shape: LaunchTemplateCpuOptionsRequest, location_name: "CpuOptions"))
|
5626
5705
|
RequestLaunchTemplateData.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: LaunchTemplateCapacityReservationSpecificationRequest, location_name: "CapacityReservationSpecification"))
|
5706
|
+
RequestLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptionsRequest, location_name: "HibernationOptions"))
|
5707
|
+
RequestLaunchTemplateData.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateLicenseSpecificationListRequest, location_name: "LicenseSpecification"))
|
5627
5708
|
RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
|
5628
5709
|
|
5629
5710
|
RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -5844,12 +5925,15 @@ module Aws::EC2
|
|
5844
5925
|
ResponseLaunchTemplateData.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "userData"))
|
5845
5926
|
ResponseLaunchTemplateData.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateTagSpecificationList, location_name: "tagSpecificationSet"))
|
5846
5927
|
ResponseLaunchTemplateData.add_member(:elastic_gpu_specifications, Shapes::ShapeRef.new(shape: ElasticGpuSpecificationResponseList, location_name: "elasticGpuSpecificationSet"))
|
5928
|
+
ResponseLaunchTemplateData.add_member(:elastic_inference_accelerators, Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAcceleratorResponseList, location_name: "elasticInferenceAcceleratorSet"))
|
5847
5929
|
ResponseLaunchTemplateData.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "securityGroupIdSet"))
|
5848
5930
|
ResponseLaunchTemplateData.add_member(:security_groups, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "securityGroupSet"))
|
5849
5931
|
ResponseLaunchTemplateData.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMarketOptions, location_name: "instanceMarketOptions"))
|
5850
5932
|
ResponseLaunchTemplateData.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecification, location_name: "creditSpecification"))
|
5851
5933
|
ResponseLaunchTemplateData.add_member(:cpu_options, Shapes::ShapeRef.new(shape: LaunchTemplateCpuOptions, location_name: "cpuOptions"))
|
5852
5934
|
ResponseLaunchTemplateData.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: LaunchTemplateCapacityReservationSpecificationResponse, location_name: "capacityReservationSpecification"))
|
5935
|
+
ResponseLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptions, location_name: "hibernationOptions"))
|
5936
|
+
ResponseLaunchTemplateData.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateLicenseList, location_name: "licenseSet"))
|
5853
5937
|
ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
|
5854
5938
|
|
5855
5939
|
RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -5950,12 +6034,15 @@ module Aws::EC2
|
|
5950
6034
|
RunInstancesRequest.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecificationList, location_name: "networkInterface"))
|
5951
6035
|
RunInstancesRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
5952
6036
|
RunInstancesRequest.add_member(:elastic_gpu_specification, Shapes::ShapeRef.new(shape: ElasticGpuSpecifications, location_name: "ElasticGpuSpecification"))
|
6037
|
+
RunInstancesRequest.add_member(:elastic_inference_accelerators, Shapes::ShapeRef.new(shape: ElasticInferenceAccelerators, location_name: "ElasticInferenceAccelerator"))
|
5953
6038
|
RunInstancesRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5954
6039
|
RunInstancesRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
5955
6040
|
RunInstancesRequest.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: InstanceMarketOptionsRequest, location_name: "InstanceMarketOptions"))
|
5956
6041
|
RunInstancesRequest.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecificationRequest, location_name: "CreditSpecification"))
|
5957
6042
|
RunInstancesRequest.add_member(:cpu_options, Shapes::ShapeRef.new(shape: CpuOptionsRequest, location_name: "CpuOptions"))
|
5958
6043
|
RunInstancesRequest.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
6044
|
+
RunInstancesRequest.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: HibernationOptionsRequest, location_name: "HibernationOptions"))
|
6045
|
+
RunInstancesRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LicenseSpecificationListRequest, location_name: "LicenseSpecification"))
|
5959
6046
|
RunInstancesRequest.struct_class = Types::RunInstancesRequest
|
5960
6047
|
|
5961
6048
|
RunScheduledInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -6394,6 +6481,7 @@ module Aws::EC2
|
|
6394
6481
|
StateReason.struct_class = Types::StateReason
|
6395
6482
|
|
6396
6483
|
StopInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
6484
|
+
StopInstancesRequest.add_member(:hibernate, Shapes::ShapeRef.new(shape: Boolean, location_name: "Hibernate"))
|
6397
6485
|
StopInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6398
6486
|
StopInstancesRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
|
6399
6487
|
StopInstancesRequest.struct_class = Types::StopInstancesRequest
|