@aws-sdk/client-codedeploy 3.186.0 → 3.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +8 -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,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 { ListDeploymentConfigsInputFilterSensitiveLog, ListDeploymentConfigsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListDeploymentConfigsCommand, serializeAws_json1_1ListDeploymentConfigsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListDeploymentConfigsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDeploymentConfigsCommand.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 = "ListDeploymentConfigsCommand";
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 = "ListDeploymentConfigsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDeploymentConfigsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDeploymentConfigsOutputFilterSensitiveLog,
25
22
  };
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) {
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_1ListDeploymentConfigsCommand(input, context);
33
- };
34
- ListDeploymentConfigsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListDeploymentConfigsCommand(output, context);
36
- };
37
- return ListDeploymentConfigsCommand;
38
- }($Command));
39
- export { ListDeploymentConfigsCommand };
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 { ListDeploymentGroupsInputFilterSensitiveLog, ListDeploymentGroupsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListDeploymentGroupsCommand, serializeAws_json1_1ListDeploymentGroupsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListDeploymentGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDeploymentGroupsCommand.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 = "ListDeploymentGroupsCommand";
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 = "ListDeploymentGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDeploymentGroupsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDeploymentGroupsOutputFilterSensitiveLog,
25
22
  };
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) {
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_1ListDeploymentGroupsCommand(input, context);
33
- };
34
- ListDeploymentGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListDeploymentGroupsCommand(output, context);
36
- };
37
- return ListDeploymentGroupsCommand;
38
- }($Command));
39
- export { ListDeploymentGroupsCommand };
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 { ListDeploymentInstancesInputFilterSensitiveLog, ListDeploymentInstancesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListDeploymentInstancesCommand, serializeAws_json1_1ListDeploymentInstancesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListDeploymentInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDeploymentInstancesCommand.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 = "ListDeploymentInstancesCommand";
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 = "ListDeploymentInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDeploymentInstancesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDeploymentInstancesOutputFilterSensitiveLog,
25
22
  };
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) {
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_1ListDeploymentInstancesCommand(input, context);
33
- };
34
- ListDeploymentInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListDeploymentInstancesCommand(output, context);
36
- };
37
- return ListDeploymentInstancesCommand;
38
- }($Command));
39
- export { ListDeploymentInstancesCommand };
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 { ListDeploymentTargetsInputFilterSensitiveLog, ListDeploymentTargetsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListDeploymentTargetsCommand, serializeAws_json1_1ListDeploymentTargetsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListDeploymentTargetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDeploymentTargetsCommand.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 = "ListDeploymentTargetsCommand";
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 = "ListDeploymentTargetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDeploymentTargetsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDeploymentTargetsOutputFilterSensitiveLog,
25
22
  };
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) {
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_1ListDeploymentTargetsCommand(input, context);
33
- };
34
- ListDeploymentTargetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListDeploymentTargetsCommand(output, context);
36
- };
37
- return ListDeploymentTargetsCommand;
38
- }($Command));
39
- export { ListDeploymentTargetsCommand };
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 { ListDeploymentsInputFilterSensitiveLog, ListDeploymentsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListDeploymentsCommand, serializeAws_json1_1ListDeploymentsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListDeploymentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDeploymentsCommand.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 = "ListDeploymentsCommand";
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 = "ListDeploymentsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDeploymentsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDeploymentsOutputFilterSensitiveLog,
25
22
  };
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) {
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_1ListDeploymentsCommand(input, context);
33
- };
34
- ListDeploymentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListDeploymentsCommand(output, context);
36
- };
37
- return ListDeploymentsCommand;
38
- }($Command));
39
- export { ListDeploymentsCommand };
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 { ListGitHubAccountTokenNamesInputFilterSensitiveLog, ListGitHubAccountTokenNamesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListGitHubAccountTokenNamesCommand, serializeAws_json1_1ListGitHubAccountTokenNamesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListGitHubAccountTokenNamesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListGitHubAccountTokenNamesCommand.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 = "ListGitHubAccountTokenNamesCommand";
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 = "ListGitHubAccountTokenNamesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListGitHubAccountTokenNamesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListGitHubAccountTokenNamesOutputFilterSensitiveLog,
25
22
  };
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) {
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_1ListGitHubAccountTokenNamesCommand(input, context);
33
- };
34
- ListGitHubAccountTokenNamesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListGitHubAccountTokenNamesCommand(output, context);
36
- };
37
- return ListGitHubAccountTokenNamesCommand;
38
- }($Command));
39
- export { ListGitHubAccountTokenNamesCommand };
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 { ListOnPremisesInstancesInputFilterSensitiveLog, ListOnPremisesInstancesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListOnPremisesInstancesCommand, serializeAws_json1_1ListOnPremisesInstancesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class ListOnPremisesInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListOnPremisesInstancesCommand.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 = "ListOnPremisesInstancesCommand";
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 = "ListOnPremisesInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListOnPremisesInstancesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListOnPremisesInstancesOutputFilterSensitiveLog,
25
22
  };
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) {
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_1ListOnPremisesInstancesCommand(input, context);
33
- };
34
- ListOnPremisesInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListOnPremisesInstancesCommand(output, context);
36
- };
37
- return ListOnPremisesInstancesCommand;
38
- }($Command));
39
- export { ListOnPremisesInstancesCommand };
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 { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CodeDeployClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CodeDeployClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutLifecycleEventHookExecutionStatusInputFilterSensitiveLog, PutLifecycleEventHookExecutionStatusOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand, serializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class PutLifecycleEventHookExecutionStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutLifecycleEventHookExecutionStatusCommand.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 = "PutLifecycleEventHookExecutionStatusCommand";
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 = "PutLifecycleEventHookExecutionStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutLifecycleEventHookExecutionStatusInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutLifecycleEventHookExecutionStatusOutputFilterSensitiveLog,
25
22
  };
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) {
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_1PutLifecycleEventHookExecutionStatusCommand(input, context);
33
- };
34
- PutLifecycleEventHookExecutionStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1PutLifecycleEventHookExecutionStatusCommand(output, context);
36
- };
37
- return PutLifecycleEventHookExecutionStatusCommand;
38
- }($Command));
39
- export { PutLifecycleEventHookExecutionStatusCommand };
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 { RegisterApplicationRevisionInputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1RegisterApplicationRevisionCommand, serializeAws_json1_1RegisterApplicationRevisionCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class RegisterApplicationRevisionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RegisterApplicationRevisionCommand.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 = "RegisterApplicationRevisionCommand";
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 = "RegisterApplicationRevisionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RegisterApplicationRevisionInputFilterSensitiveLog,
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
- RegisterApplicationRevisionCommand.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_1RegisterApplicationRevisionCommand(input, context);
33
- };
34
- RegisterApplicationRevisionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1RegisterApplicationRevisionCommand(output, context);
36
- };
37
- return RegisterApplicationRevisionCommand;
38
- }($Command));
39
- export { RegisterApplicationRevisionCommand };
31
+ }
32
+ }