@aws-sdk/client-cloudhsm-v2 3.183.0 → 3.186.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 (31) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/CloudHSMV2.js +69 -62
  4. package/dist-es/CloudHSMV2Client.js +28 -22
  5. package/dist-es/commands/CopyBackupToRegionCommand.js +28 -21
  6. package/dist-es/commands/CreateClusterCommand.js +28 -21
  7. package/dist-es/commands/CreateHsmCommand.js +28 -21
  8. package/dist-es/commands/DeleteBackupCommand.js +28 -21
  9. package/dist-es/commands/DeleteClusterCommand.js +28 -21
  10. package/dist-es/commands/DeleteHsmCommand.js +28 -21
  11. package/dist-es/commands/DescribeBackupsCommand.js +28 -21
  12. package/dist-es/commands/DescribeClustersCommand.js +28 -21
  13. package/dist-es/commands/InitializeClusterCommand.js +28 -21
  14. package/dist-es/commands/ListTagsCommand.js +28 -21
  15. package/dist-es/commands/ModifyBackupAttributesCommand.js +28 -21
  16. package/dist-es/commands/ModifyClusterCommand.js +28 -21
  17. package/dist-es/commands/RestoreBackupCommand.js +28 -21
  18. package/dist-es/commands/TagResourceCommand.js +28 -21
  19. package/dist-es/commands/UntagResourceCommand.js +28 -21
  20. package/dist-es/endpoints.js +8 -8
  21. package/dist-es/models/CloudHSMV2ServiceException.js +10 -5
  22. package/dist-es/models/models_0.js +110 -183
  23. package/dist-es/pagination/DescribeBackupsPaginator.js +68 -25
  24. package/dist-es/pagination/DescribeClustersPaginator.js +68 -25
  25. package/dist-es/pagination/ListTagsPaginator.js +68 -25
  26. package/dist-es/protocols/Aws_json1_1.js +1415 -1086
  27. package/dist-es/runtimeConfig.browser.js +12 -26
  28. package/dist-es/runtimeConfig.js +12 -30
  29. package/dist-es/runtimeConfig.native.js +5 -8
  30. package/dist-es/runtimeConfig.shared.js +11 -8
  31. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteClusterRequestFilterSensitiveLog, DeleteClusterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteClusterCommand, serializeAws_json1_1DeleteClusterCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteClusterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteClusterCommand = (function (_super) {
7
+ __extends(DeleteClusterCommand, _super);
8
+ function DeleteClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "DeleteClusterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "DeleteClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteClusterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteClusterResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteClusterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteClusterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteClusterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteClusterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteClusterCommand;
38
+ }($Command));
39
+ export { DeleteClusterCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteHsmRequestFilterSensitiveLog, DeleteHsmResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteHsmCommand, serializeAws_json1_1DeleteHsmCommand } from "../protocols/Aws_json1_1";
5
- export class DeleteHsmCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteHsmCommand = (function (_super) {
7
+ __extends(DeleteHsmCommand, _super);
8
+ function DeleteHsmCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteHsmCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "DeleteHsmCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "DeleteHsmCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteHsmRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteHsmResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteHsmCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteHsmCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteHsmCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteHsmCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteHsmCommand;
38
+ }($Command));
39
+ export { DeleteHsmCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeBackupsRequestFilterSensitiveLog, DescribeBackupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeBackupsCommand, serializeAws_json1_1DescribeBackupsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeBackupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeBackupsCommand = (function (_super) {
7
+ __extends(DescribeBackupsCommand, _super);
8
+ function DescribeBackupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeBackupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "DescribeBackupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "DescribeBackupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeBackupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeBackupsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeBackupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeBackupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeBackupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeBackupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeBackupsCommand;
38
+ }($Command));
39
+ export { DescribeBackupsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeClustersRequestFilterSensitiveLog, DescribeClustersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeClustersCommand, serializeAws_json1_1DescribeClustersCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeClustersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeClustersCommand = (function (_super) {
7
+ __extends(DescribeClustersCommand, _super);
8
+ function DescribeClustersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeClustersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "DescribeClustersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "DescribeClustersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeClustersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeClustersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeClustersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeClustersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeClustersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeClustersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeClustersCommand;
38
+ }($Command));
39
+ export { DescribeClustersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { InitializeClusterRequestFilterSensitiveLog, InitializeClusterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1InitializeClusterCommand, serializeAws_json1_1InitializeClusterCommand, } from "../protocols/Aws_json1_1";
5
- export class InitializeClusterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InitializeClusterCommand = (function (_super) {
7
+ __extends(InitializeClusterCommand, _super);
8
+ function InitializeClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InitializeClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "InitializeClusterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "InitializeClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InitializeClusterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InitializeClusterResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ InitializeClusterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1InitializeClusterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InitializeClusterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1InitializeClusterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InitializeClusterCommand;
38
+ }($Command));
39
+ export { InitializeClusterCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsRequestFilterSensitiveLog, ListTagsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsCommand, serializeAws_json1_1ListTagsCommand } from "../protocols/Aws_json1_1";
5
- export class ListTagsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsCommand = (function (_super) {
7
+ __extends(ListTagsCommand, _super);
8
+ function ListTagsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "ListTagsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "ListTagsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsCommand;
38
+ }($Command));
39
+ export { ListTagsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ModifyBackupAttributesRequestFilterSensitiveLog, ModifyBackupAttributesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ModifyBackupAttributesCommand, serializeAws_json1_1ModifyBackupAttributesCommand, } from "../protocols/Aws_json1_1";
5
- export class ModifyBackupAttributesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ModifyBackupAttributesCommand = (function (_super) {
7
+ __extends(ModifyBackupAttributesCommand, _super);
8
+ function ModifyBackupAttributesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ModifyBackupAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "ModifyBackupAttributesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "ModifyBackupAttributesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ModifyBackupAttributesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ModifyBackupAttributesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ModifyBackupAttributesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ModifyBackupAttributesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ModifyBackupAttributesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ModifyBackupAttributesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ModifyBackupAttributesCommand;
38
+ }($Command));
39
+ export { ModifyBackupAttributesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ModifyClusterRequestFilterSensitiveLog, ModifyClusterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ModifyClusterCommand, serializeAws_json1_1ModifyClusterCommand, } from "../protocols/Aws_json1_1";
5
- export class ModifyClusterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ModifyClusterCommand = (function (_super) {
7
+ __extends(ModifyClusterCommand, _super);
8
+ function ModifyClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ModifyClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "ModifyClusterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "ModifyClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ModifyClusterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ModifyClusterResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ModifyClusterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ModifyClusterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ModifyClusterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ModifyClusterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ModifyClusterCommand;
38
+ }($Command));
39
+ export { ModifyClusterCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RestoreBackupRequestFilterSensitiveLog, RestoreBackupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1RestoreBackupCommand, serializeAws_json1_1RestoreBackupCommand, } from "../protocols/Aws_json1_1";
5
- export class RestoreBackupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RestoreBackupCommand = (function (_super) {
7
+ __extends(RestoreBackupCommand, _super);
8
+ function RestoreBackupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RestoreBackupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "RestoreBackupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "RestoreBackupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RestoreBackupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RestoreBackupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RestoreBackupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1RestoreBackupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RestoreBackupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1RestoreBackupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RestoreBackupCommand;
38
+ }($Command));
39
+ export { RestoreBackupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudHSMV2Client";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudHSMV2Client";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };