@aws-sdk/client-cloudhsm 3.300.0 → 3.303.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-cjs/models/models_0.js +21 -25
- package/dist-es/models/models_0.js +21 -25
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -3
- package/dist-types/commands/CreateHapgCommand.d.ts +1 -1
- package/dist-types/commands/CreateHsmCommand.d.ts +1 -1
- package/dist-types/commands/CreateLunaClientCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHapgCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHsmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLunaClientCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHapgCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLunaClientCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigCommand.d.ts +2 -2
- package/dist-types/commands/ListHapgsCommand.d.ts +1 -1
- package/dist-types/commands/ListHsmsCommand.d.ts +1 -1
- package/dist-types/commands/ListLunaClientsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyHapgCommand.d.ts +2 -2
- package/dist-types/commands/ModifyHsmCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLunaClientCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +41 -21
- package/dist-types/ts3.4/models/models_0.d.ts +27 -21
- package/package.json +34 -34
|
@@ -44,28 +44,24 @@ class InvalidRequestException extends CloudHSMServiceException_1.CloudHSMService
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.InvalidRequestException = InvalidRequestException;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
HsmStatus["TERMINATED"] = "TERMINATED";
|
|
69
|
-
HsmStatus["TERMINATING"] = "TERMINATING";
|
|
70
|
-
HsmStatus["UPDATING"] = "UPDATING";
|
|
71
|
-
})(HsmStatus = exports.HsmStatus || (exports.HsmStatus = {}));
|
|
47
|
+
exports.ClientVersion = {
|
|
48
|
+
FIVE_ONE: "5.1",
|
|
49
|
+
FIVE_THREE: "5.3",
|
|
50
|
+
};
|
|
51
|
+
exports.SubscriptionType = {
|
|
52
|
+
PRODUCTION: "PRODUCTION",
|
|
53
|
+
};
|
|
54
|
+
exports.CloudHsmObjectState = {
|
|
55
|
+
DEGRADED: "DEGRADED",
|
|
56
|
+
READY: "READY",
|
|
57
|
+
UPDATING: "UPDATING",
|
|
58
|
+
};
|
|
59
|
+
exports.HsmStatus = {
|
|
60
|
+
DEGRADED: "DEGRADED",
|
|
61
|
+
PENDING: "PENDING",
|
|
62
|
+
RUNNING: "RUNNING",
|
|
63
|
+
SUSPENDED: "SUSPENDED",
|
|
64
|
+
TERMINATED: "TERMINATED",
|
|
65
|
+
TERMINATING: "TERMINATING",
|
|
66
|
+
UPDATING: "UPDATING",
|
|
67
|
+
};
|
|
@@ -38,28 +38,24 @@ export class InvalidRequestException extends __BaseException {
|
|
|
38
38
|
this.retryable = opts.retryable;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
export
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
HsmStatus["TERMINATED"] = "TERMINATED";
|
|
63
|
-
HsmStatus["TERMINATING"] = "TERMINATING";
|
|
64
|
-
HsmStatus["UPDATING"] = "UPDATING";
|
|
65
|
-
})(HsmStatus || (HsmStatus = {}));
|
|
41
|
+
export const ClientVersion = {
|
|
42
|
+
FIVE_ONE: "5.1",
|
|
43
|
+
FIVE_THREE: "5.3",
|
|
44
|
+
};
|
|
45
|
+
export const SubscriptionType = {
|
|
46
|
+
PRODUCTION: "PRODUCTION",
|
|
47
|
+
};
|
|
48
|
+
export const CloudHsmObjectState = {
|
|
49
|
+
DEGRADED: "DEGRADED",
|
|
50
|
+
READY: "READY",
|
|
51
|
+
UPDATING: "UPDATING",
|
|
52
|
+
};
|
|
53
|
+
export const HsmStatus = {
|
|
54
|
+
DEGRADED: "DEGRADED",
|
|
55
|
+
PENDING: "PENDING",
|
|
56
|
+
RUNNING: "RUNNING",
|
|
57
|
+
SUSPENDED: "SUSPENDED",
|
|
58
|
+
TERMINATED: "TERMINATED",
|
|
59
|
+
TERMINATING: "TERMINATING",
|
|
60
|
+
UPDATING: "UPDATING",
|
|
61
|
+
};
|
|
@@ -38,10 +38,10 @@ 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 = {
|
|
41
|
+
* const input = { // AddTagsToResourceRequest
|
|
42
42
|
* ResourceArn: "STRING_VALUE", // required
|
|
43
|
-
* TagList: [ // required
|
|
44
|
-
* {
|
|
43
|
+
* TagList: [ // TagList // required
|
|
44
|
+
* { // Tag
|
|
45
45
|
* Key: "STRING_VALUE", // required
|
|
46
46
|
* Value: "STRING_VALUE", // required
|
|
47
47
|
* },
|
|
@@ -37,7 +37,7 @@ 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 = {
|
|
40
|
+
* const input = { // CreateHapgRequest
|
|
41
41
|
* Label: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new CreateHapgCommand(input);
|
|
@@ -45,7 +45,7 @@ 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 = {
|
|
48
|
+
* const input = { // CreateHsmRequest
|
|
49
49
|
* SubnetId: "STRING_VALUE", // required
|
|
50
50
|
* SshKey: "STRING_VALUE", // required
|
|
51
51
|
* EniIp: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // CreateLunaClientRequest
|
|
40
40
|
* Label: "STRING_VALUE",
|
|
41
41
|
* Certificate: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // DeleteHapgRequest
|
|
40
40
|
* HapgArn: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DeleteHapgCommand(input);
|
|
@@ -37,7 +37,7 @@ 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 = {
|
|
40
|
+
* const input = { // DeleteHsmRequest
|
|
41
41
|
* HsmArn: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DeleteHsmCommand(input);
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // DeleteLunaClientRequest
|
|
40
40
|
* ClientArn: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DeleteLunaClientCommand(input);
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // DescribeHapgRequest
|
|
40
40
|
* HapgArn: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DescribeHapgCommand(input);
|
|
@@ -37,7 +37,7 @@ 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 = {
|
|
40
|
+
* const input = { // DescribeHsmRequest
|
|
41
41
|
* HsmArn: "STRING_VALUE",
|
|
42
42
|
* HsmSerialNumber: "STRING_VALUE",
|
|
43
43
|
* };
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // DescribeLunaClientRequest
|
|
40
40
|
* ClientArn: "STRING_VALUE",
|
|
41
41
|
* CertificateFingerprint: "STRING_VALUE",
|
|
42
42
|
* };
|
|
@@ -37,10 +37,10 @@ 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 = {
|
|
40
|
+
* const input = { // GetConfigRequest
|
|
41
41
|
* ClientArn: "STRING_VALUE", // required
|
|
42
42
|
* ClientVersion: "STRING_VALUE", // required
|
|
43
|
-
* HapgList: [ // required
|
|
43
|
+
* HapgList: [ // HapgList // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* };
|
|
@@ -40,7 +40,7 @@ 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 = {
|
|
43
|
+
* const input = { // ListHapgsRequest
|
|
44
44
|
* NextToken: "STRING_VALUE",
|
|
45
45
|
* };
|
|
46
46
|
* const command = new ListHapgsCommand(input);
|
|
@@ -41,7 +41,7 @@ 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 = {
|
|
44
|
+
* const input = { // ListHsmsRequest
|
|
45
45
|
* NextToken: "STRING_VALUE",
|
|
46
46
|
* };
|
|
47
47
|
* const command = new ListHsmsCommand(input);
|
|
@@ -40,7 +40,7 @@ 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 = {
|
|
43
|
+
* const input = { // ListLunaClientsRequest
|
|
44
44
|
* NextToken: "STRING_VALUE",
|
|
45
45
|
* };
|
|
46
46
|
* const command = new ListLunaClientsCommand(input);
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // ListTagsForResourceRequest
|
|
40
40
|
* ResourceArn: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -36,10 +36,10 @@ 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 = {
|
|
39
|
+
* const input = { // ModifyHapgRequest
|
|
40
40
|
* HapgArn: "STRING_VALUE", // required
|
|
41
41
|
* Label: "STRING_VALUE",
|
|
42
|
-
* PartitionSerialList: [
|
|
42
|
+
* PartitionSerialList: [ // PartitionSerialList
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* };
|
|
@@ -42,7 +42,7 @@ 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 = {
|
|
45
|
+
* const input = { // ModifyHsmRequest
|
|
46
46
|
* HsmArn: "STRING_VALUE", // required
|
|
47
47
|
* SubnetId: "STRING_VALUE",
|
|
48
48
|
* EniIp: "STRING_VALUE",
|
|
@@ -38,7 +38,7 @@ 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 = {
|
|
41
|
+
* const input = { // ModifyLunaClientRequest
|
|
42
42
|
* ClientArn: "STRING_VALUE", // required
|
|
43
43
|
* Certificate: "STRING_VALUE", // required
|
|
44
44
|
* };
|
|
@@ -38,9 +38,9 @@ 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 = {
|
|
41
|
+
* const input = { // RemoveTagsFromResourceRequest
|
|
42
42
|
* ResourceArn: "STRING_VALUE", // required
|
|
43
|
-
* TagKeyList: [ // required
|
|
43
|
+
* TagKeyList: [ // TagKeyList // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* };
|
|
@@ -87,11 +87,16 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* @public
|
|
90
|
+
* @enum
|
|
90
91
|
*/
|
|
91
|
-
export declare
|
|
92
|
-
FIVE_ONE
|
|
93
|
-
FIVE_THREE
|
|
94
|
-
}
|
|
92
|
+
export declare const ClientVersion: {
|
|
93
|
+
readonly FIVE_ONE: "5.1";
|
|
94
|
+
readonly FIVE_THREE: "5.3";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type ClientVersion = (typeof ClientVersion)[keyof typeof ClientVersion];
|
|
95
100
|
/**
|
|
96
101
|
* @public
|
|
97
102
|
* <p>Contains the inputs for the <a>CreateHapgRequest</a> action.</p>
|
|
@@ -114,10 +119,15 @@ export interface CreateHapgResponse {
|
|
|
114
119
|
}
|
|
115
120
|
/**
|
|
116
121
|
* @public
|
|
122
|
+
* @enum
|
|
117
123
|
*/
|
|
118
|
-
export declare
|
|
119
|
-
PRODUCTION
|
|
120
|
-
}
|
|
124
|
+
export declare const SubscriptionType: {
|
|
125
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export type SubscriptionType = (typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
121
131
|
/**
|
|
122
132
|
* @public
|
|
123
133
|
* <p>Contains the inputs for the <code>CreateHsm</code> operation.</p>
|
|
@@ -278,12 +288,17 @@ export interface DescribeHapgRequest {
|
|
|
278
288
|
}
|
|
279
289
|
/**
|
|
280
290
|
* @public
|
|
291
|
+
* @enum
|
|
281
292
|
*/
|
|
282
|
-
export declare
|
|
283
|
-
DEGRADED
|
|
284
|
-
READY
|
|
285
|
-
UPDATING
|
|
286
|
-
}
|
|
293
|
+
export declare const CloudHsmObjectState: {
|
|
294
|
+
readonly DEGRADED: "DEGRADED";
|
|
295
|
+
readonly READY: "READY";
|
|
296
|
+
readonly UPDATING: "UPDATING";
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
export type CloudHsmObjectState = (typeof CloudHsmObjectState)[keyof typeof CloudHsmObjectState];
|
|
287
302
|
/**
|
|
288
303
|
* @public
|
|
289
304
|
* <p>Contains the output of the <a>DescribeHapg</a> action.</p>
|
|
@@ -345,16 +360,21 @@ export interface DescribeHsmRequest {
|
|
|
345
360
|
}
|
|
346
361
|
/**
|
|
347
362
|
* @public
|
|
363
|
+
* @enum
|
|
348
364
|
*/
|
|
349
|
-
export declare
|
|
350
|
-
DEGRADED
|
|
351
|
-
PENDING
|
|
352
|
-
RUNNING
|
|
353
|
-
SUSPENDED
|
|
354
|
-
TERMINATED
|
|
355
|
-
TERMINATING
|
|
356
|
-
UPDATING
|
|
357
|
-
}
|
|
365
|
+
export declare const HsmStatus: {
|
|
366
|
+
readonly DEGRADED: "DEGRADED";
|
|
367
|
+
readonly PENDING: "PENDING";
|
|
368
|
+
readonly RUNNING: "RUNNING";
|
|
369
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
370
|
+
readonly TERMINATED: "TERMINATED";
|
|
371
|
+
readonly TERMINATING: "TERMINATING";
|
|
372
|
+
readonly UPDATING: "UPDATING";
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
export type HsmStatus = (typeof HsmStatus)[keyof typeof HsmStatus];
|
|
358
378
|
/**
|
|
359
379
|
* @public
|
|
360
380
|
* <p>Contains the output of the <a>DescribeHsm</a> operation.</p>
|
|
@@ -35,19 +35,22 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
35
35
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
36
36
|
);
|
|
37
37
|
}
|
|
38
|
-
export declare
|
|
39
|
-
FIVE_ONE
|
|
40
|
-
FIVE_THREE
|
|
41
|
-
}
|
|
38
|
+
export declare const ClientVersion: {
|
|
39
|
+
readonly FIVE_ONE: "5.1";
|
|
40
|
+
readonly FIVE_THREE: "5.3";
|
|
41
|
+
};
|
|
42
|
+
export type ClientVersion = (typeof ClientVersion)[keyof typeof ClientVersion];
|
|
42
43
|
export interface CreateHapgRequest {
|
|
43
44
|
Label: string | undefined;
|
|
44
45
|
}
|
|
45
46
|
export interface CreateHapgResponse {
|
|
46
47
|
HapgArn?: string;
|
|
47
48
|
}
|
|
48
|
-
export declare
|
|
49
|
-
PRODUCTION
|
|
50
|
-
}
|
|
49
|
+
export declare const SubscriptionType: {
|
|
50
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
51
|
+
};
|
|
52
|
+
export type SubscriptionType =
|
|
53
|
+
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
51
54
|
export interface CreateHsmRequest {
|
|
52
55
|
SubnetId: string | undefined;
|
|
53
56
|
SshKey: string | undefined;
|
|
@@ -89,11 +92,13 @@ export interface DeleteLunaClientResponse {
|
|
|
89
92
|
export interface DescribeHapgRequest {
|
|
90
93
|
HapgArn: string | undefined;
|
|
91
94
|
}
|
|
92
|
-
export declare
|
|
93
|
-
DEGRADED
|
|
94
|
-
READY
|
|
95
|
-
UPDATING
|
|
96
|
-
}
|
|
95
|
+
export declare const CloudHsmObjectState: {
|
|
96
|
+
readonly DEGRADED: "DEGRADED";
|
|
97
|
+
readonly READY: "READY";
|
|
98
|
+
readonly UPDATING: "UPDATING";
|
|
99
|
+
};
|
|
100
|
+
export type CloudHsmObjectState =
|
|
101
|
+
(typeof CloudHsmObjectState)[keyof typeof CloudHsmObjectState];
|
|
97
102
|
export interface DescribeHapgResponse {
|
|
98
103
|
HapgArn?: string;
|
|
99
104
|
HapgSerial?: string;
|
|
@@ -109,15 +114,16 @@ export interface DescribeHsmRequest {
|
|
|
109
114
|
HsmArn?: string;
|
|
110
115
|
HsmSerialNumber?: string;
|
|
111
116
|
}
|
|
112
|
-
export declare
|
|
113
|
-
DEGRADED
|
|
114
|
-
PENDING
|
|
115
|
-
RUNNING
|
|
116
|
-
SUSPENDED
|
|
117
|
-
TERMINATED
|
|
118
|
-
TERMINATING
|
|
119
|
-
UPDATING
|
|
120
|
-
}
|
|
117
|
+
export declare const HsmStatus: {
|
|
118
|
+
readonly DEGRADED: "DEGRADED";
|
|
119
|
+
readonly PENDING: "PENDING";
|
|
120
|
+
readonly RUNNING: "RUNNING";
|
|
121
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
122
|
+
readonly TERMINATED: "TERMINATED";
|
|
123
|
+
readonly TERMINATING: "TERMINATING";
|
|
124
|
+
readonly UPDATING: "UPDATING";
|
|
125
|
+
};
|
|
126
|
+
export type HsmStatus = (typeof HsmStatus)[keyof typeof HsmStatus];
|
|
121
127
|
export interface DescribeHsmResponse {
|
|
122
128
|
HsmArn?: string;
|
|
123
129
|
Status?: HsmStatus | string;
|
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.303.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,42 +21,42 @@
|
|
|
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.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|