@aws-sdk/client-codecatalyst 3.478.0 → 3.481.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 (157) hide show
  1. package/dist-cjs/commands/CreateAccessTokenCommand.js +18 -40
  2. package/dist-cjs/commands/CreateDevEnvironmentCommand.js +18 -40
  3. package/dist-cjs/commands/CreateProjectCommand.js +18 -40
  4. package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +18 -40
  5. package/dist-cjs/commands/CreateSourceRepositoryCommand.js +18 -40
  6. package/dist-cjs/commands/DeleteAccessTokenCommand.js +18 -40
  7. package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +18 -40
  8. package/dist-cjs/commands/DeleteProjectCommand.js +18 -40
  9. package/dist-cjs/commands/DeleteSourceRepositoryCommand.js +18 -40
  10. package/dist-cjs/commands/DeleteSpaceCommand.js +18 -40
  11. package/dist-cjs/commands/GetDevEnvironmentCommand.js +18 -40
  12. package/dist-cjs/commands/GetProjectCommand.js +18 -40
  13. package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +18 -40
  14. package/dist-cjs/commands/GetSourceRepositoryCommand.js +18 -40
  15. package/dist-cjs/commands/GetSpaceCommand.js +18 -40
  16. package/dist-cjs/commands/GetSubscriptionCommand.js +18 -40
  17. package/dist-cjs/commands/GetUserDetailsCommand.js +18 -40
  18. package/dist-cjs/commands/GetWorkflowCommand.js +18 -40
  19. package/dist-cjs/commands/GetWorkflowRunCommand.js +18 -40
  20. package/dist-cjs/commands/ListAccessTokensCommand.js +18 -40
  21. package/dist-cjs/commands/ListDevEnvironmentSessionsCommand.js +18 -40
  22. package/dist-cjs/commands/ListDevEnvironmentsCommand.js +18 -40
  23. package/dist-cjs/commands/ListEventLogsCommand.js +18 -40
  24. package/dist-cjs/commands/ListProjectsCommand.js +18 -40
  25. package/dist-cjs/commands/ListSourceRepositoriesCommand.js +18 -40
  26. package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +18 -40
  27. package/dist-cjs/commands/ListSpacesCommand.js +18 -40
  28. package/dist-cjs/commands/ListWorkflowRunsCommand.js +18 -40
  29. package/dist-cjs/commands/ListWorkflowsCommand.js +18 -40
  30. package/dist-cjs/commands/StartDevEnvironmentCommand.js +18 -40
  31. package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +18 -40
  32. package/dist-cjs/commands/StartWorkflowRunCommand.js +18 -40
  33. package/dist-cjs/commands/StopDevEnvironmentCommand.js +18 -40
  34. package/dist-cjs/commands/StopDevEnvironmentSessionCommand.js +18 -40
  35. package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +18 -40
  36. package/dist-cjs/commands/UpdateProjectCommand.js +18 -40
  37. package/dist-cjs/commands/UpdateSpaceCommand.js +18 -40
  38. package/dist-cjs/commands/VerifySessionCommand.js +18 -40
  39. package/dist-cjs/endpoint/EndpointParameters.js +6 -1
  40. package/dist-es/commands/CreateAccessTokenCommand.js +18 -40
  41. package/dist-es/commands/CreateDevEnvironmentCommand.js +18 -40
  42. package/dist-es/commands/CreateProjectCommand.js +18 -40
  43. package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +18 -40
  44. package/dist-es/commands/CreateSourceRepositoryCommand.js +18 -40
  45. package/dist-es/commands/DeleteAccessTokenCommand.js +18 -40
  46. package/dist-es/commands/DeleteDevEnvironmentCommand.js +18 -40
  47. package/dist-es/commands/DeleteProjectCommand.js +18 -40
  48. package/dist-es/commands/DeleteSourceRepositoryCommand.js +18 -40
  49. package/dist-es/commands/DeleteSpaceCommand.js +18 -40
  50. package/dist-es/commands/GetDevEnvironmentCommand.js +18 -40
  51. package/dist-es/commands/GetProjectCommand.js +18 -40
  52. package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +18 -40
  53. package/dist-es/commands/GetSourceRepositoryCommand.js +18 -40
  54. package/dist-es/commands/GetSpaceCommand.js +18 -40
  55. package/dist-es/commands/GetSubscriptionCommand.js +18 -40
  56. package/dist-es/commands/GetUserDetailsCommand.js +18 -40
  57. package/dist-es/commands/GetWorkflowCommand.js +18 -40
  58. package/dist-es/commands/GetWorkflowRunCommand.js +18 -40
  59. package/dist-es/commands/ListAccessTokensCommand.js +18 -40
  60. package/dist-es/commands/ListDevEnvironmentSessionsCommand.js +18 -40
  61. package/dist-es/commands/ListDevEnvironmentsCommand.js +18 -40
  62. package/dist-es/commands/ListEventLogsCommand.js +18 -40
  63. package/dist-es/commands/ListProjectsCommand.js +18 -40
  64. package/dist-es/commands/ListSourceRepositoriesCommand.js +18 -40
  65. package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +18 -40
  66. package/dist-es/commands/ListSpacesCommand.js +18 -40
  67. package/dist-es/commands/ListWorkflowRunsCommand.js +18 -40
  68. package/dist-es/commands/ListWorkflowsCommand.js +18 -40
  69. package/dist-es/commands/StartDevEnvironmentCommand.js +18 -40
  70. package/dist-es/commands/StartDevEnvironmentSessionCommand.js +18 -40
  71. package/dist-es/commands/StartWorkflowRunCommand.js +18 -40
  72. package/dist-es/commands/StopDevEnvironmentCommand.js +18 -40
  73. package/dist-es/commands/StopDevEnvironmentSessionCommand.js +18 -40
  74. package/dist-es/commands/UpdateDevEnvironmentCommand.js +18 -40
  75. package/dist-es/commands/UpdateProjectCommand.js +18 -40
  76. package/dist-es/commands/UpdateSpaceCommand.js +18 -40
  77. package/dist-es/commands/VerifySessionCommand.js +18 -40
  78. package/dist-es/endpoint/EndpointParameters.js +5 -0
  79. package/dist-types/commands/CreateAccessTokenCommand.d.ts +6 -21
  80. package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +6 -21
  81. package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
  82. package/dist-types/commands/CreateSourceRepositoryBranchCommand.d.ts +6 -21
  83. package/dist-types/commands/CreateSourceRepositoryCommand.d.ts +6 -21
  84. package/dist-types/commands/DeleteAccessTokenCommand.d.ts +6 -21
  85. package/dist-types/commands/DeleteDevEnvironmentCommand.d.ts +6 -21
  86. package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
  87. package/dist-types/commands/DeleteSourceRepositoryCommand.d.ts +6 -21
  88. package/dist-types/commands/DeleteSpaceCommand.d.ts +6 -21
  89. package/dist-types/commands/GetDevEnvironmentCommand.d.ts +6 -21
  90. package/dist-types/commands/GetProjectCommand.d.ts +6 -21
  91. package/dist-types/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +6 -21
  92. package/dist-types/commands/GetSourceRepositoryCommand.d.ts +6 -21
  93. package/dist-types/commands/GetSpaceCommand.d.ts +6 -21
  94. package/dist-types/commands/GetSubscriptionCommand.d.ts +6 -21
  95. package/dist-types/commands/GetUserDetailsCommand.d.ts +6 -21
  96. package/dist-types/commands/GetWorkflowCommand.d.ts +6 -21
  97. package/dist-types/commands/GetWorkflowRunCommand.d.ts +6 -21
  98. package/dist-types/commands/ListAccessTokensCommand.d.ts +6 -21
  99. package/dist-types/commands/ListDevEnvironmentSessionsCommand.d.ts +6 -21
  100. package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +6 -21
  101. package/dist-types/commands/ListEventLogsCommand.d.ts +6 -21
  102. package/dist-types/commands/ListProjectsCommand.d.ts +6 -21
  103. package/dist-types/commands/ListSourceRepositoriesCommand.d.ts +6 -21
  104. package/dist-types/commands/ListSourceRepositoryBranchesCommand.d.ts +6 -21
  105. package/dist-types/commands/ListSpacesCommand.d.ts +6 -21
  106. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +6 -21
  107. package/dist-types/commands/ListWorkflowsCommand.d.ts +6 -21
  108. package/dist-types/commands/StartDevEnvironmentCommand.d.ts +6 -21
  109. package/dist-types/commands/StartDevEnvironmentSessionCommand.d.ts +6 -21
  110. package/dist-types/commands/StartWorkflowRunCommand.d.ts +6 -21
  111. package/dist-types/commands/StopDevEnvironmentCommand.d.ts +6 -21
  112. package/dist-types/commands/StopDevEnvironmentSessionCommand.d.ts +6 -21
  113. package/dist-types/commands/UpdateDevEnvironmentCommand.d.ts +6 -21
  114. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -21
  115. package/dist-types/commands/UpdateSpaceCommand.d.ts +6 -21
  116. package/dist-types/commands/VerifySessionCommand.d.ts +6 -21
  117. package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
  118. package/dist-types/ts3.4/commands/CreateAccessTokenCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/CreateDevEnvironmentCommand.d.ts +12 -24
  120. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/CreateSourceRepositoryBranchCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/CreateSourceRepositoryCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/commands/DeleteAccessTokenCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/DeleteDevEnvironmentCommand.d.ts +12 -24
  125. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
  126. package/dist-types/ts3.4/commands/DeleteSourceRepositoryCommand.d.ts +12 -24
  127. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/GetDevEnvironmentCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +12 -24
  131. package/dist-types/ts3.4/commands/GetSourceRepositoryCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +14 -23
  133. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/GetUserDetailsCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/ListAccessTokensCommand.d.ts +14 -23
  138. package/dist-types/ts3.4/commands/ListDevEnvironmentSessionsCommand.d.ts +12 -24
  139. package/dist-types/ts3.4/commands/ListDevEnvironmentsCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/ListEventLogsCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/ListSourceRepositoriesCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/ListSourceRepositoryBranchesCommand.d.ts +12 -24
  144. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/StartDevEnvironmentCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/StartDevEnvironmentSessionCommand.d.ts +12 -24
  149. package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/StopDevEnvironmentCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/StopDevEnvironmentSessionCommand.d.ts +12 -24
  152. package/dist-types/ts3.4/commands/UpdateDevEnvironmentCommand.d.ts +12 -24
  153. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/VerifySessionCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
  157. package/package.json +8 -8
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListSourceRepositoryBranchesCommand, se_ListSourceRepositoryBranchesCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListSourceRepositoryBranchesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, ListSourceRepositoryBranchesCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "ListSourceRepositoryBranchesCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "ListSourceRepositoryBranches",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_ListSourceRepositoryBranchesCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListSourceRepositoryBranchesCommand(output, context);
45
- }
7
+ export class ListSourceRepositoryBranchesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "ListSourceRepositoryBranches", {})
19
+ .n("CodeCatalystClient", "ListSourceRepositoryBranchesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListSourceRepositoryBranchesCommand)
22
+ .de(de_ListSourceRepositoryBranchesCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListSpacesCommand, se_ListSpacesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListSpacesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, ListSpacesCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "ListSpacesCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "ListSpaces",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_ListSpacesCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListSpacesCommand(output, context);
45
- }
7
+ export class ListSpacesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "ListSpaces", {})
19
+ .n("CodeCatalystClient", "ListSpacesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListSpacesCommand)
22
+ .de(de_ListSpacesCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListWorkflowRunsCommand, se_ListWorkflowRunsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListWorkflowRunsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, ListWorkflowRunsCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "ListWorkflowRunsCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "ListWorkflowRuns",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_ListWorkflowRunsCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListWorkflowRunsCommand(output, context);
45
- }
7
+ export class ListWorkflowRunsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "ListWorkflowRuns", {})
19
+ .n("CodeCatalystClient", "ListWorkflowRunsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListWorkflowRunsCommand)
22
+ .de(de_ListWorkflowRunsCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListWorkflowsCommand, se_ListWorkflowsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListWorkflowsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, ListWorkflowsCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "ListWorkflowsCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "ListWorkflows",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_ListWorkflowsCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_ListWorkflowsCommand(output, context);
45
- }
7
+ export class ListWorkflowsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "ListWorkflows", {})
19
+ .n("CodeCatalystClient", "ListWorkflowsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListWorkflowsCommand)
22
+ .de(de_ListWorkflowsCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartDevEnvironmentCommand, se_StartDevEnvironmentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartDevEnvironmentCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, StartDevEnvironmentCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "StartDevEnvironmentCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "StartDevEnvironment",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_StartDevEnvironmentCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_StartDevEnvironmentCommand(output, context);
45
- }
7
+ export class StartDevEnvironmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "StartDevEnvironment", {})
19
+ .n("CodeCatalystClient", "StartDevEnvironmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartDevEnvironmentCommand)
22
+ .de(de_StartDevEnvironmentCommand)
23
+ .build() {
46
24
  }
@@ -1,47 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { StartDevEnvironmentSessionResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_StartDevEnvironmentSessionCommand, se_StartDevEnvironmentSessionCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class StartDevEnvironmentSessionCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartDevEnvironmentSessionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeCatalystClient";
26
- const commandName = "StartDevEnvironmentSessionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: StartDevEnvironmentSessionResponseFilterSensitiveLog,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeCatalyst",
35
- operation: "StartDevEnvironmentSession",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartDevEnvironmentSessionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartDevEnvironmentSessionCommand(output, context);
46
- }
8
+ export class StartDevEnvironmentSessionCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("CodeCatalyst", "StartDevEnvironmentSession", {})
20
+ .n("CodeCatalystClient", "StartDevEnvironmentSessionCommand")
21
+ .f(void 0, StartDevEnvironmentSessionResponseFilterSensitiveLog)
22
+ .ser(se_StartDevEnvironmentSessionCommand)
23
+ .de(de_StartDevEnvironmentSessionCommand)
24
+ .build() {
47
25
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartWorkflowRunCommand, se_StartWorkflowRunCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartWorkflowRunCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, StartWorkflowRunCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "StartWorkflowRunCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "StartWorkflowRun",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_StartWorkflowRunCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_StartWorkflowRunCommand(output, context);
45
- }
7
+ export class StartWorkflowRunCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "StartWorkflowRun", {})
19
+ .n("CodeCatalystClient", "StartWorkflowRunCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartWorkflowRunCommand)
22
+ .de(de_StartWorkflowRunCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopDevEnvironmentCommand, se_StopDevEnvironmentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StopDevEnvironmentCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, StopDevEnvironmentCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "StopDevEnvironmentCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "StopDevEnvironment",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_StopDevEnvironmentCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_StopDevEnvironmentCommand(output, context);
45
- }
7
+ export class StopDevEnvironmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "StopDevEnvironment", {})
19
+ .n("CodeCatalystClient", "StopDevEnvironmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopDevEnvironmentCommand)
22
+ .de(de_StopDevEnvironmentCommand)
23
+ .build() {
46
24
  }
@@ -1,46 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopDevEnvironmentSessionCommand, se_StopDevEnvironmentSessionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StopDevEnvironmentSessionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- };
14
- }
15
- constructor(input) {
16
- super();
17
- this.input = input;
18
- }
19
- resolveMiddleware(clientStack, configuration, options) {
20
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
- this.middlewareStack.use(getEndpointPlugin(configuration, StopDevEnvironmentSessionCommand.getEndpointParameterInstructions()));
22
- const stack = clientStack.concat(this.middlewareStack);
23
- const { logger } = configuration;
24
- const clientName = "CodeCatalystClient";
25
- const commandName = "StopDevEnvironmentSessionCommand";
26
- const handlerExecutionContext = {
27
- logger,
28
- clientName,
29
- commandName,
30
- inputFilterSensitiveLog: (_) => _,
31
- outputFilterSensitiveLog: (_) => _,
32
- [SMITHY_CONTEXT_KEY]: {
33
- service: "CodeCatalyst",
34
- operation: "StopDevEnvironmentSession",
35
- },
36
- };
37
- const { requestHandler } = configuration;
38
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
39
- }
40
- serialize(input, context) {
41
- return se_StopDevEnvironmentSessionCommand(input, context);
42
- }
43
- deserialize(output, context) {
44
- return de_StopDevEnvironmentSessionCommand(output, context);
45
- }
7
+ export class StopDevEnvironmentSessionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeCatalyst", "StopDevEnvironmentSession", {})
19
+ .n("CodeCatalystClient", "StopDevEnvironmentSessionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopDevEnvironmentSessionCommand)
22
+ .de(de_StopDevEnvironmentSessionCommand)
23
+ .build() {
46
24
  }