@aws-sdk/client-cloudhsm 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CloudHSMServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +44 -1
- package/dist-cjs/protocols/Aws_json1_1.js +163 -570
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudHSMServiceException.js +12 -0
- package/dist-es/models/models_0.js +41 -1
- package/dist-es/protocols/Aws_json1_1.js +382 -645
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudHSMServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +23 -22
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CloudHSMServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -16
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from CloudHSM service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CloudHSMServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>A key-value pair that identifies or specifies metadata about an AWS CloudHSM
|
|
4
5
|
* resource.</p>
|
|
@@ -50,47 +51,47 @@ export declare namespace AddTagsToResourceResponse {
|
|
|
50
51
|
/**
|
|
51
52
|
* <p>Indicates that an internal error occurred.</p>
|
|
52
53
|
*/
|
|
53
|
-
export
|
|
54
|
-
name: "CloudHsmInternalException";
|
|
55
|
-
$fault: "server";
|
|
56
|
-
/**
|
|
57
|
-
* <p>Additional information about the error.</p>
|
|
58
|
-
*/
|
|
59
|
-
message?: string;
|
|
54
|
+
export declare class CloudHsmInternalException extends __BaseException {
|
|
55
|
+
readonly name: "CloudHsmInternalException";
|
|
56
|
+
readonly $fault: "server";
|
|
60
57
|
/**
|
|
61
58
|
* <p>Indicates if the action can be retried.</p>
|
|
62
59
|
*/
|
|
63
60
|
retryable?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<CloudHsmInternalException, __BaseException>);
|
|
64
65
|
}
|
|
65
66
|
/**
|
|
66
67
|
* <p>Indicates that an exception occurred in the AWS CloudHSM service.</p>
|
|
67
68
|
*/
|
|
68
|
-
export
|
|
69
|
-
name: "CloudHsmServiceException";
|
|
70
|
-
$fault: "client";
|
|
71
|
-
/**
|
|
72
|
-
* <p>Additional information about the error.</p>
|
|
73
|
-
*/
|
|
74
|
-
message?: string;
|
|
69
|
+
export declare class CloudHsmServiceException extends __BaseException {
|
|
70
|
+
readonly name: "CloudHsmServiceException";
|
|
71
|
+
readonly $fault: "client";
|
|
75
72
|
/**
|
|
76
73
|
* <p>Indicates if the action can be retried.</p>
|
|
77
74
|
*/
|
|
78
75
|
retryable?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>);
|
|
79
80
|
}
|
|
80
81
|
/**
|
|
81
82
|
* <p>Indicates that one or more of the request parameters are not valid.</p>
|
|
82
83
|
*/
|
|
83
|
-
export
|
|
84
|
-
name: "InvalidRequestException";
|
|
85
|
-
$fault: "client";
|
|
86
|
-
/**
|
|
87
|
-
* <p>Additional information about the error.</p>
|
|
88
|
-
*/
|
|
89
|
-
message?: string;
|
|
84
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
85
|
+
readonly name: "InvalidRequestException";
|
|
86
|
+
readonly $fault: "client";
|
|
90
87
|
/**
|
|
91
88
|
* <p>Indicates if the action can be retried.</p>
|
|
92
89
|
*/
|
|
93
90
|
retryable?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
94
95
|
}
|
|
95
96
|
export declare enum ClientVersion {
|
|
96
97
|
FIVE_ONE = "5.1",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class CloudHSMServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
|
|
2
3
|
|
|
3
4
|
export interface Tag {
|
|
4
5
|
|
|
@@ -29,31 +30,31 @@ export declare namespace AddTagsToResourceResponse {
|
|
|
29
30
|
const filterSensitiveLog: (obj: AddTagsToResourceResponse) => any;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
export
|
|
33
|
-
name: "CloudHsmInternalException";
|
|
34
|
-
$fault: "server";
|
|
35
|
-
|
|
36
|
-
message?: string;
|
|
33
|
+
export declare class CloudHsmInternalException extends __BaseException {
|
|
34
|
+
readonly name: "CloudHsmInternalException";
|
|
35
|
+
readonly $fault: "server";
|
|
37
36
|
|
|
38
37
|
retryable?: boolean;
|
|
38
|
+
|
|
39
|
+
constructor(opts: __ExceptionOptionType<CloudHsmInternalException, __BaseException>);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
export
|
|
42
|
-
name: "CloudHsmServiceException";
|
|
43
|
-
$fault: "client";
|
|
44
|
-
|
|
45
|
-
message?: string;
|
|
42
|
+
export declare class CloudHsmServiceException extends __BaseException {
|
|
43
|
+
readonly name: "CloudHsmServiceException";
|
|
44
|
+
readonly $fault: "client";
|
|
46
45
|
|
|
47
46
|
retryable?: boolean;
|
|
47
|
+
|
|
48
|
+
constructor(opts: __ExceptionOptionType<CloudHsmServiceException, __BaseException>);
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
export
|
|
51
|
-
name: "InvalidRequestException";
|
|
52
|
-
$fault: "client";
|
|
53
|
-
|
|
54
|
-
message?: string;
|
|
51
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
52
|
+
readonly name: "InvalidRequestException";
|
|
53
|
+
readonly $fault: "client";
|
|
55
54
|
|
|
56
55
|
retryable?: boolean;
|
|
56
|
+
|
|
57
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
57
58
|
}
|
|
58
59
|
export declare enum ClientVersion {
|
|
59
60
|
FIVE_ONE = "5.1",
|
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.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|