@aws-sdk/client-cloudhsm 3.299.0 → 3.301.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/dist-types/commands/AddTagsToResourceCommand.d.ts +9 -0
- package/dist-types/commands/CreateHapgCommand.d.ts +3 -0
- package/dist-types/commands/CreateHsmCommand.d.ts +10 -0
- package/dist-types/commands/CreateLunaClientCommand.d.ts +4 -0
- package/dist-types/commands/DeleteHapgCommand.d.ts +3 -0
- package/dist-types/commands/DeleteHsmCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLunaClientCommand.d.ts +3 -0
- package/dist-types/commands/DescribeHapgCommand.d.ts +3 -0
- package/dist-types/commands/DescribeHsmCommand.d.ts +4 -0
- package/dist-types/commands/DescribeLunaClientCommand.d.ts +4 -0
- package/dist-types/commands/GetConfigCommand.d.ts +7 -0
- package/dist-types/commands/ListAvailableZonesCommand.d.ts +1 -0
- package/dist-types/commands/ListHapgsCommand.d.ts +3 -0
- package/dist-types/commands/ListHsmsCommand.d.ts +3 -0
- package/dist-types/commands/ListLunaClientsCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ModifyHapgCommand.d.ts +7 -0
- package/dist-types/commands/ModifyHsmCommand.d.ts +8 -0
- package/dist-types/commands/ModifyLunaClientCommand.d.ts +4 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -38,6 +38,15 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceRespons
|
|
|
38
38
|
* import { CloudHSMClient, AddTagsToResourceCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
39
39
|
* // const { CloudHSMClient, AddTagsToResourceCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
40
40
|
* const client = new CloudHSMClient(config);
|
|
41
|
+
* const input = { // AddTagsToResourceRequest
|
|
42
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
43
|
+
* TagList: [ // TagList // required
|
|
44
|
+
* { // Tag
|
|
45
|
+
* Key: "STRING_VALUE", // required
|
|
46
|
+
* Value: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
41
50
|
* const command = new AddTagsToResourceCommand(input);
|
|
42
51
|
* const response = await client.send(command);
|
|
43
52
|
* ```
|
|
@@ -37,6 +37,9 @@ export interface CreateHapgCommandOutput extends CreateHapgResponse, __MetadataB
|
|
|
37
37
|
* import { CloudHSMClient, CreateHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
38
38
|
* // const { CloudHSMClient, CreateHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
39
39
|
* const client = new CloudHSMClient(config);
|
|
40
|
+
* const input = { // CreateHapgRequest
|
|
41
|
+
* Label: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
40
43
|
* const command = new CreateHapgCommand(input);
|
|
41
44
|
* const response = await client.send(command);
|
|
42
45
|
* ```
|
|
@@ -45,6 +45,16 @@ export interface CreateHsmCommandOutput extends CreateHsmResponse, __MetadataBea
|
|
|
45
45
|
* import { CloudHSMClient, CreateHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
46
46
|
* // const { CloudHSMClient, CreateHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
47
47
|
* const client = new CloudHSMClient(config);
|
|
48
|
+
* const input = { // CreateHsmRequest
|
|
49
|
+
* SubnetId: "STRING_VALUE", // required
|
|
50
|
+
* SshKey: "STRING_VALUE", // required
|
|
51
|
+
* EniIp: "STRING_VALUE",
|
|
52
|
+
* IamRoleArn: "STRING_VALUE", // required
|
|
53
|
+
* ExternalId: "STRING_VALUE",
|
|
54
|
+
* SubscriptionType: "STRING_VALUE", // required
|
|
55
|
+
* ClientToken: "STRING_VALUE",
|
|
56
|
+
* SyslogIp: "STRING_VALUE",
|
|
57
|
+
* };
|
|
48
58
|
* const command = new CreateHsmCommand(input);
|
|
49
59
|
* const response = await client.send(command);
|
|
50
60
|
* ```
|
|
@@ -36,6 +36,10 @@ export interface CreateLunaClientCommandOutput extends CreateLunaClientResponse,
|
|
|
36
36
|
* import { CloudHSMClient, CreateLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, CreateLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = { // CreateLunaClientRequest
|
|
40
|
+
* Label: "STRING_VALUE",
|
|
41
|
+
* Certificate: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
39
43
|
* const command = new CreateLunaClientCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
41
45
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface DeleteHapgCommandOutput extends DeleteHapgResponse, __MetadataB
|
|
|
36
36
|
* import { CloudHSMClient, DeleteHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, DeleteHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = { // DeleteHapgRequest
|
|
40
|
+
* HapgArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new DeleteHapgCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -37,6 +37,9 @@ export interface DeleteHsmCommandOutput extends DeleteHsmResponse, __MetadataBea
|
|
|
37
37
|
* import { CloudHSMClient, DeleteHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
38
38
|
* // const { CloudHSMClient, DeleteHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
39
39
|
* const client = new CloudHSMClient(config);
|
|
40
|
+
* const input = { // DeleteHsmRequest
|
|
41
|
+
* HsmArn: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
40
43
|
* const command = new DeleteHsmCommand(input);
|
|
41
44
|
* const response = await client.send(command);
|
|
42
45
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface DeleteLunaClientCommandOutput extends DeleteLunaClientResponse,
|
|
|
36
36
|
* import { CloudHSMClient, DeleteLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, DeleteLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = { // DeleteLunaClientRequest
|
|
40
|
+
* ClientArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new DeleteLunaClientCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface DescribeHapgCommandOutput extends DescribeHapgResponse, __Metad
|
|
|
36
36
|
* import { CloudHSMClient, DescribeHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, DescribeHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = { // DescribeHapgRequest
|
|
40
|
+
* HapgArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new DescribeHapgCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -37,6 +37,10 @@ export interface DescribeHsmCommandOutput extends DescribeHsmResponse, __Metadat
|
|
|
37
37
|
* import { CloudHSMClient, DescribeHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
38
38
|
* // const { CloudHSMClient, DescribeHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
39
39
|
* const client = new CloudHSMClient(config);
|
|
40
|
+
* const input = { // DescribeHsmRequest
|
|
41
|
+
* HsmArn: "STRING_VALUE",
|
|
42
|
+
* HsmSerialNumber: "STRING_VALUE",
|
|
43
|
+
* };
|
|
40
44
|
* const command = new DescribeHsmCommand(input);
|
|
41
45
|
* const response = await client.send(command);
|
|
42
46
|
* ```
|
|
@@ -36,6 +36,10 @@ export interface DescribeLunaClientCommandOutput extends DescribeLunaClientRespo
|
|
|
36
36
|
* import { CloudHSMClient, DescribeLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, DescribeLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = { // DescribeLunaClientRequest
|
|
40
|
+
* ClientArn: "STRING_VALUE",
|
|
41
|
+
* CertificateFingerprint: "STRING_VALUE",
|
|
42
|
+
* };
|
|
39
43
|
* const command = new DescribeLunaClientCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
41
45
|
* ```
|
|
@@ -37,6 +37,13 @@ export interface GetConfigCommandOutput extends GetConfigResponse, __MetadataBea
|
|
|
37
37
|
* import { CloudHSMClient, GetConfigCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
38
38
|
* // const { CloudHSMClient, GetConfigCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
39
39
|
* const client = new CloudHSMClient(config);
|
|
40
|
+
* const input = { // GetConfigRequest
|
|
41
|
+
* ClientArn: "STRING_VALUE", // required
|
|
42
|
+
* ClientVersion: "STRING_VALUE", // required
|
|
43
|
+
* HapgList: [ // HapgList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
40
47
|
* const command = new GetConfigCommand(input);
|
|
41
48
|
* const response = await client.send(command);
|
|
42
49
|
* ```
|
|
@@ -36,6 +36,7 @@ export interface ListAvailableZonesCommandOutput extends ListAvailableZonesRespo
|
|
|
36
36
|
* import { CloudHSMClient, ListAvailableZonesCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, ListAvailableZonesCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = {};
|
|
39
40
|
* const command = new ListAvailableZonesCommand(input);
|
|
40
41
|
* const response = await client.send(command);
|
|
41
42
|
* ```
|
|
@@ -40,6 +40,9 @@ export interface ListHapgsCommandOutput extends ListHapgsResponse, __MetadataBea
|
|
|
40
40
|
* import { CloudHSMClient, ListHapgsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
41
41
|
* // const { CloudHSMClient, ListHapgsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
42
42
|
* const client = new CloudHSMClient(config);
|
|
43
|
+
* const input = { // ListHapgsRequest
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
43
46
|
* const command = new ListHapgsCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
45
48
|
* ```
|
|
@@ -41,6 +41,9 @@ export interface ListHsmsCommandOutput extends ListHsmsResponse, __MetadataBeare
|
|
|
41
41
|
* import { CloudHSMClient, ListHsmsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
42
42
|
* // const { CloudHSMClient, ListHsmsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
43
43
|
* const client = new CloudHSMClient(config);
|
|
44
|
+
* const input = { // ListHsmsRequest
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
44
47
|
* const command = new ListHsmsCommand(input);
|
|
45
48
|
* const response = await client.send(command);
|
|
46
49
|
* ```
|
|
@@ -40,6 +40,9 @@ export interface ListLunaClientsCommandOutput extends ListLunaClientsResponse, _
|
|
|
40
40
|
* import { CloudHSMClient, ListLunaClientsCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
41
41
|
* // const { CloudHSMClient, ListLunaClientsCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
42
42
|
* const client = new CloudHSMClient(config);
|
|
43
|
+
* const input = { // ListLunaClientsRequest
|
|
44
|
+
* NextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
43
46
|
* const command = new ListLunaClientsCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
45
48
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
36
36
|
* import { CloudHSMClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = { // ListTagsForResourceRequest
|
|
40
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new ListTagsForResourceCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -36,6 +36,13 @@ export interface ModifyHapgCommandOutput extends ModifyHapgResponse, __MetadataB
|
|
|
36
36
|
* import { CloudHSMClient, ModifyHapgCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
37
37
|
* // const { CloudHSMClient, ModifyHapgCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
38
38
|
* const client = new CloudHSMClient(config);
|
|
39
|
+
* const input = { // ModifyHapgRequest
|
|
40
|
+
* HapgArn: "STRING_VALUE", // required
|
|
41
|
+
* Label: "STRING_VALUE",
|
|
42
|
+
* PartitionSerialList: [ // PartitionSerialList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
39
46
|
* const command = new ModifyHapgCommand(input);
|
|
40
47
|
* const response = await client.send(command);
|
|
41
48
|
* ```
|
|
@@ -42,6 +42,14 @@ export interface ModifyHsmCommandOutput extends ModifyHsmResponse, __MetadataBea
|
|
|
42
42
|
* import { CloudHSMClient, ModifyHsmCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
43
43
|
* // const { CloudHSMClient, ModifyHsmCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
44
44
|
* const client = new CloudHSMClient(config);
|
|
45
|
+
* const input = { // ModifyHsmRequest
|
|
46
|
+
* HsmArn: "STRING_VALUE", // required
|
|
47
|
+
* SubnetId: "STRING_VALUE",
|
|
48
|
+
* EniIp: "STRING_VALUE",
|
|
49
|
+
* IamRoleArn: "STRING_VALUE",
|
|
50
|
+
* ExternalId: "STRING_VALUE",
|
|
51
|
+
* SyslogIp: "STRING_VALUE",
|
|
52
|
+
* };
|
|
45
53
|
* const command = new ModifyHsmCommand(input);
|
|
46
54
|
* const response = await client.send(command);
|
|
47
55
|
* ```
|
|
@@ -38,6 +38,10 @@ export interface ModifyLunaClientCommandOutput extends ModifyLunaClientResponse,
|
|
|
38
38
|
* import { CloudHSMClient, ModifyLunaClientCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
39
39
|
* // const { CloudHSMClient, ModifyLunaClientCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
40
40
|
* const client = new CloudHSMClient(config);
|
|
41
|
+
* const input = { // ModifyLunaClientRequest
|
|
42
|
+
* ClientArn: "STRING_VALUE", // required
|
|
43
|
+
* Certificate: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
41
45
|
* const command = new ModifyLunaClientCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
43
47
|
* ```
|
|
@@ -38,6 +38,12 @@ export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResou
|
|
|
38
38
|
* import { CloudHSMClient, RemoveTagsFromResourceCommand } from "@aws-sdk/client-cloudhsm"; // ES Modules import
|
|
39
39
|
* // const { CloudHSMClient, RemoveTagsFromResourceCommand } = require("@aws-sdk/client-cloudhsm"); // CommonJS import
|
|
40
40
|
* const client = new CloudHSMClient(config);
|
|
41
|
+
* const input = { // RemoveTagsFromResourceRequest
|
|
42
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
43
|
+
* TagKeyList: [ // TagKeyList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
41
47
|
* const command = new RemoveTagsFromResourceCommand(input);
|
|
42
48
|
* const response = await client.send(command);
|
|
43
49
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudhsm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudhsm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|