aws-sdk-ec2 1.118.0 → 1.119.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 +81 -21
- data/lib/aws-sdk-ec2/client_api.rb +35 -11
- data/lib/aws-sdk-ec2/resource.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +170 -35
- 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: e28259b3ceadf907e1b4ee7f63dc7fdeb63d682c
|
4
|
+
data.tar.gz: 726e4ebc7c7a4942111c3337ce6966ad2247f2e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 885ca9929ff681a790fcc0217787584507150ff8c27b85d518364902d618c9f72b3d6cfabb19c70ed7be0010e1137ca314ce7ab0a2dc36fbcdea39ae046ab969
|
7
|
+
data.tar.gz: 93ab98661a66d289a7986cefaf6e4640c163739c84bef546f66cea9be6584494c5528d5d0529912f355f756513c00ac1be37b1907aa50f26a0eee008e7952f36
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -640,8 +640,8 @@ module Aws::EC2
|
|
640
640
|
end
|
641
641
|
|
642
642
|
# Allocates a Dedicated Host to your account. At a minimum, specify the
|
643
|
-
# instance
|
644
|
-
# allocate.
|
643
|
+
# supported instance type or instance family, the Availability Zone in
|
644
|
+
# which to allocate the host, and the number of hosts to allocate.
|
645
645
|
#
|
646
646
|
# @option params [String] :auto_placement
|
647
647
|
# Indicates whether the host accepts any untargeted instance launches
|
@@ -668,10 +668,25 @@ module Aws::EC2
|
|
668
668
|
#
|
669
669
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
670
670
|
#
|
671
|
-
# @option params [
|
672
|
-
# Specifies the instance type
|
673
|
-
#
|
674
|
-
#
|
671
|
+
# @option params [String] :instance_type
|
672
|
+
# Specifies the instance type to be supported by the Dedicated Hosts. If
|
673
|
+
# you specify an instance type, the Dedicated Hosts support instances of
|
674
|
+
# the specified instance type only.
|
675
|
+
#
|
676
|
+
# If you want the Dedicated Hosts to support multiple instance types in
|
677
|
+
# a specific instance family, omit this parameter and specify
|
678
|
+
# **InstanceFamily** instead. You cannot specify **InstanceType** and
|
679
|
+
# **InstanceFamily** in the same request.
|
680
|
+
#
|
681
|
+
# @option params [String] :instance_family
|
682
|
+
# Specifies the instance family to be supported by the Dedicated Hosts.
|
683
|
+
# If you specify an instance family, the Dedicated Hosts support
|
684
|
+
# multiple instance types within that instance family.
|
685
|
+
#
|
686
|
+
# If you want the Dedicated Hosts to support a specific instance type
|
687
|
+
# only, omit this parameter and specify **InstanceType** instead. You
|
688
|
+
# cannot specify **InstanceFamily** and **InstanceType** in the same
|
689
|
+
# request.
|
675
690
|
#
|
676
691
|
# @option params [required, Integer] :quantity
|
677
692
|
# The number of Dedicated Hosts to allocate to your account with these
|
@@ -701,7 +716,8 @@ module Aws::EC2
|
|
701
716
|
# auto_placement: "on", # accepts on, off
|
702
717
|
# availability_zone: "String", # required
|
703
718
|
# client_token: "String",
|
704
|
-
# instance_type: "String",
|
719
|
+
# instance_type: "String",
|
720
|
+
# instance_family: "String",
|
705
721
|
# quantity: 1, # required
|
706
722
|
# tag_specifications: [
|
707
723
|
# {
|
@@ -2996,7 +3012,7 @@ module Aws::EC2
|
|
2996
3012
|
# client_token: "String",
|
2997
3013
|
# description: "String",
|
2998
3014
|
# encrypted: false,
|
2999
|
-
# kms_key_id: "
|
3015
|
+
# kms_key_id: "String",
|
3000
3016
|
# name: "String", # required
|
3001
3017
|
# source_image_id: "String", # required
|
3002
3018
|
# source_region: "String", # required
|
@@ -4642,7 +4658,7 @@ module Aws::EC2
|
|
4642
4658
|
# ],
|
4643
4659
|
# description: "String",
|
4644
4660
|
# dry_run: false,
|
4645
|
-
# instance_id: "
|
4661
|
+
# instance_id: "String", # required
|
4646
4662
|
# name: "String", # required
|
4647
4663
|
# no_reboot: false,
|
4648
4664
|
# })
|
@@ -10788,7 +10804,7 @@ module Aws::EC2
|
|
10788
10804
|
# @example Request syntax with placeholder values
|
10789
10805
|
#
|
10790
10806
|
# resp = client.deregister_image({
|
10791
|
-
# image_id: "
|
10807
|
+
# image_id: "String", # required
|
10792
10808
|
# dry_run: false,
|
10793
10809
|
# })
|
10794
10810
|
#
|
@@ -13134,11 +13150,11 @@ module Aws::EC2
|
|
13134
13150
|
# Describes the Dedicated Host reservations that are available to
|
13135
13151
|
# purchase.
|
13136
13152
|
#
|
13137
|
-
# The results describe all the Dedicated Host reservation offerings,
|
13138
|
-
# including offerings that
|
13139
|
-
# of your Dedicated Hosts. When purchasing an offering, ensure
|
13140
|
-
# instance family and Region of the offering matches that of
|
13141
|
-
# Dedicated Hosts with which it is to be associated. For more
|
13153
|
+
# The results describe all of the Dedicated Host reservation offerings,
|
13154
|
+
# including offerings that might not match the instance family and
|
13155
|
+
# Region of your Dedicated Hosts. When purchasing an offering, ensure
|
13156
|
+
# that the instance family and Region of the offering matches that of
|
13157
|
+
# the Dedicated Hosts with which it is to be associated. For more
|
13142
13158
|
# information about supported instance types, see [Dedicated Hosts
|
13143
13159
|
# Overview][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
13144
13160
|
#
|
@@ -13393,12 +13409,14 @@ module Aws::EC2
|
|
13393
13409
|
# resp.hosts[0].host_id #=> String
|
13394
13410
|
# resp.hosts[0].host_properties.cores #=> Integer
|
13395
13411
|
# resp.hosts[0].host_properties.instance_type #=> String
|
13412
|
+
# resp.hosts[0].host_properties.instance_family #=> String
|
13396
13413
|
# resp.hosts[0].host_properties.sockets #=> Integer
|
13397
13414
|
# resp.hosts[0].host_properties.total_v_cpus #=> Integer
|
13398
13415
|
# resp.hosts[0].host_reservation_id #=> String
|
13399
13416
|
# resp.hosts[0].instances #=> Array
|
13400
13417
|
# resp.hosts[0].instances[0].instance_id #=> String
|
13401
13418
|
# resp.hosts[0].instances[0].instance_type #=> String
|
13419
|
+
# resp.hosts[0].instances[0].owner_id #=> String
|
13402
13420
|
# resp.hosts[0].state #=> String, one of "available", "under-assessment", "permanent-failure", "released", "released-permanent-failure", "pending"
|
13403
13421
|
# resp.hosts[0].allocation_time #=> Time
|
13404
13422
|
# resp.hosts[0].release_time #=> Time
|
@@ -13406,6 +13424,9 @@ module Aws::EC2
|
|
13406
13424
|
# resp.hosts[0].tags[0].key #=> String
|
13407
13425
|
# resp.hosts[0].tags[0].value #=> String
|
13408
13426
|
# resp.hosts[0].host_recovery #=> String, one of "on", "off"
|
13427
|
+
# resp.hosts[0].allows_multiple_instance_types #=> String, one of "on", "off"
|
13428
|
+
# resp.hosts[0].owner_id #=> String
|
13429
|
+
# resp.hosts[0].availability_zone_id #=> String
|
13409
13430
|
# resp.next_token #=> String
|
13410
13431
|
#
|
13411
13432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
|
@@ -14040,6 +14061,8 @@ module Aws::EC2
|
|
14040
14061
|
# resp.import_image_tasks[0].snapshot_details[0].user_bucket.s3_key #=> String
|
14041
14062
|
# resp.import_image_tasks[0].status #=> String
|
14042
14063
|
# resp.import_image_tasks[0].status_message #=> String
|
14064
|
+
# resp.import_image_tasks[0].license_specifications #=> Array
|
14065
|
+
# resp.import_image_tasks[0].license_specifications[0].license_configuration_arn #=> String
|
14043
14066
|
# resp.next_token #=> String
|
14044
14067
|
#
|
14045
14068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks AWS API Documentation
|
@@ -24797,6 +24820,9 @@ module Aws::EC2
|
|
24797
24820
|
# The name of the role to use when not using the default role,
|
24798
24821
|
# 'vmimport'.
|
24799
24822
|
#
|
24823
|
+
# @option params [Array<Types::ImportImageLicenseConfigurationRequest>] :license_specifications
|
24824
|
+
# The ARNs of the license configurations.
|
24825
|
+
#
|
24800
24826
|
# @return [Types::ImportImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24801
24827
|
#
|
24802
24828
|
# * {Types::ImportImageResult#architecture #architecture} => String
|
@@ -24812,6 +24838,7 @@ module Aws::EC2
|
|
24812
24838
|
# * {Types::ImportImageResult#snapshot_details #snapshot_details} => Array<Types::SnapshotDetail>
|
24813
24839
|
# * {Types::ImportImageResult#status #status} => String
|
24814
24840
|
# * {Types::ImportImageResult#status_message #status_message} => String
|
24841
|
+
# * {Types::ImportImageResult#license_specifications #license_specifications} => Array<Types::ImportImageLicenseConfigurationResponse>
|
24815
24842
|
#
|
24816
24843
|
# @example Request syntax with placeholder values
|
24817
24844
|
#
|
@@ -24841,10 +24868,15 @@ module Aws::EC2
|
|
24841
24868
|
# dry_run: false,
|
24842
24869
|
# encrypted: false,
|
24843
24870
|
# hypervisor: "String",
|
24844
|
-
# kms_key_id: "
|
24871
|
+
# kms_key_id: "String",
|
24845
24872
|
# license_type: "String",
|
24846
24873
|
# platform: "String",
|
24847
24874
|
# role_name: "String",
|
24875
|
+
# license_specifications: [
|
24876
|
+
# {
|
24877
|
+
# license_configuration_arn: "String",
|
24878
|
+
# },
|
24879
|
+
# ],
|
24848
24880
|
# })
|
24849
24881
|
#
|
24850
24882
|
# @example Response structure
|
@@ -24873,6 +24905,8 @@ module Aws::EC2
|
|
24873
24905
|
# resp.snapshot_details[0].user_bucket.s3_key #=> String
|
24874
24906
|
# resp.status #=> String
|
24875
24907
|
# resp.status_message #=> String
|
24908
|
+
# resp.license_specifications #=> Array
|
24909
|
+
# resp.license_specifications[0].license_configuration_arn #=> String
|
24876
24910
|
#
|
24877
24911
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage AWS API Documentation
|
24878
24912
|
#
|
@@ -25695,6 +25729,10 @@ module Aws::EC2
|
|
25695
25729
|
# provided, the instance is launched onto a suitable host with
|
25696
25730
|
# auto-placement enabled.
|
25697
25731
|
#
|
25732
|
+
# You can also use this API action to modify a Dedicated Host to support
|
25733
|
+
# either multiple instance types in an instance family, or to support a
|
25734
|
+
# specific instance type only.
|
25735
|
+
#
|
25698
25736
|
# @option params [String] :auto_placement
|
25699
25737
|
# Specify whether to enable or disable auto-placement.
|
25700
25738
|
#
|
@@ -25710,6 +25748,26 @@ module Aws::EC2
|
|
25710
25748
|
#
|
25711
25749
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html
|
25712
25750
|
#
|
25751
|
+
# @option params [String] :instance_type
|
25752
|
+
# Specifies the instance type to be supported by the Dedicated Host.
|
25753
|
+
# Specify this parameter to modify a Dedicated Host to support only a
|
25754
|
+
# specific instance type.
|
25755
|
+
#
|
25756
|
+
# If you want to modify a Dedicated Host to support multiple instance
|
25757
|
+
# types in its current instance family, omit this parameter and specify
|
25758
|
+
# **InstanceFamily** instead. You cannot specify **InstanceType** and
|
25759
|
+
# **InstanceFamily** in the same request.
|
25760
|
+
#
|
25761
|
+
# @option params [String] :instance_family
|
25762
|
+
# Specifies the instance family to be supported by the Dedicated Host.
|
25763
|
+
# Specify this parameter to modify a Dedicated Host to support multiple
|
25764
|
+
# instance types within its current instance family.
|
25765
|
+
#
|
25766
|
+
# If you want to modify a Dedicated Host to support a specific instance
|
25767
|
+
# type only, omit this parameter and specify **InstanceType** instead.
|
25768
|
+
# You cannot specify **InstanceFamily** and **InstanceType** in the same
|
25769
|
+
# request.
|
25770
|
+
#
|
25713
25771
|
# @return [Types::ModifyHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
25714
25772
|
#
|
25715
25773
|
# * {Types::ModifyHostsResult#successful #successful} => Array<String>
|
@@ -25721,6 +25779,8 @@ module Aws::EC2
|
|
25721
25779
|
# auto_placement: "on", # accepts on, off
|
25722
25780
|
# host_ids: ["String"], # required
|
25723
25781
|
# host_recovery: "on", # accepts on, off
|
25782
|
+
# instance_type: "String",
|
25783
|
+
# instance_family: "String",
|
25724
25784
|
# })
|
25725
25785
|
#
|
25726
25786
|
# @example Response structure
|
@@ -25986,7 +26046,7 @@ module Aws::EC2
|
|
25986
26046
|
# resp = client.modify_image_attribute({
|
25987
26047
|
# attribute: "String",
|
25988
26048
|
# description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
25989
|
-
# image_id: "
|
26049
|
+
# image_id: "String", # required
|
25990
26050
|
# launch_permission: {
|
25991
26051
|
# add: [
|
25992
26052
|
# {
|
@@ -29112,10 +29172,10 @@ module Aws::EC2
|
|
29112
29172
|
# description: "String",
|
29113
29173
|
# dry_run: false,
|
29114
29174
|
# ena_support: false,
|
29115
|
-
# kernel_id: "
|
29175
|
+
# kernel_id: "String",
|
29116
29176
|
# name: "String", # required
|
29117
29177
|
# billing_products: ["String"],
|
29118
|
-
# ramdisk_id: "
|
29178
|
+
# ramdisk_id: "String",
|
29119
29179
|
# root_device_name: "String",
|
29120
29180
|
# sriov_net_support: "String",
|
29121
29181
|
# virtualization_type: "String",
|
@@ -30700,7 +30760,7 @@ module Aws::EC2
|
|
30700
30760
|
#
|
30701
30761
|
# resp = client.reset_image_attribute({
|
30702
30762
|
# attribute: "launchPermission", # required, accepts launchPermission
|
30703
|
-
# image_id: "
|
30763
|
+
# image_id: "String", # required
|
30704
30764
|
# dry_run: false,
|
30705
30765
|
# })
|
30706
30766
|
#
|
@@ -33073,7 +33133,7 @@ module Aws::EC2
|
|
33073
33133
|
params: params,
|
33074
33134
|
config: config)
|
33075
33135
|
context[:gem_name] = 'aws-sdk-ec2'
|
33076
|
-
context[:gem_version] = '1.
|
33136
|
+
context[:gem_version] = '1.119.0'
|
33077
33137
|
Seahorse::Client::Request.new(handlers, context)
|
33078
33138
|
end
|
33079
33139
|
|
@@ -43,6 +43,7 @@ module Aws::EC2
|
|
43
43
|
AllocationStrategy = Shapes::StringShape.new(name: 'AllocationStrategy')
|
44
44
|
AllowedPrincipal = Shapes::StructureShape.new(name: 'AllowedPrincipal')
|
45
45
|
AllowedPrincipalSet = Shapes::ListShape.new(name: 'AllowedPrincipalSet')
|
46
|
+
AllowsMultipleInstanceTypes = Shapes::StringShape.new(name: 'AllowsMultipleInstanceTypes')
|
46
47
|
ApplySecurityGroupsToClientVpnTargetNetworkRequest = Shapes::StructureShape.new(name: 'ApplySecurityGroupsToClientVpnTargetNetworkRequest')
|
47
48
|
ApplySecurityGroupsToClientVpnTargetNetworkResult = Shapes::StructureShape.new(name: 'ApplySecurityGroupsToClientVpnTargetNetworkResult')
|
48
49
|
ArchitectureValues = Shapes::StringShape.new(name: 'ArchitectureValues')
|
@@ -890,6 +891,10 @@ module Aws::EC2
|
|
890
891
|
ImageTypeValues = Shapes::StringShape.new(name: 'ImageTypeValues')
|
891
892
|
ImportClientVpnClientCertificateRevocationListRequest = Shapes::StructureShape.new(name: 'ImportClientVpnClientCertificateRevocationListRequest')
|
892
893
|
ImportClientVpnClientCertificateRevocationListResult = Shapes::StructureShape.new(name: 'ImportClientVpnClientCertificateRevocationListResult')
|
894
|
+
ImportImageLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'ImportImageLicenseConfigurationRequest')
|
895
|
+
ImportImageLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'ImportImageLicenseConfigurationResponse')
|
896
|
+
ImportImageLicenseSpecificationListRequest = Shapes::ListShape.new(name: 'ImportImageLicenseSpecificationListRequest')
|
897
|
+
ImportImageLicenseSpecificationListResponse = Shapes::ListShape.new(name: 'ImportImageLicenseSpecificationListResponse')
|
893
898
|
ImportImageRequest = Shapes::StructureShape.new(name: 'ImportImageRequest')
|
894
899
|
ImportImageResult = Shapes::StructureShape.new(name: 'ImportImageResult')
|
895
900
|
ImportImageTask = Shapes::StructureShape.new(name: 'ImportImageTask')
|
@@ -991,7 +996,6 @@ module Aws::EC2
|
|
991
996
|
Ipv6Range = Shapes::StructureShape.new(name: 'Ipv6Range')
|
992
997
|
Ipv6RangeList = Shapes::ListShape.new(name: 'Ipv6RangeList')
|
993
998
|
Ipv6SupportValue = Shapes::StringShape.new(name: 'Ipv6SupportValue')
|
994
|
-
KernelId = Shapes::StringShape.new(name: 'KernelId')
|
995
999
|
KeyNameStringList = Shapes::ListShape.new(name: 'KeyNameStringList')
|
996
1000
|
KeyPair = Shapes::StructureShape.new(name: 'KeyPair')
|
997
1001
|
KeyPairInfo = Shapes::StructureShape.new(name: 'KeyPairInfo')
|
@@ -1279,7 +1283,6 @@ module Aws::EC2
|
|
1279
1283
|
PurchaseSet = Shapes::ListShape.new(name: 'PurchaseSet')
|
1280
1284
|
PurchasedScheduledInstanceSet = Shapes::ListShape.new(name: 'PurchasedScheduledInstanceSet')
|
1281
1285
|
RIProductDescription = Shapes::StringShape.new(name: 'RIProductDescription')
|
1282
|
-
RamdiskId = Shapes::StringShape.new(name: 'RamdiskId')
|
1283
1286
|
ReasonCodesList = Shapes::ListShape.new(name: 'ReasonCodesList')
|
1284
1287
|
RebootInstancesRequest = Shapes::StructureShape.new(name: 'RebootInstancesRequest')
|
1285
1288
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
@@ -1791,7 +1794,8 @@ module Aws::EC2
|
|
1791
1794
|
AllocateHostsRequest.add_member(:auto_placement, Shapes::ShapeRef.new(shape: AutoPlacement, location_name: "autoPlacement"))
|
1792
1795
|
AllocateHostsRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, required: true, location_name: "availabilityZone"))
|
1793
1796
|
AllocateHostsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
1794
|
-
AllocateHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String,
|
1797
|
+
AllocateHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
1798
|
+
AllocateHostsRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
|
1795
1799
|
AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "quantity"))
|
1796
1800
|
AllocateHostsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
1797
1801
|
AllocateHostsRequest.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "HostRecovery"))
|
@@ -2375,7 +2379,7 @@ module Aws::EC2
|
|
2375
2379
|
CopyImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
2376
2380
|
CopyImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
2377
2381
|
CopyImageRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
2378
|
-
CopyImageRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape:
|
2382
|
+
CopyImageRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
2379
2383
|
CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
2380
2384
|
CopyImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceImageId"))
|
2381
2385
|
CopyImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
|
@@ -2566,7 +2570,7 @@ module Aws::EC2
|
|
2566
2570
|
CreateImageRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingRequestList, location_name: "blockDeviceMapping"))
|
2567
2571
|
CreateImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
2568
2572
|
CreateImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2569
|
-
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape:
|
2573
|
+
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "instanceId"))
|
2570
2574
|
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
2571
2575
|
CreateImageRequest.add_member(:no_reboot, Shapes::ShapeRef.new(shape: Boolean, location_name: "noReboot"))
|
2572
2576
|
CreateImageRequest.struct_class = Types::CreateImageRequest
|
@@ -3277,7 +3281,7 @@ module Aws::EC2
|
|
3277
3281
|
DeprovisionByoipCidrResult.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "byoipCidr"))
|
3278
3282
|
DeprovisionByoipCidrResult.struct_class = Types::DeprovisionByoipCidrResult
|
3279
3283
|
|
3280
|
-
DeregisterImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape:
|
3284
|
+
DeregisterImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ImageId"))
|
3281
3285
|
DeregisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3282
3286
|
DeregisterImageRequest.struct_class = Types::DeregisterImageRequest
|
3283
3287
|
|
@@ -5102,10 +5106,14 @@ module Aws::EC2
|
|
5102
5106
|
Host.add_member(:release_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "releaseTime"))
|
5103
5107
|
Host.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
5104
5108
|
Host.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "hostRecovery"))
|
5109
|
+
Host.add_member(:allows_multiple_instance_types, Shapes::ShapeRef.new(shape: AllowsMultipleInstanceTypes, location_name: "allowsMultipleInstanceTypes"))
|
5110
|
+
Host.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
5111
|
+
Host.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
5105
5112
|
Host.struct_class = Types::Host
|
5106
5113
|
|
5107
5114
|
HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
5108
5115
|
HostInstance.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
5116
|
+
HostInstance.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
5109
5117
|
HostInstance.struct_class = Types::HostInstance
|
5110
5118
|
|
5111
5119
|
HostInstanceList.member = Shapes::ShapeRef.new(shape: HostInstance, location_name: "item")
|
@@ -5125,6 +5133,7 @@ module Aws::EC2
|
|
5125
5133
|
|
5126
5134
|
HostProperties.add_member(:cores, Shapes::ShapeRef.new(shape: Integer, location_name: "cores"))
|
5127
5135
|
HostProperties.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
5136
|
+
HostProperties.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "instanceFamily"))
|
5128
5137
|
HostProperties.add_member(:sockets, Shapes::ShapeRef.new(shape: Integer, location_name: "sockets"))
|
5129
5138
|
HostProperties.add_member(:total_v_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "totalVCpus"))
|
5130
5139
|
HostProperties.struct_class = Types::HostProperties
|
@@ -5245,6 +5254,16 @@ module Aws::EC2
|
|
5245
5254
|
ImportClientVpnClientCertificateRevocationListResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
5246
5255
|
ImportClientVpnClientCertificateRevocationListResult.struct_class = Types::ImportClientVpnClientCertificateRevocationListResult
|
5247
5256
|
|
5257
|
+
ImportImageLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
|
5258
|
+
ImportImageLicenseConfigurationRequest.struct_class = Types::ImportImageLicenseConfigurationRequest
|
5259
|
+
|
5260
|
+
ImportImageLicenseConfigurationResponse.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "licenseConfigurationArn"))
|
5261
|
+
ImportImageLicenseConfigurationResponse.struct_class = Types::ImportImageLicenseConfigurationResponse
|
5262
|
+
|
5263
|
+
ImportImageLicenseSpecificationListRequest.member = Shapes::ShapeRef.new(shape: ImportImageLicenseConfigurationRequest, location_name: "item")
|
5264
|
+
|
5265
|
+
ImportImageLicenseSpecificationListResponse.member = Shapes::ShapeRef.new(shape: ImportImageLicenseConfigurationResponse, location_name: "item")
|
5266
|
+
|
5248
5267
|
ImportImageRequest.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "Architecture"))
|
5249
5268
|
ImportImageRequest.add_member(:client_data, Shapes::ShapeRef.new(shape: ClientData, location_name: "ClientData"))
|
5250
5269
|
ImportImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
@@ -5253,10 +5272,11 @@ module Aws::EC2
|
|
5253
5272
|
ImportImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5254
5273
|
ImportImageRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
|
5255
5274
|
ImportImageRequest.add_member(:hypervisor, Shapes::ShapeRef.new(shape: String, location_name: "Hypervisor"))
|
5256
|
-
ImportImageRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape:
|
5275
|
+
ImportImageRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
5257
5276
|
ImportImageRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: String, location_name: "LicenseType"))
|
5258
5277
|
ImportImageRequest.add_member(:platform, Shapes::ShapeRef.new(shape: String, location_name: "Platform"))
|
5259
5278
|
ImportImageRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: String, location_name: "RoleName"))
|
5279
|
+
ImportImageRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListRequest, location_name: "LicenseSpecifications"))
|
5260
5280
|
ImportImageRequest.struct_class = Types::ImportImageRequest
|
5261
5281
|
|
5262
5282
|
ImportImageResult.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "architecture"))
|
@@ -5272,6 +5292,7 @@ module Aws::EC2
|
|
5272
5292
|
ImportImageResult.add_member(:snapshot_details, Shapes::ShapeRef.new(shape: SnapshotDetailList, location_name: "snapshotDetailSet"))
|
5273
5293
|
ImportImageResult.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
5274
5294
|
ImportImageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
5295
|
+
ImportImageResult.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListResponse, location_name: "licenseSpecifications"))
|
5275
5296
|
ImportImageResult.struct_class = Types::ImportImageResult
|
5276
5297
|
|
5277
5298
|
ImportImageTask.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "architecture"))
|
@@ -5287,6 +5308,7 @@ module Aws::EC2
|
|
5287
5308
|
ImportImageTask.add_member(:snapshot_details, Shapes::ShapeRef.new(shape: SnapshotDetailList, location_name: "snapshotDetailSet"))
|
5288
5309
|
ImportImageTask.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
5289
5310
|
ImportImageTask.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
5311
|
+
ImportImageTask.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListResponse, location_name: "licenseSpecifications"))
|
5290
5312
|
ImportImageTask.struct_class = Types::ImportImageTask
|
5291
5313
|
|
5292
5314
|
ImportImageTaskList.member = Shapes::ShapeRef.new(shape: ImportImageTask, location_name: "item")
|
@@ -6035,6 +6057,8 @@ module Aws::EC2
|
|
6035
6057
|
ModifyHostsRequest.add_member(:auto_placement, Shapes::ShapeRef.new(shape: AutoPlacement, location_name: "autoPlacement"))
|
6036
6058
|
ModifyHostsRequest.add_member(:host_ids, Shapes::ShapeRef.new(shape: RequestHostIdList, required: true, location_name: "hostId"))
|
6037
6059
|
ModifyHostsRequest.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "HostRecovery"))
|
6060
|
+
ModifyHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
|
6061
|
+
ModifyHostsRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
|
6038
6062
|
ModifyHostsRequest.struct_class = Types::ModifyHostsRequest
|
6039
6063
|
|
6040
6064
|
ModifyHostsResult.add_member(:successful, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "successful"))
|
@@ -6052,7 +6076,7 @@ module Aws::EC2
|
|
6052
6076
|
|
6053
6077
|
ModifyImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: String, location_name: "Attribute"))
|
6054
6078
|
ModifyImageAttributeRequest.add_member(:description, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "Description"))
|
6055
|
-
ModifyImageAttributeRequest.add_member(:image_id, Shapes::ShapeRef.new(shape:
|
6079
|
+
ModifyImageAttributeRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ImageId"))
|
6056
6080
|
ModifyImageAttributeRequest.add_member(:launch_permission, Shapes::ShapeRef.new(shape: LaunchPermissionModifications, location_name: "LaunchPermission"))
|
6057
6081
|
ModifyImageAttributeRequest.add_member(:operation_type, Shapes::ShapeRef.new(shape: OperationType, location_name: "OperationType"))
|
6058
6082
|
ModifyImageAttributeRequest.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeStringList, location_name: "ProductCode"))
|
@@ -6818,10 +6842,10 @@ module Aws::EC2
|
|
6818
6842
|
RegisterImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
6819
6843
|
RegisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6820
6844
|
RegisterImageRequest.add_member(:ena_support, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSupport"))
|
6821
|
-
RegisterImageRequest.add_member(:kernel_id, Shapes::ShapeRef.new(shape:
|
6845
|
+
RegisterImageRequest.add_member(:kernel_id, Shapes::ShapeRef.new(shape: String, location_name: "kernelId"))
|
6822
6846
|
RegisterImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
6823
6847
|
RegisterImageRequest.add_member(:billing_products, Shapes::ShapeRef.new(shape: BillingProductList, location_name: "BillingProduct"))
|
6824
|
-
RegisterImageRequest.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape:
|
6848
|
+
RegisterImageRequest.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: String, location_name: "ramdiskId"))
|
6825
6849
|
RegisterImageRequest.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
|
6826
6850
|
RegisterImageRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: String, location_name: "sriovNetSupport"))
|
6827
6851
|
RegisterImageRequest.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: String, location_name: "virtualizationType"))
|
@@ -7139,7 +7163,7 @@ module Aws::EC2
|
|
7139
7163
|
ResetFpgaImageAttributeResult.struct_class = Types::ResetFpgaImageAttributeResult
|
7140
7164
|
|
7141
7165
|
ResetImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: ResetImageAttributeName, required: true, location_name: "Attribute"))
|
7142
|
-
ResetImageAttributeRequest.add_member(:image_id, Shapes::ShapeRef.new(shape:
|
7166
|
+
ResetImageAttributeRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ImageId"))
|
7143
7167
|
ResetImageAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
7144
7168
|
ResetImageAttributeRequest.struct_class = Types::ResetImageAttributeRequest
|
7145
7169
|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1170,10 +1170,10 @@ module Aws::EC2
|
|
1170
1170
|
# description: "String",
|
1171
1171
|
# dry_run: false,
|
1172
1172
|
# ena_support: false,
|
1173
|
-
# kernel_id: "
|
1173
|
+
# kernel_id: "String",
|
1174
1174
|
# name: "String", # required
|
1175
1175
|
# billing_products: ["String"],
|
1176
|
-
# ramdisk_id: "
|
1176
|
+
# ramdisk_id: "String",
|
1177
1177
|
# root_device_name: "String",
|
1178
1178
|
# sriov_net_support: "String",
|
1179
1179
|
# virtualization_type: "String",
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -429,7 +429,8 @@ module Aws::EC2
|
|
429
429
|
# auto_placement: "on", # accepts on, off
|
430
430
|
# availability_zone: "String", # required
|
431
431
|
# client_token: "String",
|
432
|
-
# instance_type: "String",
|
432
|
+
# instance_type: "String",
|
433
|
+
# instance_family: "String",
|
433
434
|
# quantity: 1, # required
|
434
435
|
# tag_specifications: [
|
435
436
|
# {
|
@@ -474,9 +475,25 @@ module Aws::EC2
|
|
474
475
|
# @return [String]
|
475
476
|
#
|
476
477
|
# @!attribute [rw] instance_type
|
477
|
-
# Specifies the instance type
|
478
|
-
#
|
479
|
-
#
|
478
|
+
# Specifies the instance type to be supported by the Dedicated Hosts.
|
479
|
+
# If you specify an instance type, the Dedicated Hosts support
|
480
|
+
# instances of the specified instance type only.
|
481
|
+
#
|
482
|
+
# If you want the Dedicated Hosts to support multiple instance types
|
483
|
+
# in a specific instance family, omit this parameter and specify
|
484
|
+
# **InstanceFamily** instead. You cannot specify **InstanceType** and
|
485
|
+
# **InstanceFamily** in the same request.
|
486
|
+
# @return [String]
|
487
|
+
#
|
488
|
+
# @!attribute [rw] instance_family
|
489
|
+
# Specifies the instance family to be supported by the Dedicated
|
490
|
+
# Hosts. If you specify an instance family, the Dedicated Hosts
|
491
|
+
# support multiple instance types within that instance family.
|
492
|
+
#
|
493
|
+
# If you want the Dedicated Hosts to support a specific instance type
|
494
|
+
# only, omit this parameter and specify **InstanceType** instead. You
|
495
|
+
# cannot specify **InstanceFamily** and **InstanceType** in the same
|
496
|
+
# request.
|
480
497
|
# @return [String]
|
481
498
|
#
|
482
499
|
# @!attribute [rw] quantity
|
@@ -508,6 +525,7 @@ module Aws::EC2
|
|
508
525
|
:availability_zone,
|
509
526
|
:client_token,
|
510
527
|
:instance_type,
|
528
|
+
:instance_family,
|
511
529
|
:quantity,
|
512
530
|
:tag_specifications,
|
513
531
|
:host_recovery)
|
@@ -1868,15 +1886,20 @@ module Aws::EC2
|
|
1868
1886
|
include Aws::Structure
|
1869
1887
|
end
|
1870
1888
|
|
1871
|
-
# The capacity information for instances launched onto the
|
1872
|
-
# Host.
|
1889
|
+
# The capacity information for instances that can be launched onto the
|
1890
|
+
# Dedicated Host.
|
1873
1891
|
#
|
1874
1892
|
# @!attribute [rw] available_instance_capacity
|
1875
|
-
# The
|
1893
|
+
# The number of instances that can be launched onto the Dedicated Host
|
1894
|
+
# depending on the host's available capacity. For Dedicated Hosts
|
1895
|
+
# that support multiple instance types, this parameter represents the
|
1896
|
+
# number of instances for each instance size that is supported on the
|
1897
|
+
# host.
|
1876
1898
|
# @return [Array<Types::InstanceCapacity>]
|
1877
1899
|
#
|
1878
1900
|
# @!attribute [rw] available_v_cpus
|
1879
|
-
# The number of vCPUs available
|
1901
|
+
# The number of vCPUs available for launching instances onto the
|
1902
|
+
# Dedicated Host.
|
1880
1903
|
# @return [Integer]
|
1881
1904
|
#
|
1882
1905
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailableCapacity AWS API Documentation
|
@@ -3697,7 +3720,7 @@ module Aws::EC2
|
|
3697
3720
|
# client_token: "String",
|
3698
3721
|
# description: "String",
|
3699
3722
|
# encrypted: false,
|
3700
|
-
# kms_key_id: "
|
3723
|
+
# kms_key_id: "String",
|
3701
3724
|
# name: "String", # required
|
3702
3725
|
# source_image_id: "String", # required
|
3703
3726
|
# source_region: "String", # required
|
@@ -5252,7 +5275,7 @@ module Aws::EC2
|
|
5252
5275
|
# ],
|
5253
5276
|
# description: "String",
|
5254
5277
|
# dry_run: false,
|
5255
|
-
# instance_id: "
|
5278
|
+
# instance_id: "String", # required
|
5256
5279
|
# name: "String", # required
|
5257
5280
|
# no_reboot: false,
|
5258
5281
|
# }
|
@@ -10153,7 +10176,7 @@ module Aws::EC2
|
|
10153
10176
|
# data as a hash:
|
10154
10177
|
#
|
10155
10178
|
# {
|
10156
|
-
# image_id: "
|
10179
|
+
# image_id: "String", # required
|
10157
10180
|
# dry_run: false,
|
10158
10181
|
# }
|
10159
10182
|
#
|
@@ -22986,8 +23009,7 @@ module Aws::EC2
|
|
22986
23009
|
# @return [String]
|
22987
23010
|
#
|
22988
23011
|
# @!attribute [rw] available_capacity
|
22989
|
-
#
|
22990
|
-
# Host.
|
23012
|
+
# Information about the instances running on the Dedicated Host.
|
22991
23013
|
# @return [Types::AvailableCapacity]
|
22992
23014
|
#
|
22993
23015
|
# @!attribute [rw] client_token
|
@@ -23040,6 +23062,23 @@ module Aws::EC2
|
|
23040
23062
|
# Dedicated Host.
|
23041
23063
|
# @return [String]
|
23042
23064
|
#
|
23065
|
+
# @!attribute [rw] allows_multiple_instance_types
|
23066
|
+
# Indicates whether the Dedicated Host supports multiple instance
|
23067
|
+
# types of the same instance family, or a specific instance type only.
|
23068
|
+
# `one` indicates that the Dedicated Host supports multiple instance
|
23069
|
+
# types in the instance family. `off` indicates that the Dedicated
|
23070
|
+
# Host supports a single instance type only.
|
23071
|
+
# @return [String]
|
23072
|
+
#
|
23073
|
+
# @!attribute [rw] owner_id
|
23074
|
+
# The ID of the AWS account that owns the Dedicated Host.
|
23075
|
+
# @return [String]
|
23076
|
+
#
|
23077
|
+
# @!attribute [rw] availability_zone_id
|
23078
|
+
# The ID of the Availability Zone in which the Dedicated Host is
|
23079
|
+
# allocated.
|
23080
|
+
# @return [String]
|
23081
|
+
#
|
23043
23082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
|
23044
23083
|
#
|
23045
23084
|
class Host < Struct.new(
|
@@ -23055,26 +23094,34 @@ module Aws::EC2
|
|
23055
23094
|
:allocation_time,
|
23056
23095
|
:release_time,
|
23057
23096
|
:tags,
|
23058
|
-
:host_recovery
|
23097
|
+
:host_recovery,
|
23098
|
+
:allows_multiple_instance_types,
|
23099
|
+
:owner_id,
|
23100
|
+
:availability_zone_id)
|
23059
23101
|
include Aws::Structure
|
23060
23102
|
end
|
23061
23103
|
|
23062
23104
|
# Describes an instance running on a Dedicated Host.
|
23063
23105
|
#
|
23064
23106
|
# @!attribute [rw] instance_id
|
23065
|
-
#
|
23107
|
+
# The ID of instance that is running on the Dedicated Host.
|
23066
23108
|
# @return [String]
|
23067
23109
|
#
|
23068
23110
|
# @!attribute [rw] instance_type
|
23069
|
-
# The instance type
|
23111
|
+
# The instance type (for example, `m3.medium`) of the running
|
23070
23112
|
# instance.
|
23071
23113
|
# @return [String]
|
23072
23114
|
#
|
23115
|
+
# @!attribute [rw] owner_id
|
23116
|
+
# The ID of the AWS account that owns the instance.
|
23117
|
+
# @return [String]
|
23118
|
+
#
|
23073
23119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostInstance AWS API Documentation
|
23074
23120
|
#
|
23075
23121
|
class HostInstance < Struct.new(
|
23076
23122
|
:instance_id,
|
23077
|
-
:instance_type
|
23123
|
+
:instance_type,
|
23124
|
+
:owner_id)
|
23078
23125
|
include Aws::Structure
|
23079
23126
|
end
|
23080
23127
|
|
@@ -23122,15 +23169,21 @@ module Aws::EC2
|
|
23122
23169
|
include Aws::Structure
|
23123
23170
|
end
|
23124
23171
|
|
23125
|
-
# Describes properties of a Dedicated Host.
|
23172
|
+
# Describes the properties of a Dedicated Host.
|
23126
23173
|
#
|
23127
23174
|
# @!attribute [rw] cores
|
23128
23175
|
# The number of cores on the Dedicated Host.
|
23129
23176
|
# @return [Integer]
|
23130
23177
|
#
|
23131
23178
|
# @!attribute [rw] instance_type
|
23132
|
-
# The instance type
|
23133
|
-
#
|
23179
|
+
# The instance type supported by the Dedicated Host. For example,
|
23180
|
+
# `m5.large`. If the host supports multiple instance types, no
|
23181
|
+
# **instanceType** is returned.
|
23182
|
+
# @return [String]
|
23183
|
+
#
|
23184
|
+
# @!attribute [rw] instance_family
|
23185
|
+
# The instance family supported by the Dedicated Host. For example,
|
23186
|
+
# `m5`.
|
23134
23187
|
# @return [String]
|
23135
23188
|
#
|
23136
23189
|
# @!attribute [rw] sockets
|
@@ -23138,7 +23191,7 @@ module Aws::EC2
|
|
23138
23191
|
# @return [Integer]
|
23139
23192
|
#
|
23140
23193
|
# @!attribute [rw] total_v_cpus
|
23141
|
-
# The number of vCPUs on the Dedicated Host.
|
23194
|
+
# The total number of vCPUs on the Dedicated Host.
|
23142
23195
|
# @return [Integer]
|
23143
23196
|
#
|
23144
23197
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostProperties AWS API Documentation
|
@@ -23146,6 +23199,7 @@ module Aws::EC2
|
|
23146
23199
|
class HostProperties < Struct.new(
|
23147
23200
|
:cores,
|
23148
23201
|
:instance_type,
|
23202
|
+
:instance_family,
|
23149
23203
|
:sockets,
|
23150
23204
|
:total_v_cpus)
|
23151
23205
|
include Aws::Structure
|
@@ -23695,6 +23749,39 @@ module Aws::EC2
|
|
23695
23749
|
include Aws::Structure
|
23696
23750
|
end
|
23697
23751
|
|
23752
|
+
# The request information of license configurations.
|
23753
|
+
#
|
23754
|
+
# @note When making an API call, you may pass ImportImageLicenseConfigurationRequest
|
23755
|
+
# data as a hash:
|
23756
|
+
#
|
23757
|
+
# {
|
23758
|
+
# license_configuration_arn: "String",
|
23759
|
+
# }
|
23760
|
+
#
|
23761
|
+
# @!attribute [rw] license_configuration_arn
|
23762
|
+
# The ARN of a license configuration.
|
23763
|
+
# @return [String]
|
23764
|
+
#
|
23765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageLicenseConfigurationRequest AWS API Documentation
|
23766
|
+
#
|
23767
|
+
class ImportImageLicenseConfigurationRequest < Struct.new(
|
23768
|
+
:license_configuration_arn)
|
23769
|
+
include Aws::Structure
|
23770
|
+
end
|
23771
|
+
|
23772
|
+
# The response information of license configurations.
|
23773
|
+
#
|
23774
|
+
# @!attribute [rw] license_configuration_arn
|
23775
|
+
# The ARN of a license configuration.
|
23776
|
+
# @return [String]
|
23777
|
+
#
|
23778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageLicenseConfigurationResponse AWS API Documentation
|
23779
|
+
#
|
23780
|
+
class ImportImageLicenseConfigurationResponse < Struct.new(
|
23781
|
+
:license_configuration_arn)
|
23782
|
+
include Aws::Structure
|
23783
|
+
end
|
23784
|
+
|
23698
23785
|
# @note When making an API call, you may pass ImportImageRequest
|
23699
23786
|
# data as a hash:
|
23700
23787
|
#
|
@@ -23724,10 +23811,15 @@ module Aws::EC2
|
|
23724
23811
|
# dry_run: false,
|
23725
23812
|
# encrypted: false,
|
23726
23813
|
# hypervisor: "String",
|
23727
|
-
# kms_key_id: "
|
23814
|
+
# kms_key_id: "String",
|
23728
23815
|
# license_type: "String",
|
23729
23816
|
# platform: "String",
|
23730
23817
|
# role_name: "String",
|
23818
|
+
# license_specifications: [
|
23819
|
+
# {
|
23820
|
+
# license_configuration_arn: "String",
|
23821
|
+
# },
|
23822
|
+
# ],
|
23731
23823
|
# }
|
23732
23824
|
#
|
23733
23825
|
# @!attribute [rw] architecture
|
@@ -23842,6 +23934,10 @@ module Aws::EC2
|
|
23842
23934
|
# 'vmimport'.
|
23843
23935
|
# @return [String]
|
23844
23936
|
#
|
23937
|
+
# @!attribute [rw] license_specifications
|
23938
|
+
# The ARNs of the license configurations.
|
23939
|
+
# @return [Array<Types::ImportImageLicenseConfigurationRequest>]
|
23940
|
+
#
|
23845
23941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageRequest AWS API Documentation
|
23846
23942
|
#
|
23847
23943
|
class ImportImageRequest < Struct.new(
|
@@ -23856,7 +23952,8 @@ module Aws::EC2
|
|
23856
23952
|
:kms_key_id,
|
23857
23953
|
:license_type,
|
23858
23954
|
:platform,
|
23859
|
-
:role_name
|
23955
|
+
:role_name,
|
23956
|
+
:license_specifications)
|
23860
23957
|
include Aws::Structure
|
23861
23958
|
end
|
23862
23959
|
|
@@ -23913,6 +24010,10 @@ module Aws::EC2
|
|
23913
24010
|
# A detailed status message of the import task.
|
23914
24011
|
# @return [String]
|
23915
24012
|
#
|
24013
|
+
# @!attribute [rw] license_specifications
|
24014
|
+
# The ARNs of the license configurations.
|
24015
|
+
# @return [Array<Types::ImportImageLicenseConfigurationResponse>]
|
24016
|
+
#
|
23916
24017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageResult AWS API Documentation
|
23917
24018
|
#
|
23918
24019
|
class ImportImageResult < Struct.new(
|
@@ -23928,7 +24029,8 @@ module Aws::EC2
|
|
23928
24029
|
:progress,
|
23929
24030
|
:snapshot_details,
|
23930
24031
|
:status,
|
23931
|
-
:status_message
|
24032
|
+
:status_message,
|
24033
|
+
:license_specifications)
|
23932
24034
|
include Aws::Structure
|
23933
24035
|
end
|
23934
24036
|
|
@@ -23992,6 +24094,11 @@ module Aws::EC2
|
|
23992
24094
|
# A descriptive status message for the import image task.
|
23993
24095
|
# @return [String]
|
23994
24096
|
#
|
24097
|
+
# @!attribute [rw] license_specifications
|
24098
|
+
# The ARNs of the license configurations associated to the import
|
24099
|
+
# image task.
|
24100
|
+
# @return [Array<Types::ImportImageLicenseConfigurationResponse>]
|
24101
|
+
#
|
23995
24102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageTask AWS API Documentation
|
23996
24103
|
#
|
23997
24104
|
class ImportImageTask < Struct.new(
|
@@ -24007,7 +24114,8 @@ module Aws::EC2
|
|
24007
24114
|
:progress,
|
24008
24115
|
:snapshot_details,
|
24009
24116
|
:status,
|
24010
|
-
:status_message
|
24117
|
+
:status_message,
|
24118
|
+
:license_specifications)
|
24011
24119
|
include Aws::Structure
|
24012
24120
|
end
|
24013
24121
|
|
@@ -25000,20 +25108,21 @@ module Aws::EC2
|
|
25000
25108
|
include Aws::Structure
|
25001
25109
|
end
|
25002
25110
|
|
25003
|
-
# Information about the
|
25111
|
+
# Information about the number of instances that can be launched onto
|
25112
|
+
# the Dedicated Host.
|
25004
25113
|
#
|
25005
25114
|
# @!attribute [rw] available_capacity
|
25006
|
-
# The number of instances that can
|
25007
|
-
#
|
25115
|
+
# The number of instances that can be launched onto the Dedicated Host
|
25116
|
+
# based on the host's available capacity.
|
25008
25117
|
# @return [Integer]
|
25009
25118
|
#
|
25010
25119
|
# @!attribute [rw] instance_type
|
25011
|
-
# The instance type
|
25120
|
+
# The instance type supported by the Dedicated Host.
|
25012
25121
|
# @return [String]
|
25013
25122
|
#
|
25014
25123
|
# @!attribute [rw] total_capacity
|
25015
25124
|
# The total number of instances that can be launched onto the
|
25016
|
-
# Dedicated Host.
|
25125
|
+
# Dedicated Host if there are no instances running on it.
|
25017
25126
|
# @return [Integer]
|
25018
25127
|
#
|
25019
25128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCapacity AWS API Documentation
|
@@ -28114,6 +28223,8 @@ module Aws::EC2
|
|
28114
28223
|
# auto_placement: "on", # accepts on, off
|
28115
28224
|
# host_ids: ["String"], # required
|
28116
28225
|
# host_recovery: "on", # accepts on, off
|
28226
|
+
# instance_type: "String",
|
28227
|
+
# instance_family: "String",
|
28117
28228
|
# }
|
28118
28229
|
#
|
28119
28230
|
# @!attribute [rw] auto_placement
|
@@ -28134,12 +28245,36 @@ module Aws::EC2
|
|
28134
28245
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html
|
28135
28246
|
# @return [String]
|
28136
28247
|
#
|
28248
|
+
# @!attribute [rw] instance_type
|
28249
|
+
# Specifies the instance type to be supported by the Dedicated Host.
|
28250
|
+
# Specify this parameter to modify a Dedicated Host to support only a
|
28251
|
+
# specific instance type.
|
28252
|
+
#
|
28253
|
+
# If you want to modify a Dedicated Host to support multiple instance
|
28254
|
+
# types in its current instance family, omit this parameter and
|
28255
|
+
# specify **InstanceFamily** instead. You cannot specify
|
28256
|
+
# **InstanceType** and **InstanceFamily** in the same request.
|
28257
|
+
# @return [String]
|
28258
|
+
#
|
28259
|
+
# @!attribute [rw] instance_family
|
28260
|
+
# Specifies the instance family to be supported by the Dedicated Host.
|
28261
|
+
# Specify this parameter to modify a Dedicated Host to support
|
28262
|
+
# multiple instance types within its current instance family.
|
28263
|
+
#
|
28264
|
+
# If you want to modify a Dedicated Host to support a specific
|
28265
|
+
# instance type only, omit this parameter and specify **InstanceType**
|
28266
|
+
# instead. You cannot specify **InstanceFamily** and **InstanceType**
|
28267
|
+
# in the same request.
|
28268
|
+
# @return [String]
|
28269
|
+
#
|
28137
28270
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsRequest AWS API Documentation
|
28138
28271
|
#
|
28139
28272
|
class ModifyHostsRequest < Struct.new(
|
28140
28273
|
:auto_placement,
|
28141
28274
|
:host_ids,
|
28142
|
-
:host_recovery
|
28275
|
+
:host_recovery,
|
28276
|
+
:instance_type,
|
28277
|
+
:instance_family)
|
28143
28278
|
include Aws::Structure
|
28144
28279
|
end
|
28145
28280
|
|
@@ -28250,7 +28385,7 @@ module Aws::EC2
|
|
28250
28385
|
# {
|
28251
28386
|
# attribute: "String",
|
28252
28387
|
# description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
28253
|
-
# image_id: "
|
28388
|
+
# image_id: "String", # required
|
28254
28389
|
# launch_permission: {
|
28255
28390
|
# add: [
|
28256
28391
|
# {
|
@@ -32543,10 +32678,10 @@ module Aws::EC2
|
|
32543
32678
|
# description: "String",
|
32544
32679
|
# dry_run: false,
|
32545
32680
|
# ena_support: false,
|
32546
|
-
# kernel_id: "
|
32681
|
+
# kernel_id: "String",
|
32547
32682
|
# name: "String", # required
|
32548
32683
|
# billing_products: ["String"],
|
32549
|
-
# ramdisk_id: "
|
32684
|
+
# ramdisk_id: "String",
|
32550
32685
|
# root_device_name: "String",
|
32551
32686
|
# sriov_net_support: "String",
|
32552
32687
|
# virtualization_type: "String",
|
@@ -34850,7 +34985,7 @@ module Aws::EC2
|
|
34850
34985
|
#
|
34851
34986
|
# {
|
34852
34987
|
# attribute: "launchPermission", # required, accepts launchPermission
|
34853
|
-
# image_id: "
|
34988
|
+
# image_id: "String", # required
|
34854
34989
|
# dry_run: false,
|
34855
34990
|
# }
|
34856
34991
|
#
|
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.119.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: 2019-11-
|
11
|
+
date: 2019-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|