@aws-sdk/client-cloudhsm-v2 3.1148.0 → 3.1149.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 +9 -1
- package/dist-es/models/CloudHSMV2ServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/CloudHSMV2ServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/CloudHSMV2ServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -137,6 +137,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
137
137
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
138
138
|
|
|
139
139
|
class CloudHSMV2ServiceException extends ServiceException {
|
|
140
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsmv2#CloudHSMV2ServiceException";
|
|
140
141
|
constructor(options) {
|
|
141
142
|
super(options);
|
|
142
143
|
Object.setPrototypeOf(this, CloudHSMV2ServiceException.prototype);
|
|
@@ -144,6 +145,7 @@ class CloudHSMV2ServiceException extends ServiceException {
|
|
|
144
145
|
}
|
|
145
146
|
|
|
146
147
|
class CloudHsmAccessDeniedException extends CloudHSMV2ServiceException {
|
|
148
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmAccessDeniedException";
|
|
147
149
|
name = "CloudHsmAccessDeniedException";
|
|
148
150
|
$fault = "client";
|
|
149
151
|
Message;
|
|
@@ -158,6 +160,7 @@ class CloudHsmAccessDeniedException extends CloudHSMV2ServiceException {
|
|
|
158
160
|
}
|
|
159
161
|
}
|
|
160
162
|
class CloudHsmInternalFailureException extends CloudHSMV2ServiceException {
|
|
163
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmInternalFailureException";
|
|
161
164
|
name = "CloudHsmInternalFailureException";
|
|
162
165
|
$fault = "server";
|
|
163
166
|
Message;
|
|
@@ -172,6 +175,7 @@ class CloudHsmInternalFailureException extends CloudHSMV2ServiceException {
|
|
|
172
175
|
}
|
|
173
176
|
}
|
|
174
177
|
class CloudHsmInvalidRequestException extends CloudHSMV2ServiceException {
|
|
178
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmInvalidRequestException";
|
|
175
179
|
name = "CloudHsmInvalidRequestException";
|
|
176
180
|
$fault = "client";
|
|
177
181
|
Message;
|
|
@@ -186,6 +190,7 @@ class CloudHsmInvalidRequestException extends CloudHSMV2ServiceException {
|
|
|
186
190
|
}
|
|
187
191
|
}
|
|
188
192
|
class CloudHsmResourceNotFoundException extends CloudHSMV2ServiceException {
|
|
193
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmResourceNotFoundException";
|
|
189
194
|
name = "CloudHsmResourceNotFoundException";
|
|
190
195
|
$fault = "client";
|
|
191
196
|
Message;
|
|
@@ -200,6 +205,7 @@ class CloudHsmResourceNotFoundException extends CloudHSMV2ServiceException {
|
|
|
200
205
|
}
|
|
201
206
|
}
|
|
202
207
|
class CloudHsmServiceException extends CloudHSMV2ServiceException {
|
|
208
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmServiceException";
|
|
203
209
|
name = "CloudHsmServiceException";
|
|
204
210
|
$fault = "client";
|
|
205
211
|
Message;
|
|
@@ -214,6 +220,7 @@ class CloudHsmServiceException extends CloudHSMV2ServiceException {
|
|
|
214
220
|
}
|
|
215
221
|
}
|
|
216
222
|
class CloudHsmTagException extends CloudHSMV2ServiceException {
|
|
223
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmTagException";
|
|
217
224
|
name = "CloudHsmTagException";
|
|
218
225
|
$fault = "client";
|
|
219
226
|
Message;
|
|
@@ -228,6 +235,7 @@ class CloudHsmTagException extends CloudHSMV2ServiceException {
|
|
|
228
235
|
}
|
|
229
236
|
}
|
|
230
237
|
class CloudHsmResourceLimitExceededException extends CloudHSMV2ServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmResourceLimitExceededException";
|
|
231
239
|
name = "CloudHsmResourceLimitExceededException";
|
|
232
240
|
$fault = "client";
|
|
233
241
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class CloudHSMV2ServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.cloudhsmv2#CloudHSMV2ServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, CloudHSMV2ServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CloudHSMV2ServiceException as __BaseException } from "./CloudHSMV2ServiceException";
|
|
2
2
|
export class CloudHsmAccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmAccessDeniedException";
|
|
3
4
|
name = "CloudHsmAccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class CloudHsmAccessDeniedException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class CloudHsmInternalFailureException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmInternalFailureException";
|
|
17
19
|
name = "CloudHsmInternalFailureException";
|
|
18
20
|
$fault = "server";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class CloudHsmInternalFailureException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class CloudHsmInvalidRequestException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmInvalidRequestException";
|
|
31
34
|
name = "CloudHsmInvalidRequestException";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class CloudHsmInvalidRequestException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class CloudHsmResourceNotFoundException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmResourceNotFoundException";
|
|
45
49
|
name = "CloudHsmResourceNotFoundException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -56,6 +60,7 @@ export class CloudHsmResourceNotFoundException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class CloudHsmServiceException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmServiceException";
|
|
59
64
|
name = "CloudHsmServiceException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Message;
|
|
@@ -70,6 +75,7 @@ export class CloudHsmServiceException extends __BaseException {
|
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
export class CloudHsmTagException extends __BaseException {
|
|
78
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmTagException";
|
|
73
79
|
name = "CloudHsmTagException";
|
|
74
80
|
$fault = "client";
|
|
75
81
|
Message;
|
|
@@ -84,6 +90,7 @@ export class CloudHsmTagException extends __BaseException {
|
|
|
84
90
|
}
|
|
85
91
|
}
|
|
86
92
|
export class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
93
|
+
static shapeId = "com.amazonaws.cloudhsmv2#CloudHsmResourceLimitExceededException";
|
|
87
94
|
name = "CloudHsmResourceLimitExceededException";
|
|
88
95
|
$fault = "client";
|
|
89
96
|
Message;
|
|
@@ -6,6 +6,7 @@ import { CloudHSMV2ServiceException as __BaseException } from "./CloudHSMV2Servi
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "CloudHsmAccessDeniedException";
|
|
10
11
|
readonly $fault: "client";
|
|
11
12
|
Message?: string | undefined;
|
|
@@ -20,6 +21,7 @@ export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
|
20
21
|
* @public
|
|
21
22
|
*/
|
|
22
23
|
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
24
|
+
static readonly shapeId: string;
|
|
23
25
|
readonly name: "CloudHsmInternalFailureException";
|
|
24
26
|
readonly $fault: "server";
|
|
25
27
|
Message?: string | undefined;
|
|
@@ -33,6 +35,7 @@ export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
|
33
35
|
* @public
|
|
34
36
|
*/
|
|
35
37
|
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
38
|
+
static readonly shapeId: string;
|
|
36
39
|
readonly name: "CloudHsmInvalidRequestException";
|
|
37
40
|
readonly $fault: "client";
|
|
38
41
|
Message?: string | undefined;
|
|
@@ -47,6 +50,7 @@ export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
|
47
50
|
* @public
|
|
48
51
|
*/
|
|
49
52
|
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
50
54
|
readonly name: "CloudHsmResourceNotFoundException";
|
|
51
55
|
readonly $fault: "client";
|
|
52
56
|
Message?: string | undefined;
|
|
@@ -60,6 +64,7 @@ export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
|
60
64
|
* @public
|
|
61
65
|
*/
|
|
62
66
|
export declare class CloudHsmServiceException extends __BaseException {
|
|
67
|
+
static readonly shapeId: string;
|
|
63
68
|
readonly name: "CloudHsmServiceException";
|
|
64
69
|
readonly $fault: "client";
|
|
65
70
|
Message?: string | undefined;
|
|
@@ -73,6 +78,7 @@ export declare class CloudHsmServiceException extends __BaseException {
|
|
|
73
78
|
* @public
|
|
74
79
|
*/
|
|
75
80
|
export declare class CloudHsmTagException extends __BaseException {
|
|
81
|
+
static readonly shapeId: string;
|
|
76
82
|
readonly name: "CloudHsmTagException";
|
|
77
83
|
readonly $fault: "client";
|
|
78
84
|
Message?: string | undefined;
|
|
@@ -86,6 +92,7 @@ export declare class CloudHsmTagException extends __BaseException {
|
|
|
86
92
|
* @public
|
|
87
93
|
*/
|
|
88
94
|
export declare class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
95
|
+
static readonly shapeId: string;
|
|
89
96
|
readonly name: "CloudHsmResourceLimitExceededException";
|
|
90
97
|
readonly $fault: "client";
|
|
91
98
|
Message?: string | undefined;
|
|
@@ -1,42 +1,49 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { CloudHSMV2ServiceException as __BaseException } from "./CloudHSMV2ServiceException";
|
|
3
3
|
export declare class CloudHsmAccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "CloudHsmAccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<CloudHsmAccessDeniedException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class CloudHsmInternalFailureException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "CloudHsmInternalFailureException";
|
|
11
13
|
readonly $fault: "server";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<CloudHsmInternalFailureException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class CloudHsmInvalidRequestException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "CloudHsmInvalidRequestException";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
Message?: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<CloudHsmInvalidRequestException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class CloudHsmResourceNotFoundException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "CloudHsmResourceNotFoundException";
|
|
23
27
|
readonly $fault: "client";
|
|
24
28
|
Message?: string | undefined;
|
|
25
29
|
constructor(opts: __ExceptionOptionType<CloudHsmResourceNotFoundException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
export declare class CloudHsmServiceException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
28
33
|
readonly name: "CloudHsmServiceException";
|
|
29
34
|
readonly $fault: "client";
|
|
30
35
|
Message?: string | undefined;
|
|
31
36
|
constructor(opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>);
|
|
32
37
|
}
|
|
33
38
|
export declare class CloudHsmTagException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
34
40
|
readonly name: "CloudHsmTagException";
|
|
35
41
|
readonly $fault: "client";
|
|
36
42
|
Message?: string | undefined;
|
|
37
43
|
constructor(opts: __ExceptionOptionType<CloudHsmTagException, __BaseException>);
|
|
38
44
|
}
|
|
39
45
|
export declare class CloudHsmResourceLimitExceededException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
40
47
|
readonly name: "CloudHsmResourceLimitExceededException";
|
|
41
48
|
readonly $fault: "client";
|
|
42
49
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudhsm-v2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudhsm V2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudhsm-v2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|