@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-cloudhsm
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudHSMServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./CloudHSM"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CloudHSMClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var CloudHSMServiceException_1 = require("./models/CloudHSMServiceException");
|
|
10
|
+
Object.defineProperty(exports, "CloudHSMServiceException", { enumerable: true, get: function () { return CloudHSMServiceException_1.CloudHSMServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudHSMServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CloudHSMServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CloudHSMServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CloudHSMServiceException = CloudHSMServiceException;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RemoveTagsFromResourceResponse = exports.RemoveTagsFromResourceRequest = exports.ModifyLunaClientResponse = exports.ModifyLunaClientRequest = exports.ModifyHsmResponse = exports.ModifyHsmRequest = exports.ModifyHapgResponse = exports.ModifyHapgRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListLunaClientsResponse = exports.ListLunaClientsRequest = exports.ListHsmsResponse = exports.ListHsmsRequest = exports.ListHapgsResponse = exports.ListHapgsRequest = exports.ListAvailableZonesResponse = exports.ListAvailableZonesRequest = exports.GetConfigResponse = exports.GetConfigRequest = exports.DescribeLunaClientResponse = exports.DescribeLunaClientRequest = exports.DescribeHsmResponse = exports.HsmStatus = exports.DescribeHsmRequest = exports.DescribeHapgResponse = exports.CloudHsmObjectState = exports.DescribeHapgRequest = exports.DeleteLunaClientResponse = exports.DeleteLunaClientRequest = exports.DeleteHsmResponse = exports.DeleteHsmRequest = exports.DeleteHapgResponse = exports.DeleteHapgRequest = exports.CreateLunaClientResponse = exports.CreateLunaClientRequest = exports.CreateHsmResponse = exports.CreateHsmRequest = exports.SubscriptionType = exports.CreateHapgResponse = exports.CreateHapgRequest = exports.ClientVersion = exports.AddTagsToResourceResponse = exports.AddTagsToResourceRequest = exports.Tag = void 0;
|
|
3
|
+
exports.RemoveTagsFromResourceResponse = exports.RemoveTagsFromResourceRequest = exports.ModifyLunaClientResponse = exports.ModifyLunaClientRequest = exports.ModifyHsmResponse = exports.ModifyHsmRequest = exports.ModifyHapgResponse = exports.ModifyHapgRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListLunaClientsResponse = exports.ListLunaClientsRequest = exports.ListHsmsResponse = exports.ListHsmsRequest = exports.ListHapgsResponse = exports.ListHapgsRequest = exports.ListAvailableZonesResponse = exports.ListAvailableZonesRequest = exports.GetConfigResponse = exports.GetConfigRequest = exports.DescribeLunaClientResponse = exports.DescribeLunaClientRequest = exports.DescribeHsmResponse = exports.HsmStatus = exports.DescribeHsmRequest = exports.DescribeHapgResponse = exports.CloudHsmObjectState = exports.DescribeHapgRequest = exports.DeleteLunaClientResponse = exports.DeleteLunaClientRequest = exports.DeleteHsmResponse = exports.DeleteHsmRequest = exports.DeleteHapgResponse = exports.DeleteHapgRequest = exports.CreateLunaClientResponse = exports.CreateLunaClientRequest = exports.CreateHsmResponse = exports.CreateHsmRequest = exports.SubscriptionType = exports.CreateHapgResponse = exports.CreateHapgRequest = exports.ClientVersion = exports.InvalidRequestException = exports.CloudHsmServiceException = exports.CloudHsmInternalException = exports.AddTagsToResourceResponse = exports.AddTagsToResourceRequest = exports.Tag = void 0;
|
|
4
|
+
const CloudHSMServiceException_1 = require("./CloudHSMServiceException");
|
|
4
5
|
var Tag;
|
|
5
6
|
(function (Tag) {
|
|
6
7
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -19,6 +20,48 @@ var AddTagsToResourceResponse;
|
|
|
19
20
|
...obj,
|
|
20
21
|
});
|
|
21
22
|
})(AddTagsToResourceResponse = exports.AddTagsToResourceResponse || (exports.AddTagsToResourceResponse = {}));
|
|
23
|
+
class CloudHsmInternalException extends CloudHSMServiceException_1.CloudHSMServiceException {
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "CloudHsmInternalException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
this.name = "CloudHsmInternalException";
|
|
31
|
+
this.$fault = "server";
|
|
32
|
+
Object.setPrototypeOf(this, CloudHsmInternalException.prototype);
|
|
33
|
+
this.retryable = opts.retryable;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CloudHsmInternalException = CloudHsmInternalException;
|
|
37
|
+
class CloudHsmServiceException extends CloudHSMServiceException_1.CloudHSMServiceException {
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "CloudHsmServiceException",
|
|
41
|
+
$fault: "client",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
this.name = "CloudHsmServiceException";
|
|
45
|
+
this.$fault = "client";
|
|
46
|
+
Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
|
|
47
|
+
this.retryable = opts.retryable;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.CloudHsmServiceException = CloudHsmServiceException;
|
|
51
|
+
class InvalidRequestException extends CloudHSMServiceException_1.CloudHSMServiceException {
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "InvalidRequestException",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
this.name = "InvalidRequestException";
|
|
59
|
+
this.$fault = "client";
|
|
60
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
61
|
+
this.retryable = opts.retryable;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
22
65
|
var ClientVersion;
|
|
23
66
|
(function (ClientVersion) {
|
|
24
67
|
ClientVersion["FIVE_ONE"] = "5.1";
|