@aws-sdk/client-codecatalyst 3.928.0 → 3.930.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 (62) hide show
  1. package/dist-cjs/index.js +1472 -1749
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/CodeCatalystClient.js +2 -0
  4. package/dist-es/commands/CreateAccessTokenCommand.js +3 -10
  5. package/dist-es/commands/CreateDevEnvironmentCommand.js +3 -9
  6. package/dist-es/commands/CreateProjectCommand.js +3 -9
  7. package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +3 -9
  8. package/dist-es/commands/CreateSourceRepositoryCommand.js +3 -9
  9. package/dist-es/commands/DeleteAccessTokenCommand.js +3 -9
  10. package/dist-es/commands/DeleteDevEnvironmentCommand.js +3 -9
  11. package/dist-es/commands/DeleteProjectCommand.js +3 -9
  12. package/dist-es/commands/DeleteSourceRepositoryCommand.js +3 -9
  13. package/dist-es/commands/DeleteSpaceCommand.js +3 -9
  14. package/dist-es/commands/GetDevEnvironmentCommand.js +3 -9
  15. package/dist-es/commands/GetProjectCommand.js +3 -9
  16. package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +3 -9
  17. package/dist-es/commands/GetSourceRepositoryCommand.js +3 -9
  18. package/dist-es/commands/GetSpaceCommand.js +3 -9
  19. package/dist-es/commands/GetSubscriptionCommand.js +3 -9
  20. package/dist-es/commands/GetUserDetailsCommand.js +3 -9
  21. package/dist-es/commands/GetWorkflowCommand.js +3 -9
  22. package/dist-es/commands/GetWorkflowRunCommand.js +3 -9
  23. package/dist-es/commands/ListAccessTokensCommand.js +3 -9
  24. package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +3 -9
  25. package/dist-es/commands/ListDevEnvironmentsCommand.js +3 -9
  26. package/dist-es/commands/ListEventLogsCommand.js +3 -9
  27. package/dist-es/commands/ListProjectsCommand.js +3 -9
  28. package/dist-es/commands/ListSourceRepositoriesCommand.js +3 -9
  29. package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +3 -9
  30. package/dist-es/commands/ListSpacesCommand.js +3 -9
  31. package/dist-es/commands/ListWorkflowRunsCommand.js +3 -9
  32. package/dist-es/commands/ListWorkflowsCommand.js +3 -9
  33. package/dist-es/commands/StartDevEnvironmentCommand.js +3 -9
  34. package/dist-es/commands/StartDevEnvironmentSessionCommand.js +3 -10
  35. package/dist-es/commands/StartWorkflowRunCommand.js +3 -9
  36. package/dist-es/commands/StopDevEnvironmentCommand.js +3 -9
  37. package/dist-es/commands/StopDevEnvironmentSessionCommand.js +3 -9
  38. package/dist-es/commands/UpdateDevEnvironmentCommand.js +3 -9
  39. package/dist-es/commands/UpdateProjectCommand.js +3 -9
  40. package/dist-es/commands/UpdateSpaceCommand.js +3 -9
  41. package/dist-es/commands/VerifySessionCommand.js +3 -9
  42. package/dist-es/models/models_0.js +0 -14
  43. package/dist-es/runtimeConfig.shared.js +2 -0
  44. package/dist-es/schemas/schemas_0.js +1383 -0
  45. package/dist-types/CodeCatalystClient.d.ts +10 -1
  46. package/dist-types/models/models_0.d.ts +0 -12
  47. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  48. package/dist-types/runtimeConfig.d.ts +1 -0
  49. package/dist-types/runtimeConfig.native.d.ts +1 -0
  50. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  51. package/dist-types/schemas/schemas_0.d.ts +175 -0
  52. package/dist-types/ts3.4/CodeCatalystClient.d.ts +4 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +0 -9
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +181 -0
  59. package/package.json +33 -34
  60. package/dist-es/protocols/Aws_restJson1.js +0 -1455
  61. package/dist-types/protocols/Aws_restJson1.d.ts +0 -344
  62. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -461
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
+ const protocols_1 = require("@aws-sdk/core/protocols");
4
5
  const core_1 = require("@smithy/core");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.codecatalyst" }),
28
30
  serviceId: config?.serviceId ?? "CodeCatalyst",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  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 CodeCatalystClient 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,23 +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 { CreateAccessTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateAccessTokenCommand, se_CreateAccessTokenCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAccessToken } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateAccessTokenCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("CodeCatalyst", "CreateAccessToken", {})
