@aws-sdk/client-cloudhsm-v2 3.934.0 → 3.935.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/index.js +41 -40
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +40 -0
- package/dist-es/models/errors.js +99 -0
- package/dist-es/models/models_0.js +1 -139
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +96 -0
- package/dist-types/models/errors.d.ts +96 -0
- package/dist-types/models/models_0.d.ts +1 -192
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +48 -0
- package/dist-types/ts3.4/models/errors.d.ts +70 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -118
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,22 +117,6 @@ let CloudHSMV2ServiceException$1 = class CloudHSMV2ServiceException extends smit
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const BackupState = {
|
|
121
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
122
|
-
DELETED: "DELETED",
|
|
123
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
124
|
-
READY: "READY",
|
|
125
|
-
};
|
|
126
|
-
const ClusterMode = {
|
|
127
|
-
FIPS: "FIPS",
|
|
128
|
-
NON_FIPS: "NON_FIPS",
|
|
129
|
-
};
|
|
130
|
-
const BackupPolicy = {
|
|
131
|
-
DEFAULT: "DEFAULT",
|
|
132
|
-
};
|
|
133
|
-
const BackupRetentionType = {
|
|
134
|
-
DAYS: "DAYS",
|
|
135
|
-
};
|
|
136
120
|
let CloudHsmAccessDeniedException$1 = class CloudHsmAccessDeniedException extends CloudHSMV2ServiceException$1 {
|
|
137
121
|
name = "CloudHsmAccessDeniedException";
|
|
138
122
|
$fault = "client";
|
|
@@ -217,30 +201,6 @@ let CloudHsmTagException$1 = class CloudHsmTagException extends CloudHSMV2Servic
|
|
|
217
201
|
this.Message = opts.Message;
|
|
218
202
|
}
|
|
219
203
|
};
|
|
220
|
-
const NetworkType = {
|
|
221
|
-
DUALSTACK: "DUALSTACK",
|
|
222
|
-
IPV4: "IPV4",
|
|
223
|
-
};
|
|
224
|
-
const HsmState = {
|
|
225
|
-
ACTIVE: "ACTIVE",
|
|
226
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
227
|
-
DEGRADED: "DEGRADED",
|
|
228
|
-
DELETED: "DELETED",
|
|
229
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
230
|
-
};
|
|
231
|
-
const ClusterState = {
|
|
232
|
-
ACTIVE: "ACTIVE",
|
|
233
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
234
|
-
DEGRADED: "DEGRADED",
|
|
235
|
-
DELETED: "DELETED",
|
|
236
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
237
|
-
INITIALIZED: "INITIALIZED",
|
|
238
|
-
INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS",
|
|
239
|
-
MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS",
|
|
240
|
-
ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
|
|
241
|
-
UNINITIALIZED: "UNINITIALIZED",
|
|
242
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
243
|
-
};
|
|
244
204
|
let CloudHsmResourceLimitExceededException$1 = class CloudHsmResourceLimitExceededException extends CloudHSMV2ServiceException$1 {
|
|
245
205
|
name = "CloudHsmResourceLimitExceededException";
|
|
246
206
|
$fault = "client";
|
|
@@ -949,6 +909,47 @@ const paginateDescribeClusters = core.createPaginator(CloudHSMV2Client, Describe
|
|
|
949
909
|
|
|
950
910
|
const paginateListTags = core.createPaginator(CloudHSMV2Client, ListTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
951
911
|
|
|
912
|
+
const BackupState = {
|
|
913
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
914
|
+
DELETED: "DELETED",
|
|
915
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
916
|
+
READY: "READY",
|
|
917
|
+
};
|
|
918
|
+
const ClusterMode = {
|
|
919
|
+
FIPS: "FIPS",
|
|
920
|
+
NON_FIPS: "NON_FIPS",
|
|
921
|
+
};
|
|
922
|
+
const BackupPolicy = {
|
|
923
|
+
DEFAULT: "DEFAULT",
|
|
924
|
+
};
|
|
925
|
+
const BackupRetentionType = {
|
|
926
|
+
DAYS: "DAYS",
|
|
927
|
+
};
|
|
928
|
+
const NetworkType = {
|
|
929
|
+
DUALSTACK: "DUALSTACK",
|
|
930
|
+
IPV4: "IPV4",
|
|
931
|
+
};
|
|
932
|
+
const HsmState = {
|
|
933
|
+
ACTIVE: "ACTIVE",
|
|
934
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
935
|
+
DEGRADED: "DEGRADED",
|
|
936
|
+
DELETED: "DELETED",
|
|
937
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
938
|
+
};
|
|
939
|
+
const ClusterState = {
|
|
940
|
+
ACTIVE: "ACTIVE",
|
|
941
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
942
|
+
DEGRADED: "DEGRADED",
|
|
943
|
+
DELETED: "DELETED",
|
|
944
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
945
|
+
INITIALIZED: "INITIALIZED",
|
|
946
|
+
INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS",
|
|
947
|
+
MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS",
|
|
948
|
+
ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
|
|
949
|
+
UNINITIALIZED: "UNINITIALIZED",
|
|
950
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
951
|
+
};
|
|
952
|
+
|
|
952
953
|
Object.defineProperty(exports, "$Command", {
|
|
953
954
|
enumerable: true,
|
|
954
955
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./CloudHSMV2Client";
|
|
|
2
2
|
export * from "./CloudHSMV2";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { CloudHSMV2ServiceException } from "./models/CloudHSMV2ServiceException";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export const BackupState = {
|
|
2
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
3
|
+
DELETED: "DELETED",
|
|
4
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
5
|
+
READY: "READY",
|
|
6
|
+
};
|
|
7
|
+
export const ClusterMode = {
|
|
8
|
+
FIPS: "FIPS",
|
|
9
|
+
NON_FIPS: "NON_FIPS",
|
|
10
|
+
};
|
|
11
|
+
export const BackupPolicy = {
|
|
12
|
+
DEFAULT: "DEFAULT",
|
|
13
|
+
};
|
|
14
|
+
export const BackupRetentionType = {
|
|
15
|
+
DAYS: "DAYS",
|
|
16
|
+
};
|
|
17
|
+
export const NetworkType = {
|
|
18
|
+
DUALSTACK: "DUALSTACK",
|
|
19
|
+
IPV4: "IPV4",
|
|
20
|
+
};
|
|
21
|
+
export const HsmState = {
|
|
22
|
+
ACTIVE: "ACTIVE",
|
|
23
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
24
|
+
DEGRADED: "DEGRADED",
|
|
25
|
+
DELETED: "DELETED",
|
|
26
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
27
|
+
};
|
|
28
|
+
export const ClusterState = {
|
|
29
|
+
ACTIVE: "ACTIVE",
|
|
30
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
31
|
+
DEGRADED: "DEGRADED",
|
|
32
|
+
DELETED: "DELETED",
|
|
33
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
34
|
+
INITIALIZED: "INITIALIZED",
|
|
35
|
+
INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS",
|
|
36
|
+
MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS",
|
|
37
|
+
ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
|
|
38
|
+
UNINITIALIZED: "UNINITIALIZED",
|
|
39
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
40
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { CloudHSMV2ServiceException as __BaseException } from "./CloudHSMV2ServiceException";
|
|
2
|
+
export class CloudHsmAccessDeniedException extends __BaseException {
|
|
3
|
+
name = "CloudHsmAccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "CloudHsmAccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, CloudHsmAccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class CloudHsmInternalFailureException extends __BaseException {
|
|
17
|
+
name = "CloudHsmInternalFailureException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "CloudHsmInternalFailureException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, CloudHsmInternalFailureException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class CloudHsmInvalidRequestException extends __BaseException {
|
|
31
|
+
name = "CloudHsmInvalidRequestException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "CloudHsmInvalidRequestException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, CloudHsmInvalidRequestException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class CloudHsmResourceNotFoundException extends __BaseException {
|
|
45
|
+
name = "CloudHsmResourceNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "CloudHsmResourceNotFoundException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, CloudHsmResourceNotFoundException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class CloudHsmServiceException extends __BaseException {
|
|
59
|
+
name = "CloudHsmServiceException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "CloudHsmServiceException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class CloudHsmTagException extends __BaseException {
|
|
73
|
+
name = "CloudHsmTagException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "CloudHsmTagException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, CloudHsmTagException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
87
|
+
name = "CloudHsmResourceLimitExceededException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "CloudHsmResourceLimitExceededException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, CloudHsmResourceLimitExceededException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -1,139 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const BackupState = {
|
|
3
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
4
|
-
DELETED: "DELETED",
|
|
5
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
6
|
-
READY: "READY",
|
|
7
|
-
};
|
|
8
|
-
export const ClusterMode = {
|
|
9
|
-
FIPS: "FIPS",
|
|
10
|
-
NON_FIPS: "NON_FIPS",
|
|
11
|
-
};
|
|
12
|
-
export const BackupPolicy = {
|
|
13
|
-
DEFAULT: "DEFAULT",
|
|
14
|
-
};
|
|
15
|
-
export const BackupRetentionType = {
|
|
16
|
-
DAYS: "DAYS",
|
|
17
|
-
};
|
|
18
|
-
export class CloudHsmAccessDeniedException extends __BaseException {
|
|
19
|
-
name = "CloudHsmAccessDeniedException";
|
|
20
|
-
$fault = "client";
|
|
21
|
-
Message;
|
|
22
|
-
constructor(opts) {
|
|
23
|
-
super({
|
|
24
|
-
name: "CloudHsmAccessDeniedException",
|
|
25
|
-
$fault: "client",
|
|
26
|
-
...opts,
|
|
27
|
-
});
|
|
28
|
-
Object.setPrototypeOf(this, CloudHsmAccessDeniedException.prototype);
|
|
29
|
-
this.Message = opts.Message;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export class CloudHsmInternalFailureException extends __BaseException {
|
|
33
|
-
name = "CloudHsmInternalFailureException";
|
|
34
|
-
$fault = "server";
|
|
35
|
-
Message;
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "CloudHsmInternalFailureException",
|
|
39
|
-
$fault: "server",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
Object.setPrototypeOf(this, CloudHsmInternalFailureException.prototype);
|
|
43
|
-
this.Message = opts.Message;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
export class CloudHsmInvalidRequestException extends __BaseException {
|
|
47
|
-
name = "CloudHsmInvalidRequestException";
|
|
48
|
-
$fault = "client";
|
|
49
|
-
Message;
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "CloudHsmInvalidRequestException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, CloudHsmInvalidRequestException.prototype);
|
|
57
|
-
this.Message = opts.Message;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export class CloudHsmResourceNotFoundException extends __BaseException {
|
|
61
|
-
name = "CloudHsmResourceNotFoundException";
|
|
62
|
-
$fault = "client";
|
|
63
|
-
Message;
|
|
64
|
-
constructor(opts) {
|
|
65
|
-
super({
|
|
66
|
-
name: "CloudHsmResourceNotFoundException",
|
|
67
|
-
$fault: "client",
|
|
68
|
-
...opts,
|
|
69
|
-
});
|
|
70
|
-
Object.setPrototypeOf(this, CloudHsmResourceNotFoundException.prototype);
|
|
71
|
-
this.Message = opts.Message;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class CloudHsmServiceException extends __BaseException {
|
|
75
|
-
name = "CloudHsmServiceException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
Message;
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "CloudHsmServiceException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
|
|
85
|
-
this.Message = opts.Message;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export class CloudHsmTagException extends __BaseException {
|
|
89
|
-
name = "CloudHsmTagException";
|
|
90
|
-
$fault = "client";
|
|
91
|
-
Message;
|
|
92
|
-
constructor(opts) {
|
|
93
|
-
super({
|
|
94
|
-
name: "CloudHsmTagException",
|
|
95
|
-
$fault: "client",
|
|
96
|
-
...opts,
|
|
97
|
-
});
|
|
98
|
-
Object.setPrototypeOf(this, CloudHsmTagException.prototype);
|
|
99
|
-
this.Message = opts.Message;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
export const NetworkType = {
|
|
103
|
-
DUALSTACK: "DUALSTACK",
|
|
104
|
-
IPV4: "IPV4",
|
|
105
|
-
};
|
|
106
|
-
export const HsmState = {
|
|
107
|
-
ACTIVE: "ACTIVE",
|
|
108
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
109
|
-
DEGRADED: "DEGRADED",
|
|
110
|
-
DELETED: "DELETED",
|
|
111
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
112
|
-
};
|
|
113
|
-
export const ClusterState = {
|
|
114
|
-
ACTIVE: "ACTIVE",
|
|
115
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
116
|
-
DEGRADED: "DEGRADED",
|
|
117
|
-
DELETED: "DELETED",
|
|
118
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
119
|
-
INITIALIZED: "INITIALIZED",
|
|
120
|
-
INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS",
|
|
121
|
-
MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS",
|
|
122
|
-
ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
|
|
123
|
-
UNINITIALIZED: "UNINITIALIZED",
|
|
124
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
125
|
-
};
|
|
126
|
-
export class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
127
|
-
name = "CloudHsmResourceLimitExceededException";
|
|
128
|
-
$fault = "client";
|
|
129
|
-
Message;
|
|
130
|
-
constructor(opts) {
|
|
131
|
-
super({
|
|
132
|
-
name: "CloudHsmResourceLimitExceededException",
|
|
133
|
-
$fault: "client",
|
|
134
|
-
...opts,
|
|
135
|
-
});
|
|
136
|
-
Object.setPrototypeOf(this, CloudHsmResourceLimitExceededException.prototype);
|
|
137
|
-
this.Message = opts.Message;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
1
|
+
export {};
|
|
@@ -129,7 +129,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsmv2";
|
|
|
129
129
|
const n0 = "com.amazonaws.cloudhsmv2";
|
|
130
130
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
131
131
|
import { CloudHSMV2ServiceException as __CloudHSMV2ServiceException } from "../models/CloudHSMV2ServiceException";
|
|
132
|
-
import { CloudHsmAccessDeniedException as __CloudHsmAccessDeniedException, CloudHsmInternalFailureException as __CloudHsmInternalFailureException, CloudHsmInvalidRequestException as __CloudHsmInvalidRequestException, CloudHsmResourceLimitExceededException as __CloudHsmResourceLimitExceededException, CloudHsmResourceNotFoundException as __CloudHsmResourceNotFoundException, CloudHsmServiceException as __CloudHsmServiceException, CloudHsmTagException as __CloudHsmTagException, } from "../models/
|
|
132
|
+
import { CloudHsmAccessDeniedException as __CloudHsmAccessDeniedException, CloudHsmInternalFailureException as __CloudHsmInternalFailureException, CloudHsmInvalidRequestException as __CloudHsmInvalidRequestException, CloudHsmResourceLimitExceededException as __CloudHsmResourceLimitExceededException, CloudHsmResourceNotFoundException as __CloudHsmResourceNotFoundException, CloudHsmServiceException as __CloudHsmServiceException, CloudHsmTagException as __CloudHsmTagException, } from "../models/errors";
|
|
133
133
|
export var Backup = [
|
|
134
134
|
3,
|
|
135
135
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
11
11
|
export type { CloudHSMV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { CloudHSMV2ServiceException } from "./models/CloudHSMV2ServiceException";
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const BackupState: {
|
|
6
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
7
|
+
readonly DELETED: "DELETED";
|
|
8
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
9
|
+
readonly READY: "READY";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type BackupState = (typeof BackupState)[keyof typeof BackupState];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const ClusterMode: {
|
|
20
|
+
readonly FIPS: "FIPS";
|
|
21
|
+
readonly NON_FIPS: "NON_FIPS";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ClusterMode = (typeof ClusterMode)[keyof typeof ClusterMode];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const BackupPolicy: {
|
|
32
|
+
readonly DEFAULT: "DEFAULT";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type BackupPolicy = (typeof BackupPolicy)[keyof typeof BackupPolicy];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const BackupRetentionType: {
|
|
43
|
+
readonly DAYS: "DAYS";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type BackupRetentionType = (typeof BackupRetentionType)[keyof typeof BackupRetentionType];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const NetworkType: {
|
|
54
|
+
readonly DUALSTACK: "DUALSTACK";
|
|
55
|
+
readonly IPV4: "IPV4";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @enum
|
|
64
|
+
*/
|
|
65
|
+
export declare const HsmState: {
|
|
66
|
+
readonly ACTIVE: "ACTIVE";
|
|
67
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
68
|
+
readonly DEGRADED: "DEGRADED";
|
|
69
|
+
readonly DELETED: "DELETED";
|
|
70
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export type HsmState = (typeof HsmState)[keyof typeof HsmState];
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @enum
|
|
79
|
+
*/
|
|
80
|
+
export declare const ClusterState: {
|
|
81
|
+
readonly ACTIVE: "ACTIVE";
|
|
82
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
83
|
+
readonly DEGRADED: "DEGRADED";
|
|
84
|
+
readonly DELETED: "DELETED";
|
|
85
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
86
|
+
readonly INITIALIZED: "INITIALIZED";
|
|
87
|
+
readonly INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS";
|
|
88
|
+
readonly MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS";
|
|
89
|
+
readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
|
|
90
|
+
readonly UNINITIALIZED: "UNINITIALIZED";
|
|
91
|
+
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CloudHSMV2ServiceException as __BaseException } from "./CloudHSMV2ServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The request was rejected because the requester does not have permission to perform the
|
|
5
|
+
* requested operation.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "CloudHsmAccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<CloudHsmAccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The request was rejected because of an CloudHSM internal failure. The request can
|
|
19
|
+
* be retried.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
23
|
+
readonly name: "CloudHsmInternalFailureException";
|
|
24
|
+
readonly $fault: "server";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
constructor(opts: __ExceptionOptionType<CloudHsmInternalFailureException, __BaseException>);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* <p>The request was rejected because it is not a valid request.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
36
|
+
readonly name: "CloudHsmInvalidRequestException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
constructor(opts: __ExceptionOptionType<CloudHsmInvalidRequestException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* <p>The request was rejected because it refers to a resource that cannot be
|
|
46
|
+
* found.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
50
|
+
readonly name: "CloudHsmResourceNotFoundException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
Message?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
constructor(opts: __ExceptionOptionType<CloudHsmResourceNotFoundException, __BaseException>);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* <p>The request was rejected because an error occurred.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class CloudHsmServiceException extends __BaseException {
|
|
63
|
+
readonly name: "CloudHsmServiceException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
Message?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
constructor(opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class CloudHsmTagException extends __BaseException {
|
|
76
|
+
readonly name: "CloudHsmTagException";
|
|
77
|
+
readonly $fault: "client";
|
|
78
|
+
Message?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
constructor(opts: __ExceptionOptionType<CloudHsmTagException, __BaseException>);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>The request was rejected because it exceeds an CloudHSM limit.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
89
|
+
readonly name: "CloudHsmResourceLimitExceededException";
|
|
90
|
+
readonly $fault: "client";
|
|
91
|
+
Message?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
constructor(opts: __ExceptionOptionType<CloudHsmResourceLimitExceededException, __BaseException>);
|
|
96
|
+
}
|
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CloudHSMV2ServiceException as __BaseException } from "./CloudHSMV2ServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const BackupState: {
|
|
8
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
9
|
-
readonly DELETED: "DELETED";
|
|
10
|
-
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
11
|
-
readonly READY: "READY";
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type BackupState = (typeof BackupState)[keyof typeof BackupState];
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
* @enum
|
|
20
|
-
*/
|
|
21
|
-
export declare const ClusterMode: {
|
|
22
|
-
readonly FIPS: "FIPS";
|
|
23
|
-
readonly NON_FIPS: "NON_FIPS";
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
export type ClusterMode = (typeof ClusterMode)[keyof typeof ClusterMode];
|
|
1
|
+
import { BackupPolicy, BackupRetentionType, BackupState, ClusterMode, ClusterState, HsmState, NetworkType } from "./enums";
|
|
29
2
|
/**
|
|
30
3
|
* <p>Contains a tag. A tag is a key-value pair.</p>
|
|
31
4
|
* @public
|
|
@@ -127,28 +100,6 @@ export interface Backup {
|
|
|
127
100
|
*/
|
|
128
101
|
Mode?: ClusterMode | undefined;
|
|
129
102
|
}
|
|
130
|
-
/**
|
|
131
|
-
* @public
|
|
132
|
-
* @enum
|
|
133
|
-
*/
|
|
134
|
-
export declare const BackupPolicy: {
|
|
135
|
-
readonly DEFAULT: "DEFAULT";
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
export type BackupPolicy = (typeof BackupPolicy)[keyof typeof BackupPolicy];
|
|
141
|
-
/**
|
|
142
|
-
* @public
|
|
143
|
-
* @enum
|
|
144
|
-
*/
|
|
145
|
-
export declare const BackupRetentionType: {
|
|
146
|
-
readonly DAYS: "DAYS";
|
|
147
|
-
};
|
|
148
|
-
/**
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
export type BackupRetentionType = (typeof BackupRetentionType)[keyof typeof BackupRetentionType];
|
|
152
103
|
/**
|
|
153
104
|
* <p>A policy that defines the number of days to retain backups.</p>
|
|
154
105
|
* @public
|
|
@@ -166,87 +117,6 @@ export interface BackupRetentionPolicy {
|
|
|
166
117
|
*/
|
|
167
118
|
Value?: string | undefined;
|
|
168
119
|
}
|
|
169
|
-
/**
|
|
170
|
-
* <p>The request was rejected because the requester does not have permission to perform the
|
|
171
|
-
* requested operation.</p>
|
|
172
|
-
* @public
|
|
173
|
-
*/
|
|
174
|
-
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
175
|
-
readonly name: "CloudHsmAccessDeniedException";
|
|
176
|
-
readonly $fault: "client";
|
|
177
|
-
Message?: string | undefined;
|
|
178
|
-
/**
|
|
179
|
-
* @internal
|
|
180
|
-
*/
|
|
181
|
-
constructor(opts: __ExceptionOptionType<CloudHsmAccessDeniedException, __BaseException>);
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* <p>The request was rejected because of an CloudHSM internal failure. The request can
|
|
185
|
-
* be retried.</p>
|
|
186
|
-
* @public
|
|
187
|
-
*/
|
|
188
|
-
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
189
|
-
readonly name: "CloudHsmInternalFailureException";
|
|
190
|
-
readonly $fault: "server";
|
|
191
|
-
Message?: string | undefined;
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
constructor(opts: __ExceptionOptionType<CloudHsmInternalFailureException, __BaseException>);
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* <p>The request was rejected because it is not a valid request.</p>
|
|
199
|
-
* @public
|
|
200
|
-
*/
|
|
201
|
-
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
202
|
-
readonly name: "CloudHsmInvalidRequestException";
|
|
203
|
-
readonly $fault: "client";
|
|
204
|
-
Message?: string | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* @internal
|
|
207
|
-
*/
|
|
208
|
-
constructor(opts: __ExceptionOptionType<CloudHsmInvalidRequestException, __BaseException>);
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* <p>The request was rejected because it refers to a resource that cannot be
|
|
212
|
-
* found.</p>
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
216
|
-
readonly name: "CloudHsmResourceNotFoundException";
|
|
217
|
-
readonly $fault: "client";
|
|
218
|
-
Message?: string | undefined;
|
|
219
|
-
/**
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
constructor(opts: __ExceptionOptionType<CloudHsmResourceNotFoundException, __BaseException>);
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* <p>The request was rejected because an error occurred.</p>
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
export declare class CloudHsmServiceException extends __BaseException {
|
|
229
|
-
readonly name: "CloudHsmServiceException";
|
|
230
|
-
readonly $fault: "client";
|
|
231
|
-
Message?: string | undefined;
|
|
232
|
-
/**
|
|
233
|
-
* @internal
|
|
234
|
-
*/
|
|
235
|
-
constructor(opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>);
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* <p>The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.</p>
|
|
239
|
-
* @public
|
|
240
|
-
*/
|
|
241
|
-
export declare class CloudHsmTagException extends __BaseException {
|
|
242
|
-
readonly name: "CloudHsmTagException";
|
|
243
|
-
readonly $fault: "client";
|
|
244
|
-
Message?: string | undefined;
|
|
245
|
-
/**
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
constructor(opts: __ExceptionOptionType<CloudHsmTagException, __BaseException>);
|
|
249
|
-
}
|
|
250
120
|
/**
|
|
251
121
|
* @public
|
|
252
122
|
*/
|
|
@@ -308,18 +178,6 @@ export interface CopyBackupToRegionResponse {
|
|
|
308
178
|
*/
|
|
309
179
|
DestinationBackup?: DestinationBackup | undefined;
|
|
310
180
|
}
|
|
311
|
-
/**
|
|
312
|
-
* @public
|
|
313
|
-
* @enum
|
|
314
|
-
*/
|
|
315
|
-
export declare const NetworkType: {
|
|
316
|
-
readonly DUALSTACK: "DUALSTACK";
|
|
317
|
-
readonly IPV4: "IPV4";
|
|
318
|
-
};
|
|
319
|
-
/**
|
|
320
|
-
* @public
|
|
321
|
-
*/
|
|
322
|
-
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
323
181
|
/**
|
|
324
182
|
* @public
|
|
325
183
|
*/
|
|
@@ -409,21 +267,6 @@ export interface Certificates {
|
|
|
409
267
|
*/
|
|
410
268
|
ClusterCertificate?: string | undefined;
|
|
411
269
|
}
|
|
412
|
-
/**
|
|
413
|
-
* @public
|
|
414
|
-
* @enum
|
|
415
|
-
*/
|
|
416
|
-
export declare const HsmState: {
|
|
417
|
-
readonly ACTIVE: "ACTIVE";
|
|
418
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
419
|
-
readonly DEGRADED: "DEGRADED";
|
|
420
|
-
readonly DELETED: "DELETED";
|
|
421
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
422
|
-
};
|
|
423
|
-
/**
|
|
424
|
-
* @public
|
|
425
|
-
*/
|
|
426
|
-
export type HsmState = (typeof HsmState)[keyof typeof HsmState];
|
|
427
270
|
/**
|
|
428
271
|
* <p>Contains information about a hardware security module (HSM) in an CloudHSM
|
|
429
272
|
* cluster.</p>
|
|
@@ -481,27 +324,6 @@ export interface Hsm {
|
|
|
481
324
|
*/
|
|
482
325
|
StateMessage?: string | undefined;
|
|
483
326
|
}
|
|
484
|
-
/**
|
|
485
|
-
* @public
|
|
486
|
-
* @enum
|
|
487
|
-
*/
|
|
488
|
-
export declare const ClusterState: {
|
|
489
|
-
readonly ACTIVE: "ACTIVE";
|
|
490
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
491
|
-
readonly DEGRADED: "DEGRADED";
|
|
492
|
-
readonly DELETED: "DELETED";
|
|
493
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
494
|
-
readonly INITIALIZED: "INITIALIZED";
|
|
495
|
-
readonly INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS";
|
|
496
|
-
readonly MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS";
|
|
497
|
-
readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
|
|
498
|
-
readonly UNINITIALIZED: "UNINITIALIZED";
|
|
499
|
-
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
500
|
-
};
|
|
501
|
-
/**
|
|
502
|
-
* @public
|
|
503
|
-
*/
|
|
504
|
-
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
505
327
|
/**
|
|
506
328
|
* <p>Contains information about an CloudHSM cluster.</p>
|
|
507
329
|
* @public
|
|
@@ -1077,19 +899,6 @@ export interface RestoreBackupResponse {
|
|
|
1077
899
|
*/
|
|
1078
900
|
Backup?: Backup | undefined;
|
|
1079
901
|
}
|
|
1080
|
-
/**
|
|
1081
|
-
* <p>The request was rejected because it exceeds an CloudHSM limit.</p>
|
|
1082
|
-
* @public
|
|
1083
|
-
*/
|
|
1084
|
-
export declare class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
1085
|
-
readonly name: "CloudHsmResourceLimitExceededException";
|
|
1086
|
-
readonly $fault: "client";
|
|
1087
|
-
Message?: string | undefined;
|
|
1088
|
-
/**
|
|
1089
|
-
* @internal
|
|
1090
|
-
*/
|
|
1091
|
-
constructor(opts: __ExceptionOptionType<CloudHsmResourceLimitExceededException, __BaseException>);
|
|
1092
|
-
}
|
|
1093
902
|
/**
|
|
1094
903
|
* @public
|
|
1095
904
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { CloudHSMV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { CloudHSMV2ServiceException } from "./models/CloudHSMV2ServiceException";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const BackupState: {
|
|
2
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
3
|
+
readonly DELETED: "DELETED";
|
|
4
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
5
|
+
readonly READY: "READY";
|
|
6
|
+
};
|
|
7
|
+
export type BackupState = (typeof BackupState)[keyof typeof BackupState];
|
|
8
|
+
export declare const ClusterMode: {
|
|
9
|
+
readonly FIPS: "FIPS";
|
|
10
|
+
readonly NON_FIPS: "NON_FIPS";
|
|
11
|
+
};
|
|
12
|
+
export type ClusterMode = (typeof ClusterMode)[keyof typeof ClusterMode];
|
|
13
|
+
export declare const BackupPolicy: {
|
|
14
|
+
readonly DEFAULT: "DEFAULT";
|
|
15
|
+
};
|
|
16
|
+
export type BackupPolicy = (typeof BackupPolicy)[keyof typeof BackupPolicy];
|
|
17
|
+
export declare const BackupRetentionType: {
|
|
18
|
+
readonly DAYS: "DAYS";
|
|
19
|
+
};
|
|
20
|
+
export type BackupRetentionType =
|
|
21
|
+
(typeof BackupRetentionType)[keyof typeof BackupRetentionType];
|
|
22
|
+
export declare const NetworkType: {
|
|
23
|
+
readonly DUALSTACK: "DUALSTACK";
|
|
24
|
+
readonly IPV4: "IPV4";
|
|
25
|
+
};
|
|
26
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
27
|
+
export declare const HsmState: {
|
|
28
|
+
readonly ACTIVE: "ACTIVE";
|
|
29
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
30
|
+
readonly DEGRADED: "DEGRADED";
|
|
31
|
+
readonly DELETED: "DELETED";
|
|
32
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
33
|
+
};
|
|
34
|
+
export type HsmState = (typeof HsmState)[keyof typeof HsmState];
|
|
35
|
+
export declare const ClusterState: {
|
|
36
|
+
readonly ACTIVE: "ACTIVE";
|
|
37
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
38
|
+
readonly DEGRADED: "DEGRADED";
|
|
39
|
+
readonly DELETED: "DELETED";
|
|
40
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
41
|
+
readonly INITIALIZED: "INITIALIZED";
|
|
42
|
+
readonly INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS";
|
|
43
|
+
readonly MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS";
|
|
44
|
+
readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
|
|
45
|
+
readonly UNINITIALIZED: "UNINITIALIZED";
|
|
46
|
+
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
47
|
+
};
|
|
48
|
+
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CloudHSMV2ServiceException as __BaseException } from "./CloudHSMV2ServiceException";
|
|
3
|
+
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "CloudHsmAccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<CloudHsmAccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
12
|
+
readonly name: "CloudHsmInternalFailureException";
|
|
13
|
+
readonly $fault: "server";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<
|
|
17
|
+
CloudHsmInternalFailureException,
|
|
18
|
+
__BaseException
|
|
19
|
+
>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
23
|
+
readonly name: "CloudHsmInvalidRequestException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Message?: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<
|
|
28
|
+
CloudHsmInvalidRequestException,
|
|
29
|
+
__BaseException
|
|
30
|
+
>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
34
|
+
readonly name: "CloudHsmResourceNotFoundException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message?: string | undefined;
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<
|
|
39
|
+
CloudHsmResourceNotFoundException,
|
|
40
|
+
__BaseException
|
|
41
|
+
>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class CloudHsmServiceException extends __BaseException {
|
|
45
|
+
readonly name: "CloudHsmServiceException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
Message?: string | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class CloudHsmTagException extends __BaseException {
|
|
53
|
+
readonly name: "CloudHsmTagException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
Message?: string | undefined;
|
|
56
|
+
constructor(
|
|
57
|
+
opts: __ExceptionOptionType<CloudHsmTagException, __BaseException>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export declare class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
61
|
+
readonly name: "CloudHsmResourceLimitExceededException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
Message?: string | undefined;
|
|
64
|
+
constructor(
|
|
65
|
+
opts: __ExceptionOptionType<
|
|
66
|
+
CloudHsmResourceLimitExceededException,
|
|
67
|
+
__BaseException
|
|
68
|
+
>
|
|
69
|
+
);
|
|
70
|
+
}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const ClusterMode: {
|
|
11
|
-
readonly FIPS: "FIPS";
|
|
12
|
-
readonly NON_FIPS: "NON_FIPS";
|
|
13
|
-
};
|
|
14
|
-
export type ClusterMode = (typeof ClusterMode)[keyof typeof ClusterMode];
|
|
1
|
+
import {
|
|
2
|
+
BackupPolicy,
|
|
3
|
+
BackupRetentionType,
|
|
4
|
+
BackupState,
|
|
5
|
+
ClusterMode,
|
|
6
|
+
ClusterState,
|
|
7
|
+
HsmState,
|
|
8
|
+
NetworkType,
|
|
9
|
+
} from "./enums";
|
|
15
10
|
export interface Tag {
|
|
16
11
|
Key: string | undefined;
|
|
17
12
|
Value: string | undefined;
|
|
@@ -32,76 +27,10 @@ export interface Backup {
|
|
|
32
27
|
HsmType?: string | undefined;
|
|
33
28
|
Mode?: ClusterMode | undefined;
|
|
34
29
|
}
|
|
35
|
-
export declare const BackupPolicy: {
|
|
36
|
-
readonly DEFAULT: "DEFAULT";
|
|
37
|
-
};
|
|
38
|
-
export type BackupPolicy = (typeof BackupPolicy)[keyof typeof BackupPolicy];
|
|
39
|
-
export declare const BackupRetentionType: {
|
|
40
|
-
readonly DAYS: "DAYS";
|
|
41
|
-
};
|
|
42
|
-
export type BackupRetentionType =
|
|
43
|
-
(typeof BackupRetentionType)[keyof typeof BackupRetentionType];
|
|
44
30
|
export interface BackupRetentionPolicy {
|
|
45
31
|
Type?: BackupRetentionType | undefined;
|
|
46
32
|
Value?: string | undefined;
|
|
47
33
|
}
|
|
48
|
-
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
49
|
-
readonly name: "CloudHsmAccessDeniedException";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
Message?: string | undefined;
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<CloudHsmAccessDeniedException, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
57
|
-
readonly name: "CloudHsmInternalFailureException";
|
|
58
|
-
readonly $fault: "server";
|
|
59
|
-
Message?: string | undefined;
|
|
60
|
-
constructor(
|
|
61
|
-
opts: __ExceptionOptionType<
|
|
62
|
-
CloudHsmInternalFailureException,
|
|
63
|
-
__BaseException
|
|
64
|
-
>
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
68
|
-
readonly name: "CloudHsmInvalidRequestException";
|
|
69
|
-
readonly $fault: "client";
|
|
70
|
-
Message?: string | undefined;
|
|
71
|
-
constructor(
|
|
72
|
-
opts: __ExceptionOptionType<
|
|
73
|
-
CloudHsmInvalidRequestException,
|
|
74
|
-
__BaseException
|
|
75
|
-
>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
79
|
-
readonly name: "CloudHsmResourceNotFoundException";
|
|
80
|
-
readonly $fault: "client";
|
|
81
|
-
Message?: string | undefined;
|
|
82
|
-
constructor(
|
|
83
|
-
opts: __ExceptionOptionType<
|
|
84
|
-
CloudHsmResourceNotFoundException,
|
|
85
|
-
__BaseException
|
|
86
|
-
>
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
export declare class CloudHsmServiceException extends __BaseException {
|
|
90
|
-
readonly name: "CloudHsmServiceException";
|
|
91
|
-
readonly $fault: "client";
|
|
92
|
-
Message?: string | undefined;
|
|
93
|
-
constructor(
|
|
94
|
-
opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
export declare class CloudHsmTagException extends __BaseException {
|
|
98
|
-
readonly name: "CloudHsmTagException";
|
|
99
|
-
readonly $fault: "client";
|
|
100
|
-
Message?: string | undefined;
|
|
101
|
-
constructor(
|
|
102
|
-
opts: __ExceptionOptionType<CloudHsmTagException, __BaseException>
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
34
|
export interface CopyBackupToRegionRequest {
|
|
106
35
|
DestinationRegion: string | undefined;
|
|
107
36
|
BackupId: string | undefined;
|
|
@@ -116,11 +45,6 @@ export interface DestinationBackup {
|
|
|
116
45
|
export interface CopyBackupToRegionResponse {
|
|
117
46
|
DestinationBackup?: DestinationBackup | undefined;
|
|
118
47
|
}
|
|
119
|
-
export declare const NetworkType: {
|
|
120
|
-
readonly DUALSTACK: "DUALSTACK";
|
|
121
|
-
readonly IPV4: "IPV4";
|
|
122
|
-
};
|
|
123
|
-
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
124
48
|
export interface CreateClusterRequest {
|
|
125
49
|
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
126
50
|
HsmType: string | undefined;
|
|
@@ -137,14 +61,6 @@ export interface Certificates {
|
|
|
137
61
|
ManufacturerHardwareCertificate?: string | undefined;
|
|
138
62
|
ClusterCertificate?: string | undefined;
|
|
139
63
|
}
|
|
140
|
-
export declare const HsmState: {
|
|
141
|
-
readonly ACTIVE: "ACTIVE";
|
|
142
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
143
|
-
readonly DEGRADED: "DEGRADED";
|
|
144
|
-
readonly DELETED: "DELETED";
|
|
145
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
146
|
-
};
|
|
147
|
-
export type HsmState = (typeof HsmState)[keyof typeof HsmState];
|
|
148
64
|
export interface Hsm {
|
|
149
65
|
AvailabilityZone?: string | undefined;
|
|
150
66
|
ClusterId?: string | undefined;
|
|
@@ -157,20 +73,6 @@ export interface Hsm {
|
|
|
157
73
|
State?: HsmState | undefined;
|
|
158
74
|
StateMessage?: string | undefined;
|
|
159
75
|
}
|
|
160
|
-
export declare const ClusterState: {
|
|
161
|
-
readonly ACTIVE: "ACTIVE";
|
|
162
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
163
|
-
readonly DEGRADED: "DEGRADED";
|
|
164
|
-
readonly DELETED: "DELETED";
|
|
165
|
-
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
166
|
-
readonly INITIALIZED: "INITIALIZED";
|
|
167
|
-
readonly INITIALIZE_IN_PROGRESS: "INITIALIZE_IN_PROGRESS";
|
|
168
|
-
readonly MODIFY_IN_PROGRESS: "MODIFY_IN_PROGRESS";
|
|
169
|
-
readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
|
|
170
|
-
readonly UNINITIALIZED: "UNINITIALIZED";
|
|
171
|
-
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
172
|
-
};
|
|
173
|
-
export type ClusterState = (typeof ClusterState)[keyof typeof ClusterState];
|
|
174
76
|
export interface Cluster {
|
|
175
77
|
BackupPolicy?: BackupPolicy | undefined;
|
|
176
78
|
BackupRetentionPolicy?: BackupRetentionPolicy | undefined;
|
|
@@ -303,17 +205,6 @@ export interface RestoreBackupRequest {
|
|
|
303
205
|
export interface RestoreBackupResponse {
|
|
304
206
|
Backup?: Backup | undefined;
|
|
305
207
|
}
|
|
306
|
-
export declare class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
307
|
-
readonly name: "CloudHsmResourceLimitExceededException";
|
|
308
|
-
readonly $fault: "client";
|
|
309
|
-
Message?: string | undefined;
|
|
310
|
-
constructor(
|
|
311
|
-
opts: __ExceptionOptionType<
|
|
312
|
-
CloudHsmResourceLimitExceededException,
|
|
313
|
-
__BaseException
|
|
314
|
-
>
|
|
315
|
-
);
|
|
316
|
-
}
|
|
317
208
|
export interface TagResourceRequest {
|
|
318
209
|
ResourceId: string | undefined;
|
|
319
210
|
TagList: Tag[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudhsm-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudhsm-v2",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|