@aws-sdk/client-codecatalyst 3.478.0 → 3.484.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 +10 -10
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteSpaceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSpaceCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "DeleteSpaceCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "DeleteSpace",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_DeleteSpaceCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_DeleteSpaceCommand)(output, context);
48
- }
10
+ class DeleteSpaceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "DeleteSpace", {})
22
+ .n("CodeCatalystClient", "DeleteSpaceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteSpaceCommand)
25
+ .de(Aws_restJson1_1.de_DeleteSpaceCommand)
26
+ .build() {
49
27
  }
50
28
  exports.DeleteSpaceCommand = DeleteSpaceCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetDevEnvironmentCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDevEnvironmentCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetDevEnvironmentCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetDevEnvironment",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetDevEnvironmentCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetDevEnvironmentCommand)(output, context);
48
- }
10
+ class GetDevEnvironmentCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetDevEnvironment", {})
22
+ .n("CodeCatalystClient", "GetDevEnvironmentCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetDevEnvironmentCommand)
25
+ .de(Aws_restJson1_1.de_GetDevEnvironmentCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetDevEnvironmentCommand = GetDevEnvironmentCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetProjectCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetProjectCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetProjectCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetProject",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetProjectCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetProjectCommand)(output, context);
48
- }
10
+ class GetProjectCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetProject", {})
22
+ .n("CodeCatalystClient", "GetProjectCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetProjectCommand)
25
+ .de(Aws_restJson1_1.de_GetProjectCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetProjectCommand = GetProjectCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetSourceRepositoryCloneUrlsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSourceRepositoryCloneUrlsCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetSourceRepositoryCloneUrlsCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetSourceRepositoryCloneUrls",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetSourceRepositoryCloneUrlsCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetSourceRepositoryCloneUrlsCommand)(output, context);
48
- }
10
+ class GetSourceRepositoryCloneUrlsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetSourceRepositoryCloneUrls", {})
22
+ .n("CodeCatalystClient", "GetSourceRepositoryCloneUrlsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetSourceRepositoryCloneUrlsCommand)
25
+ .de(Aws_restJson1_1.de_GetSourceRepositoryCloneUrlsCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetSourceRepositoryCloneUrlsCommand = GetSourceRepositoryCloneUrlsCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetSourceRepositoryCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSourceRepositoryCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetSourceRepositoryCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetSourceRepository",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetSourceRepositoryCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetSourceRepositoryCommand)(output, context);
48
- }
10
+ class GetSourceRepositoryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetSourceRepository", {})
22
+ .n("CodeCatalystClient", "GetSourceRepositoryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetSourceRepositoryCommand)
25
+ .de(Aws_restJson1_1.de_GetSourceRepositoryCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetSourceRepositoryCommand = GetSourceRepositoryCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetSpaceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSpaceCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetSpaceCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetSpace",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetSpaceCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetSpaceCommand)(output, context);
48
- }
10
+ class GetSpaceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetSpace", {})
22
+ .n("CodeCatalystClient", "GetSpaceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetSpaceCommand)
25
+ .de(Aws_restJson1_1.de_GetSpaceCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetSpaceCommand = GetSpaceCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetSubscriptionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSubscriptionCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetSubscriptionCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetSubscription",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetSubscriptionCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetSubscriptionCommand)(output, context);
48
- }
10
+ class GetSubscriptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetSubscription", {})
22
+ .n("CodeCatalystClient", "GetSubscriptionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetSubscriptionCommand)
25
+ .de(Aws_restJson1_1.de_GetSubscriptionCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetSubscriptionCommand = GetSubscriptionCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetUserDetailsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetUserDetailsCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetUserDetailsCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetUserDetails",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetUserDetailsCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetUserDetailsCommand)(output, context);
48
- }
10
+ class GetUserDetailsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetUserDetails", {})
22
+ .n("CodeCatalystClient", "GetUserDetailsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetUserDetailsCommand)
25
+ .de(Aws_restJson1_1.de_GetUserDetailsCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetUserDetailsCommand = GetUserDetailsCommand;
@@ -5,46 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetWorkflowCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- };
17
- }
18
- constructor(input) {
19
- super();
20
- this.input = input;
21
- }
22
- resolveMiddleware(clientStack, configuration, options) {
23
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetWorkflowCommand.getEndpointParameterInstructions()));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "CodeCatalystClient";
28
- const commandName = "GetWorkflowCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [types_1.SMITHY_CONTEXT_KEY]: {
36
- service: "CodeCatalyst",
37
- operation: "GetWorkflow",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return (0, Aws_restJson1_1.se_GetWorkflowCommand)(input, context);
45
- }
46
- deserialize(output, context) {
47
- return (0, Aws_restJson1_1.de_GetWorkflowCommand)(output, context);
48
- }
10
+ class GetWorkflowCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CodeCatalyst", "GetWorkflow", {})
22
+ .n("CodeCatalystClient", "GetWorkflowCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetWorkflowCommand)
25
+ .de(Aws_restJson1_1.de_GetWorkflowCommand)
26
+ .build() {
49
27
  }
50
28
  exports.GetWorkflowCommand = GetWorkflowCommand;