@aws-sdk/client-cloudhsm 3.186.0 → 3.188.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 (32) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/CloudHSM.js +82 -89
  3. package/dist-es/CloudHSMClient.js +22 -28
  4. package/dist-es/commands/AddTagsToResourceCommand.js +21 -28
  5. package/dist-es/commands/CreateHapgCommand.js +21 -28
  6. package/dist-es/commands/CreateHsmCommand.js +21 -28
  7. package/dist-es/commands/CreateLunaClientCommand.js +21 -28
  8. package/dist-es/commands/DeleteHapgCommand.js +21 -28
  9. package/dist-es/commands/DeleteHsmCommand.js +21 -28
  10. package/dist-es/commands/DeleteLunaClientCommand.js +21 -28
  11. package/dist-es/commands/DescribeHapgCommand.js +21 -28
  12. package/dist-es/commands/DescribeHsmCommand.js +21 -28
  13. package/dist-es/commands/DescribeLunaClientCommand.js +21 -28
  14. package/dist-es/commands/GetConfigCommand.js +21 -28
  15. package/dist-es/commands/ListAvailableZonesCommand.js +21 -28
  16. package/dist-es/commands/ListHapgsCommand.js +21 -28
  17. package/dist-es/commands/ListHsmsCommand.js +21 -28
  18. package/dist-es/commands/ListLunaClientsCommand.js +21 -28
  19. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  20. package/dist-es/commands/ModifyHapgCommand.js +21 -28
  21. package/dist-es/commands/ModifyHsmCommand.js +21 -28
  22. package/dist-es/commands/ModifyLunaClientCommand.js +21 -28
  23. package/dist-es/commands/RemoveTagsFromResourceCommand.js +21 -28
  24. package/dist-es/endpoints.js +8 -8
  25. package/dist-es/models/CloudHSMServiceException.js +5 -10
  26. package/dist-es/models/models_0.js +159 -78
  27. package/dist-es/protocols/Aws_json1_1.js +1192 -1591
  28. package/dist-es/runtimeConfig.browser.js +26 -12
  29. package/dist-es/runtimeConfig.js +30 -12
  30. package/dist-es/runtimeConfig.native.js +8 -5
  31. package/dist-es/runtimeConfig.shared.js +8 -11
  32. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListHsmsRequestFilterSensitiveLog, ListHsmsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListHsmsCommand, serializeAws_json1_1ListHsmsCommand } from "../protocols/Aws_json1_1";
