@aws-sdk/client-cloudhsm 3.183.0 → 3.185.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/CloudHSM.js +89 -82
  4. package/dist-es/CloudHSMClient.js +28 -22
  5. package/dist-es/commands/AddTagsToResourceCommand.js +28 -21
  6. package/dist-es/commands/CreateHapgCommand.js +28 -21
  7. package/dist-es/commands/CreateHsmCommand.js +28 -21
  8. package/dist-es/commands/CreateLunaClientCommand.js +28 -21
  9. package/dist-es/commands/DeleteHapgCommand.js +28 -21
  10. package/dist-es/commands/DeleteHsmCommand.js +28 -21
  11. package/dist-es/commands/DeleteLunaClientCommand.js +28 -21
  12. package/dist-es/commands/DescribeHapgCommand.js +28 -21
  13. package/dist-es/commands/DescribeHsmCommand.js +28 -21
  14. package/dist-es/commands/DescribeLunaClientCommand.js +28 -21
  15. package/dist-es/commands/GetConfigCommand.js +28 -21
  16. package/dist-es/commands/ListAvailableZonesCommand.js +28 -21
  17. package/dist-es/commands/ListHapgsCommand.js +28 -21
  18. package/dist-es/commands/ListHsmsCommand.js +28 -21
  19. package/dist-es/commands/ListLunaClientsCommand.js +28 -21
  20. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  21. package/dist-es/commands/ModifyHapgCommand.js +28 -21
  22. package/dist-es/commands/ModifyHsmCommand.js +28 -21
  23. package/dist-es/commands/ModifyLunaClientCommand.js +28 -21
  24. package/dist-es/commands/RemoveTagsFromResourceCommand.js +28 -21
  25. package/dist-es/endpoints.js +8 -8
  26. package/dist-es/models/CloudHSMServiceException.js +10 -5
  27. package/dist-es/models/models_0.js +78 -159
  28. package/dist-es/protocols/Aws_json1_1.js +1591 -1192
  29. package/dist-es/runtimeConfig.browser.js +12 -26
  30. package/dist-es/runtimeConfig.js +12 -30
  31. package/dist-es/runtimeConfig.native.js +5 -8
  32. package/dist-es/runtimeConfig.shared.js +11 -8
  33. package/package.json +5 -5
@@ -1,43 +1,44 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { CloudHSMServiceException as __BaseException } from "./CloudHSMServiceException";
2
- export class CloudHsmInternalException extends __BaseException {
3
- constructor(opts) {
4
- super({
5
- name: "CloudHsmInternalException",
6
- $fault: "server",
7
- ...opts,
8
- });
9
- this.name = "CloudHsmInternalException";
10
- this.$fault = "server";
11
- Object.setPrototypeOf(this, CloudHsmInternalException.prototype);
12
- this.retryable = opts.retryable;
3
+ var CloudHsmInternalException = (function (_super) {
4
+ __extends(CloudHsmInternalException, _super);
5
+ function CloudHsmInternalException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "CloudHsmInternalException", $fault: "server" }, opts)) || this;
7
+ _this.name = "CloudHsmInternalException";
8
+ _this.$fault = "server";
9
+ Object.setPrototypeOf(_this, CloudHsmInternalException.prototype);
10
+ _this.retryable = opts.retryable;
11
+ return _this;
13
12
  }
