@aws-sdk/client-codedeploy 3.927.0 → 3.928.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 (68) hide show
  1. package/dist-cjs/index.js +3169 -3269
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CodeDeployClient.js +2 -0
  4. package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +3 -9
  5. package/dist-es/commands/BatchGetApplicationRevisionsCommand.js +3 -9
  6. package/dist-es/commands/BatchGetApplicationsCommand.js +3 -9
  7. package/dist-es/commands/BatchGetDeploymentGroupsCommand.js +3 -9
  8. package/dist-es/commands/BatchGetDeploymentInstancesCommand.js +3 -9
  9. package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +3 -9
  10. package/dist-es/commands/BatchGetDeploymentsCommand.js +3 -9
  11. package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +3 -9
  12. package/dist-es/commands/ContinueDeploymentCommand.js +3 -9
  13. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  14. package/dist-es/commands/CreateDeploymentCommand.js +3 -9
  15. package/dist-es/commands/CreateDeploymentConfigCommand.js +3 -9
  16. package/dist-es/commands/CreateDeploymentGroupCommand.js +3 -9
  17. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  18. package/dist-es/commands/DeleteDeploymentConfigCommand.js +3 -9
  19. package/dist-es/commands/DeleteDeploymentGroupCommand.js +3 -9
  20. package/dist-es/commands/DeleteGitHubAccountTokenCommand.js +3 -9
  21. package/dist-es/commands/DeleteResourcesByExternalIdCommand.js +3 -9
  22. package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +3 -9
  23. package/dist-es/commands/GetApplicationCommand.js +3 -9
  24. package/dist-es/commands/GetApplicationRevisionCommand.js +3 -9
  25. package/dist-es/commands/GetDeploymentCommand.js +3 -9
  26. package/dist-es/commands/GetDeploymentConfigCommand.js +3 -9
  27. package/dist-es/commands/GetDeploymentGroupCommand.js +3 -9
  28. package/dist-es/commands/GetDeploymentInstanceCommand.js +3 -9
  29. package/dist-es/commands/GetDeploymentTargetCommand.js +3 -9
  30. package/dist-es/commands/GetOnPremisesInstanceCommand.js +3 -9
  31. package/dist-es/commands/ListApplicationRevisionsCommand.js +3 -9
  32. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  33. package/dist-es/commands/ListDeploymentConfigsCommand.js +3 -9
  34. package/dist-es/commands/ListDeploymentGroupsCommand.js +3 -9
  35. package/dist-es/commands/ListDeploymentInstancesCommand.js +3 -9
  36. package/dist-es/commands/ListDeploymentTargetsCommand.js +3 -9
  37. package/dist-es/commands/ListDeploymentsCommand.js +3 -9
  38. package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +3 -9
  39. package/dist-es/commands/ListOnPremisesInstancesCommand.js +3 -9
  40. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  41. package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +3 -9
  42. package/dist-es/commands/RegisterApplicationRevisionCommand.js +3 -9
  43. package/dist-es/commands/RegisterOnPremisesInstanceCommand.js +3 -9
  44. package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +3 -9
  45. package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +3 -9
  46. package/dist-es/commands/StopDeploymentCommand.js +3 -9
  47. package/dist-es/commands/TagResourceCommand.js +3 -9
  48. package/dist-es/commands/UntagResourceCommand.js +3 -9
  49. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  50. package/dist-es/commands/UpdateDeploymentGroupCommand.js +3 -9
  51. package/dist-es/runtimeConfig.shared.js +7 -0
  52. package/dist-es/schemas/schemas_0.js +2762 -0
  53. package/dist-types/CodeDeployClient.d.ts +10 -1
  54. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  55. package/dist-types/runtimeConfig.d.ts +1 -0
  56. package/dist-types/runtimeConfig.native.d.ts +1 -0
  57. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  58. package/dist-types/schemas/schemas_0.d.ts +341 -0
  59. package/dist-types/ts3.4/CodeDeployClient.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +347 -0
  65. package/package.json +5 -5
  66. package/dist-es/protocols/Aws_json1_1.js +0 -2614
  67. package/dist-types/protocols/Aws_json1_1.d.ts +0 -425
  68. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -569
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.codedeploy",
32
+ serviceTarget: "CodeDeploy_20141006",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "CodeDeploy",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class CodeDeployClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddTagsToOnPremisesInstancesCommand, se_AddTagsToOnPremisesInstancesCommand, } from "../protocols/Aws_json1_1";
4
+ import { AddTagsToOnPremisesInstances } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddTagsToOnPremisesInstancesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "AddTagsToOnPremisesInstances", {})
17
13
  .n("CodeDeployClient", "AddTagsToOnPremisesInstancesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddTagsToOnPremisesInstancesCommand)
20
- .de(de_AddTagsToOnPremisesInstancesCommand)
14
+ .sc(AddTagsToOnPremisesInstances)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetApplicationRevisionsCommand, se_BatchGetApplicationRevisionsCommand, } from "../protocols/Aws_json1_1";
4
+ import { BatchGetApplicationRevisions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetApplicationRevisionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "BatchGetApplicationRevisions", {})
17
13
  .n("CodeDeployClient", "BatchGetApplicationRevisionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetApplicationRevisionsCommand)
20
- .de(de_BatchGetApplicationRevisionsCommand)
14
+ .sc(BatchGetApplicationRevisions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetApplicationsCommand, se_BatchGetApplicationsCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetApplications } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetApplicationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "BatchGetApplications", {})
17
13
  .n("CodeDeployClient", "BatchGetApplicationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetApplicationsCommand)
20
- .de(de_BatchGetApplicationsCommand)
14
+ .sc(BatchGetApplications)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetDeploymentGroupsCommand, se_BatchGetDeploymentGroupsCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetDeploymentGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetDeploymentGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "BatchGetDeploymentGroups", {})
17
13
  .n("CodeDeployClient", "BatchGetDeploymentGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetDeploymentGroupsCommand)
20
- .de(de_BatchGetDeploymentGroupsCommand)
14
+ .sc(BatchGetDeploymentGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetDeploymentInstancesCommand, se_BatchGetDeploymentInstancesCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetDeploymentInstances } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetDeploymentInstancesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "BatchGetDeploymentInstances", {})
17
13
  .n("CodeDeployClient", "BatchGetDeploymentInstancesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetDeploymentInstancesCommand)
20
- .de(de_BatchGetDeploymentInstancesCommand)
14
+ .sc(BatchGetDeploymentInstances)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetDeploymentTargetsCommand, se_BatchGetDeploymentTargetsCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetDeploymentTargets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetDeploymentTargetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "BatchGetDeploymentTargets", {})
17
13
  .n("CodeDeployClient", "BatchGetDeploymentTargetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetDeploymentTargetsCommand)
20
- .de(de_BatchGetDeploymentTargetsCommand)
14
+ .sc(BatchGetDeploymentTargets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetDeploymentsCommand, se_BatchGetDeploymentsCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetDeployments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetDeploymentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "BatchGetDeployments", {})
17
13
  .n("CodeDeployClient", "BatchGetDeploymentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetDeploymentsCommand)
20
- .de(de_BatchGetDeploymentsCommand)
14
+ .sc(BatchGetDeployments)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchGetOnPremisesInstancesCommand, se_BatchGetOnPremisesInstancesCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetOnPremisesInstances } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetOnPremisesInstancesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "BatchGetOnPremisesInstances", {})
17
13
  .n("CodeDeployClient", "BatchGetOnPremisesInstancesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetOnPremisesInstancesCommand)
20
- .de(de_BatchGetOnPremisesInstancesCommand)
14
+ .sc(BatchGetOnPremisesInstances)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ContinueDeploymentCommand, se_ContinueDeploymentCommand } from "../protocols/Aws_json1_1";
4
+ import { ContinueDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ContinueDeploymentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "ContinueDeployment", {})
17
13
  .n("CodeDeployClient", "ContinueDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ContinueDeploymentCommand)
20
- .de(de_ContinueDeploymentCommand)
14
+ .sc(ContinueDeployment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "CreateApplication", {})
17
13
  .n("CodeDeployClient", "CreateApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApplicationCommand)
20
- .de(de_CreateApplicationCommand)
14
+ .sc(CreateApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDeploymentCommand, se_CreateDeploymentCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDeploymentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "CreateDeployment", {})
17
13
  .n("CodeDeployClient", "CreateDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDeploymentCommand)
20
- .de(de_CreateDeploymentCommand)
14
+ .sc(CreateDeployment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDeploymentConfigCommand, se_CreateDeploymentConfigCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateDeploymentConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDeploymentConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "CreateDeploymentConfig", {})
17
13
  .n("CodeDeployClient", "CreateDeploymentConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDeploymentConfigCommand)
20
- .de(de_CreateDeploymentConfigCommand)
14
+ .sc(CreateDeploymentConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDeploymentGroupCommand, se_CreateDeploymentGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateDeploymentGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDeploymentGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "CreateDeploymentGroup", {})
17
13
  .n("CodeDeployClient", "CreateDeploymentGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDeploymentGroupCommand)
20
- .de(de_CreateDeploymentGroupCommand)
14
+ .sc(CreateDeploymentGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteApplicationCommand, se_DeleteApplicationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "DeleteApplication", {})
17
13
  .n("CodeDeployClient", "DeleteApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApplicationCommand)
20
- .de(de_DeleteApplicationCommand)
14
+ .sc(DeleteApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDeploymentConfigCommand, se_DeleteDeploymentConfigCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDeploymentConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeploymentConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "DeleteDeploymentConfig", {})
17
13
  .n("CodeDeployClient", "DeleteDeploymentConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeploymentConfigCommand)
20
- .de(de_DeleteDeploymentConfigCommand)
14
+ .sc(DeleteDeploymentConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDeploymentGroupCommand, se_DeleteDeploymentGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteDeploymentGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeploymentGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "DeleteDeploymentGroup", {})
17
13
  .n("CodeDeployClient", "DeleteDeploymentGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeploymentGroupCommand)
20
- .de(de_DeleteDeploymentGroupCommand)
14
+ .sc(DeleteDeploymentGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteGitHubAccountTokenCommand, se_DeleteGitHubAccountTokenCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteGitHubAccountToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteGitHubAccountTokenCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "DeleteGitHubAccountToken", {})
17
13
  .n("CodeDeployClient", "DeleteGitHubAccountTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteGitHubAccountTokenCommand)
20
- .de(de_DeleteGitHubAccountTokenCommand)
14
+ .sc(DeleteGitHubAccountToken)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteResourcesByExternalIdCommand, se_DeleteResourcesByExternalIdCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteResourcesByExternalId } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcesByExternalIdCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "DeleteResourcesByExternalId", {})
17
13
  .n("CodeDeployClient", "DeleteResourcesByExternalIdCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResourcesByExternalIdCommand)
20
- .de(de_DeleteResourcesByExternalIdCommand)
14
+ .sc(DeleteResourcesByExternalId)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeregisterOnPremisesInstanceCommand, se_DeregisterOnPremisesInstanceCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeregisterOnPremisesInstance } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeregisterOnPremisesInstanceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "DeregisterOnPremisesInstance", {})
17
13
  .n("CodeDeployClient", "DeregisterOnPremisesInstanceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeregisterOnPremisesInstanceCommand)
20
- .de(de_DeregisterOnPremisesInstanceCommand)
14
+ .sc(DeregisterOnPremisesInstance)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetApplicationCommand, se_GetApplicationCommand } from "../protocols/Aws_json1_1";
4
+ import { GetApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "GetApplication", {})
17
13
  .n("CodeDeployClient", "GetApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetApplicationCommand)
20
- .de(de_GetApplicationCommand)
14
+ .sc(GetApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetApplicationRevisionCommand, se_GetApplicationRevisionCommand } from "../protocols/Aws_json1_1";
4
+ import { GetApplicationRevision } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetApplicationRevisionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "GetApplicationRevision", {})
17
13
  .n("CodeDeployClient", "GetApplicationRevisionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetApplicationRevisionCommand)
20
- .de(de_GetApplicationRevisionCommand)
14
+ .sc(GetApplicationRevision)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDeploymentCommand, se_GetDeploymentCommand } from "../protocols/Aws_json1_1";
4
+ import { GetDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDeploymentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("CodeDeploy_20141006", "GetDeployment", {})
17
13
  .n("CodeDeployClient", "GetDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDeploymentCommand)
20
- .de(de_GetDeploymentCommand)
14
+ .sc(GetDeployment)
21
15
  .build() {
22
16
  }