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