@aws-sdk/client-ec2 3.567.0 → 3.568.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +111 -13
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/GetInstanceTpmEkPubCommand.js +25 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_5.js +13 -5
- package/dist-es/models/models_6.js +5 -0
- package/dist-es/protocols/Aws_ec2.js +66 -7
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +66 -0
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -2
- package/dist-types/commands/ProvisionIpamPoolCidrCommand.d.ts +1 -1
- package/dist-types/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_5.d.ts +82 -123
- package/dist-types/models/models_6.d.ts +124 -91
- package/dist-types/models/models_7.d.ts +91 -1
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ProvisionIpamPoolCidrCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ProvisionPublicIpv4PoolCidrCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_5.d.ts +26 -26
- package/dist-types/ts3.4/models/models_6.d.ts +26 -22
- package/dist-types/ts3.4/models/models_7.d.ts +22 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3749,6 +3749,14 @@ GetInstanceMetadataDefaults
|
|
|
3749
3749
|
|
|
3750
3750
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/GetInstanceMetadataDefaultsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetInstanceMetadataDefaultsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetInstanceMetadataDefaultsCommandOutput/)
|
|
3751
3751
|
|
|
3752
|
+
</details>
|
|
3753
|
+
<details>
|
|
3754
|
+
<summary>
|
|
3755
|
+
GetInstanceTpmEkPub
|
|
3756
|
+
</summary>
|
|
3757
|
+
|
|
3758
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/GetInstanceTpmEkPubCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetInstanceTpmEkPubCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetInstanceTpmEkPubCommandOutput/)
|
|
3759
|
+
|
|
3752
3760
|
</details>
|
|
3753
3761
|
<details>
|
|
3754
3762
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -541,6 +541,8 @@ __export(src_exports, {
|
|
|
541
541
|
EbsNvmeSupport: () => EbsNvmeSupport,
|
|
542
542
|
EbsOptimizedSupport: () => EbsOptimizedSupport,
|
|
543
543
|
Ec2InstanceConnectEndpointState: () => Ec2InstanceConnectEndpointState,
|
|
544
|
+
EkPubKeyFormat: () => EkPubKeyFormat,
|
|
545
|
+
EkPubKeyType: () => EkPubKeyType,
|
|
544
546
|
ElasticGpuState: () => ElasticGpuState,
|
|
545
547
|
ElasticGpuStatus: () => ElasticGpuStatus,
|
|
546
548
|
EnaSupport: () => EnaSupport,
|
|
@@ -607,6 +609,8 @@ __export(src_exports, {
|
|
|
607
609
|
GetHostReservationPurchasePreviewCommand: () => GetHostReservationPurchasePreviewCommand,
|
|
608
610
|
GetImageBlockPublicAccessStateCommand: () => GetImageBlockPublicAccessStateCommand,
|
|
609
611
|
GetInstanceMetadataDefaultsCommand: () => GetInstanceMetadataDefaultsCommand,
|
|
612
|
+
GetInstanceTpmEkPubCommand: () => GetInstanceTpmEkPubCommand,
|
|
613
|
+
GetInstanceTpmEkPubResultFilterSensitiveLog: () => GetInstanceTpmEkPubResultFilterSensitiveLog,
|
|
610
614
|
GetInstanceTypesFromInstanceRequirementsCommand: () => GetInstanceTypesFromInstanceRequirementsCommand,
|
|
611
615
|
GetInstanceUefiDataCommand: () => GetInstanceUefiDataCommand,
|
|
612
616
|
GetIpamAddressHistoryCommand: () => GetIpamAddressHistoryCommand,
|
|
@@ -5876,6 +5880,16 @@ var se_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
5876
5880
|
});
|
|
5877
5881
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
5878
5882
|
}, "se_GetInstanceMetadataDefaultsCommand");
|
|
5883
|
+
var se_GetInstanceTpmEkPubCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5884
|
+
const headers = SHARED_HEADERS;
|
|
5885
|
+
let body;
|
|
5886
|
+
body = buildFormUrlencodedString({
|
|
5887
|
+
...se_GetInstanceTpmEkPubRequest(input, context),
|
|
5888
|
+
[_A]: _GITEP,
|
|
5889
|
+
[_V]: _
|
|
5890
|
+
});
|
|
5891
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
5892
|
+
}, "se_GetInstanceTpmEkPubCommand");
|
|
5879
5893
|
var se_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5880
5894
|
const headers = SHARED_HEADERS;
|
|
5881
5895
|
let body;
|
|
@@ -13300,6 +13314,19 @@ var de_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (output
|
|
|
13300
13314
|
};
|
|
13301
13315
|
return response;
|
|
13302
13316
|
}, "de_GetInstanceMetadataDefaultsCommand");
|
|
13317
|
+
var de_GetInstanceTpmEkPubCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
13318
|
+
if (output.statusCode >= 300) {
|
|
13319
|
+
return de_CommandError(output, context);
|
|
13320
|
+
}
|
|
13321
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
13322
|
+
let contents = {};
|
|
13323
|
+
contents = de_GetInstanceTpmEkPubResult(data, context);
|
|
13324
|
+
const response = {
|
|
13325
|
+
$metadata: deserializeMetadata(output),
|
|
13326
|
+
...contents
|
|
13327
|
+
};
|
|
13328
|
+
return response;
|
|
13329
|
+
}, "de_GetInstanceTpmEkPubCommand");
|
|
13303
13330
|
var de_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
13304
13331
|
if (output.statusCode >= 300) {
|
|
13305
13332
|
return de_CommandError(output, context);
|
|
@@ -28164,6 +28191,22 @@ var se_GetInstanceMetadataDefaultsRequest = /* @__PURE__ */ __name((input, conte
|
|
|
28164
28191
|
}
|
|
28165
28192
|
return entries;
|
|
28166
28193
|
}, "se_GetInstanceMetadataDefaultsRequest");
|
|
28194
|
+
var se_GetInstanceTpmEkPubRequest = /* @__PURE__ */ __name((input, context) => {
|
|
28195
|
+
const entries = {};
|
|
28196
|
+
if (input[_IIn] != null) {
|
|
28197
|
+
entries[_IIn] = input[_IIn];
|
|
28198
|
+
}
|
|
28199
|
+
if (input[_KT] != null) {
|
|
28200
|
+
entries[_KT] = input[_KT];
|
|
28201
|
+
}
|
|
28202
|
+
if (input[_KF] != null) {
|
|
28203
|
+
entries[_KF] = input[_KF];
|
|
28204
|
+
}
|
|
28205
|
+
if (input[_DRr] != null) {
|
|
28206
|
+
entries[_DRr] = input[_DRr];
|
|
28207
|
+
}
|
|
28208
|
+
return entries;
|
|
28209
|
+
}, "se_GetInstanceTpmEkPubRequest");
|
|
28167
28210
|
var se_GetInstanceTypesFromInstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
28168
28211
|
var _a2, _b2;
|
|
28169
28212
|
const entries = {};
|
|
@@ -46777,6 +46820,22 @@ var de_GetInstanceMetadataDefaultsResult = /* @__PURE__ */ __name((output, conte
|
|
|
46777
46820
|
}
|
|
46778
46821
|
return contents;
|
|
46779
46822
|
}, "de_GetInstanceMetadataDefaultsResult");
|
|
46823
|
+
var de_GetInstanceTpmEkPubResult = /* @__PURE__ */ __name((output, context) => {
|
|
46824
|
+
const contents = {};
|
|
46825
|
+
if (output[_iI] != null) {
|
|
46826
|
+
contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]);
|
|
46827
|
+
}
|
|
46828
|
+
if (output[_kT] != null) {
|
|
46829
|
+
contents[_KT] = (0, import_smithy_client.expectString)(output[_kT]);
|
|
46830
|
+
}
|
|
46831
|
+
if (output[_kF] != null) {
|
|
46832
|
+
contents[_KF] = (0, import_smithy_client.expectString)(output[_kF]);
|
|
46833
|
+
}
|
|
46834
|
+
if (output[_kV] != null) {
|
|
46835
|
+
contents[_KV] = (0, import_smithy_client.expectString)(output[_kV]);
|
|
46836
|
+
}
|
|
46837
|
+
return contents;
|
|
46838
|
+
}, "de_GetInstanceTpmEkPubResult");
|
|
46780
46839
|
var de_GetInstanceTypesFromInstanceRequirementsResult = /* @__PURE__ */ __name((output, context) => {
|
|
46781
46840
|
const contents = {};
|
|
46782
46841
|
if (output.instanceTypeSet === "") {
|
|
@@ -47967,8 +48026,8 @@ var de_ImportInstanceVolumeDetailSet = /* @__PURE__ */ __name((output, context)
|
|
|
47967
48026
|
}, "de_ImportInstanceVolumeDetailSet");
|
|
47968
48027
|
var de_ImportKeyPairResult = /* @__PURE__ */ __name((output, context) => {
|
|
47969
48028
|
const contents = {};
|
|
47970
|
-
if (output[
|
|
47971
|
-
contents[_KFe] = (0, import_smithy_client.expectString)(output[
|
|
48029
|
+
if (output[_kFe] != null) {
|
|
48030
|
+
contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]);
|
|
47972
48031
|
}
|
|
47973
48032
|
if (output[_kN] != null) {
|
|
47974
48033
|
contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);
|
|
@@ -50226,8 +50285,8 @@ var de_Ipv6RangeList = /* @__PURE__ */ __name((output, context) => {
|
|
|
50226
50285
|
}, "de_Ipv6RangeList");
|
|
50227
50286
|
var de_KeyPair = /* @__PURE__ */ __name((output, context) => {
|
|
50228
50287
|
const contents = {};
|
|
50229
|
-
if (output[
|
|
50230
|
-
contents[_KFe] = (0, import_smithy_client.expectString)(output[
|
|
50288
|
+
if (output[_kFe] != null) {
|
|
50289
|
+
contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]);
|
|
50231
50290
|
}
|
|
50232
50291
|
if (output[_kM] != null) {
|
|
50233
50292
|
contents[_KM] = (0, import_smithy_client.expectString)(output[_kM]);
|
|
@@ -50250,8 +50309,8 @@ var de_KeyPairInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
50250
50309
|
if (output[_kPI] != null) {
|
|
50251
50310
|
contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]);
|
|
50252
50311
|
}
|
|
50253
|
-
if (output[
|
|
50254
|
-
contents[_KFe] = (0, import_smithy_client.expectString)(output[
|
|
50312
|
+
if (output[_kFe] != null) {
|
|
50313
|
+
contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]);
|
|
50255
50314
|
}
|
|
50256
50315
|
if (output[_kN] != null) {
|
|
50257
50316
|
contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]);
|
|
@@ -60040,6 +60099,7 @@ var _GIMD = "GetInstanceMetadataDefaults";
|
|
|
60040
60099
|
var _GIPA = "GetIpamPoolAllocations";
|
|
60041
60100
|
var _GIPC = "GetIpamPoolCidrs";
|
|
60042
60101
|
var _GIRC = "GetIpamResourceCidrs";
|
|
60102
|
+
var _GITEP = "GetInstanceTpmEkPub";
|
|
60043
60103
|
var _GITFIR = "GetInstanceTypesFromInstanceRequirements";
|
|
60044
60104
|
var _GIUD = "GetInstanceUefiData";
|
|
60045
60105
|
var _GIp = "GpuInfo";
|
|
@@ -60318,6 +60378,7 @@ var _KP = "KeyPairs";
|
|
|
60318
60378
|
var _KPI = "KeyPairId";
|
|
60319
60379
|
var _KPIe = "KeyPairIds";
|
|
60320
60380
|
var _KT = "KeyType";
|
|
60381
|
+
var _KV = "KeyValue";
|
|
60321
60382
|
var _Ke = "Key";
|
|
60322
60383
|
var _Key = "Keyword";
|
|
60323
60384
|
var _L = "Locale";
|
|
@@ -62234,7 +62295,8 @@ var _ip = "ipam";
|
|
|
62234
62295
|
var _is = "issuer";
|
|
62235
62296
|
var _k = "key";
|
|
62236
62297
|
var _kDF = "kinesisDataFirehose";
|
|
62237
|
-
var _kF = "
|
|
62298
|
+
var _kF = "keyFormat";
|
|
62299
|
+
var _kFe = "keyFingerprint";
|
|
62238
62300
|
var _kI = "kernelId";
|
|
62239
62301
|
var _kKA = "kmsKeyArn";
|
|
62240
62302
|
var _kKI = "kmsKeyId";
|
|
@@ -62243,6 +62305,7 @@ var _kN = "keyName";
|
|
|
62243
62305
|
var _kPI = "keyPairId";
|
|
62244
62306
|
var _kS = "keySet";
|
|
62245
62307
|
var _kT = "keyType";
|
|
62308
|
+
var _kV = "keyValue";
|
|
62246
62309
|
var _ke = "kernel";
|
|
62247
62310
|
var _key = "keyword";
|
|
62248
62311
|
var _l = "lifecycle";
|
|
@@ -71843,6 +71906,7 @@ var DescribeVerifiedAccessInstancesCommand = _DescribeVerifiedAccessInstancesCom
|
|
|
71843
71906
|
|
|
71844
71907
|
|
|
71845
71908
|
// src/models/models_5.ts
|
|
71909
|
+
|
|
71846
71910
|
var VerifiedAccessLogDeliveryStatusCode = {
|
|
71847
71911
|
FAILED: "failed",
|
|
71848
71912
|
SUCCESS: "success"
|
|
@@ -71904,6 +71968,14 @@ var PartitionLoadFrequency = {
|
|
|
71904
71968
|
NONE: "none",
|
|
71905
71969
|
WEEKLY: "weekly"
|
|
71906
71970
|
};
|
|
71971
|
+
var EkPubKeyFormat = {
|
|
71972
|
+
der: "der",
|
|
71973
|
+
tpmt: "tpmt"
|
|
71974
|
+
};
|
|
71975
|
+
var EkPubKeyType = {
|
|
71976
|
+
ECC_SEC_P384: "ecc-sec-p384",
|
|
71977
|
+
RSA_2048: "rsa-2048"
|
|
71978
|
+
};
|
|
71907
71979
|
var IpamComplianceStatus = {
|
|
71908
71980
|
compliant: "compliant",
|
|
71909
71981
|
ignored: "ignored",
|
|
@@ -71922,11 +71994,6 @@ var IpamAddressHistoryResourceType = {
|
|
|
71922
71994
|
subnet: "subnet",
|
|
71923
71995
|
vpc: "vpc"
|
|
71924
71996
|
};
|
|
71925
|
-
var IpamDiscoveryFailureCode = {
|
|
71926
|
-
assume_role_failure: "assume-role-failure",
|
|
71927
|
-
throttling_failure: "throttling-failure",
|
|
71928
|
-
unauthorized_failure: "unauthorized-failure"
|
|
71929
|
-
};
|
|
71930
71997
|
var DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
71931
71998
|
...obj,
|
|
71932
71999
|
...obj.VerifiedAccessTrustProviders && {
|
|
@@ -71947,6 +72014,10 @@ var DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */
|
|
|
71947
72014
|
VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider)
|
|
71948
72015
|
}
|
|
71949
72016
|
}), "DetachVerifiedAccessTrustProviderResultFilterSensitiveLog");
|
|
72017
|
+
var GetInstanceTpmEkPubResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
72018
|
+
...obj,
|
|
72019
|
+
...obj.KeyValue && { KeyValue: import_smithy_client.SENSITIVE_STRING }
|
|
72020
|
+
}), "GetInstanceTpmEkPubResultFilterSensitiveLog");
|
|
71950
72021
|
|
|
71951
72022
|
// src/commands/DescribeVerifiedAccessTrustProvidersCommand.ts
|
|
71952
72023
|
var _DescribeVerifiedAccessTrustProvidersCommand = class _DescribeVerifiedAccessTrustProvidersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -73508,6 +73579,23 @@ var _GetInstanceMetadataDefaultsCommand = class _GetInstanceMetadataDefaultsComm
|
|
|
73508
73579
|
__name(_GetInstanceMetadataDefaultsCommand, "GetInstanceMetadataDefaultsCommand");
|
|
73509
73580
|
var GetInstanceMetadataDefaultsCommand = _GetInstanceMetadataDefaultsCommand;
|
|
73510
73581
|
|
|
73582
|
+
// src/commands/GetInstanceTpmEkPubCommand.ts
|
|
73583
|
+
|
|
73584
|
+
|
|
73585
|
+
|
|
73586
|
+
|
|
73587
|
+
var _GetInstanceTpmEkPubCommand = class _GetInstanceTpmEkPubCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
73588
|
+
...commonParams
|
|
73589
|
+
}).m(function(Command, cs, config, o) {
|
|
73590
|
+
return [
|
|
73591
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
73592
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
73593
|
+
];
|
|
73594
|
+
}).s("AmazonEC2", "GetInstanceTpmEkPub", {}).n("EC2Client", "GetInstanceTpmEkPubCommand").f(void 0, GetInstanceTpmEkPubResultFilterSensitiveLog).ser(se_GetInstanceTpmEkPubCommand).de(de_GetInstanceTpmEkPubCommand).build() {
|
|
73595
|
+
};
|
|
73596
|
+
__name(_GetInstanceTpmEkPubCommand, "GetInstanceTpmEkPubCommand");
|
|
73597
|
+
var GetInstanceTpmEkPubCommand = _GetInstanceTpmEkPubCommand;
|
|
73598
|
+
|
|
73511
73599
|
// src/commands/GetInstanceTypesFromInstanceRequirementsCommand.ts
|
|
73512
73600
|
|
|
73513
73601
|
|
|
@@ -73669,6 +73757,11 @@ var GetIpamResourceCidrsCommand = _GetIpamResourceCidrsCommand;
|
|
|
73669
73757
|
|
|
73670
73758
|
// src/models/models_6.ts
|
|
73671
73759
|
|
|
73760
|
+
var IpamDiscoveryFailureCode = {
|
|
73761
|
+
assume_role_failure: "assume-role-failure",
|
|
73762
|
+
throttling_failure: "throttling-failure",
|
|
73763
|
+
unauthorized_failure: "unauthorized-failure"
|
|
73764
|
+
};
|
|
73672
73765
|
var IpamPublicAddressType = {
|
|
73673
73766
|
AMAZON_OWNED_EIP: "amazon-owned-eip",
|
|
73674
73767
|
BYOIP: "byoip",
|
|
@@ -77243,6 +77336,7 @@ var commands = {
|
|
|
77243
77336
|
GetHostReservationPurchasePreviewCommand,
|
|
77244
77337
|
GetImageBlockPublicAccessStateCommand,
|
|
77245
77338
|
GetInstanceMetadataDefaultsCommand,
|
|
77339
|
+
GetInstanceTpmEkPubCommand,
|
|
77246
77340
|
GetInstanceTypesFromInstanceRequirementsCommand,
|
|
77247
77341
|
GetInstanceUefiDataCommand,
|
|
77248
77342
|
GetIpamAddressHistoryCommand,
|
|
@@ -80318,6 +80412,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
80318
80412
|
GetHostReservationPurchasePreviewCommand,
|
|
80319
80413
|
GetImageBlockPublicAccessStateCommand,
|
|
80320
80414
|
GetInstanceMetadataDefaultsCommand,
|
|
80415
|
+
GetInstanceTpmEkPubCommand,
|
|
80321
80416
|
GetInstanceTypesFromInstanceRequirementsCommand,
|
|
80322
80417
|
GetInstanceUefiDataCommand,
|
|
80323
80418
|
GetIpamAddressHistoryCommand,
|
|
@@ -81057,13 +81152,16 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
|
|
|
81057
81152
|
ClientCertificateRevocationListStatusCode,
|
|
81058
81153
|
UnlimitedSupportedInstanceFamily,
|
|
81059
81154
|
PartitionLoadFrequency,
|
|
81155
|
+
EkPubKeyFormat,
|
|
81156
|
+
EkPubKeyType,
|
|
81060
81157
|
IpamComplianceStatus,
|
|
81061
81158
|
IpamOverlapStatus,
|
|
81062
81159
|
IpamAddressHistoryResourceType,
|
|
81063
|
-
IpamDiscoveryFailureCode,
|
|
81064
81160
|
DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog,
|
|
81065
81161
|
DescribeVpnConnectionsResultFilterSensitiveLog,
|
|
81066
81162
|
DetachVerifiedAccessTrustProviderResultFilterSensitiveLog,
|
|
81163
|
+
GetInstanceTpmEkPubResultFilterSensitiveLog,
|
|
81164
|
+
IpamDiscoveryFailureCode,
|
|
81067
81165
|
IpamPublicAddressType,
|
|
81068
81166
|
IpamPublicAddressAssociationStatus,
|
|
81069
81167
|
IpamPublicAddressAwsService,
|
package/dist-es/EC2.js
CHANGED
|
@@ -442,6 +442,7 @@ import { GetGroupsForCapacityReservationCommand, } from "./commands/GetGroupsFor
|
|
|
442
442
|
import { GetHostReservationPurchasePreviewCommand, } from "./commands/GetHostReservationPurchasePreviewCommand";
|
|
443
443
|
import { GetImageBlockPublicAccessStateCommand, } from "./commands/GetImageBlockPublicAccessStateCommand";
|
|
444
444
|
import { GetInstanceMetadataDefaultsCommand, } from "./commands/GetInstanceMetadataDefaultsCommand";
|
|
445
|
+
import { GetInstanceTpmEkPubCommand, } from "./commands/GetInstanceTpmEkPubCommand";
|
|
445
446
|
import { GetInstanceTypesFromInstanceRequirementsCommand, } from "./commands/GetInstanceTypesFromInstanceRequirementsCommand";
|
|
446
447
|
import { GetInstanceUefiDataCommand, } from "./commands/GetInstanceUefiDataCommand";
|
|
447
448
|
import { GetIpamAddressHistoryCommand, } from "./commands/GetIpamAddressHistoryCommand";
|
|
@@ -1064,6 +1065,7 @@ const commands = {
|
|
|
1064
1065
|
GetHostReservationPurchasePreviewCommand,
|
|
1065
1066
|
GetImageBlockPublicAccessStateCommand,
|
|
1066
1067
|
GetInstanceMetadataDefaultsCommand,
|
|
1068
|
+
GetInstanceTpmEkPubCommand,
|
|
1067
1069
|
GetInstanceTypesFromInstanceRequirementsCommand,
|
|
1068
1070
|
GetInstanceUefiDataCommand,
|
|
1069
1071
|
GetIpamAddressHistoryCommand,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetInstanceTpmEkPubResultFilterSensitiveLog, } from "../models/models_5";
|
|
6
|
+
import { de_GetInstanceTpmEkPubCommand, se_GetInstanceTpmEkPubCommand } from "../protocols/Aws_ec2";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetInstanceTpmEkPubCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonEC2", "GetInstanceTpmEkPub", {})
|
|
20
|
+
.n("EC2Client", "GetInstanceTpmEkPubCommand")
|
|
21
|
+
.f(void 0, GetInstanceTpmEkPubResultFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetInstanceTpmEkPubCommand)
|
|
23
|
+
.de(de_GetInstanceTpmEkPubCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -441,6 +441,7 @@ export * from "./GetGroupsForCapacityReservationCommand";
|
|
|
441
441
|
export * from "./GetHostReservationPurchasePreviewCommand";
|
|
442
442
|
export * from "./GetImageBlockPublicAccessStateCommand";
|
|
443
443
|
export * from "./GetInstanceMetadataDefaultsCommand";
|
|
444
|
+
export * from "./GetInstanceTpmEkPubCommand";
|
|
444
445
|
export * from "./GetInstanceTypesFromInstanceRequirementsCommand";
|
|
445
446
|
export * from "./GetInstanceUefiDataCommand";
|
|
446
447
|
export * from "./GetIpamAddressHistoryCommand";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
|
|
2
3
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
3
4
|
export const VerifiedAccessLogDeliveryStatusCode = {
|
|
@@ -61,6 +62,14 @@ export const PartitionLoadFrequency = {
|
|
|
61
62
|
NONE: "none",
|
|
62
63
|
WEEKLY: "weekly",
|
|
63
64
|
};
|
|
65
|
+
export const EkPubKeyFormat = {
|
|
66
|
+
der: "der",
|
|
67
|
+
tpmt: "tpmt",
|
|
68
|
+
};
|
|
69
|
+
export const EkPubKeyType = {
|
|
70
|
+
ECC_SEC_P384: "ecc-sec-p384",
|
|
71
|
+
RSA_2048: "rsa-2048",
|
|
72
|
+
};
|
|
64
73
|
export const IpamComplianceStatus = {
|
|
65
74
|
compliant: "compliant",
|
|
66
75
|
ignored: "ignored",
|
|
@@ -79,11 +88,6 @@ export const IpamAddressHistoryResourceType = {
|
|
|
79
88
|
subnet: "subnet",
|
|
80
89
|
vpc: "vpc",
|
|
81
90
|
};
|
|
82
|
-
export const IpamDiscoveryFailureCode = {
|
|
83
|
-
assume_role_failure: "assume-role-failure",
|
|
84
|
-
throttling_failure: "throttling-failure",
|
|
85
|
-
unauthorized_failure: "unauthorized-failure",
|
|
86
|
-
};
|
|
87
91
|
export const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = (obj) => ({
|
|
88
92
|
...obj,
|
|
89
93
|
...(obj.VerifiedAccessTrustProviders && {
|
|
@@ -102,3 +106,7 @@ export const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = (obj) =
|
|
|
102
106
|
VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider),
|
|
103
107
|
}),
|
|
104
108
|
});
|
|
109
|
+
export const GetInstanceTpmEkPubResultFilterSensitiveLog = (obj) => ({
|
|
110
|
+
...obj,
|
|
111
|
+
...(obj.KeyValue && { KeyValue: SENSITIVE_STRING }),
|
|
112
|
+
});
|
|
@@ -4,6 +4,11 @@ import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
|
|
|
4
4
|
import { VpnConnectionFilterSensitiveLog, } from "./models_2";
|
|
5
5
|
import { ConversionTaskFilterSensitiveLog, SnapshotDetailFilterSensitiveLog, } from "./models_3";
|
|
6
6
|
import { SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
|
|
7
|
+
export const IpamDiscoveryFailureCode = {
|
|
8
|
+
assume_role_failure: "assume-role-failure",
|
|
9
|
+
throttling_failure: "throttling-failure",
|
|
10
|
+
unauthorized_failure: "unauthorized-failure",
|
|
11
|
+
};
|
|
7
12
|
export const IpamPublicAddressType = {
|
|
8
13
|
AMAZON_OWNED_EIP: "amazon-owned-eip",
|
|
9
14
|
BYOIP: "byoip",
|
|
@@ -4433,6 +4433,16 @@ export const se_GetInstanceMetadataDefaultsCommand = async (input, context) => {
|
|
|
4433
4433
|
});
|
|
4434
4434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4435
4435
|
};
|
|
4436
|
+
export const se_GetInstanceTpmEkPubCommand = async (input, context) => {
|
|
4437
|
+
const headers = SHARED_HEADERS;
|
|
4438
|
+
let body;
|
|
4439
|
+
body = buildFormUrlencodedString({
|
|
4440
|
+
...se_GetInstanceTpmEkPubRequest(input, context),
|
|
4441
|
+
[_A]: _GITEP,
|
|
4442
|
+
[_V]: _,
|
|
4443
|
+
});
|
|
4444
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
4445
|
+
};
|
|
4436
4446
|
export const se_GetInstanceTypesFromInstanceRequirementsCommand = async (input, context) => {
|
|
4437
4447
|
const headers = SHARED_HEADERS;
|
|
4438
4448
|
let body;
|
|
@@ -11857,6 +11867,19 @@ export const de_GetInstanceMetadataDefaultsCommand = async (output, context) =>
|
|
|
11857
11867
|
};
|
|
11858
11868
|
return response;
|
|
11859
11869
|
};
|
|
11870
|
+
export const de_GetInstanceTpmEkPubCommand = async (output, context) => {
|
|
11871
|
+
if (output.statusCode >= 300) {
|
|
11872
|
+
return de_CommandError(output, context);
|
|
11873
|
+
}
|
|
11874
|
+
const data = await parseBody(output.body, context);
|
|
11875
|
+
let contents = {};
|
|
11876
|
+
contents = de_GetInstanceTpmEkPubResult(data, context);
|
|
11877
|
+
const response = {
|
|
11878
|
+
$metadata: deserializeMetadata(output),
|
|
11879
|
+
...contents,
|
|
11880
|
+
};
|
|
11881
|
+
return response;
|
|
11882
|
+
};
|
|
11860
11883
|
export const de_GetInstanceTypesFromInstanceRequirementsCommand = async (output, context) => {
|
|
11861
11884
|
if (output.statusCode >= 300) {
|
|
11862
11885
|
return de_CommandError(output, context);
|
|
@@ -26473,6 +26496,22 @@ const se_GetInstanceMetadataDefaultsRequest = (input, context) => {
|
|
|
26473
26496
|
}
|
|
26474
26497
|
return entries;
|
|
26475
26498
|
};
|
|
26499
|
+
const se_GetInstanceTpmEkPubRequest = (input, context) => {
|
|
26500
|
+
const entries = {};
|
|
26501
|
+
if (input[_IIn] != null) {
|
|
26502
|
+
entries[_IIn] = input[_IIn];
|
|
26503
|
+
}
|
|
26504
|
+
if (input[_KT] != null) {
|
|
26505
|
+
entries[_KT] = input[_KT];
|
|
26506
|
+
}
|
|
26507
|
+
if (input[_KF] != null) {
|
|
26508
|
+
entries[_KF] = input[_KF];
|
|
26509
|
+
}
|
|
26510
|
+
if (input[_DRr] != null) {
|
|
26511
|
+
entries[_DRr] = input[_DRr];
|
|
26512
|
+
}
|
|
26513
|
+
return entries;
|
|
26514
|
+
};
|
|
26476
26515
|
const se_GetInstanceTypesFromInstanceRequirementsRequest = (input, context) => {
|
|
26477
26516
|
const entries = {};
|
|
26478
26517
|
if (input[_DRr] != null) {
|
|
@@ -45427,6 +45466,22 @@ const de_GetInstanceMetadataDefaultsResult = (output, context) => {
|
|
|
45427
45466
|
}
|
|
45428
45467
|
return contents;
|
|
45429
45468
|
};
|
|
45469
|
+
const de_GetInstanceTpmEkPubResult = (output, context) => {
|
|
45470
|
+
const contents = {};
|
|
45471
|
+
if (output[_iI] != null) {
|
|
45472
|
+
contents[_IIn] = __expectString(output[_iI]);
|
|
45473
|
+
}
|
|
45474
|
+
if (output[_kT] != null) {
|
|
45475
|
+
contents[_KT] = __expectString(output[_kT]);
|
|
45476
|
+
}
|
|
45477
|
+
if (output[_kF] != null) {
|
|
45478
|
+
contents[_KF] = __expectString(output[_kF]);
|
|
45479
|
+
}
|
|
45480
|
+
if (output[_kV] != null) {
|
|
45481
|
+
contents[_KV] = __expectString(output[_kV]);
|
|
45482
|
+
}
|
|
45483
|
+
return contents;
|
|
45484
|
+
};
|
|
45430
45485
|
const de_GetInstanceTypesFromInstanceRequirementsResult = (output, context) => {
|
|
45431
45486
|
const contents = {};
|
|
45432
45487
|
if (output.instanceTypeSet === "") {
|
|
@@ -46693,8 +46748,8 @@ const de_ImportInstanceVolumeDetailSet = (output, context) => {
|
|
|
46693
46748
|
};
|
|
46694
46749
|
const de_ImportKeyPairResult = (output, context) => {
|
|
46695
46750
|
const contents = {};
|
|
46696
|
-
if (output[
|
|
46697
|
-
contents[_KFe] = __expectString(output[
|
|
46751
|
+
if (output[_kFe] != null) {
|
|
46752
|
+
contents[_KFe] = __expectString(output[_kFe]);
|
|
46698
46753
|
}
|
|
46699
46754
|
if (output[_kN] != null) {
|
|
46700
46755
|
contents[_KN] = __expectString(output[_kN]);
|
|
@@ -49148,8 +49203,8 @@ const de_Ipv6RangeList = (output, context) => {
|
|
|
49148
49203
|
};
|
|
49149
49204
|
const de_KeyPair = (output, context) => {
|
|
49150
49205
|
const contents = {};
|
|
49151
|
-
if (output[
|
|
49152
|
-
contents[_KFe] = __expectString(output[
|
|
49206
|
+
if (output[_kFe] != null) {
|
|
49207
|
+
contents[_KFe] = __expectString(output[_kFe]);
|
|
49153
49208
|
}
|
|
49154
49209
|
if (output[_kM] != null) {
|
|
49155
49210
|
contents[_KM] = __expectString(output[_kM]);
|
|
@@ -49173,8 +49228,8 @@ const de_KeyPairInfo = (output, context) => {
|
|
|
49173
49228
|
if (output[_kPI] != null) {
|
|
49174
49229
|
contents[_KPI] = __expectString(output[_kPI]);
|
|
49175
49230
|
}
|
|
49176
|
-
if (output[
|
|
49177
|
-
contents[_KFe] = __expectString(output[
|
|
49231
|
+
if (output[_kFe] != null) {
|
|
49232
|
+
contents[_KFe] = __expectString(output[_kFe]);
|
|
49178
49233
|
}
|
|
49179
49234
|
if (output[_kN] != null) {
|
|
49180
49235
|
contents[_KN] = __expectString(output[_kN]);
|
|
@@ -59606,6 +59661,7 @@ const _GIMD = "GetInstanceMetadataDefaults";
|
|
|
59606
59661
|
const _GIPA = "GetIpamPoolAllocations";
|
|
59607
59662
|
const _GIPC = "GetIpamPoolCidrs";
|
|
59608
59663
|
const _GIRC = "GetIpamResourceCidrs";
|
|
59664
|
+
const _GITEP = "GetInstanceTpmEkPub";
|
|
59609
59665
|
const _GITFIR = "GetInstanceTypesFromInstanceRequirements";
|
|
59610
59666
|
const _GIUD = "GetInstanceUefiData";
|
|
59611
59667
|
const _GIp = "GpuInfo";
|
|
@@ -59884,6 +59940,7 @@ const _KP = "KeyPairs";
|
|
|
59884
59940
|
const _KPI = "KeyPairId";
|
|
59885
59941
|
const _KPIe = "KeyPairIds";
|
|
59886
59942
|
const _KT = "KeyType";
|
|
59943
|
+
const _KV = "KeyValue";
|
|
59887
59944
|
const _Ke = "Key";
|
|
59888
59945
|
const _Key = "Keyword";
|
|
59889
59946
|
const _L = "Locale";
|
|
@@ -61800,7 +61857,8 @@ const _ip = "ipam";
|
|
|
61800
61857
|
const _is = "issuer";
|
|
61801
61858
|
const _k = "key";
|
|
61802
61859
|
const _kDF = "kinesisDataFirehose";
|
|
61803
|
-
const _kF = "
|
|
61860
|
+
const _kF = "keyFormat";
|
|
61861
|
+
const _kFe = "keyFingerprint";
|
|
61804
61862
|
const _kI = "kernelId";
|
|
61805
61863
|
const _kKA = "kmsKeyArn";
|
|
61806
61864
|
const _kKI = "kmsKeyId";
|
|
@@ -61809,6 +61867,7 @@ const _kN = "keyName";
|
|
|
61809
61867
|
const _kPI = "keyPairId";
|
|
61810
61868
|
const _kS = "keySet";
|
|
61811
61869
|
const _kT = "keyType";
|
|
61870
|
+
const _kV = "keyValue";
|
|
61812
61871
|
const _ke = "kernel";
|
|
61813
61872
|
const _key = "keyword";
|
|
61814
61873
|
const _l = "lifecycle";
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -442,6 +442,7 @@ import { GetGroupsForCapacityReservationCommandInput, GetGroupsForCapacityReserv
|
|
|
442
442
|
import { GetHostReservationPurchasePreviewCommandInput, GetHostReservationPurchasePreviewCommandOutput } from "./commands/GetHostReservationPurchasePreviewCommand";
|
|
443
443
|
import { GetImageBlockPublicAccessStateCommandInput, GetImageBlockPublicAccessStateCommandOutput } from "./commands/GetImageBlockPublicAccessStateCommand";
|
|
444
444
|
import { GetInstanceMetadataDefaultsCommandInput, GetInstanceMetadataDefaultsCommandOutput } from "./commands/GetInstanceMetadataDefaultsCommand";
|
|
445
|
+
import { GetInstanceTpmEkPubCommandInput, GetInstanceTpmEkPubCommandOutput } from "./commands/GetInstanceTpmEkPubCommand";
|
|
445
446
|
import { GetInstanceTypesFromInstanceRequirementsCommandInput, GetInstanceTypesFromInstanceRequirementsCommandOutput } from "./commands/GetInstanceTypesFromInstanceRequirementsCommand";
|
|
446
447
|
import { GetInstanceUefiDataCommandInput, GetInstanceUefiDataCommandOutput } from "./commands/GetInstanceUefiDataCommand";
|
|
447
448
|
import { GetIpamAddressHistoryCommandInput, GetIpamAddressHistoryCommandOutput } from "./commands/GetIpamAddressHistoryCommand";
|
|
@@ -3448,6 +3449,12 @@ export interface EC2 {
|
|
|
3448
3449
|
getInstanceMetadataDefaults(args: GetInstanceMetadataDefaultsCommandInput, options?: __HttpHandlerOptions): Promise<GetInstanceMetadataDefaultsCommandOutput>;
|
|
3449
3450
|
getInstanceMetadataDefaults(args: GetInstanceMetadataDefaultsCommandInput, cb: (err: any, data?: GetInstanceMetadataDefaultsCommandOutput) => void): void;
|
|
3450
3451
|
getInstanceMetadataDefaults(args: GetInstanceMetadataDefaultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInstanceMetadataDefaultsCommandOutput) => void): void;
|
|
3452
|
+
/**
|
|
3453
|
+
* @see {@link GetInstanceTpmEkPubCommand}
|
|
3454
|
+
*/
|
|
3455
|
+
getInstanceTpmEkPub(args: GetInstanceTpmEkPubCommandInput, options?: __HttpHandlerOptions): Promise<GetInstanceTpmEkPubCommandOutput>;
|
|
3456
|
+
getInstanceTpmEkPub(args: GetInstanceTpmEkPubCommandInput, cb: (err: any, data?: GetInstanceTpmEkPubCommandOutput) => void): void;
|
|
3457
|
+
getInstanceTpmEkPub(args: GetInstanceTpmEkPubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInstanceTpmEkPubCommandOutput) => void): void;
|
|
3451
3458
|
/**
|
|
3452
3459
|
* @see {@link GetInstanceTypesFromInstanceRequirementsCommand}
|
|
3453
3460
|
*/
|