@aws-sdk/client-codecatalyst 3.222.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 (195) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +312 -0
  3. package/dist-cjs/CodeCatalyst.js +367 -0
  4. package/dist-cjs/CodeCatalystClient.js +40 -0
  5. package/dist-cjs/commands/CreateAccessTokenCommand.js +45 -0
  6. package/dist-cjs/commands/CreateDevEnvironmentCommand.js +45 -0
  7. package/dist-cjs/commands/CreateProjectCommand.js +45 -0
  8. package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +45 -0
  9. package/dist-cjs/commands/DeleteAccessTokenCommand.js +45 -0
  10. package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +45 -0
  11. package/dist-cjs/commands/GetDevEnvironmentCommand.js +45 -0
  12. package/dist-cjs/commands/GetProjectCommand.js +45 -0
  13. package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +45 -0
  14. package/dist-cjs/commands/GetSpaceCommand.js +45 -0
  15. package/dist-cjs/commands/GetSubscriptionCommand.js +45 -0
  16. package/dist-cjs/commands/GetUserDetailsCommand.js +45 -0
  17. package/dist-cjs/commands/ListAccessTokensCommand.js +45 -0
  18. package/dist-cjs/commands/ListDevEnvironmentsCommand.js +45 -0
  19. package/dist-cjs/commands/ListEventLogsCommand.js +45 -0
  20. package/dist-cjs/commands/ListProjectsCommand.js +45 -0
  21. package/dist-cjs/commands/ListSourceRepositoriesCommand.js +45 -0
  22. package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +45 -0
  23. package/dist-cjs/commands/ListSpacesCommand.js +45 -0
  24. package/dist-cjs/commands/StartDevEnvironmentCommand.js +45 -0
  25. package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +45 -0
  26. package/dist-cjs/commands/StopDevEnvironmentCommand.js +45 -0
  27. package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +45 -0
  28. package/dist-cjs/commands/VerifySessionCommand.js +45 -0
  29. package/dist-cjs/commands/index.js +27 -0
  30. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  32. package/dist-cjs/endpoint/ruleset.js +214 -0
  33. package/dist-cjs/index.js +11 -0
  34. package/dist-cjs/models/CodeCatalystServiceException.js +11 -0
  35. package/dist-cjs/models/index.js +4 -0
  36. package/dist-cjs/models/models_0.js +416 -0
  37. package/dist-cjs/pagination/Interfaces.js +2 -0
  38. package/dist-cjs/pagination/ListAccessTokensPaginator.js +36 -0
  39. package/dist-cjs/pagination/ListDevEnvironmentsPaginator.js +36 -0
  40. package/dist-cjs/pagination/ListEventLogsPaginator.js +36 -0
  41. package/dist-cjs/pagination/ListProjectsPaginator.js +36 -0
  42. package/dist-cjs/pagination/ListSourceRepositoriesPaginator.js +36 -0
  43. package/dist-cjs/pagination/ListSourceRepositoryBranchesPaginator.js +36 -0
  44. package/dist-cjs/pagination/ListSpacesPaginator.js +35 -0
  45. package/dist-cjs/pagination/index.js +11 -0
  46. package/dist-cjs/protocols/Aws_restJson1.js +2372 -0
  47. package/dist-cjs/runtimeConfig.browser.js +39 -0
  48. package/dist-cjs/runtimeConfig.js +46 -0
  49. package/dist-cjs/runtimeConfig.native.js +15 -0
  50. package/dist-cjs/runtimeConfig.shared.js +18 -0
  51. package/dist-es/CodeCatalyst.js +363 -0
  52. package/dist-es/CodeCatalystClient.js +36 -0
  53. package/dist-es/commands/CreateAccessTokenCommand.js +41 -0
  54. package/dist-es/commands/CreateDevEnvironmentCommand.js +41 -0
  55. package/dist-es/commands/CreateProjectCommand.js +41 -0
  56. package/dist-es/commands/CreateSourceRepositoryBranchCommand.js +41 -0
  57. package/dist-es/commands/DeleteAccessTokenCommand.js +41 -0
  58. package/dist-es/commands/DeleteDevEnvironmentCommand.js +41 -0
  59. package/dist-es/commands/GetDevEnvironmentCommand.js +41 -0
  60. package/dist-es/commands/GetProjectCommand.js +41 -0
  61. package/dist-es/commands/GetSourceRepositoryCloneUrlsCommand.js +41 -0
  62. package/dist-es/commands/GetSpaceCommand.js +41 -0
  63. package/dist-es/commands/GetSubscriptionCommand.js +41 -0
  64. package/dist-es/commands/GetUserDetailsCommand.js +41 -0
  65. package/dist-es/commands/ListAccessTokensCommand.js +41 -0
  66. package/dist-es/commands/ListDevEnvironmentsCommand.js +41 -0
  67. package/dist-es/commands/ListEventLogsCommand.js +41 -0
  68. package/dist-es/commands/ListProjectsCommand.js +41 -0
  69. package/dist-es/commands/ListSourceRepositoriesCommand.js +41 -0
  70. package/dist-es/commands/ListSourceRepositoryBranchesCommand.js +41 -0
  71. package/dist-es/commands/ListSpacesCommand.js +41 -0
  72. package/dist-es/commands/StartDevEnvironmentCommand.js +41 -0
  73. package/dist-es/commands/StartDevEnvironmentSessionCommand.js +41 -0
  74. package/dist-es/commands/StopDevEnvironmentCommand.js +41 -0
  75. package/dist-es/commands/UpdateDevEnvironmentCommand.js +41 -0
  76. package/dist-es/commands/VerifySessionCommand.js +41 -0
  77. package/dist-es/commands/index.js +24 -0
  78. package/dist-es/endpoint/EndpointParameters.js +7 -0
  79. package/dist-es/endpoint/endpointResolver.js +8 -0
  80. package/dist-es/endpoint/ruleset.js +211 -0
  81. package/dist-es/index.js +6 -0
  82. package/dist-es/models/CodeCatalystServiceException.js +7 -0
  83. package/dist-es/models/index.js +1 -0
  84. package/dist-es/models/models_0.js +337 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListAccessTokensPaginator.js +32 -0
  87. package/dist-es/pagination/ListDevEnvironmentsPaginator.js +32 -0
  88. package/dist-es/pagination/ListEventLogsPaginator.js +32 -0
  89. package/dist-es/pagination/ListProjectsPaginator.js +32 -0
  90. package/dist-es/pagination/ListSourceRepositoriesPaginator.js +32 -0
  91. package/dist-es/pagination/ListSourceRepositoryBranchesPaginator.js +32 -0
  92. package/dist-es/pagination/ListSpacesPaginator.js +31 -0
  93. package/dist-es/pagination/index.js +8 -0
  94. package/dist-es/protocols/Aws_restJson1.js +2321 -0
  95. package/dist-es/runtimeConfig.browser.js +34 -0
  96. package/dist-es/runtimeConfig.js +41 -0
  97. package/dist-es/runtimeConfig.native.js +11 -0
  98. package/dist-es/runtimeConfig.shared.js +14 -0
  99. package/dist-types/CodeCatalyst.d.ts +291 -0
  100. package/dist-types/CodeCatalystClient.d.ts +263 -0
  101. package/dist-types/commands/CreateAccessTokenCommand.d.ts +40 -0
  102. package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +38 -0
  103. package/dist-types/commands/CreateProjectCommand.d.ts +37 -0
  104. package/dist-types/commands/CreateSourceRepositoryBranchCommand.d.ts +40 -0
  105. package/dist-types/commands/DeleteAccessTokenCommand.d.ts +37 -0
  106. package/dist-types/commands/DeleteDevEnvironmentCommand.d.ts +37 -0
  107. package/dist-types/commands/GetDevEnvironmentCommand.d.ts +37 -0
  108. package/dist-types/commands/GetProjectCommand.d.ts +37 -0
  109. package/dist-types/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +38 -0
  110. package/dist-types/commands/GetSpaceCommand.d.ts +37 -0
  111. package/dist-types/commands/GetSubscriptionCommand.d.ts +38 -0
  112. package/dist-types/commands/GetUserDetailsCommand.d.ts +37 -0
  113. package/dist-types/commands/ListAccessTokensCommand.d.ts +37 -0
  114. package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +37 -0
  115. package/dist-types/commands/ListEventLogsCommand.d.ts +37 -0
  116. package/dist-types/commands/ListProjectsCommand.d.ts +37 -0
  117. package/dist-types/commands/ListSourceRepositoriesCommand.d.ts +37 -0
  118. package/dist-types/commands/ListSourceRepositoryBranchesCommand.d.ts +37 -0
  119. package/dist-types/commands/ListSpacesCommand.d.ts +37 -0
  120. package/dist-types/commands/StartDevEnvironmentCommand.d.ts +37 -0
  121. package/dist-types/commands/StartDevEnvironmentSessionCommand.d.ts +37 -0
  122. package/dist-types/commands/StopDevEnvironmentCommand.d.ts +37 -0
  123. package/dist-types/commands/UpdateDevEnvironmentCommand.d.ts +37 -0
  124. package/dist-types/commands/VerifySessionCommand.d.ts +37 -0
  125. package/dist-types/commands/index.d.ts +24 -0
  126. package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
  127. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  128. package/dist-types/endpoint/ruleset.d.ts +2 -0
  129. package/dist-types/index.d.ts +6 -0
  130. package/dist-types/models/CodeCatalystServiceException.d.ts +10 -0
  131. package/dist-types/models/index.d.ts +1 -0
  132. package/dist-types/models/models_0.d.ts +1601 -0
  133. package/dist-types/pagination/Interfaces.d.ts +6 -0
  134. package/dist-types/pagination/ListAccessTokensPaginator.d.ts +4 -0
  135. package/dist-types/pagination/ListDevEnvironmentsPaginator.d.ts +4 -0
  136. package/dist-types/pagination/ListEventLogsPaginator.d.ts +4 -0
  137. package/dist-types/pagination/ListProjectsPaginator.d.ts +4 -0
  138. package/dist-types/pagination/ListSourceRepositoriesPaginator.d.ts +4 -0
  139. package/dist-types/pagination/ListSourceRepositoryBranchesPaginator.d.ts +4 -0
  140. package/dist-types/pagination/ListSpacesPaginator.d.ts +4 -0
  141. package/dist-types/pagination/index.d.ts +8 -0
  142. package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
  143. package/dist-types/runtimeConfig.browser.d.ts +36 -0
  144. package/dist-types/runtimeConfig.d.ts +36 -0
  145. package/dist-types/runtimeConfig.native.d.ts +35 -0
  146. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  147. package/dist-types/ts3.4/CodeCatalyst.d.ts +412 -0
  148. package/dist-types/ts3.4/CodeCatalystClient.d.ts +253 -0
  149. package/dist-types/ts3.4/commands/CreateAccessTokenCommand.d.ts +38 -0
  150. package/dist-types/ts3.4/commands/CreateDevEnvironmentCommand.d.ts +41 -0
  151. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +37 -0
  152. package/dist-types/ts3.4/commands/CreateSourceRepositoryBranchCommand.d.ts +41 -0
  153. package/dist-types/ts3.4/commands/DeleteAccessTokenCommand.d.ts +38 -0
  154. package/dist-types/ts3.4/commands/DeleteDevEnvironmentCommand.d.ts +41 -0
  155. package/dist-types/ts3.4/commands/GetDevEnvironmentCommand.d.ts +38 -0
  156. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +34 -0
  157. package/dist-types/ts3.4/commands/GetSourceRepositoryCloneUrlsCommand.d.ts +41 -0
  158. package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +34 -0
  159. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +37 -0
  160. package/dist-types/ts3.4/commands/GetUserDetailsCommand.d.ts +37 -0
  161. package/dist-types/ts3.4/commands/ListAccessTokensCommand.d.ts +37 -0
  162. package/dist-types/ts3.4/commands/ListDevEnvironmentsCommand.d.ts +38 -0
  163. package/dist-types/ts3.4/commands/ListEventLogsCommand.d.ts +37 -0
  164. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +34 -0
  165. package/dist-types/ts3.4/commands/ListSourceRepositoriesCommand.d.ts +41 -0
  166. package/dist-types/ts3.4/commands/ListSourceRepositoryBranchesCommand.d.ts +41 -0
  167. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +34 -0
  168. package/dist-types/ts3.4/commands/StartDevEnvironmentCommand.d.ts +38 -0
  169. package/dist-types/ts3.4/commands/StartDevEnvironmentSessionCommand.d.ts +41 -0
  170. package/dist-types/ts3.4/commands/StopDevEnvironmentCommand.d.ts +38 -0
  171. package/dist-types/ts3.4/commands/UpdateDevEnvironmentCommand.d.ts +41 -0
  172. package/dist-types/ts3.4/commands/VerifySessionCommand.d.ts +34 -0
  173. package/dist-types/ts3.4/commands/index.d.ts +24 -0
  174. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  175. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  176. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  177. package/dist-types/ts3.4/index.d.ts +6 -0
  178. package/dist-types/ts3.4/models/CodeCatalystServiceException.d.ts +7 -0
  179. package/dist-types/ts3.4/models/index.d.ts +1 -0
  180. package/dist-types/ts3.4/models/models_0.d.ts +662 -0
  181. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  182. package/dist-types/ts3.4/pagination/ListAccessTokensPaginator.d.ts +11 -0
  183. package/dist-types/ts3.4/pagination/ListDevEnvironmentsPaginator.d.ts +11 -0
  184. package/dist-types/ts3.4/pagination/ListEventLogsPaginator.d.ts +11 -0
  185. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +11 -0
  186. package/dist-types/ts3.4/pagination/ListSourceRepositoriesPaginator.d.ts +11 -0
  187. package/dist-types/ts3.4/pagination/ListSourceRepositoryBranchesPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +11 -0
  189. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  190. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -0
  191. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -0
  192. package/dist-types/ts3.4/runtimeConfig.d.ts +68 -0
  193. package/dist-types/ts3.4/runtimeConfig.native.d.ts +57 -0
  194. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  195. package/package.json +100 -0
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateSourceRepositoryBranchRequestFilterSensitiveLog, CreateSourceRepositoryBranchResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateSourceRepositoryBranchCommand, serializeAws_restJson1CreateSourceRepositoryBranchCommand, } from "../protocols/Aws_restJson1";
6
+ export class CreateSourceRepositoryBranchCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateSourceRepositoryBranchCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "CreateSourceRepositoryBranchCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: CreateSourceRepositoryBranchRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: CreateSourceRepositoryBranchResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1CreateSourceRepositoryBranchCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1CreateSourceRepositoryBranchCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteAccessTokenRequestFilterSensitiveLog, DeleteAccessTokenResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteAccessTokenCommand, serializeAws_restJson1DeleteAccessTokenCommand, } from "../protocols/Aws_restJson1";
6
+ export class DeleteAccessTokenCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAccessTokenCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "DeleteAccessTokenCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: DeleteAccessTokenRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: DeleteAccessTokenResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1DeleteAccessTokenCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1DeleteAccessTokenCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteDevEnvironmentRequestFilterSensitiveLog, DeleteDevEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteDevEnvironmentCommand, serializeAws_restJson1DeleteDevEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ export class DeleteDevEnvironmentCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDevEnvironmentCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "DeleteDevEnvironmentCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: DeleteDevEnvironmentRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: DeleteDevEnvironmentResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1DeleteDevEnvironmentCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1DeleteDevEnvironmentCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetDevEnvironmentRequestFilterSensitiveLog, GetDevEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetDevEnvironmentCommand, serializeAws_restJson1GetDevEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetDevEnvironmentCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetDevEnvironmentCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "GetDevEnvironmentCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: GetDevEnvironmentRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: GetDevEnvironmentResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetDevEnvironmentCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetDevEnvironmentCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetProjectRequestFilterSensitiveLog, GetProjectResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetProjectCommand, serializeAws_restJson1GetProjectCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetProjectCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetProjectCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "GetProjectCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: GetProjectRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: GetProjectResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetProjectCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetProjectCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetSourceRepositoryCloneUrlsRequestFilterSensitiveLog, GetSourceRepositoryCloneUrlsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand, serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetSourceRepositoryCloneUrlsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetSourceRepositoryCloneUrlsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "GetSourceRepositoryCloneUrlsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: GetSourceRepositoryCloneUrlsRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: GetSourceRepositoryCloneUrlsResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetSourceRepositoryCloneUrlsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetSourceRepositoryCloneUrlsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetSpaceRequestFilterSensitiveLog, GetSpaceResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetSpaceCommand, serializeAws_restJson1GetSpaceCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetSpaceCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetSpaceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "GetSpaceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: GetSpaceRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: GetSpaceResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetSpaceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetSpaceCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetSubscriptionRequestFilterSensitiveLog, GetSubscriptionResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetSubscriptionCommand, serializeAws_restJson1GetSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetSubscriptionCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetSubscriptionCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "GetSubscriptionCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: GetSubscriptionRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: GetSubscriptionResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetSubscriptionCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetSubscriptionCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetUserDetailsRequestFilterSensitiveLog, GetUserDetailsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetUserDetailsCommand, serializeAws_restJson1GetUserDetailsCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetUserDetailsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetUserDetailsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "GetUserDetailsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: GetUserDetailsRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: GetUserDetailsResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetUserDetailsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetUserDetailsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListAccessTokensRequestFilterSensitiveLog, ListAccessTokensResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListAccessTokensCommand, serializeAws_restJson1ListAccessTokensCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListAccessTokensCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListAccessTokensCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "ListAccessTokensCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListAccessTokensRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListAccessTokensResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListAccessTokensCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListAccessTokensCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListDevEnvironmentsRequestFilterSensitiveLog, ListDevEnvironmentsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListDevEnvironmentsCommand, serializeAws_restJson1ListDevEnvironmentsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListDevEnvironmentsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListDevEnvironmentsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "ListDevEnvironmentsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListDevEnvironmentsRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListDevEnvironmentsResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListDevEnvironmentsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListDevEnvironmentsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListEventLogsRequestFilterSensitiveLog, ListEventLogsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListEventLogsCommand, serializeAws_restJson1ListEventLogsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListEventLogsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListEventLogsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "ListEventLogsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListEventLogsRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListEventLogsResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListEventLogsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListEventLogsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListProjectsRequestFilterSensitiveLog, ListProjectsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListProjectsCommand, serializeAws_restJson1ListProjectsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListProjectsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListProjectsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "ListProjectsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListProjectsRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListProjectsResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListProjectsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListProjectsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListSourceRepositoriesRequestFilterSensitiveLog, ListSourceRepositoriesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListSourceRepositoriesCommand, serializeAws_restJson1ListSourceRepositoriesCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListSourceRepositoriesCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListSourceRepositoriesCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "ListSourceRepositoriesCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListSourceRepositoriesRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListSourceRepositoriesResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListSourceRepositoriesCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListSourceRepositoriesCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListSourceRepositoryBranchesRequestFilterSensitiveLog, ListSourceRepositoryBranchesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListSourceRepositoryBranchesCommand, serializeAws_restJson1ListSourceRepositoryBranchesCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListSourceRepositoryBranchesCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
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
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListSourceRepositoryBranchesCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "ListSourceRepositoryBranchesCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListSourceRepositoryBranchesRequestFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListSourceRepositoryBranchesResponseFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListSourceRepositoryBranchesCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListSourceRepositoryBranchesCommand(output, context);
40
+ }
41
+ }