18
13
  .n("CodeCatalystClient", "CreateAccessTokenCommand")
19
- .f(void 0, CreateAccessTokenResponseFilterSensitiveLog)
20
- .ser(se_CreateAccessTokenCommand)
21
- .de(de_CreateAccessTokenCommand)
14
+ .sc(CreateAccessToken)
22
15
  .build() {
23
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_CreateDevEnvironmentCommand, se_CreateDevEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDevEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDevEnvironmentCommand 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("CodeCatalyst", "CreateDevEnvironment", {})
17
13
  .n("CodeCatalystClient", "CreateDevEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDevEnvironmentCommand)
20
- .de(de_CreateDevEnvironmentCommand)
14
+ .sc(CreateDevEnvironment)
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_CreateProjectCommand, se_CreateProjectCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateProject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateProjectCommand 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("CodeCatalyst", "CreateProject", {})
17
13
  .n("CodeCatalystClient", "CreateProjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateProjectCommand)
20
- .de(de_CreateProjectCommand)
14
+ .sc(CreateProject)
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_CreateSourceRepositoryBranchCommand, se_CreateSourceRepositoryBranchCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateSourceRepositoryBranch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSourceRepositoryBranchCommand 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("CodeCatalyst", "CreateSourceRepositoryBranch", {})
17
13
  .n("CodeCatalystClient", "CreateSourceRepositoryBranchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSourceRepositoryBranchCommand)
20
- .de(de_CreateSourceRepositoryBranchCommand)
14
+ .sc(CreateSourceRepositoryBranch)
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_CreateSourceRepositoryCommand, se_CreateSourceRepositoryCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSourceRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSourceRepositoryCommand 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("CodeCatalyst", "CreateSourceRepository", {})
17
13
  .n("CodeCatalystClient", "CreateSourceRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSourceRepositoryCommand)
20
- .de(de_CreateSourceRepositoryCommand)
14
+ .sc(CreateSourceRepository)
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_DeleteAccessTokenCommand, se_DeleteAccessTokenCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAccessToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAccessTokenCommand 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("CodeCatalyst", "DeleteAccessToken", {})
17
13
  .n("CodeCatalystClient", "DeleteAccessTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAccessTokenCommand)
20
- .de(de_DeleteAccessTokenCommand)
14
+ .sc(DeleteAccessToken)
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_DeleteDevEnvironmentCommand, se_DeleteDevEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDevEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDevEnvironmentCommand 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("CodeCatalyst", "DeleteDevEnvironment", {})
17
13
  .n("CodeCatalystClient", "DeleteDevEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDevEnvironmentCommand)
20
- .de(de_DeleteDevEnvironmentCommand)
14
+ .sc(DeleteDevEnvironment)
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_DeleteProjectCommand, se_DeleteProjectCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteProject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteProjectCommand 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("CodeCatalyst", "DeleteProject", {})
17
13
  .n("CodeCatalystClient", "DeleteProjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteProjectCommand)
20
- .de(de_DeleteProjectCommand)
14
+ .sc(DeleteProject)
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_DeleteSourceRepositoryCommand, se_DeleteSourceRepositoryCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSourceRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSourceRepositoryCommand 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("CodeCatalyst", "DeleteSourceRepository", {})
17
13
  .n("CodeCatalystClient", "DeleteSourceRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSourceRepositoryCommand)
20
- .de(de_DeleteSourceRepositoryCommand)
14
+ .sc(DeleteSourceRepository)
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_DeleteSpaceCommand, se_DeleteSpaceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSpace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSpaceCommand 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("CodeCatalyst", "DeleteSpace", {})
17
13
  .n("CodeCatalystClient", "DeleteSpaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSpaceCommand)
20
- .de(de_DeleteSpaceCommand)
14
+ .sc(DeleteSpace)
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_GetDevEnvironmentCommand, se_GetDevEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDevEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDevEnvironmentCommand 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("CodeCatalyst", "GetDevEnvironment", {})
17
13
  .n("CodeCatalystClient", "GetDevEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDevEnvironmentCommand)
20
- .de(de_GetDevEnvironmentCommand)
14
+ .sc(GetDevEnvironment)
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_GetProjectCommand, se_GetProjectCommand } from "../protocols/Aws_restJson1";
4
+ import { GetProject } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetProjectCommand 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("CodeCatalyst", "GetProject", {})
17
13
  .n("CodeCatalystClient", "GetProjectCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetProjectCommand)
20
- .de(de_GetProjectCommand)
14
+ .sc(GetProject)
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_GetSourceRepositoryCloneUrlsCommand, se_GetSourceRepositoryCloneUrlsCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetSourceRepositoryCloneUrls } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSourceRepositoryCloneUrlsCommand 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("CodeCatalyst", "GetSourceRepositoryCloneUrls", {})
17
13
  .n("CodeCatalystClient", "GetSourceRepositoryCloneUrlsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSourceRepositoryCloneUrlsCommand)
20
- .de(de_GetSourceRepositoryCloneUrlsCommand)
14
+ .sc(GetSourceRepositoryCloneUrls)
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_GetSourceRepositoryCommand, se_GetSourceRepositoryCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSourceRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSourceRepositoryCommand 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("CodeCatalyst", "GetSourceRepository", {})
17
13
  .n("CodeCatalystClient", "GetSourceRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSourceRepositoryCommand)
20
- .de(de_GetSourceRepositoryCommand)
14
+ .sc(GetSourceRepository)
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_GetSpaceCommand, se_GetSpaceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSpace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSpaceCommand 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("CodeCatalyst", "GetSpace", {})
17
13
  .n("CodeCatalystClient", "GetSpaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSpaceCommand)
20
- .de(de_GetSpaceCommand)
14
+ .sc(GetSpace)
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_GetSubscriptionCommand, se_GetSubscriptionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSubscriptionCommand 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("CodeCatalyst", "GetSubscription", {})
17
13
  .n("CodeCatalystClient", "GetSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSubscriptionCommand)
20
- .de(de_GetSubscriptionCommand)
14
+ .sc(GetSubscription)
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_GetUserDetailsCommand, se_GetUserDetailsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetUserDetails } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetUserDetailsCommand 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("CodeCatalyst", "GetUserDetails", {})
17
13
  .n("CodeCatalystClient", "GetUserDetailsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetUserDetailsCommand)
20
- .de(de_GetUserDetailsCommand)
14
+ .sc(GetUserDetails)
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_GetWorkflowCommand, se_GetWorkflowCommand } from "../protocols/Aws_restJson1";
4
+ import { GetWorkflow } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWorkflowCommand 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("CodeCatalyst", "GetWorkflow", {})
17
13
  .n("CodeCatalystClient", "GetWorkflowCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWorkflowCommand)
20
- .de(de_GetWorkflowCommand)
14
+ .sc(GetWorkflow)
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_GetWorkflowRunCommand, se_GetWorkflowRunCommand } from "../protocols/Aws_restJson1";
4
+ import { GetWorkflowRun } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWorkflowRunCommand 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("CodeCatalyst", "GetWorkflowRun", {})
17
13
  .n("CodeCatalystClient", "GetWorkflowRunCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWorkflowRunCommand)
20
- .de(de_GetWorkflowRunCommand)
14
+ .sc(GetWorkflowRun)
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_ListAccessTokensCommand, se_ListAccessTokensCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAccessTokens } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAccessTokensCommand 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("CodeCatalyst", "ListAccessTokens", {})
17
13
  .n("CodeCatalystClient", "ListAccessTokensCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAccessTokensCommand)
20
- .de(de_ListAccessTokensCommand)
14
+ .sc(ListAccessTokens)
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_ListDevEnvironmentSessionsCommand, se_ListDevEnvironmentSessionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDevEnvironmentSessions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDevEnvironmentSessionsCommand 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("CodeCatalyst", "ListDevEnvironmentSessions", {})
17
13
  .n("CodeCatalystClient", "ListDevEnvironmentSessionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDevEnvironmentSessionsCommand)
20
- .de(de_ListDevEnvironmentSessionsCommand)
14
+ .sc(ListDevEnvironmentSessions)
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_ListDevEnvironmentsCommand, se_ListDevEnvironmentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDevEnvironments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDevEnvironmentsCommand 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("CodeCatalyst", "ListDevEnvironments", {})
17
13
  .n("CodeCatalystClient", "ListDevEnvironmentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDevEnvironmentsCommand)
20
- .de(de_ListDevEnvironmentsCommand)
14
+ .sc(ListDevEnvironments)
21
15
  .build() {
22
16
  }