14
- }
15
- export class CloudHsmServiceException extends __BaseException {
16
- constructor(opts) {
17
- super({
18
- name: "CloudHsmServiceException",
19
- $fault: "client",
20
- ...opts,
21
- });
22
- this.name = "CloudHsmServiceException";
23
- this.$fault = "client";
24
- Object.setPrototypeOf(this, CloudHsmServiceException.prototype);
25
- this.retryable = opts.retryable;
13
+ return CloudHsmInternalException;
14
+ }(__BaseException));
15
+ export { CloudHsmInternalException };
16
+ var CloudHsmServiceException = (function (_super) {
17
+ __extends(CloudHsmServiceException, _super);
18
+ function CloudHsmServiceException(opts) {
19
+ var _this = _super.call(this, __assign({ name: "CloudHsmServiceException", $fault: "client" }, opts)) || this;
20
+ _this.name = "CloudHsmServiceException";
21
+ _this.$fault = "client";
22
+ Object.setPrototypeOf(_this, CloudHsmServiceException.prototype);
23
+ _this.retryable = opts.retryable;
24
+ return _this;
26
25
  }
27
- }
28
- export class InvalidRequestException extends __BaseException {
29
- constructor(opts) {
30
- super({
31
- name: "InvalidRequestException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- this.name = "InvalidRequestException";
36
- this.$fault = "client";
37
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
38
- this.retryable = opts.retryable;
26
+ return CloudHsmServiceException;
27
+ }(__BaseException));
28
+ export { CloudHsmServiceException };
29
+ var InvalidRequestException = (function (_super) {
30
+ __extends(InvalidRequestException, _super);
31
+ function InvalidRequestException(opts) {
32
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
33
+ _this.name = "InvalidRequestException";
34
+ _this.$fault = "client";
35
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
36
+ _this.retryable = opts.retryable;
37
+ return _this;
39
38
  }
40
- }
39
+ return InvalidRequestException;
40
+ }(__BaseException));
41
+ export { InvalidRequestException };
41
42
  export var ClientVersion;
42
43
  (function (ClientVersion) {
43
44
  ClientVersion["FIVE_ONE"] = "5.1";
@@ -63,126 +64,44 @@ export var HsmStatus;
63
64
  HsmStatus["TERMINATING"] = "TERMINATING";
64
65
  HsmStatus["UPDATING"] = "UPDATING";
65
66
  })(HsmStatus || (HsmStatus = {}));
66
- export const TagFilterSensitiveLog = (obj) => ({
67
- ...obj,
68
- });
69
- export const AddTagsToResourceRequestFilterSensitiveLog = (obj) => ({
70
- ...obj,
71
- });
72
- export const AddTagsToResourceResponseFilterSensitiveLog = (obj) => ({
73
- ...obj,
74
- });
75
- export const CreateHapgRequestFilterSensitiveLog = (obj) => ({
76
- ...obj,
77
- });
78
- export const CreateHapgResponseFilterSensitiveLog = (obj) => ({
79
- ...obj,
80
- });
81
- export const CreateHsmRequestFilterSensitiveLog = (obj) => ({
82
- ...obj,
83
- });
84
- export const CreateHsmResponseFilterSensitiveLog = (obj) => ({
85
- ...obj,
86
- });
87
- export const CreateLunaClientRequestFilterSensitiveLog = (obj) => ({
88
- ...obj,
89
- });
90
- export const CreateLunaClientResponseFilterSensitiveLog = (obj) => ({
91
- ...obj,
92
- });
93
- export const DeleteHapgRequestFilterSensitiveLog = (obj) => ({
94
- ...obj,
95
- });
96
- export const DeleteHapgResponseFilterSensitiveLog = (obj) => ({
97
- ...obj,
98
- });
99
- export const DeleteHsmRequestFilterSensitiveLog = (obj) => ({
100
- ...obj,
101
- });
102
- export const DeleteHsmResponseFilterSensitiveLog = (obj) => ({
103
- ...obj,
104
- });
105
- export const DeleteLunaClientRequestFilterSensitiveLog = (obj) => ({
106
- ...obj,
107
- });
108
- export const DeleteLunaClientResponseFilterSensitiveLog = (obj) => ({
109
- ...obj,
110
- });
111
- export const DescribeHapgRequestFilterSensitiveLog = (obj) => ({
112
- ...obj,
113
- });
114
- export const DescribeHapgResponseFilterSensitiveLog = (obj) => ({
115
- ...obj,
116
- });
117
- export const DescribeHsmRequestFilterSensitiveLog = (obj) => ({
118
- ...obj,
119
- });
120
- export const DescribeHsmResponseFilterSensitiveLog = (obj) => ({
121
- ...obj,
122
- });
123
- export const DescribeLunaClientRequestFilterSensitiveLog = (obj) => ({
124
- ...obj,
125
- });
126
- export const DescribeLunaClientResponseFilterSensitiveLog = (obj) => ({
127
- ...obj,
128
- });
129
- export const GetConfigRequestFilterSensitiveLog = (obj) => ({
130
- ...obj,
131
- });
132
- export const GetConfigResponseFilterSensitiveLog = (obj) => ({
133
- ...obj,
134
- });
135
- export const ListAvailableZonesRequestFilterSensitiveLog = (obj) => ({
136
- ...obj,
137
- });
138
- export const ListAvailableZonesResponseFilterSensitiveLog = (obj) => ({
139
- ...obj,
140
- });
141
- export const ListHapgsRequestFilterSensitiveLog = (obj) => ({
142
- ...obj,
143
- });
144
- export const ListHapgsResponseFilterSensitiveLog = (obj) => ({
145
- ...obj,
146
- });
147
- export const ListHsmsRequestFilterSensitiveLog = (obj) => ({
148
- ...obj,
149
- });
150
- export const ListHsmsResponseFilterSensitiveLog = (obj) => ({
151
- ...obj,
152
- });
153
- export const ListLunaClientsRequestFilterSensitiveLog = (obj) => ({
154
- ...obj,
155
- });
156
- export const ListLunaClientsResponseFilterSensitiveLog = (obj) => ({
157
- ...obj,
158
- });
159
- export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
160
- ...obj,
161
- });
162
- export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
163
- ...obj,
164
- });
165
- export const ModifyHapgRequestFilterSensitiveLog = (obj) => ({
166
- ...obj,
167
- });
168
- export const ModifyHapgResponseFilterSensitiveLog = (obj) => ({
169
- ...obj,
170
- });
171
- export const ModifyHsmRequestFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- });
174
- export const ModifyHsmResponseFilterSensitiveLog = (obj) => ({
175
- ...obj,
176
- });
177
- export const ModifyLunaClientRequestFilterSensitiveLog = (obj) => ({
178
- ...obj,
179
- });
180
- export const ModifyLunaClientResponseFilterSensitiveLog = (obj) => ({
181
- ...obj,
182
- });
183
- export const RemoveTagsFromResourceRequestFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- });
186
- export const RemoveTagsFromResourceResponseFilterSensitiveLog = (obj) => ({
187
- ...obj,
188
- });
67
+ export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
68
+ export var AddTagsToResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
+ export var AddTagsToResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
+ export var CreateHapgRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
71
+ export var CreateHapgResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
72
+ export var CreateHsmRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
73
+ export var CreateHsmResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
74
+ export var CreateLunaClientRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
75
+ export var CreateLunaClientResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
76
+ export var DeleteHapgRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
77
+ export var DeleteHapgResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
78
+ export var DeleteHsmRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
79
+ export var DeleteHsmResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
80
+ export var DeleteLunaClientRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
81
+ export var DeleteLunaClientResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
82
+ export var DescribeHapgRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
83
+ export var DescribeHapgResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
84
+ export var DescribeHsmRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
85
+ export var DescribeHsmResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
86
+ export var DescribeLunaClientRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
87
+ export var DescribeLunaClientResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
88
+ export var GetConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
89
+ export var GetConfigResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
90
+ export var ListAvailableZonesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
91
+ export var ListAvailableZonesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
92
+ export var ListHapgsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
93
+ export var ListHapgsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
94
+ export var ListHsmsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
+ export var ListHsmsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
96
+ export var ListLunaClientsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
97
+ export var ListLunaClientsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
98
+ export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
+ export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
100
+ export var ModifyHapgRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
+ export var ModifyHapgResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
+ export var ModifyHsmRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
103
+ export var ModifyHsmResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
104
+ export var ModifyLunaClientRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
+ export var ModifyLunaClientResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
106
+ export var RemoveTagsFromResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
+ export var RemoveTagsFromResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };