@aws-sdk/client-codedeploy 3.186.0 → 3.190.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 +16 -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 { CreateApplicationInputFilterSensitiveLog, CreateApplicationOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateApplicationCommand, serializeAws_json1_1CreateApplicationCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateApplicationCommand.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 = "CreateApplicationCommand";
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 = "CreateApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateApplicationInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateApplicationOutputFilterSensitiveLog,
25
22
  };
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) {
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_1CreateApplicationCommand(input, context);
33
- };
34
- CreateApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateApplicationCommand(output, context);
36
- };
37
- return CreateApplicationCommand;
38
- }($Command));
39
- export { CreateApplicationCommand };
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 { CreateDeploymentInputFilterSensitiveLog, CreateDeploymentOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateDeploymentCommand, serializeAws_json1_1CreateDeploymentCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDeploymentCommand.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 = "CreateDeploymentCommand";
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 = "CreateDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDeploymentInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDeploymentOutputFilterSensitiveLog,
25
22
  };
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) {
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_1CreateDeploymentCommand(input, context);
33
- };
34
- CreateDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateDeploymentCommand(output, context);
36
- };
37
- return CreateDeploymentCommand;
38
- }($Command));
39
- export { CreateDeploymentCommand };
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 { CreateDeploymentConfigInputFilterSensitiveLog, CreateDeploymentConfigOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateDeploymentConfigCommand, serializeAws_json1_1CreateDeploymentConfigCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateDeploymentConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDeploymentConfigCommand.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 = "CreateDeploymentConfigCommand";
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 = "CreateDeploymentConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDeploymentConfigInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDeploymentConfigOutputFilterSensitiveLog,
25
22
  };
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) {
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_1CreateDeploymentConfigCommand(input, context);
33
- };
34
- CreateDeploymentConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateDeploymentConfigCommand(output, context);
36
- };
37
- return CreateDeploymentConfigCommand;
38
- }($Command));
39
- export { CreateDeploymentConfigCommand };
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 { CreateDeploymentGroupInputFilterSensitiveLog, CreateDeploymentGroupOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateDeploymentGroupCommand, serializeAws_json1_1CreateDeploymentGroupCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class CreateDeploymentGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDeploymentGroupCommand.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 = "CreateDeploymentGroupCommand";
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 = "CreateDeploymentGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDeploymentGroupInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDeploymentGroupOutputFilterSensitiveLog,
25
22
  };
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) {
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_1CreateDeploymentGroupCommand(input, context);
33
- };
34
- CreateDeploymentGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateDeploymentGroupCommand(output, context);
36
- };
37
- return CreateDeploymentGroupCommand;
38
- }($Command));
39
- export { CreateDeploymentGroupCommand };
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 { DeleteApplicationInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteApplicationCommand, serializeAws_json1_1DeleteApplicationCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApplicationCommand.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 = "DeleteApplicationCommand";
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 = "DeleteApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteApplicationInputFilterSensitiveLog,
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
- DeleteApplicationCommand.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_1DeleteApplicationCommand(input, context);
33
- };
34
- DeleteApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteApplicationCommand(output, context);
36
- };
37
- return DeleteApplicationCommand;
38
- }($Command));
39
- export { DeleteApplicationCommand };
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 { DeleteDeploymentConfigInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteDeploymentConfigCommand, serializeAws_json1_1DeleteDeploymentConfigCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteDeploymentConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDeploymentConfigCommand.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 = "DeleteDeploymentConfigCommand";
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 = "DeleteDeploymentConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDeploymentConfigInputFilterSensitiveLog,
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
- DeleteDeploymentConfigCommand.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_1DeleteDeploymentConfigCommand(input, context);
33
- };
34
- DeleteDeploymentConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteDeploymentConfigCommand(output, context);
36
- };
37
- return DeleteDeploymentConfigCommand;
38
- }($Command));
39
- export { DeleteDeploymentConfigCommand };
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 { DeleteDeploymentGroupInputFilterSensitiveLog, DeleteDeploymentGroupOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteDeploymentGroupCommand, serializeAws_json1_1DeleteDeploymentGroupCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteDeploymentGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDeploymentGroupCommand.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 = "DeleteDeploymentGroupCommand";
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 = "DeleteDeploymentGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDeploymentGroupInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteDeploymentGroupOutputFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteDeploymentGroupCommand(input, context);
33
- };
34
- DeleteDeploymentGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteDeploymentGroupCommand(output, context);
36
- };
37
- return DeleteDeploymentGroupCommand;
38
- }($Command));
39
- export { DeleteDeploymentGroupCommand };
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 { DeleteGitHubAccountTokenInputFilterSensitiveLog, DeleteGitHubAccountTokenOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteGitHubAccountTokenCommand, serializeAws_json1_1DeleteGitHubAccountTokenCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteGitHubAccountTokenCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteGitHubAccountTokenCommand.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 = "DeleteGitHubAccountTokenCommand";
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 = "DeleteGitHubAccountTokenCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteGitHubAccountTokenInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteGitHubAccountTokenOutputFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteGitHubAccountTokenCommand(input, context);
33
- };
34
- DeleteGitHubAccountTokenCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteGitHubAccountTokenCommand(output, context);
36
- };
37
- return DeleteGitHubAccountTokenCommand;
38
- }($Command));
39
- export { DeleteGitHubAccountTokenCommand };
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 { DeleteResourcesByExternalIdInputFilterSensitiveLog, DeleteResourcesByExternalIdOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteResourcesByExternalIdCommand, serializeAws_json1_1DeleteResourcesByExternalIdCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteResourcesByExternalIdCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteResourcesByExternalIdCommand.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 = "DeleteResourcesByExternalIdCommand";
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 = "DeleteResourcesByExternalIdCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteResourcesByExternalIdInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteResourcesByExternalIdOutputFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteResourcesByExternalIdCommand(input, context);
33
- };
34
- DeleteResourcesByExternalIdCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteResourcesByExternalIdCommand(output, context);
36
- };
37
- return DeleteResourcesByExternalIdCommand;
38
- }($Command));
39
- export { DeleteResourcesByExternalIdCommand };
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 { DeregisterOnPremisesInstanceInputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeregisterOnPremisesInstanceCommand, serializeAws_json1_1DeregisterOnPremisesInstanceCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeregisterOnPremisesInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeregisterOnPremisesInstanceCommand.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 = "DeregisterOnPremisesInstanceCommand";
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 = "DeregisterOnPremisesInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeregisterOnPremisesInstanceInputFilterSensitiveLog,
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
- DeregisterOnPremisesInstanceCommand.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_1DeregisterOnPremisesInstanceCommand(input, context);
33
- };
34
- DeregisterOnPremisesInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeregisterOnPremisesInstanceCommand(output, context);
36
- };
37
- return DeregisterOnPremisesInstanceCommand;
38
- }($Command));
39
- export { DeregisterOnPremisesInstanceCommand };
31
+ }
32
+ }