@aws-sdk/client-cloudhsm 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 +22 -21
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +21 -0
- package/dist-es/models/errors.js +43 -0
- package/dist-es/models/models_0.js +1 -64
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +53 -0
- package/dist-types/models/errors.d.ts +53 -0
- package/dist-types/models/models_0.d.ts +1 -106
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/errors.d.ts +26 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -53
- 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
|
@@ -159,27 +159,6 @@ let InvalidRequestException$1 = class InvalidRequestException extends CloudHSMSe
|
|
|
159
159
|
this.retryable = opts.retryable;
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
|
-
const ClientVersion = {
|
|
163
|
-
FIVE_ONE: "5.1",
|
|
164
|
-
FIVE_THREE: "5.3",
|
|
165
|
-
};
|
|
166
|
-
const SubscriptionType = {
|
|
167
|
-
PRODUCTION: "PRODUCTION",
|
|
168
|
-
};
|
|
169
|
-
const CloudHsmObjectState = {
|
|
170
|
-
DEGRADED: "DEGRADED",
|
|
171
|
-
READY: "READY",
|
|
172
|
-
UPDATING: "UPDATING",
|
|
173
|
-
};
|
|
174
|
-
const HsmStatus = {
|
|
175
|
-
DEGRADED: "DEGRADED",
|
|
176
|
-
PENDING: "PENDING",
|
|
177
|
-
RUNNING: "RUNNING",
|
|
178
|
-
SUSPENDED: "SUSPENDED",
|
|
179
|
-
TERMINATED: "TERMINATED",
|
|
180
|
-
TERMINATING: "TERMINATING",
|
|
181
|
-
UPDATING: "UPDATING",
|
|
182
|
-
};
|
|
183
162
|
|
|
184
163
|
const _ATTR = "AddTagsToResource";
|
|
185
164
|
const _ATTRR = "AddTagsToResourceRequest";
|
|
@@ -880,6 +859,28 @@ class CloudHSM extends CloudHSMClient {
|
|
|
880
859
|
}
|
|
881
860
|
smithyClient.createAggregatedClient(commands, CloudHSM);
|
|
882
861
|
|
|
862
|
+
const ClientVersion = {
|
|
863
|
+
FIVE_ONE: "5.1",
|
|
864
|
+
FIVE_THREE: "5.3",
|
|
865
|
+
};
|
|
866
|
+
const SubscriptionType = {
|
|
867
|
+
PRODUCTION: "PRODUCTION",
|
|
868
|
+
};
|
|
869
|
+
const CloudHsmObjectState = {
|
|
870
|
+
DEGRADED: "DEGRADED",
|
|
871
|
+
READY: "READY",
|
|
872
|
+
UPDATING: "UPDATING",
|
|
873
|
+
};
|
|
874
|
+
const HsmStatus = {
|
|
875
|
+
DEGRADED: "DEGRADED",
|
|
876
|
+
PENDING: "PENDING",
|
|
877
|
+
RUNNING: "RUNNING",
|
|
878
|
+
SUSPENDED: "SUSPENDED",
|
|
879
|
+
TERMINATED: "TERMINATED",
|
|
880
|
+
TERMINATING: "TERMINATING",
|
|
881
|
+
UPDATING: "UPDATING",
|
|
882
|
+
};
|
|
883
|
+
|
|
883
884
|
Object.defineProperty(exports, "$Command", {
|
|
884
885
|
enumerable: true,
|
|
885
886
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./CloudHSMClient";
|
|
2
2
|
export * from "./CloudHSM";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/enums";
|
|
5
|
+
export * from "./models/errors";
|
|
5
6
|
export { CloudHSMServiceException } from "./models/CloudHSMServiceException";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const ClientVersion = {
|
|
2
|
+
FIVE_ONE: "5.1",
|
|
3
|
+
FIVE_THREE: "5.3",
|
|
4
|
+
};
|
|
5
|
+
export const SubscriptionType = {
|
|
6
|
+
PRODUCTION: "PRODUCTION",
|
|
7
|
+
};
|
|
8
|
+
export const CloudHsmObjectState = {
|
|
9
|
+
DEGRADED: "DEGRADED",
|
|
10
|
+
READY: "READY",
|
|
11
|
+
UPDATING: "UPDATING",
|
|
12
|
+
};
|
|
13
|
+
export const HsmStatus = {
|
|
14
|
+
DEGRADED: "DEGRADED",
|
|
15
|
+
PENDING: "PENDING",
|
|
16
|
+
RUNNING: "RUNNING",
|
|
17
|
+
SUSPENDED: "SUSPENDED",
|
|
18
|
+
TERMINATED: "TERMINATED",
|
|
19
|
+
TERMINATING: "TERMINATING",
|
|
20
|
+
UPDATING: "UPDATING",
|
|
21
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
|
|
2
|
+
export class CloudHsmInternalException extends __BaseException {
|
|
3
|
+
name = "CloudHsmInternalException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
retryable;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "CloudHsmInternalException",
|
|
9
|
+
$fault: "server",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, CloudHsmInternalException.prototype);
|
|
13
|
+
this.retryable = opts.retryable;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class CloudHsmServiceException extends __BaseException {
|
|
17
|
+
name = "CloudHsmServiceException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
retryable;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "CloudHsmServiceException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
|
|
27
|
+
this.retryable = opts.retryable;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InvalidRequestException extends __BaseException {
|
|
31
|
+
name = "InvalidRequestException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
retryable;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InvalidRequestException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
41
|
+
this.retryable = opts.retryable;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,64 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class CloudHsmInternalException extends __BaseException {
|
|
3
|
-
name = "CloudHsmInternalException";
|
|
4
|
-
$fault = "server";
|
|
5
|
-
retryable;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "CloudHsmInternalException",
|
|
9
|
-
$fault: "server",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, CloudHsmInternalException.prototype);
|
|
13
|
-
this.retryable = opts.retryable;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class CloudHsmServiceException extends __BaseException {
|
|
17
|
-
name = "CloudHsmServiceException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
retryable;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "CloudHsmServiceException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
|
|
27
|
-
this.retryable = opts.retryable;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InvalidRequestException extends __BaseException {
|
|
31
|
-
name = "InvalidRequestException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
retryable;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "InvalidRequestException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
41
|
-
this.retryable = opts.retryable;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export const ClientVersion = {
|
|
45
|
-
FIVE_ONE: "5.1",
|
|
46
|
-
FIVE_THREE: "5.3",
|
|
47
|
-
};
|
|
48
|
-
export const SubscriptionType = {
|
|
49
|
-
PRODUCTION: "PRODUCTION",
|
|
50
|
-
};
|
|
51
|
-
export const CloudHsmObjectState = {
|
|
52
|
-
DEGRADED: "DEGRADED",
|
|
53
|
-
READY: "READY",
|
|
54
|
-
UPDATING: "UPDATING",
|
|
55
|
-
};
|
|
56
|
-
export const HsmStatus = {
|
|
57
|
-
DEGRADED: "DEGRADED",
|
|
58
|
-
PENDING: "PENDING",
|
|
59
|
-
RUNNING: "RUNNING",
|
|
60
|
-
SUSPENDED: "SUSPENDED",
|
|
61
|
-
TERMINATED: "TERMINATED",
|
|
62
|
-
TERMINATING: "TERMINATING",
|
|
63
|
-
UPDATING: "UPDATING",
|
|
64
|
-
};
|
|
1
|
+
export {};
|
|
@@ -124,7 +124,7 @@ const _xN = "xmlName";
|
|
|
124
124
|
const n0 = "com.amazonaws.cloudhsm";
|
|
125
125
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
126
126
|
import { CloudHSMServiceException as __CloudHSMServiceException } from "../models/CloudHSMServiceException";
|
|
127
|
-
import { CloudHsmInternalException as __CloudHsmInternalException, CloudHsmServiceException as __CloudHsmServiceException, InvalidRequestException as __InvalidRequestException, } from "../models/
|
|
127
|
+
import { CloudHsmInternalException as __CloudHsmInternalException, CloudHsmServiceException as __CloudHsmServiceException, InvalidRequestException as __InvalidRequestException, } from "../models/errors";
|
|
128
128
|
export var AddTagsToResourceRequest = [3, n0, _ATTRR, 0, [_RA, _TL], [0, () => TagList]];
|
|
129
129
|
export var AddTagsToResourceResponse = [3, n0, _ATTRRd, 0, [_S], [0]];
|
|
130
130
|
export var CloudHsmInternalException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -19,5 +19,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
19
19
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
20
20
|
export type { CloudHSMExtensionConfiguration } from "./extensionConfiguration";
|
|
21
21
|
export * from "./commands";
|
|
22
|
-
export * from "./models";
|
|
22
|
+
export * from "./models/enums";
|
|
23
|
+
export * from "./models/errors";
|
|
24
|
+
export type * from "./models/models_0";
|
|
23
25
|
export { CloudHSMServiceException } from "./models/CloudHSMServiceException";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ClientVersion: {
|
|
6
|
+
readonly FIVE_ONE: "5.1";
|
|
7
|
+
readonly FIVE_THREE: "5.3";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type ClientVersion = (typeof ClientVersion)[keyof typeof ClientVersion];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const SubscriptionType: {
|
|
18
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type SubscriptionType = (typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const CloudHsmObjectState: {
|
|
29
|
+
readonly DEGRADED: "DEGRADED";
|
|
30
|
+
readonly READY: "READY";
|
|
31
|
+
readonly UPDATING: "UPDATING";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type CloudHsmObjectState = (typeof CloudHsmObjectState)[keyof typeof CloudHsmObjectState];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const HsmStatus: {
|
|
42
|
+
readonly DEGRADED: "DEGRADED";
|
|
43
|
+
readonly PENDING: "PENDING";
|
|
44
|
+
readonly RUNNING: "RUNNING";
|
|
45
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
46
|
+
readonly TERMINATED: "TERMINATED";
|
|
47
|
+
readonly TERMINATING: "TERMINATING";
|
|
48
|
+
readonly UPDATING: "UPDATING";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type HsmStatus = (typeof HsmStatus)[keyof typeof HsmStatus];
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Indicates that an internal error occurred.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class CloudHsmInternalException extends __BaseException {
|
|
8
|
+
readonly name: "CloudHsmInternalException";
|
|
9
|
+
readonly $fault: "server";
|
|
10
|
+
/**
|
|
11
|
+
* <p>Indicates if the action can be retried.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
retryable?: boolean | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
constructor(opts: __ExceptionOptionType<CloudHsmInternalException, __BaseException>);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p>Indicates that an exception occurred in the AWS CloudHSM service.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare class CloudHsmServiceException extends __BaseException {
|
|
25
|
+
readonly name: "CloudHsmServiceException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
/**
|
|
28
|
+
* <p>Indicates if the action can be retried.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
retryable?: boolean | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
constructor(opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* <p>Indicates that one or more of the request parameters are not valid.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
42
|
+
readonly name: "InvalidRequestException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
/**
|
|
45
|
+
* <p>Indicates if the action can be retried.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
retryable?: boolean | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
53
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
|
|
1
|
+
import { ClientVersion, CloudHsmObjectState, HsmStatus, SubscriptionType } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>A key-value pair that identifies or specifies metadata about an AWS CloudHSM
|
|
5
4
|
* resource.</p>
|
|
@@ -42,69 +41,6 @@ export interface AddTagsToResourceResponse {
|
|
|
42
41
|
*/
|
|
43
42
|
Status: string | undefined;
|
|
44
43
|
}
|
|
45
|
-
/**
|
|
46
|
-
* <p>Indicates that an internal error occurred.</p>
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
export declare class CloudHsmInternalException extends __BaseException {
|
|
50
|
-
readonly name: "CloudHsmInternalException";
|
|
51
|
-
readonly $fault: "server";
|
|
52
|
-
/**
|
|
53
|
-
* <p>Indicates if the action can be retried.</p>
|
|
54
|
-
* @public
|
|
55
|
-
*/
|
|
56
|
-
retryable?: boolean | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
constructor(opts: __ExceptionOptionType<CloudHsmInternalException, __BaseException>);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* <p>Indicates that an exception occurred in the AWS CloudHSM service.</p>
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
export declare class CloudHsmServiceException extends __BaseException {
|
|
67
|
-
readonly name: "CloudHsmServiceException";
|
|
68
|
-
readonly $fault: "client";
|
|
69
|
-
/**
|
|
70
|
-
* <p>Indicates if the action can be retried.</p>
|
|
71
|
-
* @public
|
|
72
|
-
*/
|
|
73
|
-
retryable?: boolean | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
constructor(opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* <p>Indicates that one or more of the request parameters are not valid.</p>
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
84
|
-
readonly name: "InvalidRequestException";
|
|
85
|
-
readonly $fault: "client";
|
|
86
|
-
/**
|
|
87
|
-
* <p>Indicates if the action can be retried.</p>
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
|
-
retryable?: boolean | undefined;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* @public
|
|
98
|
-
* @enum
|
|
99
|
-
*/
|
|
100
|
-
export declare const ClientVersion: {
|
|
101
|
-
readonly FIVE_ONE: "5.1";
|
|
102
|
-
readonly FIVE_THREE: "5.3";
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* @public
|
|
106
|
-
*/
|
|
107
|
-
export type ClientVersion = (typeof ClientVersion)[keyof typeof ClientVersion];
|
|
108
44
|
/**
|
|
109
45
|
* <p>Contains the inputs for the <a>CreateHapgRequest</a> action.</p>
|
|
110
46
|
* @public
|
|
@@ -127,17 +63,6 @@ export interface CreateHapgResponse {
|
|
|
127
63
|
*/
|
|
128
64
|
HapgArn?: string | undefined;
|
|
129
65
|
}
|
|
130
|
-
/**
|
|
131
|
-
* @public
|
|
132
|
-
* @enum
|
|
133
|
-
*/
|
|
134
|
-
export declare const SubscriptionType: {
|
|
135
|
-
readonly PRODUCTION: "PRODUCTION";
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
export type SubscriptionType = (typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
141
66
|
/**
|
|
142
67
|
* <p>Contains the inputs for the <code>CreateHsm</code> operation.</p>
|
|
143
68
|
* @public
|
|
@@ -315,19 +240,6 @@ export interface DescribeHapgRequest {
|
|
|
315
240
|
*/
|
|
316
241
|
HapgArn: string | undefined;
|
|
317
242
|
}
|
|
318
|
-
/**
|
|
319
|
-
* @public
|
|
320
|
-
* @enum
|
|
321
|
-
*/
|
|
322
|
-
export declare const CloudHsmObjectState: {
|
|
323
|
-
readonly DEGRADED: "DEGRADED";
|
|
324
|
-
readonly READY: "READY";
|
|
325
|
-
readonly UPDATING: "UPDATING";
|
|
326
|
-
};
|
|
327
|
-
/**
|
|
328
|
-
* @public
|
|
329
|
-
*/
|
|
330
|
-
export type CloudHsmObjectState = (typeof CloudHsmObjectState)[keyof typeof CloudHsmObjectState];
|
|
331
243
|
/**
|
|
332
244
|
* <p>Contains the output of the <a>DescribeHapg</a> action.</p>
|
|
333
245
|
* @public
|
|
@@ -398,23 +310,6 @@ export interface DescribeHsmRequest {
|
|
|
398
310
|
*/
|
|
399
311
|
HsmSerialNumber?: string | undefined;
|
|
400
312
|
}
|
|
401
|
-
/**
|
|
402
|
-
* @public
|
|
403
|
-
* @enum
|
|
404
|
-
*/
|
|
405
|
-
export declare const HsmStatus: {
|
|
406
|
-
readonly DEGRADED: "DEGRADED";
|
|
407
|
-
readonly PENDING: "PENDING";
|
|
408
|
-
readonly RUNNING: "RUNNING";
|
|
409
|
-
readonly SUSPENDED: "SUSPENDED";
|
|
410
|
-
readonly TERMINATED: "TERMINATED";
|
|
411
|
-
readonly TERMINATING: "TERMINATING";
|
|
412
|
-
readonly UPDATING: "UPDATING";
|
|
413
|
-
};
|
|
414
|
-
/**
|
|
415
|
-
* @public
|
|
416
|
-
*/
|
|
417
|
-
export type HsmStatus = (typeof HsmStatus)[keyof typeof HsmStatus];
|
|
418
313
|
/**
|
|
419
314
|
* <p>Contains the output of the <a>DescribeHsm</a> operation.</p>
|
|
420
315
|
* @public
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { CloudHSMExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { CloudHSMServiceException } from "./models/CloudHSMServiceException";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const ClientVersion: {
|
|
2
|
+
readonly FIVE_ONE: "5.1";
|
|
3
|
+
readonly FIVE_THREE: "5.3";
|
|
4
|
+
};
|
|
5
|
+
export type ClientVersion = (typeof ClientVersion)[keyof typeof ClientVersion];
|
|
6
|
+
export declare const SubscriptionType: {
|
|
7
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
8
|
+
};
|
|
9
|
+
export type SubscriptionType =
|
|
10
|
+
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
11
|
+
export declare const CloudHsmObjectState: {
|
|
12
|
+
readonly DEGRADED: "DEGRADED";
|
|
13
|
+
readonly READY: "READY";
|
|
14
|
+
readonly UPDATING: "UPDATING";
|
|
15
|
+
};
|
|
16
|
+
export type CloudHsmObjectState =
|
|
17
|
+
(typeof CloudHsmObjectState)[keyof typeof CloudHsmObjectState];
|
|
18
|
+
export declare const HsmStatus: {
|
|
19
|
+
readonly DEGRADED: "DEGRADED";
|
|
20
|
+
readonly PENDING: "PENDING";
|
|
21
|
+
readonly RUNNING: "RUNNING";
|
|
22
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
23
|
+
readonly TERMINATED: "TERMINATED";
|
|
24
|
+
readonly TERMINATING: "TERMINATING";
|
|
25
|
+
readonly UPDATING: "UPDATING";
|
|
26
|
+
};
|
|
27
|
+
export type HsmStatus = (typeof HsmStatus)[keyof typeof HsmStatus];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
|
|
3
|
+
export declare class CloudHsmInternalException extends __BaseException {
|
|
4
|
+
readonly name: "CloudHsmInternalException";
|
|
5
|
+
readonly $fault: "server";
|
|
6
|
+
retryable?: boolean | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<CloudHsmInternalException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class CloudHsmServiceException extends __BaseException {
|
|
12
|
+
readonly name: "CloudHsmServiceException";
|
|
13
|
+
readonly $fault: "client";
|
|
14
|
+
retryable?: boolean | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
20
|
+
readonly name: "InvalidRequestException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
retryable?: boolean | undefined;
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
ClientVersion,
|
|
3
|
+
CloudHsmObjectState,
|
|
4
|
+
HsmStatus,
|
|
5
|
+
SubscriptionType,
|
|
6
|
+
} from "./enums";
|
|
3
7
|
export interface Tag {
|
|
4
8
|
Key: string | undefined;
|
|
5
9
|
Value: string | undefined;
|
|
@@ -11,46 +15,12 @@ export interface AddTagsToResourceRequest {
|
|
|
11
15
|
export interface AddTagsToResourceResponse {
|
|
12
16
|
Status: string | undefined;
|
|
13
17
|
}
|
|
14
|
-
export declare class CloudHsmInternalException extends __BaseException {
|
|
15
|
-
readonly name: "CloudHsmInternalException";
|
|
16
|
-
readonly $fault: "server";
|
|
17
|
-
retryable?: boolean | undefined;
|
|
18
|
-
constructor(
|
|
19
|
-
opts: __ExceptionOptionType<CloudHsmInternalException, __BaseException>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
export declare class CloudHsmServiceException extends __BaseException {
|
|
23
|
-
readonly name: "CloudHsmServiceException";
|
|
24
|
-
readonly $fault: "client";
|
|
25
|
-
retryable?: boolean | undefined;
|
|
26
|
-
constructor(
|
|
27
|
-
opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
31
|
-
readonly name: "InvalidRequestException";
|
|
32
|
-
readonly $fault: "client";
|
|
33
|
-
retryable?: boolean | undefined;
|
|
34
|
-
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
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];
|
|
43
18
|
export interface CreateHapgRequest {
|
|
44
19
|
Label: string | undefined;
|
|
45
20
|
}
|
|
46
21
|
export interface CreateHapgResponse {
|
|
47
22
|
HapgArn?: string | undefined;
|
|
48
23
|
}
|
|
49
|
-
export declare const SubscriptionType: {
|
|
50
|
-
readonly PRODUCTION: "PRODUCTION";
|
|
51
|
-
};
|
|
52
|
-
export type SubscriptionType =
|
|
53
|
-
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
54
24
|
export interface CreateHsmRequest {
|
|
55
25
|
SubnetId: string | undefined;
|
|
56
26
|
SshKey: string | undefined;
|
|
@@ -92,13 +62,6 @@ export interface DeleteLunaClientResponse {
|
|
|
92
62
|
export interface DescribeHapgRequest {
|
|
93
63
|
HapgArn: string | undefined;
|
|
94
64
|
}
|
|
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];
|
|
102
65
|
export interface DescribeHapgResponse {
|
|
103
66
|
HapgArn?: string | undefined;
|
|
104
67
|
HapgSerial?: string | undefined;
|
|
@@ -114,16 +77,6 @@ export interface DescribeHsmRequest {
|
|
|
114
77
|
HsmArn?: string | undefined;
|
|
115
78
|
HsmSerialNumber?: string | undefined;
|
|
116
79
|
}
|
|
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];
|
|
127
80
|
export interface DescribeHsmResponse {
|
|
128
81
|
HsmArn?: string | undefined;
|
|
129
82
|
Status?: HsmStatus | undefined;
|
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.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",
|
|
@@ -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";
|