aws-sdk-ec2 1.31.0 → 1.32.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 +19 -2
- data/lib/aws-sdk-ec2/client_api.rb +23 -11
- data/lib/aws-sdk-ec2/instance.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +12 -0
- data/lib/aws-sdk-ec2/subnet.rb +12 -0
- data/lib/aws-sdk-ec2/types.rb +69 -2
- 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: 3d2314e81f39e2cd97dacb34046ea09a7ff5cf59
|
4
|
+
data.tar.gz: 05c90c61e44bcbbbb9e85accd51e77f444c6f125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eeade0a100b7cb827cdd5a6de724c5ab41d67142b4c4edab59037116e4a6080ce422b1f47640b15f9c3fd264d8c10ad8579202492e0d5ec92f6a97ac974be0a
|
7
|
+
data.tar.gz: a0ff8df8f6942643e08a77cfc2b581f1ebd502e079362d431554474f0b3e1e83d8c948aab73cb7c41f8d5f4f59ad3f6b71cb4e64b2a597ece962e89d5a64d0cc
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -2926,7 +2926,7 @@ module Aws::EC2
|
|
2926
2926
|
#
|
2927
2927
|
#
|
2928
2928
|
#
|
2929
|
-
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
2929
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html
|
2930
2930
|
#
|
2931
2931
|
# @option params [Boolean] :dry_run
|
2932
2932
|
# Checks whether you have the required permissions for the action,
|
@@ -11078,6 +11078,8 @@ module Aws::EC2
|
|
11078
11078
|
# resp.reservations[0].instances[0].tags[0].key #=> String
|
11079
11079
|
# resp.reservations[0].instances[0].tags[0].value #=> String
|
11080
11080
|
# resp.reservations[0].instances[0].virtualization_type #=> String, one of "hvm", "paravirtual"
|
11081
|
+
# resp.reservations[0].instances[0].cpu_options.core_count #=> Integer
|
11082
|
+
# resp.reservations[0].instances[0].cpu_options.threads_per_core #=> Integer
|
11081
11083
|
# resp.reservations[0].owner_id #=> String
|
11082
11084
|
# resp.reservations[0].requester_id #=> String
|
11083
11085
|
# resp.reservations[0].reservation_id #=> String
|
@@ -23618,6 +23620,15 @@ module Aws::EC2
|
|
23618
23620
|
#
|
23619
23621
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
|
23620
23622
|
#
|
23623
|
+
# @option params [Types::CpuOptionsRequest] :cpu_options
|
23624
|
+
# The CPU options for the instance. For more information, see
|
23625
|
+
# [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
|
23626
|
+
# Guide*.
|
23627
|
+
#
|
23628
|
+
#
|
23629
|
+
#
|
23630
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
|
23631
|
+
#
|
23621
23632
|
# @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
23622
23633
|
#
|
23623
23634
|
# * {Types::Reservation#groups #groups} => Array<Types::GroupIdentifier>
|
@@ -23743,6 +23754,10 @@ module Aws::EC2
|
|
23743
23754
|
# credit_specification: {
|
23744
23755
|
# cpu_credits: "String", # required
|
23745
23756
|
# },
|
23757
|
+
# cpu_options: {
|
23758
|
+
# core_count: 1,
|
23759
|
+
# threads_per_core: 1,
|
23760
|
+
# },
|
23746
23761
|
# })
|
23747
23762
|
#
|
23748
23763
|
# @example Response structure
|
@@ -23843,6 +23858,8 @@ module Aws::EC2
|
|
23843
23858
|
# resp.instances[0].tags[0].key #=> String
|
23844
23859
|
# resp.instances[0].tags[0].value #=> String
|
23845
23860
|
# resp.instances[0].virtualization_type #=> String, one of "hvm", "paravirtual"
|
23861
|
+
# resp.instances[0].cpu_options.core_count #=> Integer
|
23862
|
+
# resp.instances[0].cpu_options.threads_per_core #=> Integer
|
23846
23863
|
# resp.owner_id #=> String
|
23847
23864
|
# resp.requester_id #=> String
|
23848
23865
|
# resp.reservation_id #=> String
|
@@ -24599,7 +24616,7 @@ module Aws::EC2
|
|
24599
24616
|
params: params,
|
24600
24617
|
config: config)
|
24601
24618
|
context[:gem_name] = 'aws-sdk-ec2'
|
24602
|
-
context[:gem_version] = '1.
|
24619
|
+
context[:gem_version] = '1.32.0'
|
24603
24620
|
Seahorse::Client::Request.new(handlers, context)
|
24604
24621
|
end
|
24605
24622
|
|
@@ -137,6 +137,8 @@ module Aws::EC2
|
|
137
137
|
CopyImageResult = Shapes::StructureShape.new(name: 'CopyImageResult')
|
138
138
|
CopySnapshotRequest = Shapes::StructureShape.new(name: 'CopySnapshotRequest')
|
139
139
|
CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
|
140
|
+
CpuOptions = Shapes::StructureShape.new(name: 'CpuOptions')
|
141
|
+
CpuOptionsRequest = Shapes::StructureShape.new(name: 'CpuOptionsRequest')
|
140
142
|
CreateCustomerGatewayRequest = Shapes::StructureShape.new(name: 'CreateCustomerGatewayRequest')
|
141
143
|
CreateCustomerGatewayResult = Shapes::StructureShape.new(name: 'CreateCustomerGatewayResult')
|
142
144
|
CreateDefaultSubnetRequest = Shapes::StructureShape.new(name: 'CreateDefaultSubnetRequest')
|
@@ -1591,11 +1593,11 @@ module Aws::EC2
|
|
1591
1593
|
|
1592
1594
|
ConversionIdStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
1593
1595
|
|
1594
|
-
ConversionTask.add_member(:conversion_task_id, Shapes::ShapeRef.new(shape: String,
|
1596
|
+
ConversionTask.add_member(:conversion_task_id, Shapes::ShapeRef.new(shape: String, location_name: "conversionTaskId"))
|
1595
1597
|
ConversionTask.add_member(:expiration_time, Shapes::ShapeRef.new(shape: String, location_name: "expirationTime"))
|
1596
1598
|
ConversionTask.add_member(:import_instance, Shapes::ShapeRef.new(shape: ImportInstanceTaskDetails, location_name: "importInstance"))
|
1597
1599
|
ConversionTask.add_member(:import_volume, Shapes::ShapeRef.new(shape: ImportVolumeTaskDetails, location_name: "importVolume"))
|
1598
|
-
ConversionTask.add_member(:state, Shapes::ShapeRef.new(shape: ConversionTaskState,
|
1600
|
+
ConversionTask.add_member(:state, Shapes::ShapeRef.new(shape: ConversionTaskState, location_name: "state"))
|
1599
1601
|
ConversionTask.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
1600
1602
|
ConversionTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
1601
1603
|
ConversionTask.struct_class = Types::ConversionTask
|
@@ -1637,6 +1639,14 @@ module Aws::EC2
|
|
1637
1639
|
CopySnapshotResult.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
1638
1640
|
CopySnapshotResult.struct_class = Types::CopySnapshotResult
|
1639
1641
|
|
1642
|
+
CpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
|
1643
|
+
CpuOptions.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
|
1644
|
+
CpuOptions.struct_class = Types::CpuOptions
|
1645
|
+
|
1646
|
+
CpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "CoreCount"))
|
1647
|
+
CpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "ThreadsPerCore"))
|
1648
|
+
CpuOptionsRequest.struct_class = Types::CpuOptionsRequest
|
1649
|
+
|
1640
1650
|
CreateCustomerGatewayRequest.add_member(:bgp_asn, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BgpAsn"))
|
1641
1651
|
CreateCustomerGatewayRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IpAddress"))
|
1642
1652
|
CreateCustomerGatewayRequest.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, required: true, location_name: "Type"))
|
@@ -3150,9 +3160,9 @@ module Aws::EC2
|
|
3150
3160
|
DiskImage.struct_class = Types::DiskImage
|
3151
3161
|
|
3152
3162
|
DiskImageDescription.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
3153
|
-
DiskImageDescription.add_member(:format, Shapes::ShapeRef.new(shape: DiskImageFormat,
|
3154
|
-
DiskImageDescription.add_member(:import_manifest_url, Shapes::ShapeRef.new(shape: String,
|
3155
|
-
DiskImageDescription.add_member(:size, Shapes::ShapeRef.new(shape: Long,
|
3163
|
+
DiskImageDescription.add_member(:format, Shapes::ShapeRef.new(shape: DiskImageFormat, location_name: "format"))
|
3164
|
+
DiskImageDescription.add_member(:import_manifest_url, Shapes::ShapeRef.new(shape: String, location_name: "importManifestUrl"))
|
3165
|
+
DiskImageDescription.add_member(:size, Shapes::ShapeRef.new(shape: Long, location_name: "size"))
|
3156
3166
|
DiskImageDescription.struct_class = Types::DiskImageDescription
|
3157
3167
|
|
3158
3168
|
DiskImageDetail.add_member(:bytes, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "bytes"))
|
@@ -3162,7 +3172,7 @@ module Aws::EC2
|
|
3162
3172
|
|
3163
3173
|
DiskImageList.member = Shapes::ShapeRef.new(shape: DiskImage)
|
3164
3174
|
|
3165
|
-
DiskImageVolumeDescription.add_member(:id, Shapes::ShapeRef.new(shape: String,
|
3175
|
+
DiskImageVolumeDescription.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
3166
3176
|
DiskImageVolumeDescription.add_member(:size, Shapes::ShapeRef.new(shape: Long, location_name: "size"))
|
3167
3177
|
DiskImageVolumeDescription.struct_class = Types::DiskImageVolumeDescription
|
3168
3178
|
|
@@ -3688,7 +3698,7 @@ module Aws::EC2
|
|
3688
3698
|
ImportInstanceTaskDetails.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
3689
3699
|
ImportInstanceTaskDetails.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
3690
3700
|
ImportInstanceTaskDetails.add_member(:platform, Shapes::ShapeRef.new(shape: PlatformValues, location_name: "platform"))
|
3691
|
-
ImportInstanceTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: ImportInstanceVolumeDetailSet,
|
3701
|
+
ImportInstanceTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: ImportInstanceVolumeDetailSet, location_name: "volumes"))
|
3692
3702
|
ImportInstanceTaskDetails.struct_class = Types::ImportInstanceTaskDetails
|
3693
3703
|
|
3694
3704
|
ImportInstanceVolumeDetailItem.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, required: true, location_name: "availabilityZone"))
|
@@ -3743,11 +3753,11 @@ module Aws::EC2
|
|
3743
3753
|
ImportVolumeResult.add_member(:conversion_task, Shapes::ShapeRef.new(shape: ConversionTask, location_name: "conversionTask"))
|
3744
3754
|
ImportVolumeResult.struct_class = Types::ImportVolumeResult
|
3745
3755
|
|
3746
|
-
ImportVolumeTaskDetails.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String,
|
3747
|
-
ImportVolumeTaskDetails.add_member(:bytes_converted, Shapes::ShapeRef.new(shape: Long,
|
3756
|
+
ImportVolumeTaskDetails.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
3757
|
+
ImportVolumeTaskDetails.add_member(:bytes_converted, Shapes::ShapeRef.new(shape: Long, location_name: "bytesConverted"))
|
3748
3758
|
ImportVolumeTaskDetails.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
3749
|
-
ImportVolumeTaskDetails.add_member(:image, Shapes::ShapeRef.new(shape: DiskImageDescription,
|
3750
|
-
ImportVolumeTaskDetails.add_member(:volume, Shapes::ShapeRef.new(shape: DiskImageVolumeDescription,
|
3759
|
+
ImportVolumeTaskDetails.add_member(:image, Shapes::ShapeRef.new(shape: DiskImageDescription, location_name: "image"))
|
3760
|
+
ImportVolumeTaskDetails.add_member(:volume, Shapes::ShapeRef.new(shape: DiskImageVolumeDescription, location_name: "volume"))
|
3751
3761
|
ImportVolumeTaskDetails.struct_class = Types::ImportVolumeTaskDetails
|
3752
3762
|
|
3753
3763
|
Instance.add_member(:ami_launch_index, Shapes::ShapeRef.new(shape: Integer, location_name: "amiLaunchIndex"))
|
@@ -3789,6 +3799,7 @@ module Aws::EC2
|
|
3789
3799
|
Instance.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "stateReason"))
|
3790
3800
|
Instance.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
3791
3801
|
Instance.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
3802
|
+
Instance.add_member(:cpu_options, Shapes::ShapeRef.new(shape: CpuOptions, location_name: "cpuOptions"))
|
3792
3803
|
Instance.struct_class = Types::Instance
|
3793
3804
|
|
3794
3805
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
@@ -5272,6 +5283,7 @@ module Aws::EC2
|
|
5272
5283
|
RunInstancesRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
5273
5284
|
RunInstancesRequest.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: InstanceMarketOptionsRequest, location_name: "InstanceMarketOptions"))
|
5274
5285
|
RunInstancesRequest.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecificationRequest, location_name: "CreditSpecification"))
|
5286
|
+
RunInstancesRequest.add_member(:cpu_options, Shapes::ShapeRef.new(shape: CpuOptionsRequest, location_name: "CpuOptions"))
|
5275
5287
|
RunInstancesRequest.struct_class = Types::RunInstancesRequest
|
5276
5288
|
|
5277
5289
|
RunScheduledInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -167,6 +167,10 @@ module Aws::EC2
|
|
167
167
|
# credit_specification: {
|
168
168
|
# cpu_credits: "String", # required
|
169
169
|
# },
|
170
|
+
# cpu_options: {
|
171
|
+
# core_count: 1,
|
172
|
+
# threads_per_core: 1,
|
173
|
+
# },
|
170
174
|
# })
|
171
175
|
# @param [Hash] options ({})
|
172
176
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -360,6 +364,14 @@ module Aws::EC2
|
|
360
364
|
#
|
361
365
|
#
|
362
366
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
|
367
|
+
# @option options [Types::CpuOptionsRequest] :cpu_options
|
368
|
+
# The CPU options for the instance. For more information, see
|
369
|
+
# [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
|
370
|
+
# Guide*.
|
371
|
+
#
|
372
|
+
#
|
373
|
+
#
|
374
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
|
363
375
|
# @return [Instance::Collection]
|
364
376
|
def create_instances(options = {})
|
365
377
|
batch = []
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -345,6 +345,10 @@ module Aws::EC2
|
|
345
345
|
# credit_specification: {
|
346
346
|
# cpu_credits: "String", # required
|
347
347
|
# },
|
348
|
+
# cpu_options: {
|
349
|
+
# core_count: 1,
|
350
|
+
# threads_per_core: 1,
|
351
|
+
# },
|
348
352
|
# })
|
349
353
|
# @param [Hash] options ({})
|
350
354
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -536,6 +540,14 @@ module Aws::EC2
|
|
536
540
|
#
|
537
541
|
#
|
538
542
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
|
543
|
+
# @option options [Types::CpuOptionsRequest] :cpu_options
|
544
|
+
# The CPU options for the instance. For more information, see
|
545
|
+
# [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
|
546
|
+
# Guide*.
|
547
|
+
#
|
548
|
+
#
|
549
|
+
#
|
550
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
|
539
551
|
# @return [Instance::Collection]
|
540
552
|
def create_instances(options = {})
|
541
553
|
batch = []
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -2609,6 +2609,53 @@ module Aws::EC2
|
|
2609
2609
|
include Aws::Structure
|
2610
2610
|
end
|
2611
2611
|
|
2612
|
+
# The CPU options for the instance.
|
2613
|
+
#
|
2614
|
+
# @!attribute [rw] core_count
|
2615
|
+
# The number of CPU cores for the instance.
|
2616
|
+
# @return [Integer]
|
2617
|
+
#
|
2618
|
+
# @!attribute [rw] threads_per_core
|
2619
|
+
# The number of threads per CPU core.
|
2620
|
+
# @return [Integer]
|
2621
|
+
#
|
2622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptions AWS API Documentation
|
2623
|
+
#
|
2624
|
+
class CpuOptions < Struct.new(
|
2625
|
+
:core_count,
|
2626
|
+
:threads_per_core)
|
2627
|
+
include Aws::Structure
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
# The CPU options for the instance. Both the core count and threads per
|
2631
|
+
# core must be specified in the request.
|
2632
|
+
#
|
2633
|
+
# @note When making an API call, you may pass CpuOptionsRequest
|
2634
|
+
# data as a hash:
|
2635
|
+
#
|
2636
|
+
# {
|
2637
|
+
# core_count: 1,
|
2638
|
+
# threads_per_core: 1,
|
2639
|
+
# }
|
2640
|
+
#
|
2641
|
+
# @!attribute [rw] core_count
|
2642
|
+
# The number of CPU cores for the instance.
|
2643
|
+
# @return [Integer]
|
2644
|
+
#
|
2645
|
+
# @!attribute [rw] threads_per_core
|
2646
|
+
# The number of threads per CPU core. To disable Intel Hyper-Threading
|
2647
|
+
# Technology for the instance, specify a value of `1`. Otherwise,
|
2648
|
+
# specify the default value of `2`.
|
2649
|
+
# @return [Integer]
|
2650
|
+
#
|
2651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptionsRequest AWS API Documentation
|
2652
|
+
#
|
2653
|
+
class CpuOptionsRequest < Struct.new(
|
2654
|
+
:core_count,
|
2655
|
+
:threads_per_core)
|
2656
|
+
include Aws::Structure
|
2657
|
+
end
|
2658
|
+
|
2612
2659
|
# Contains the parameters for CreateCustomerGateway.
|
2613
2660
|
#
|
2614
2661
|
# @note When making an API call, you may pass CreateCustomerGatewayRequest
|
@@ -17983,6 +18030,10 @@ module Aws::EC2
|
|
17983
18030
|
# The virtualization type of the instance.
|
17984
18031
|
# @return [String]
|
17985
18032
|
#
|
18033
|
+
# @!attribute [rw] cpu_options
|
18034
|
+
# The CPU options for the instance.
|
18035
|
+
# @return [Types::CpuOptions]
|
18036
|
+
#
|
17986
18037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance AWS API Documentation
|
17987
18038
|
#
|
17988
18039
|
class Instance < Struct.new(
|
@@ -18024,7 +18075,8 @@ module Aws::EC2
|
|
18024
18075
|
:sriov_net_support,
|
18025
18076
|
:state_reason,
|
18026
18077
|
:tags,
|
18027
|
-
:virtualization_type
|
18078
|
+
:virtualization_type,
|
18079
|
+
:cpu_options)
|
18028
18080
|
include Aws::Structure
|
18029
18081
|
end
|
18030
18082
|
|
@@ -26492,6 +26544,10 @@ module Aws::EC2
|
|
26492
26544
|
# credit_specification: {
|
26493
26545
|
# cpu_credits: "String", # required
|
26494
26546
|
# },
|
26547
|
+
# cpu_options: {
|
26548
|
+
# core_count: 1,
|
26549
|
+
# threads_per_core: 1,
|
26550
|
+
# },
|
26495
26551
|
# }
|
26496
26552
|
#
|
26497
26553
|
# @!attribute [rw] block_device_mappings
|
@@ -26747,6 +26803,16 @@ module Aws::EC2
|
|
26747
26803
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
|
26748
26804
|
# @return [Types::CreditSpecificationRequest]
|
26749
26805
|
#
|
26806
|
+
# @!attribute [rw] cpu_options
|
26807
|
+
# The CPU options for the instance. For more information, see
|
26808
|
+
# [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud
|
26809
|
+
# User Guide*.
|
26810
|
+
#
|
26811
|
+
#
|
26812
|
+
#
|
26813
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
|
26814
|
+
# @return [Types::CpuOptionsRequest]
|
26815
|
+
#
|
26750
26816
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest AWS API Documentation
|
26751
26817
|
#
|
26752
26818
|
class RunInstancesRequest < Struct.new(
|
@@ -26779,7 +26845,8 @@ module Aws::EC2
|
|
26779
26845
|
:tag_specifications,
|
26780
26846
|
:launch_template,
|
26781
26847
|
:instance_market_options,
|
26782
|
-
:credit_specification
|
26848
|
+
:credit_specification,
|
26849
|
+
:cpu_options)
|
26783
26850
|
include Aws::Structure
|
26784
26851
|
end
|
26785
26852
|
|
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.32.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: 2018-05-
|
11
|
+
date: 2018-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|