6
- var ListHsmsCommand = (function (_super) {
7
- __extends(ListHsmsCommand, _super);
8
- function ListHsmsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListHsmsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListHsmsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudHSMClient";
18
- var commandName = "ListHsmsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudHSMClient";
15
+ const commandName = "ListHsmsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListHsmsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListHsmsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListHsmsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListHsmsCommand(input, context);
33
- };
34
- ListHsmsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListHsmsCommand(output, context);
36
- };
37
- return ListHsmsCommand;
38
- }($Command));
39
- export { ListHsmsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLunaClientsRequestFilterSensitiveLog, ListLunaClientsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLunaClientsCommand, serializeAws_json1_1ListLunaClientsCommand, } from "../protocols/Aws_json1_1";
6
- var ListLunaClientsCommand = (function (_super) {
7
- __extends(ListLunaClientsCommand, _super);
8
- function ListLunaClientsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLunaClientsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLunaClientsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudHSMClient";
18
- var commandName = "ListLunaClientsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudHSMClient";
15
+ const commandName = "ListLunaClientsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLunaClientsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLunaClientsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLunaClientsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLunaClientsCommand(input, context);
33
- };
34
- ListLunaClientsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLunaClientsCommand(output, context);
36
- };
37
- return ListLunaClientsCommand;
38
- }($Command));
39
- export { ListLunaClientsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudHSMClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudHSMClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyHapgRequestFilterSensitiveLog, ModifyHapgResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ModifyHapgCommand, serializeAws_json1_1ModifyHapgCommand, } from "../protocols/Aws_json1_1";
6
- var ModifyHapgCommand = (function (_super) {
7
- __extends(ModifyHapgCommand, _super);
8
- function ModifyHapgCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyHapgCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyHapgCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudHSMClient";
18
- var commandName = "ModifyHapgCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudHSMClient";
15
+ const commandName = "ModifyHapgCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyHapgRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyHapgResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyHapgCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ModifyHapgCommand(input, context);
33
- };
34
- ModifyHapgCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ModifyHapgCommand(output, context);
36
- };
37
- return ModifyHapgCommand;
38
- }($Command));
39
- export { ModifyHapgCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyHsmRequestFilterSensitiveLog, ModifyHsmResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ModifyHsmCommand, serializeAws_json1_1ModifyHsmCommand } from "../protocols/Aws_json1_1";
6
- var ModifyHsmCommand = (function (_super) {
7
- __extends(ModifyHsmCommand, _super);
8
- function ModifyHsmCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyHsmCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyHsmCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudHSMClient";
18
- var commandName = "ModifyHsmCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudHSMClient";
15
+ const commandName = "ModifyHsmCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyHsmRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyHsmResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyHsmCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ModifyHsmCommand(input, context);
33
- };
34
- ModifyHsmCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ModifyHsmCommand(output, context);
36
- };
37
- return ModifyHsmCommand;
38
- }($Command));
39
- export { ModifyHsmCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ModifyLunaClientRequestFilterSensitiveLog, ModifyLunaClientResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ModifyLunaClientCommand, serializeAws_json1_1ModifyLunaClientCommand, } from "../protocols/Aws_json1_1";
6
- var ModifyLunaClientCommand = (function (_super) {
7
- __extends(ModifyLunaClientCommand, _super);
8
- function ModifyLunaClientCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ModifyLunaClientCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ModifyLunaClientCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudHSMClient";
18
- var commandName = "ModifyLunaClientCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudHSMClient";
15
+ const commandName = "ModifyLunaClientCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ModifyLunaClientRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ModifyLunaClientResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ModifyLunaClientCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ModifyLunaClientCommand(input, context);
33
- };
34
- ModifyLunaClientCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ModifyLunaClientCommand(output, context);
36
- };
37
- return ModifyLunaClientCommand;
38
- }($Command));
39
- export { ModifyLunaClientCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RemoveTagsFromResourceRequestFilterSensitiveLog, RemoveTagsFromResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1RemoveTagsFromResourceCommand, serializeAws_json1_1RemoveTagsFromResourceCommand, } from "../protocols/Aws_json1_1";
6
- var RemoveTagsFromResourceCommand = (function (_super) {
7
- __extends(RemoveTagsFromResourceCommand, _super);
8
- function RemoveTagsFromResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveTagsFromResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveTagsFromResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudHSMClient";
18
- var commandName = "RemoveTagsFromResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudHSMClient";
15
+ const commandName = "RemoveTagsFromResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveTagsFromResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveTagsFromResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveTagsFromResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1RemoveTagsFromResourceCommand(input, context);
33
- };
34
- RemoveTagsFromResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1RemoveTagsFromResourceCommand(output, context);
36
- };
37
- return RemoveTagsFromResourceCommand;
38
- }($Command));
39
- export { RemoveTagsFromResourceCommand };
31
+ }
32
+ }
@@ -1,7 +1,6 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
4
- var partitionHash = {
2
+ const regionHash = {};
3
+ const partitionHash = {
5
4
  aws: {
6
5
  regions: [
7
6
  "af-south-1",
@@ -121,8 +120,9 @@ var partitionHash = {
121
120
  ],
122
121
  },
123
122
  };
124
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
- return __generator(this, function (_a) {
126
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cloudhsm", regionHash: regionHash, partitionHash: partitionHash }))];
127
- });
128
- }); };
123
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
+ ...options,
125
+ signingService: "cloudhsm",
126
+ regionHash,
127
+ partitionHash,
128
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var CloudHSMServiceException = (function (_super) {
4
- __extends(CloudHSMServiceException, _super);
5
- function CloudHSMServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, CloudHSMServiceException.prototype);
8
- return _this;
2
+ export class CloudHSMServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, CloudHSMServiceException.prototype);
9
6
  }
10
- return CloudHSMServiceException;
11
- }(__ServiceException));
12
- export { CloudHSMServiceException };
7
+ }