@aws-sdk/client-codedeploy 3.186.0 → 3.190.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 (66) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/CodeDeploy.js +190 -197
  3. package/dist-es/CodeDeployClient.js +22 -28
  4. package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +22 -29
  5. package/dist-es/commands/BatchGetApplicationRevisionsCommand.js +21 -28
  6. package/dist-es/commands/BatchGetApplicationsCommand.js +21 -28
  7. package/dist-es/commands/BatchGetDeploymentGroupsCommand.js +21 -28
  8. package/dist-es/commands/BatchGetDeploymentInstancesCommand.js +21 -28
  9. package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +21 -28
  10. package/dist-es/commands/BatchGetDeploymentsCommand.js +21 -28
  11. package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +21 -28
  12. package/dist-es/commands/ContinueDeploymentCommand.js +22 -29
  13. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  14. package/dist-es/commands/CreateDeploymentCommand.js +21 -28
  15. package/dist-es/commands/CreateDeploymentConfigCommand.js +21 -28
  16. package/dist-es/commands/CreateDeploymentGroupCommand.js +21 -28
  17. package/dist-es/commands/DeleteApplicationCommand.js +22 -29
  18. package/dist-es/commands/DeleteDeploymentConfigCommand.js +22 -29
  19. package/dist-es/commands/DeleteDeploymentGroupCommand.js +21 -28
  20. package/dist-es/commands/DeleteGitHubAccountTokenCommand.js +21 -28
  21. package/dist-es/commands/DeleteResourcesByExternalIdCommand.js +21 -28
  22. package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +22 -29
  23. package/dist-es/commands/GetApplicationCommand.js +21 -28
  24. package/dist-es/commands/GetApplicationRevisionCommand.js +21 -28
  25. package/dist-es/commands/GetDeploymentCommand.js +21 -28
  26. package/dist-es/commands/GetDeploymentConfigCommand.js +21 -28
  27. package/dist-es/commands/GetDeploymentGroupCommand.js +21 -28
  28. package/dist-es/commands/GetDeploymentInstanceCommand.js +21 -28
  29. package/dist-es/commands/GetDeploymentTargetCommand.js +21 -28
  30. package/dist-es/commands/GetOnPremisesInstanceCommand.js +21 -28
  31. package/dist-es/commands/ListApplicationRevisionsCommand.js +21 -28
  32. package/dist-es/commands/ListApplicationsCommand.js +21 -28
  33. package/dist-es/commands/ListDeploymentConfigsCommand.js +21 -28
  34. package/dist-es/commands/ListDeploymentGroupsCommand.js +21 -28
  35. package/dist-es/commands/ListDeploymentInstancesCommand.js +21 -28
  36. package/dist-es/commands/ListDeploymentTargetsCommand.js +21 -28
  37. package/dist-es/commands/ListDeploymentsCommand.js +21 -28
  38. package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +21 -28
  39. package/dist-es/commands/ListOnPremisesInstancesCommand.js +21 -28
  40. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  41. package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +21 -28
  42. package/dist-es/commands/RegisterApplicationRevisionCommand.js +22 -29
  43. package/dist-es/commands/RegisterOnPremisesInstanceCommand.js +22 -29
  44. package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +22 -29
  45. package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +22 -29
  46. package/dist-es/commands/StopDeploymentCommand.js +21 -28
  47. package/dist-es/commands/TagResourceCommand.js +21 -28
  48. package/dist-es/commands/UntagResourceCommand.js +21 -28
  49. package/dist-es/commands/UpdateApplicationCommand.js +22 -29
  50. package/dist-es/commands/UpdateDeploymentGroupCommand.js +21 -28
  51. package/dist-es/endpoints.js +8 -8
  52. package/dist-es/models/CodeDeployServiceException.js +5 -10
  53. package/dist-es/models/models_0.js +1722 -1447
  54. package/dist-es/pagination/ListApplicationRevisionsPaginator.js +24 -67
  55. package/dist-es/pagination/ListApplicationsPaginator.js +24 -67
  56. package/dist-es/pagination/ListDeploymentConfigsPaginator.js +24 -67
  57. package/dist-es/pagination/ListDeploymentGroupsPaginator.js +24 -67
  58. package/dist-es/pagination/ListDeploymentInstancesPaginator.js +24 -67
  59. package/dist-es/pagination/ListDeploymentsPaginator.js +24 -67
  60. package/dist-es/protocols/Aws_json1_1.js +4820 -5810
  61. package/dist-es/runtimeConfig.browser.js +26 -12
  62. package/dist-es/runtimeConfig.js +30 -12
  63. package/dist-es/runtimeConfig.native.js +8 -5
  64. package/dist-es/runtimeConfig.shared.js +8 -11
  65. package/dist-es/waiters/waitForDeploymentSuccessful.js +45 -65
  66. package/package.json +34 -34
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var CodeDeployClient = (function (_super) {
13
- __extends(CodeDeployClient, _super);
14
- function CodeDeployClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class CodeDeployClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- CodeDeployClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return CodeDeployClient;
38
- }(__Client));
39
- export { CodeDeployClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AddTagsToOnPremisesInstancesInputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AddTagsToOnPremisesInstancesCommand, serializeAws_json1_1AddTagsToOnPremisesInstancesCommand, } from "../protocols/Aws_json1_1";
6
- var AddTagsToOnPremisesInstancesCommand = (function (_super) {
7
- __extends(AddTagsToOnPremisesInstancesCommand, _super);
8
- function AddTagsToOnPremisesInstancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddTagsToOnPremisesInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddTagsToOnPremisesInstancesCommand.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 = "CodeDeployClient";
18
- var commandName = "AddTagsToOnPremisesInstancesCommand";
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 = "CodeDeployClient";
15
+ const commandName = "AddTagsToOnPremisesInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddTagsToOnPremisesInstancesInputFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddTagsToOnPremisesInstancesCommand.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_1AddTagsToOnPremisesInstancesCommand(input, context);
33
- };
34
- AddTagsToOnPremisesInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AddTagsToOnPremisesInstancesCommand(output, context);
36
- };
37
- return AddTagsToOnPremisesInstancesCommand;
38
- }($Command));
39
- export { AddTagsToOnPremisesInstancesCommand };
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 { BatchGetApplicationRevisionsInputFilterSensitiveLog, BatchGetApplicationRevisionsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1BatchGetApplicationRevisionsCommand, serializeAws_json1_1BatchGetApplicationRevisionsCommand, } from "../protocols/Aws_json1_1";
6
- var BatchGetApplicationRevisionsCommand = (function (_super) {
7
- __extends(BatchGetApplicationRevisionsCommand, _super);
8
- function BatchGetApplicationRevisionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetApplicationRevisionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetApplicationRevisionsCommand.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 = "CodeDeployClient";
18
- var commandName = "BatchGetApplicationRevisionsCommand";
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 = "CodeDeployClient";
15
+ const commandName = "BatchGetApplicationRevisionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetApplicationRevisionsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetApplicationRevisionsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetApplicationRevisionsCommand.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_1BatchGetApplicationRevisionsCommand(input, context);
33
- };
34
- BatchGetApplicationRevisionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1BatchGetApplicationRevisionsCommand(output, context);
36
- };
37
- return BatchGetApplicationRevisionsCommand;
38
- }($Command));
39
- export { BatchGetApplicationRevisionsCommand };
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 { BatchGetApplicationsInputFilterSensitiveLog, BatchGetApplicationsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1BatchGetApplicationsCommand, serializeAws_json1_1BatchGetApplicationsCommand, } from "../protocols/Aws_json1_1";
6
- var BatchGetApplicationsCommand = (function (_super) {
7
- __extends(BatchGetApplicationsCommand, _super);
8
- function BatchGetApplicationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetApplicationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetApplicationsCommand.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 = "CodeDeployClient";
18
- var commandName = "BatchGetApplicationsCommand";
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 = "CodeDeployClient";
15
+ const commandName = "BatchGetApplicationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetApplicationsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetApplicationsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetApplicationsCommand.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_1BatchGetApplicationsCommand(input, context);
33
- };
34
- BatchGetApplicationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1BatchGetApplicationsCommand(output, context);
36
- };
37
- return BatchGetApplicationsCommand;
38
- }($Command));
39
- export { BatchGetApplicationsCommand };
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 { BatchGetDeploymentGroupsInputFilterSensitiveLog, BatchGetDeploymentGroupsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1BatchGetDeploymentGroupsCommand, serializeAws_json1_1BatchGetDeploymentGroupsCommand, } from "../protocols/Aws_json1_1";
6
- var BatchGetDeploymentGroupsCommand = (function (_super) {
7
- __extends(BatchGetDeploymentGroupsCommand, _super);
8
- function BatchGetDeploymentGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetDeploymentGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetDeploymentGroupsCommand.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 = "CodeDeployClient";
18
- var commandName = "BatchGetDeploymentGroupsCommand";
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 = "CodeDeployClient";
15
+ const commandName = "BatchGetDeploymentGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetDeploymentGroupsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetDeploymentGroupsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetDeploymentGroupsCommand.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_1BatchGetDeploymentGroupsCommand(input, context);
33
- };
34
- BatchGetDeploymentGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1BatchGetDeploymentGroupsCommand(output, context);
36
- };
37
- return BatchGetDeploymentGroupsCommand;
38
- }($Command));
39
- export { BatchGetDeploymentGroupsCommand };
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 { BatchGetDeploymentInstancesInputFilterSensitiveLog, BatchGetDeploymentInstancesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1BatchGetDeploymentInstancesCommand, serializeAws_json1_1BatchGetDeploymentInstancesCommand, } from "../protocols/Aws_json1_1";
6
- var BatchGetDeploymentInstancesCommand = (function (_super) {
7
- __extends(BatchGetDeploymentInstancesCommand, _super);
8
- function BatchGetDeploymentInstancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetDeploymentInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetDeploymentInstancesCommand.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 = "CodeDeployClient";
18
- var commandName = "BatchGetDeploymentInstancesCommand";
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 = "CodeDeployClient";
15
+ const commandName = "BatchGetDeploymentInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetDeploymentInstancesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetDeploymentInstancesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetDeploymentInstancesCommand.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_1BatchGetDeploymentInstancesCommand(input, context);
33
- };
34
- BatchGetDeploymentInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1BatchGetDeploymentInstancesCommand(output, context);
36
- };
37
- return BatchGetDeploymentInstancesCommand;
38
- }($Command));
39
- export { BatchGetDeploymentInstancesCommand };
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 { BatchGetDeploymentTargetsInputFilterSensitiveLog, BatchGetDeploymentTargetsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1BatchGetDeploymentTargetsCommand, serializeAws_json1_1BatchGetDeploymentTargetsCommand, } from "../protocols/Aws_json1_1";
6
- var BatchGetDeploymentTargetsCommand = (function (_super) {
7
- __extends(BatchGetDeploymentTargetsCommand, _super);
8
- function BatchGetDeploymentTargetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetDeploymentTargetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetDeploymentTargetsCommand.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 = "CodeDeployClient";
18
- var commandName = "BatchGetDeploymentTargetsCommand";
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 = "CodeDeployClient";
15
+ const commandName = "BatchGetDeploymentTargetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetDeploymentTargetsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetDeploymentTargetsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetDeploymentTargetsCommand.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_1BatchGetDeploymentTargetsCommand(input, context);
33
- };
34
- BatchGetDeploymentTargetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1BatchGetDeploymentTargetsCommand(output, context);
36
- };
37
- return BatchGetDeploymentTargetsCommand;
38
- }($Command));
39
- export { BatchGetDeploymentTargetsCommand };
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 { BatchGetDeploymentsInputFilterSensitiveLog, BatchGetDeploymentsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1BatchGetDeploymentsCommand, serializeAws_json1_1BatchGetDeploymentsCommand, } from "../protocols/Aws_json1_1";
6
- var BatchGetDeploymentsCommand = (function (_super) {
7
- __extends(BatchGetDeploymentsCommand, _super);
8
- function BatchGetDeploymentsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetDeploymentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetDeploymentsCommand.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 = "CodeDeployClient";
18
- var commandName = "BatchGetDeploymentsCommand";
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 = "CodeDeployClient";
15
+ const commandName = "BatchGetDeploymentsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetDeploymentsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetDeploymentsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetDeploymentsCommand.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_1BatchGetDeploymentsCommand(input, context);
33
- };
34
- BatchGetDeploymentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1BatchGetDeploymentsCommand(output, context);
36
- };
37
- return BatchGetDeploymentsCommand;
38
- }($Command));
39
- export { BatchGetDeploymentsCommand };
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 { BatchGetOnPremisesInstancesInputFilterSensitiveLog, BatchGetOnPremisesInstancesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1BatchGetOnPremisesInstancesCommand, serializeAws_json1_1BatchGetOnPremisesInstancesCommand, } from "../protocols/Aws_json1_1";
6
- var BatchGetOnPremisesInstancesCommand = (function (_super) {
7
- __extends(BatchGetOnPremisesInstancesCommand, _super);
8
- function BatchGetOnPremisesInstancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetOnPremisesInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetOnPremisesInstancesCommand.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 = "CodeDeployClient";
18
- var commandName = "BatchGetOnPremisesInstancesCommand";
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 = "CodeDeployClient";
15
+ const commandName = "BatchGetOnPremisesInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetOnPremisesInstancesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetOnPremisesInstancesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetOnPremisesInstancesCommand.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_1BatchGetOnPremisesInstancesCommand(input, context);
33
- };
34
- BatchGetOnPremisesInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1BatchGetOnPremisesInstancesCommand(output, context);
36
- };
37
- return BatchGetOnPremisesInstancesCommand;
38
- }($Command));
39
- export { BatchGetOnPremisesInstancesCommand };
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 { ContinueDeploymentInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ContinueDeploymentCommand, serializeAws_json1_1ContinueDeploymentCommand, } from "../protocols/Aws_json1_1";
6
- var ContinueDeploymentCommand = (function (_super) {
7
- __extends(ContinueDeploymentCommand, _super);
8
- function ContinueDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ContinueDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ContinueDeploymentCommand.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 = "CodeDeployClient";
18
- var commandName = "ContinueDeploymentCommand";
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 = "CodeDeployClient";
15
+ const commandName = "ContinueDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ContinueDeploymentInputFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ContinueDeploymentCommand.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_1ContinueDeploymentCommand(input, context);
33
- };
34
- ContinueDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ContinueDeploymentCommand(output, context);
36
- };
37
- return ContinueDeploymentCommand;
38
- }($Command));
39
- export { ContinueDeploymentCommand };
31
+ }
32
+ }