aws-sdk-ec2 1.453.0 → 1.455.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +65 -4
- data/lib/aws-sdk-ec2/client_api.rb +25 -0
- data/lib/aws-sdk-ec2/endpoints.rb +14 -0
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +83 -1
- data/lib/aws-sdk-ec2/volume.rb +12 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +16 -0
- data/sig/types.rbs +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3026801536da9e2157d614a8405606bb85b2b5848047718905b5217c9288636
|
4
|
+
data.tar.gz: 60c50b0970bb87e42dfafc047f88085164da89d04dab858b5bb1d97013a7369a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21c5190881a6abd5ee27152b3ebc1085f40ed943a1af858c9ea450f1dc1bfcab33e58c9d3c3bb906e23670878711f25bd8989e071709389cd6bf33e994258b13
|
7
|
+
data.tar.gz: b2fe6a2b35d71196d2bced7fd7aac53ddb994086fc38c14aaae8f8e4bbcef0e2a670dec055b56556c1976b910c059bec69094ec8ba1a3dc765cf44d4a0953319
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.455.0 (2024-05-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes a new API for retrieving the public endorsement key of the EC2 instance's Nitro Trusted Platform Module (NitroTPM).
|
8
|
+
|
9
|
+
1.454.0 (2024-05-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon EC2.
|
13
|
+
|
4
14
|
1.453.0 (2024-04-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.455.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -18229,9 +18229,11 @@ module Aws::EC2
|
|
18229
18229
|
req.send_request(options)
|
18230
18230
|
end
|
18231
18231
|
|
18232
|
-
# Deletes the specified transit gateway route table.
|
18233
|
-
#
|
18234
|
-
# before you can delete
|
18232
|
+
# Deletes the specified transit gateway route table. If there are any
|
18233
|
+
# route tables associated with the transit gateway route table, you must
|
18234
|
+
# first run DisassociateRouteTable before you can delete the transit
|
18235
|
+
# gateway route table. This removes any route tables associated with the
|
18236
|
+
# transit gateway route table.
|
18235
18237
|
#
|
18236
18238
|
# @option params [required, String] :transit_gateway_route_table_id
|
18237
18239
|
# The ID of the transit gateway route table.
|
@@ -35217,6 +35219,12 @@ module Aws::EC2
|
|
35217
35219
|
#
|
35218
35220
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
35219
35221
|
#
|
35222
|
+
# * `tag-key `- The key/value combination of a tag assigned to the
|
35223
|
+
# resource. Use the tag key in the filter name and the tag value as
|
35224
|
+
# the filter value. For example, to find all resources that have a tag
|
35225
|
+
# with the key `Owner` and the value `TeamA`, specify `tag:Owner` for
|
35226
|
+
# the filter name and `TeamA` for the filter value.
|
35227
|
+
#
|
35220
35228
|
# @option params [Integer] :max_results
|
35221
35229
|
# The maximum number of results to return with a single call. To
|
35222
35230
|
# retrieve the remaining results, make another call with the returned
|
@@ -41769,6 +41777,59 @@ module Aws::EC2
|
|
41769
41777
|
req.send_request(options)
|
41770
41778
|
end
|
41771
41779
|
|
41780
|
+
# Gets the public endorsement key associated with the Nitro Trusted
|
41781
|
+
# Platform Module (NitroTPM) for the specified instance.
|
41782
|
+
#
|
41783
|
+
# @option params [required, String] :instance_id
|
41784
|
+
# The ID of the instance for which to get the public endorsement key.
|
41785
|
+
#
|
41786
|
+
# @option params [required, String] :key_type
|
41787
|
+
# The required public endorsement key type.
|
41788
|
+
#
|
41789
|
+
# @option params [required, String] :key_format
|
41790
|
+
# The required public endorsement key format. Specify `der` for a
|
41791
|
+
# DER-encoded public key that is compatible with OpenSSL. Specify `tpmt`
|
41792
|
+
# for a TPM 2.0 format that is compatible with tpm2-tools. The returned
|
41793
|
+
# key is base64 encoded.
|
41794
|
+
#
|
41795
|
+
# @option params [Boolean] :dry_run
|
41796
|
+
# Specify this parameter to verify whether the request will succeed,
|
41797
|
+
# without actually making the request. If the request will succeed, the
|
41798
|
+
# response is `DryRunOperation`. Otherwise, the response is
|
41799
|
+
# `UnauthorizedOperation`.
|
41800
|
+
#
|
41801
|
+
# @return [Types::GetInstanceTpmEkPubResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
41802
|
+
#
|
41803
|
+
# * {Types::GetInstanceTpmEkPubResult#instance_id #instance_id} => String
|
41804
|
+
# * {Types::GetInstanceTpmEkPubResult#key_type #key_type} => String
|
41805
|
+
# * {Types::GetInstanceTpmEkPubResult#key_format #key_format} => String
|
41806
|
+
# * {Types::GetInstanceTpmEkPubResult#key_value #key_value} => String
|
41807
|
+
#
|
41808
|
+
# @example Request syntax with placeholder values
|
41809
|
+
#
|
41810
|
+
# resp = client.get_instance_tpm_ek_pub({
|
41811
|
+
# instance_id: "InstanceId", # required
|
41812
|
+
# key_type: "rsa-2048", # required, accepts rsa-2048, ecc-sec-p384
|
41813
|
+
# key_format: "der", # required, accepts der, tpmt
|
41814
|
+
# dry_run: false,
|
41815
|
+
# })
|
41816
|
+
#
|
41817
|
+
# @example Response structure
|
41818
|
+
#
|
41819
|
+
# resp.instance_id #=> String
|
41820
|
+
# resp.key_type #=> String, one of "rsa-2048", "ecc-sec-p384"
|
41821
|
+
# resp.key_format #=> String, one of "der", "tpmt"
|
41822
|
+
# resp.key_value #=> String
|
41823
|
+
#
|
41824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTpmEkPub AWS API Documentation
|
41825
|
+
#
|
41826
|
+
# @overload get_instance_tpm_ek_pub(params = {})
|
41827
|
+
# @param [Hash] params ({})
|
41828
|
+
def get_instance_tpm_ek_pub(params = {}, options = {})
|
41829
|
+
req = build_request(:get_instance_tpm_ek_pub, params)
|
41830
|
+
req.send_request(options)
|
41831
|
+
end
|
41832
|
+
|
41772
41833
|
# Returns a list of instance types with the specified instance
|
41773
41834
|
# attributes. You can use the response to preview the instance types
|
41774
41835
|
# without launching instances. Note that the response does not consider
|
@@ -59294,7 +59355,7 @@ module Aws::EC2
|
|
59294
59355
|
params: params,
|
59295
59356
|
config: config)
|
59296
59357
|
context[:gem_name] = 'aws-sdk-ec2'
|
59297
|
-
context[:gem_version] = '1.
|
59358
|
+
context[:gem_version] = '1.455.0'
|
59298
59359
|
Seahorse::Client::Request.new(handlers, context)
|
59299
59360
|
end
|
59300
59361
|
|
@@ -1255,6 +1255,9 @@ module Aws::EC2
|
|
1255
1255
|
EgressOnlyInternetGatewayList = Shapes::ListShape.new(name: 'EgressOnlyInternetGatewayList')
|
1256
1256
|
EipAllocationPublicIp = Shapes::StringShape.new(name: 'EipAllocationPublicIp')
|
1257
1257
|
EipAssociationIdList = Shapes::ListShape.new(name: 'EipAssociationIdList')
|
1258
|
+
EkPubKeyFormat = Shapes::StringShape.new(name: 'EkPubKeyFormat')
|
1259
|
+
EkPubKeyType = Shapes::StringShape.new(name: 'EkPubKeyType')
|
1260
|
+
EkPubKeyValue = Shapes::StringShape.new(name: 'EkPubKeyValue')
|
1258
1261
|
ElasticGpuAssociation = Shapes::StructureShape.new(name: 'ElasticGpuAssociation')
|
1259
1262
|
ElasticGpuAssociationList = Shapes::ListShape.new(name: 'ElasticGpuAssociationList')
|
1260
1263
|
ElasticGpuHealth = Shapes::StructureShape.new(name: 'ElasticGpuHealth')
|
@@ -1470,6 +1473,8 @@ module Aws::EC2
|
|
1470
1473
|
GetImageBlockPublicAccessStateResult = Shapes::StructureShape.new(name: 'GetImageBlockPublicAccessStateResult')
|
1471
1474
|
GetInstanceMetadataDefaultsRequest = Shapes::StructureShape.new(name: 'GetInstanceMetadataDefaultsRequest')
|
1472
1475
|
GetInstanceMetadataDefaultsResult = Shapes::StructureShape.new(name: 'GetInstanceMetadataDefaultsResult')
|
1476
|
+
GetInstanceTpmEkPubRequest = Shapes::StructureShape.new(name: 'GetInstanceTpmEkPubRequest')
|
1477
|
+
GetInstanceTpmEkPubResult = Shapes::StructureShape.new(name: 'GetInstanceTpmEkPubResult')
|
1473
1478
|
GetInstanceTypesFromInstanceRequirementsRequest = Shapes::StructureShape.new(name: 'GetInstanceTypesFromInstanceRequirementsRequest')
|
1474
1479
|
GetInstanceTypesFromInstanceRequirementsResult = Shapes::StructureShape.new(name: 'GetInstanceTypesFromInstanceRequirementsResult')
|
1475
1480
|
GetInstanceUefiDataRequest = Shapes::StructureShape.new(name: 'GetInstanceUefiDataRequest')
|
@@ -9095,6 +9100,18 @@ module Aws::EC2
|
|
9095
9100
|
GetInstanceMetadataDefaultsResult.add_member(:account_level, Shapes::ShapeRef.new(shape: InstanceMetadataDefaultsResponse, location_name: "accountLevel"))
|
9096
9101
|
GetInstanceMetadataDefaultsResult.struct_class = Types::GetInstanceMetadataDefaultsResult
|
9097
9102
|
|
9103
|
+
GetInstanceTpmEkPubRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
9104
|
+
GetInstanceTpmEkPubRequest.add_member(:key_type, Shapes::ShapeRef.new(shape: EkPubKeyType, required: true, location_name: "KeyType"))
|
9105
|
+
GetInstanceTpmEkPubRequest.add_member(:key_format, Shapes::ShapeRef.new(shape: EkPubKeyFormat, required: true, location_name: "KeyFormat"))
|
9106
|
+
GetInstanceTpmEkPubRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9107
|
+
GetInstanceTpmEkPubRequest.struct_class = Types::GetInstanceTpmEkPubRequest
|
9108
|
+
|
9109
|
+
GetInstanceTpmEkPubResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
|
9110
|
+
GetInstanceTpmEkPubResult.add_member(:key_type, Shapes::ShapeRef.new(shape: EkPubKeyType, location_name: "keyType"))
|
9111
|
+
GetInstanceTpmEkPubResult.add_member(:key_format, Shapes::ShapeRef.new(shape: EkPubKeyFormat, location_name: "keyFormat"))
|
9112
|
+
GetInstanceTpmEkPubResult.add_member(:key_value, Shapes::ShapeRef.new(shape: EkPubKeyValue, location_name: "keyValue"))
|
9113
|
+
GetInstanceTpmEkPubResult.struct_class = Types::GetInstanceTpmEkPubResult
|
9114
|
+
|
9098
9115
|
GetInstanceTypesFromInstanceRequirementsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9099
9116
|
GetInstanceTypesFromInstanceRequirementsRequest.add_member(:architecture_types, Shapes::ShapeRef.new(shape: ArchitectureTypeSet, required: true, location_name: "ArchitectureType"))
|
9100
9117
|
GetInstanceTypesFromInstanceRequirementsRequest.add_member(:virtualization_types, Shapes::ShapeRef.new(shape: VirtualizationTypeSet, required: true, location_name: "VirtualizationType"))
|
@@ -19948,6 +19965,14 @@ module Aws::EC2
|
|
19948
19965
|
o.output = Shapes::ShapeRef.new(shape: GetInstanceMetadataDefaultsResult)
|
19949
19966
|
end)
|
19950
19967
|
|
19968
|
+
api.add_operation(:get_instance_tpm_ek_pub, Seahorse::Model::Operation.new.tap do |o|
|
19969
|
+
o.name = "GetInstanceTpmEkPub"
|
19970
|
+
o.http_method = "POST"
|
19971
|
+
o.http_request_uri = "/"
|
19972
|
+
o.input = Shapes::ShapeRef.new(shape: GetInstanceTpmEkPubRequest)
|
19973
|
+
o.output = Shapes::ShapeRef.new(shape: GetInstanceTpmEkPubResult)
|
19974
|
+
end)
|
19975
|
+
|
19951
19976
|
api.add_operation(:get_instance_types_from_instance_requirements, Seahorse::Model::Operation.new.tap do |o|
|
19952
19977
|
o.name = "GetInstanceTypesFromInstanceRequirements"
|
19953
19978
|
o.http_method = "POST"
|
@@ -6214,6 +6214,20 @@ module Aws::EC2
|
|
6214
6214
|
end
|
6215
6215
|
end
|
6216
6216
|
|
6217
|
+
class GetInstanceTpmEkPub
|
6218
|
+
def self.build(context)
|
6219
|
+
unless context.config.regional_endpoint
|
6220
|
+
endpoint = context.config.endpoint.to_s
|
6221
|
+
end
|
6222
|
+
Aws::EC2::EndpointParameters.new(
|
6223
|
+
region: context.config.region,
|
6224
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
6225
|
+
use_fips: context.config.use_fips_endpoint,
|
6226
|
+
endpoint: endpoint,
|
6227
|
+
)
|
6228
|
+
end
|
6229
|
+
end
|
6230
|
+
|
6217
6231
|
class GetInstanceTypesFromInstanceRequirements
|
6218
6232
|
def self.build(context)
|
6219
6233
|
unless context.config.regional_endpoint
|
@@ -944,6 +944,8 @@ module Aws::EC2
|
|
944
944
|
Aws::EC2::Endpoints::GetImageBlockPublicAccessState.build(context)
|
945
945
|
when :get_instance_metadata_defaults
|
946
946
|
Aws::EC2::Endpoints::GetInstanceMetadataDefaults.build(context)
|
947
|
+
when :get_instance_tpm_ek_pub
|
948
|
+
Aws::EC2::Endpoints::GetInstanceTpmEkPub.build(context)
|
947
949
|
when :get_instance_types_from_instance_requirements
|
948
950
|
Aws::EC2::Endpoints::GetInstanceTypesFromInstanceRequirements.build(context)
|
949
951
|
when :get_instance_uefi_data
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -26399,6 +26399,12 @@ module Aws::EC2
|
|
26399
26399
|
# `deleted` \| `deleting` \| `modifying` \| `pending`).
|
26400
26400
|
#
|
26401
26401
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
26402
|
+
#
|
26403
|
+
# * `tag-key `- The key/value combination of a tag assigned to the
|
26404
|
+
# resource. Use the tag key in the filter name and the tag value as
|
26405
|
+
# the filter value. For example, to find all resources that have a
|
26406
|
+
# tag with the key `Owner` and the value `TeamA`, specify
|
26407
|
+
# `tag:Owner` for the filter name and `TeamA` for the filter value.
|
26402
26408
|
# @return [Array<Types::Filter>]
|
26403
26409
|
#
|
26404
26410
|
# @!attribute [rw] max_results
|
@@ -34603,6 +34609,66 @@ module Aws::EC2
|
|
34603
34609
|
include Aws::Structure
|
34604
34610
|
end
|
34605
34611
|
|
34612
|
+
# @!attribute [rw] instance_id
|
34613
|
+
# The ID of the instance for which to get the public endorsement key.
|
34614
|
+
# @return [String]
|
34615
|
+
#
|
34616
|
+
# @!attribute [rw] key_type
|
34617
|
+
# The required public endorsement key type.
|
34618
|
+
# @return [String]
|
34619
|
+
#
|
34620
|
+
# @!attribute [rw] key_format
|
34621
|
+
# The required public endorsement key format. Specify `der` for a
|
34622
|
+
# DER-encoded public key that is compatible with OpenSSL. Specify
|
34623
|
+
# `tpmt` for a TPM 2.0 format that is compatible with tpm2-tools. The
|
34624
|
+
# returned key is base64 encoded.
|
34625
|
+
# @return [String]
|
34626
|
+
#
|
34627
|
+
# @!attribute [rw] dry_run
|
34628
|
+
# Specify this parameter to verify whether the request will succeed,
|
34629
|
+
# without actually making the request. If the request will succeed,
|
34630
|
+
# the response is `DryRunOperation`. Otherwise, the response is
|
34631
|
+
# `UnauthorizedOperation`.
|
34632
|
+
# @return [Boolean]
|
34633
|
+
#
|
34634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTpmEkPubRequest AWS API Documentation
|
34635
|
+
#
|
34636
|
+
class GetInstanceTpmEkPubRequest < Struct.new(
|
34637
|
+
:instance_id,
|
34638
|
+
:key_type,
|
34639
|
+
:key_format,
|
34640
|
+
:dry_run)
|
34641
|
+
SENSITIVE = []
|
34642
|
+
include Aws::Structure
|
34643
|
+
end
|
34644
|
+
|
34645
|
+
# @!attribute [rw] instance_id
|
34646
|
+
# The ID of the instance.
|
34647
|
+
# @return [String]
|
34648
|
+
#
|
34649
|
+
# @!attribute [rw] key_type
|
34650
|
+
# The public endorsement key type.
|
34651
|
+
# @return [String]
|
34652
|
+
#
|
34653
|
+
# @!attribute [rw] key_format
|
34654
|
+
# The public endorsement key format.
|
34655
|
+
# @return [String]
|
34656
|
+
#
|
34657
|
+
# @!attribute [rw] key_value
|
34658
|
+
# The public endorsement key material.
|
34659
|
+
# @return [String]
|
34660
|
+
#
|
34661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTpmEkPubResult AWS API Documentation
|
34662
|
+
#
|
34663
|
+
class GetInstanceTpmEkPubResult < Struct.new(
|
34664
|
+
:instance_id,
|
34665
|
+
:key_type,
|
34666
|
+
:key_format,
|
34667
|
+
:key_value)
|
34668
|
+
SENSITIVE = [:key_value]
|
34669
|
+
include Aws::Structure
|
34670
|
+
end
|
34671
|
+
|
34606
34672
|
# @!attribute [rw] dry_run
|
34607
34673
|
# Checks whether you have the required permissions for the action,
|
34608
34674
|
# without actually making the request, and provides an error response.
|
@@ -44928,7 +44994,11 @@ module Aws::EC2
|
|
44928
44994
|
# @return [String]
|
44929
44995
|
#
|
44930
44996
|
# @!attribute [rw] device_index
|
44931
|
-
# The device index for the network interface attachment.
|
44997
|
+
# The device index for the network interface attachment. Each network
|
44998
|
+
# interface requires a device index. If you create a launch template
|
44999
|
+
# that includes secondary network interfaces but not a primary network
|
45000
|
+
# interface, then you must add a primary network interface as a launch
|
45001
|
+
# parameter when you launch an instance from the template.
|
44932
45002
|
# @return [Integer]
|
44933
45003
|
#
|
44934
45004
|
# @!attribute [rw] groups
|
@@ -67418,6 +67488,10 @@ module Aws::EC2
|
|
67418
67488
|
# Describes a volume.
|
67419
67489
|
#
|
67420
67490
|
# @!attribute [rw] attachments
|
67491
|
+
# <note markdown="1"> This parameter is not returned by CreateVolume.
|
67492
|
+
#
|
67493
|
+
# </note>
|
67494
|
+
#
|
67421
67495
|
# Information about the volume attachments.
|
67422
67496
|
# @return [Array<Types::VolumeAttachment>]
|
67423
67497
|
#
|
@@ -67476,6 +67550,10 @@ module Aws::EC2
|
|
67476
67550
|
# @return [String]
|
67477
67551
|
#
|
67478
67552
|
# @!attribute [rw] fast_restored
|
67553
|
+
# <note markdown="1"> This parameter is not returned by CreateVolume.
|
67554
|
+
#
|
67555
|
+
# </note>
|
67556
|
+
#
|
67479
67557
|
# Indicates whether the volume was created using fast snapshot
|
67480
67558
|
# restore.
|
67481
67559
|
# @return [Boolean]
|
@@ -67489,6 +67567,10 @@ module Aws::EC2
|
|
67489
67567
|
# @return [Integer]
|
67490
67568
|
#
|
67491
67569
|
# @!attribute [rw] sse_type
|
67570
|
+
# <note markdown="1"> This parameter is not returned by CreateVolume.
|
67571
|
+
#
|
67572
|
+
# </note>
|
67573
|
+
#
|
67492
67574
|
# Reserved for future use.
|
67493
67575
|
# @return [String]
|
67494
67576
|
#
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -35,6 +35,10 @@ module Aws::EC2
|
|
35
35
|
end
|
36
36
|
alias :volume_id :id
|
37
37
|
|
38
|
+
# <note markdown="1"> This parameter is not returned by CreateVolume.
|
39
|
+
#
|
40
|
+
# </note>
|
41
|
+
#
|
38
42
|
# Information about the volume attachments.
|
39
43
|
# @return [Array<Types::VolumeAttachment>]
|
40
44
|
def attachments
|
@@ -112,6 +116,10 @@ module Aws::EC2
|
|
112
116
|
data[:volume_type]
|
113
117
|
end
|
114
118
|
|
119
|
+
# <note markdown="1"> This parameter is not returned by CreateVolume.
|
120
|
+
#
|
121
|
+
# </note>
|
122
|
+
#
|
115
123
|
# Indicates whether the volume was created using fast snapshot restore.
|
116
124
|
# @return [Boolean]
|
117
125
|
def fast_restored
|
@@ -130,6 +138,10 @@ module Aws::EC2
|
|
130
138
|
data[:throughput]
|
131
139
|
end
|
132
140
|
|
141
|
+
# <note markdown="1"> This parameter is not returned by CreateVolume.
|
142
|
+
#
|
143
|
+
# </note>
|
144
|
+
#
|
133
145
|
# Reserved for future use.
|
134
146
|
# @return [String]
|
135
147
|
def sse_type
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -8652,6 +8652,22 @@ module Aws
|
|
8652
8652
|
) -> _GetInstanceMetadataDefaultsResponseSuccess
|
8653
8653
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceMetadataDefaultsResponseSuccess
|
8654
8654
|
|
8655
|
+
interface _GetInstanceTpmEkPubResponseSuccess
|
8656
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceTpmEkPubResult]
|
8657
|
+
def instance_id: () -> ::String
|
8658
|
+
def key_type: () -> ("rsa-2048" | "ecc-sec-p384")
|
8659
|
+
def key_format: () -> ("der" | "tpmt")
|
8660
|
+
def key_value: () -> ::String
|
8661
|
+
end
|
8662
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_instance_tpm_ek_pub-instance_method
|
8663
|
+
def get_instance_tpm_ek_pub: (
|
8664
|
+
instance_id: ::String,
|
8665
|
+
key_type: ("rsa-2048" | "ecc-sec-p384"),
|
8666
|
+
key_format: ("der" | "tpmt"),
|
8667
|
+
?dry_run: bool
|
8668
|
+
) -> _GetInstanceTpmEkPubResponseSuccess
|
8669
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceTpmEkPubResponseSuccess
|
8670
|
+
|
8655
8671
|
interface _GetInstanceTypesFromInstanceRequirementsResponseSuccess
|
8656
8672
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceTypesFromInstanceRequirementsResult]
|
8657
8673
|
def instance_types: () -> ::Array[Types::InstanceTypeInfoFromInstanceRequirements]
|
data/sig/types.rbs
CHANGED
@@ -7740,6 +7740,22 @@ module Aws::EC2
|
|
7740
7740
|
SENSITIVE: []
|
7741
7741
|
end
|
7742
7742
|
|
7743
|
+
class GetInstanceTpmEkPubRequest
|
7744
|
+
attr_accessor instance_id: ::String
|
7745
|
+
attr_accessor key_type: ("rsa-2048" | "ecc-sec-p384")
|
7746
|
+
attr_accessor key_format: ("der" | "tpmt")
|
7747
|
+
attr_accessor dry_run: bool
|
7748
|
+
SENSITIVE: []
|
7749
|
+
end
|
7750
|
+
|
7751
|
+
class GetInstanceTpmEkPubResult
|
7752
|
+
attr_accessor instance_id: ::String
|
7753
|
+
attr_accessor key_type: ("rsa-2048" | "ecc-sec-p384")
|
7754
|
+
attr_accessor key_format: ("der" | "tpmt")
|
7755
|
+
attr_accessor key_value: ::String
|
7756
|
+
SENSITIVE: [:key_value]
|
7757
|
+
end
|
7758
|
+
|
7743
7759
|
class GetInstanceTypesFromInstanceRequirementsRequest
|
7744
7760
|
attr_accessor dry_run: bool
|
7745
7761
|
attr_accessor architecture_types: ::Array[("i386" | "x86_64" | "arm64" | "x86_64_mac" | "arm64_mac")]
|
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.455.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: 2024-
|
11
|
+
date: 2024-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|