@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 { CreateApplicationInputFilterSensitiveLog, CreateApplicationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateApplicationCommand, serializeAws_json1_1CreateApplicationCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateApplicationCommand = (function (_super) {
7
+ __extends(CreateApplicationCommand, _super);
8
+ function CreateApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateApplicationCommand.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 = "CreateApplicationCommand";
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 = "CreateApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateApplicationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateApplicationOutputFilterSensitiveLog,
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
+ CreateApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateApplicationCommand;
38
+ }($Command));
39
+ export { CreateApplicationCommand };
@@ -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 { CreateDeploymentInputFilterSensitiveLog, CreateDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDeploymentCommand, serializeAws_json1_1CreateDeploymentCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDeploymentCommand = (function (_super) {
7
+ __extends(CreateDeploymentCommand, _super);
8
+ function CreateDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDeploymentCommand.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 = "CreateDeploymentCommand";
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 = "CreateDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDeploymentInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDeploymentOutputFilterSensitiveLog,
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
+ CreateDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDeploymentCommand;
38
+ }($Command));
39
+ export { CreateDeploymentCommand };
@@ -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 { CreateDeploymentConfigInputFilterSensitiveLog, CreateDeploymentConfigOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDeploymentConfigCommand, serializeAws_json1_1CreateDeploymentConfigCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDeploymentConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDeploymentConfigCommand = (function (_super) {
7
+ __extends(CreateDeploymentConfigCommand, _super);
8
+ function CreateDeploymentConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDeploymentConfigCommand.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 = "CreateDeploymentConfigCommand";
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 = "CreateDeploymentConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDeploymentConfigInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDeploymentConfigOutputFilterSensitiveLog,
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
+ CreateDeploymentConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDeploymentConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDeploymentConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDeploymentConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDeploymentConfigCommand;
38
+ }($Command));
39
+ export { CreateDeploymentConfigCommand };
@@ -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 { CreateDeploymentGroupInputFilterSensitiveLog, CreateDeploymentGroupOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDeploymentGroupCommand, serializeAws_json1_1CreateDeploymentGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDeploymentGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDeploymentGroupCommand = (function (_super) {
7
+ __extends(CreateDeploymentGroupCommand, _super);
8
+ function CreateDeploymentGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDeploymentGroupCommand.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 = "CreateDeploymentGroupCommand";
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 = "CreateDeploymentGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDeploymentGroupInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDeploymentGroupOutputFilterSensitiveLog,
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
+ CreateDeploymentGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDeploymentGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDeploymentGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDeploymentGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDeploymentGroupCommand;
38
+ }($Command));
39
+ export { CreateDeploymentGroupCommand };
@@ -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 { DeleteApplicationInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteApplicationCommand, serializeAws_json1_1DeleteApplicationCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteApplicationCommand = (function (_super) {
7
+ __extends(DeleteApplicationCommand, _super);
8
+ function DeleteApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApplicationCommand.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 = "DeleteApplicationCommand";
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 = "DeleteApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteApplicationInputFilterSensitiveLog,
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
+ DeleteApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApplicationCommand;
38
+ }($Command));
39
+ export { DeleteApplicationCommand };
@@ -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 { DeleteDeploymentConfigInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDeploymentConfigCommand, serializeAws_json1_1DeleteDeploymentConfigCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDeploymentConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDeploymentConfigCommand = (function (_super) {
7
+ __extends(DeleteDeploymentConfigCommand, _super);
8
+ function DeleteDeploymentConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDeploymentConfigCommand.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 = "DeleteDeploymentConfigCommand";
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 = "DeleteDeploymentConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDeploymentConfigInputFilterSensitiveLog,
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
+ DeleteDeploymentConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDeploymentConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDeploymentConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDeploymentConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDeploymentConfigCommand;
38
+ }($Command));
39
+ export { DeleteDeploymentConfigCommand };
@@ -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 { DeleteDeploymentGroupInputFilterSensitiveLog, DeleteDeploymentGroupOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDeploymentGroupCommand, serializeAws_json1_1DeleteDeploymentGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDeploymentGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDeploymentGroupCommand = (function (_super) {
7
+ __extends(DeleteDeploymentGroupCommand, _super);
8
+ function DeleteDeploymentGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDeploymentGroupCommand.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 = "DeleteDeploymentGroupCommand";
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 = "DeleteDeploymentGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDeploymentGroupInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDeploymentGroupOutputFilterSensitiveLog,
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
+ DeleteDeploymentGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDeploymentGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDeploymentGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDeploymentGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDeploymentGroupCommand;
38
+ }($Command));
39
+ export { DeleteDeploymentGroupCommand };
@@ -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 { DeleteGitHubAccountTokenInputFilterSensitiveLog, DeleteGitHubAccountTokenOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteGitHubAccountTokenCommand, serializeAws_json1_1DeleteGitHubAccountTokenCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteGitHubAccountTokenCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteGitHubAccountTokenCommand = (function (_super) {
7
+ __extends(DeleteGitHubAccountTokenCommand, _super);
8
+ function DeleteGitHubAccountTokenCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteGitHubAccountTokenCommand.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 = "DeleteGitHubAccountTokenCommand";
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 = "DeleteGitHubAccountTokenCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteGitHubAccountTokenInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteGitHubAccountTokenOutputFilterSensitiveLog,
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
+ DeleteGitHubAccountTokenCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteGitHubAccountTokenCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteGitHubAccountTokenCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteGitHubAccountTokenCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteGitHubAccountTokenCommand;
38
+ }($Command));
39
+ export { DeleteGitHubAccountTokenCommand };
@@ -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 { DeleteResourcesByExternalIdInputFilterSensitiveLog, DeleteResourcesByExternalIdOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteResourcesByExternalIdCommand, serializeAws_json1_1DeleteResourcesByExternalIdCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteResourcesByExternalIdCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteResourcesByExternalIdCommand = (function (_super) {
7
+ __extends(DeleteResourcesByExternalIdCommand, _super);
8
+ function DeleteResourcesByExternalIdCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteResourcesByExternalIdCommand.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 = "DeleteResourcesByExternalIdCommand";
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 = "DeleteResourcesByExternalIdCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteResourcesByExternalIdInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteResourcesByExternalIdOutputFilterSensitiveLog,
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
+ DeleteResourcesByExternalIdCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteResourcesByExternalIdCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteResourcesByExternalIdCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteResourcesByExternalIdCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteResourcesByExternalIdCommand;
38
+ }($Command));
39
+ export { DeleteResourcesByExternalIdCommand };
@@ -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 { DeregisterOnPremisesInstanceInputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeregisterOnPremisesInstanceCommand, serializeAws_json1_1DeregisterOnPremisesInstanceCommand, } from "../protocols/Aws_json1_1";
5
- export class DeregisterOnPremisesInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeregisterOnPremisesInstanceCommand = (function (_super) {
7
+ __extends(DeregisterOnPremisesInstanceCommand, _super);
8
+ function DeregisterOnPremisesInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeregisterOnPremisesInstanceCommand.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 = "DeregisterOnPremisesInstanceCommand";
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 = "DeregisterOnPremisesInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeregisterOnPremisesInstanceInputFilterSensitiveLog,
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
+ DeregisterOnPremisesInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeregisterOnPremisesInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeregisterOnPremisesInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeregisterOnPremisesInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeregisterOnPremisesInstanceCommand;
38
+ }($Command));
39
+ export { DeregisterOnPremisesInstanceCommand };