@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,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 { GetApplicationInputFilterSensitiveLog, GetApplicationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetApplicationCommand, serializeAws_json1_1GetApplicationCommand, } from "../protocols/Aws_json1_1";
5
- export class GetApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApplicationCommand = (function (_super) {
7
+ __extends(GetApplicationCommand, _super);
8
+ function GetApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApplicationCommand.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 = "GetApplicationCommand";
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 = "GetApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApplicationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApplicationOutputFilterSensitiveLog,
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
+ GetApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApplicationCommand;
38
+ }($Command));
39
+ export { GetApplicationCommand };
@@ -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 { GetApplicationRevisionInputFilterSensitiveLog, GetApplicationRevisionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetApplicationRevisionCommand, serializeAws_json1_1GetApplicationRevisionCommand, } from "../protocols/Aws_json1_1";
5
- export class GetApplicationRevisionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApplicationRevisionCommand = (function (_super) {
7
+ __extends(GetApplicationRevisionCommand, _super);
8
+ function GetApplicationRevisionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApplicationRevisionCommand.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 = "GetApplicationRevisionCommand";
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 = "GetApplicationRevisionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApplicationRevisionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApplicationRevisionOutputFilterSensitiveLog,
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
+ GetApplicationRevisionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetApplicationRevisionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApplicationRevisionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetApplicationRevisionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApplicationRevisionCommand;
38
+ }($Command));
39
+ export { GetApplicationRevisionCommand };
@@ -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 { GetDeploymentInputFilterSensitiveLog, GetDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetDeploymentCommand, serializeAws_json1_1GetDeploymentCommand, } from "../protocols/Aws_json1_1";
5
- export class GetDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentCommand = (function (_super) {
7
+ __extends(GetDeploymentCommand, _super);
8
+ function GetDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentCommand.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 = "GetDeploymentCommand";
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 = "GetDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentOutputFilterSensitiveLog,
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
+ GetDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentCommand;
38
+ }($Command));
39
+ export { GetDeploymentCommand };
@@ -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 { GetDeploymentConfigInputFilterSensitiveLog, GetDeploymentConfigOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetDeploymentConfigCommand, serializeAws_json1_1GetDeploymentConfigCommand, } from "../protocols/Aws_json1_1";
5
- export class GetDeploymentConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentConfigCommand = (function (_super) {
7
+ __extends(GetDeploymentConfigCommand, _super);
8
+ function GetDeploymentConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentConfigCommand.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 = "GetDeploymentConfigCommand";
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 = "GetDeploymentConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentConfigInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentConfigOutputFilterSensitiveLog,
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
+ GetDeploymentConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetDeploymentConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetDeploymentConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentConfigCommand;
38
+ }($Command));
39
+ export { GetDeploymentConfigCommand };
@@ -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 { GetDeploymentGroupInputFilterSensitiveLog, GetDeploymentGroupOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetDeploymentGroupCommand, serializeAws_json1_1GetDeploymentGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class GetDeploymentGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentGroupCommand = (function (_super) {
7
+ __extends(GetDeploymentGroupCommand, _super);
8
+ function GetDeploymentGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentGroupCommand.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 = "GetDeploymentGroupCommand";
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 = "GetDeploymentGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentGroupInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentGroupOutputFilterSensitiveLog,
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
+ GetDeploymentGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetDeploymentGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetDeploymentGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentGroupCommand;
38
+ }($Command));
39
+ export { GetDeploymentGroupCommand };
@@ -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 { GetDeploymentInstanceInputFilterSensitiveLog, GetDeploymentInstanceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetDeploymentInstanceCommand, serializeAws_json1_1GetDeploymentInstanceCommand, } from "../protocols/Aws_json1_1";
5
- export class GetDeploymentInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentInstanceCommand = (function (_super) {
7
+ __extends(GetDeploymentInstanceCommand, _super);
8
+ function GetDeploymentInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentInstanceCommand.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 = "GetDeploymentInstanceCommand";
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 = "GetDeploymentInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentInstanceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentInstanceOutputFilterSensitiveLog,
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
+ GetDeploymentInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetDeploymentInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetDeploymentInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentInstanceCommand;
38
+ }($Command));
39
+ export { GetDeploymentInstanceCommand };
@@ -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 { GetDeploymentTargetInputFilterSensitiveLog, GetDeploymentTargetOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetDeploymentTargetCommand, serializeAws_json1_1GetDeploymentTargetCommand, } from "../protocols/Aws_json1_1";
5
- export class GetDeploymentTargetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentTargetCommand = (function (_super) {
7
+ __extends(GetDeploymentTargetCommand, _super);
8
+ function GetDeploymentTargetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentTargetCommand.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 = "GetDeploymentTargetCommand";
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 = "GetDeploymentTargetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentTargetInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentTargetOutputFilterSensitiveLog,
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
+ GetDeploymentTargetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetDeploymentTargetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentTargetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetDeploymentTargetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentTargetCommand;
38
+ }($Command));
39
+ export { GetDeploymentTargetCommand };
@@ -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 { GetOnPremisesInstanceInputFilterSensitiveLog, GetOnPremisesInstanceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetOnPremisesInstanceCommand, serializeAws_json1_1GetOnPremisesInstanceCommand, } from "../protocols/Aws_json1_1";
5
- export class GetOnPremisesInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetOnPremisesInstanceCommand = (function (_super) {
7
+ __extends(GetOnPremisesInstanceCommand, _super);
8
+ function GetOnPremisesInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetOnPremisesInstanceCommand.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 = "GetOnPremisesInstanceCommand";
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 = "GetOnPremisesInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetOnPremisesInstanceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetOnPremisesInstanceOutputFilterSensitiveLog,
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
+ GetOnPremisesInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetOnPremisesInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetOnPremisesInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetOnPremisesInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetOnPremisesInstanceCommand;
38
+ }($Command));
39
+ export { GetOnPremisesInstanceCommand };
@@ -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 { ListApplicationRevisionsInputFilterSensitiveLog, ListApplicationRevisionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListApplicationRevisionsCommand, serializeAws_json1_1ListApplicationRevisionsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListApplicationRevisionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationRevisionsCommand = (function (_super) {
7
+ __extends(ListApplicationRevisionsCommand, _super);
8
+ function ListApplicationRevisionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationRevisionsCommand.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 = "ListApplicationRevisionsCommand";
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 = "ListApplicationRevisionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationRevisionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationRevisionsOutputFilterSensitiveLog,
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
+ ListApplicationRevisionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListApplicationRevisionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationRevisionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListApplicationRevisionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationRevisionsCommand;
38
+ }($Command));
39
+ export { ListApplicationRevisionsCommand };
@@ -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 { ListApplicationsInputFilterSensitiveLog, ListApplicationsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListApplicationsCommand, serializeAws_json1_1ListApplicationsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListApplicationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationsCommand = (function (_super) {
7
+ __extends(ListApplicationsCommand, _super);
8
+ function ListApplicationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationsCommand.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 = "ListApplicationsCommand";
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 = "ListApplicationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationsOutputFilterSensitiveLog,
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
+ ListApplicationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListApplicationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListApplicationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationsCommand;
38
+ }($Command));
39
+ export { ListApplicationsCommand };