@aws-sdk/client-codedeploy 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 (67) hide show
  1. package/CHANGELOG.md +19 -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 +34 -34
@@ -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 { ListDeploymentConfigsInputFilterSensitiveLog, ListDeploymentConfigsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDeploymentConfigsCommand, serializeAws_json1_1ListDeploymentConfigsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDeploymentConfigsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentConfigsCommand = (function (_super) {
7
+ __extends(ListDeploymentConfigsCommand, _super);
8
+ function ListDeploymentConfigsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentConfigsCommand.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 = "ListDeploymentConfigsCommand";
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 = "ListDeploymentConfigsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentConfigsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeploymentConfigsOutputFilterSensitiveLog,
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
+ ListDeploymentConfigsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDeploymentConfigsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentConfigsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDeploymentConfigsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentConfigsCommand;
38
+ }($Command));
39
+ export { ListDeploymentConfigsCommand };
@@ -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 { ListDeploymentGroupsInputFilterSensitiveLog, ListDeploymentGroupsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDeploymentGroupsCommand, serializeAws_json1_1ListDeploymentGroupsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDeploymentGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentGroupsCommand = (function (_super) {
7
+ __extends(ListDeploymentGroupsCommand, _super);
8
+ function ListDeploymentGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentGroupsCommand.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 = "ListDeploymentGroupsCommand";
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 = "ListDeploymentGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentGroupsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeploymentGroupsOutputFilterSensitiveLog,
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
+ ListDeploymentGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDeploymentGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDeploymentGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentGroupsCommand;
38
+ }($Command));
39
+ export { ListDeploymentGroupsCommand };
@@ -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 { ListDeploymentInstancesInputFilterSensitiveLog, ListDeploymentInstancesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDeploymentInstancesCommand, serializeAws_json1_1ListDeploymentInstancesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDeploymentInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentInstancesCommand = (function (_super) {
7
+ __extends(ListDeploymentInstancesCommand, _super);
8
+ function ListDeploymentInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentInstancesCommand.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 = "ListDeploymentInstancesCommand";
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 = "ListDeploymentInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentInstancesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeploymentInstancesOutputFilterSensitiveLog,
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
+ ListDeploymentInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDeploymentInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDeploymentInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentInstancesCommand;
38
+ }($Command));
39
+ export { ListDeploymentInstancesCommand };
@@ -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 { ListDeploymentTargetsInputFilterSensitiveLog, ListDeploymentTargetsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDeploymentTargetsCommand, serializeAws_json1_1ListDeploymentTargetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDeploymentTargetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentTargetsCommand = (function (_super) {
7
+ __extends(ListDeploymentTargetsCommand, _super);
8
+ function ListDeploymentTargetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentTargetsCommand.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 = "ListDeploymentTargetsCommand";
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 = "ListDeploymentTargetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentTargetsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeploymentTargetsOutputFilterSensitiveLog,
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
+ ListDeploymentTargetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDeploymentTargetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentTargetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDeploymentTargetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentTargetsCommand;
38
+ }($Command));
39
+ export { ListDeploymentTargetsCommand };
@@ -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 { ListDeploymentsInputFilterSensitiveLog, ListDeploymentsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListDeploymentsCommand, serializeAws_json1_1ListDeploymentsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListDeploymentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDeploymentsCommand = (function (_super) {
7
+ __extends(ListDeploymentsCommand, _super);
8
+ function ListDeploymentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDeploymentsCommand.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 = "ListDeploymentsCommand";
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 = "ListDeploymentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDeploymentsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDeploymentsOutputFilterSensitiveLog,
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
+ ListDeploymentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListDeploymentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDeploymentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListDeploymentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDeploymentsCommand;
38
+ }($Command));
39
+ export { ListDeploymentsCommand };
@@ -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 { ListGitHubAccountTokenNamesInputFilterSensitiveLog, ListGitHubAccountTokenNamesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListGitHubAccountTokenNamesCommand, serializeAws_json1_1ListGitHubAccountTokenNamesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListGitHubAccountTokenNamesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListGitHubAccountTokenNamesCommand = (function (_super) {
7
+ __extends(ListGitHubAccountTokenNamesCommand, _super);
8
+ function ListGitHubAccountTokenNamesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListGitHubAccountTokenNamesCommand.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 = "ListGitHubAccountTokenNamesCommand";
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 = "ListGitHubAccountTokenNamesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListGitHubAccountTokenNamesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListGitHubAccountTokenNamesOutputFilterSensitiveLog,
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
+ ListGitHubAccountTokenNamesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListGitHubAccountTokenNamesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListGitHubAccountTokenNamesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListGitHubAccountTokenNamesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListGitHubAccountTokenNamesCommand;
38
+ }($Command));
39
+ export { ListGitHubAccountTokenNamesCommand };
@@ -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 { ListOnPremisesInstancesInputFilterSensitiveLog, ListOnPremisesInstancesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListOnPremisesInstancesCommand, serializeAws_json1_1ListOnPremisesInstancesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListOnPremisesInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListOnPremisesInstancesCommand = (function (_super) {
7
+ __extends(ListOnPremisesInstancesCommand, _super);
8
+ function ListOnPremisesInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListOnPremisesInstancesCommand.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 = "ListOnPremisesInstancesCommand";
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 = "ListOnPremisesInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListOnPremisesInstancesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListOnPremisesInstancesOutputFilterSensitiveLog,
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
+ ListOnPremisesInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListOnPremisesInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListOnPremisesInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListOnPremisesInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListOnPremisesInstancesCommand;
38
+ }($Command));
39
+ export { ListOnPremisesInstancesCommand };
@@ -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 { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { PutLifecycleEventHookExecutionStatusInputFilterSensitiveLog, PutLifecycleEventHookExecutionStatusOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand, serializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand, } from "../protocols/Aws_json1_1";
5
- export class PutLifecycleEventHookExecutionStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutLifecycleEventHookExecutionStatusCommand = (function (_super) {
7
+ __extends(PutLifecycleEventHookExecutionStatusCommand, _super);
8
+ function PutLifecycleEventHookExecutionStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutLifecycleEventHookExecutionStatusCommand.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 = "PutLifecycleEventHookExecutionStatusCommand";
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 = "PutLifecycleEventHookExecutionStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutLifecycleEventHookExecutionStatusInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutLifecycleEventHookExecutionStatusOutputFilterSensitiveLog,
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
+ PutLifecycleEventHookExecutionStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutLifecycleEventHookExecutionStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutLifecycleEventHookExecutionStatusCommand;
38
+ }($Command));
39
+ export { PutLifecycleEventHookExecutionStatusCommand };
@@ -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 { RegisterApplicationRevisionInputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1RegisterApplicationRevisionCommand, serializeAws_json1_1RegisterApplicationRevisionCommand, } from "../protocols/Aws_json1_1";
5
- export class RegisterApplicationRevisionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RegisterApplicationRevisionCommand = (function (_super) {
7
+ __extends(RegisterApplicationRevisionCommand, _super);
8
+ function RegisterApplicationRevisionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RegisterApplicationRevisionCommand.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 = "RegisterApplicationRevisionCommand";
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 = "RegisterApplicationRevisionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RegisterApplicationRevisionInputFilterSensitiveLog,
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
+ RegisterApplicationRevisionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1RegisterApplicationRevisionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RegisterApplicationRevisionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1RegisterApplicationRevisionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RegisterApplicationRevisionCommand;
38
+ }($Command));
39
+ export { RegisterApplicationRevisionCommand };