@aws-sdk/client-codecatalyst 3.370.0 → 3.378.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 (47) hide show
  1. package/README.md +110 -22
  2. package/dist-cjs/CodeCatalyst.js +14 -0
  3. package/dist-cjs/commands/CreateSourceRepositoryCommand.js +45 -0
  4. package/dist-cjs/commands/DeleteProjectCommand.js +45 -0
  5. package/dist-cjs/commands/DeleteSourceRepositoryCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteSpaceCommand.js +45 -0
  7. package/dist-cjs/commands/GetSourceRepositoryCommand.js +45 -0
  8. package/dist-cjs/commands/UpdateProjectCommand.js +45 -0
  9. package/dist-cjs/commands/UpdateSpaceCommand.js +45 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +508 -2
  12. package/dist-es/CodeCatalyst.js +14 -0
  13. package/dist-es/commands/CreateSourceRepositoryCommand.js +41 -0
  14. package/dist-es/commands/DeleteProjectCommand.js +41 -0
  15. package/dist-es/commands/DeleteSourceRepositoryCommand.js +41 -0
  16. package/dist-es/commands/DeleteSpaceCommand.js +41 -0
  17. package/dist-es/commands/GetSourceRepositoryCommand.js +41 -0
  18. package/dist-es/commands/UpdateProjectCommand.js +41 -0
  19. package/dist-es/commands/UpdateSpaceCommand.js +41 -0
  20. package/dist-es/commands/index.js +7 -0
  21. package/dist-es/protocols/Aws_restJson1.js +492 -0
  22. package/dist-types/CodeCatalyst.d.ts +103 -22
  23. package/dist-types/CodeCatalystClient.d.ts +63 -24
  24. package/dist-types/commands/CreateSourceRepositoryCommand.d.ts +100 -0
  25. package/dist-types/commands/DeleteProjectCommand.d.ts +96 -0
  26. package/dist-types/commands/DeleteSourceRepositoryCommand.d.ts +97 -0
  27. package/dist-types/commands/DeleteSpaceCommand.d.ts +97 -0
  28. package/dist-types/commands/GetSourceRepositoryCommand.d.ts +100 -0
  29. package/dist-types/commands/UpdateProjectCommand.d.ts +98 -0
  30. package/dist-types/commands/UpdateSpaceCommand.d.ts +96 -0
  31. package/dist-types/commands/index.d.ts +7 -0
  32. package/dist-types/index.d.ts +54 -22
  33. package/dist-types/models/models_0.d.ts +250 -8
  34. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  35. package/dist-types/ts3.4/CodeCatalyst.d.ts +119 -0
  36. package/dist-types/ts3.4/CodeCatalystClient.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/CreateSourceRepositoryCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +38 -0
  39. package/dist-types/ts3.4/commands/DeleteSourceRepositoryCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +35 -0
  41. package/dist-types/ts3.4/commands/GetSourceRepositoryCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +38 -0
  43. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +35 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +71 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  47. package/package.json +33 -33
package/README.md CHANGED
@@ -8,32 +8,35 @@ AWS SDK for JavaScript CodeCatalyst Client for Node.js, Browser and React Native
8
8
 
9
9
  <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst
10
10
  API to work with the following objects. </p>
11
- <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
11
+ <p>Spaces, by calling the following:</p>
12
12
  <ul>
13
13
  <li>
14
14
  <p>
15
- <a>CreateAccessToken</a>, which creates a personal access token (PAT) for the current user.</p>
15
+ <a>DeleteSpace</a>, which deletes a space.</p>
16
16
  </li>
17
17
  <li>
18
18
  <p>
19
- <a>CreateDevEnvironment</a>, which creates a Dev Environment,
20
- where you can quickly work on the code stored in the source repositories of your project.</p>
19
+ <a>GetSpace</a>, which returns information about a space.</p>
21
20
  </li>
22
21
  <li>
23
22
  <p>
24
- <a>CreateProject</a> which creates a project in a specified space.</p>
23
+ <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
24
+ and the billing plan for the space.</p>
25
25
  </li>
26
26
  <li>
27
27
  <p>
28
- <a>CreateSourceRepositoryBranch</a>, which creates a branch in a specified repository where you can work on code.</p>
28
+ <a>ListSpaces</a>, which retrieves a list of spaces.</p>
29
29
  </li>
30
30
  <li>
31
31
  <p>
32
- <a>DeleteDevEnvironment</a>, which deletes a Dev Environment.</p>
32
+ <a>UpdateSpace</a>, which hanges one or more values for a space.</p>
33
33
  </li>
34
+ </ul>
35
+ <p>Projects, by calling the following:</p>
36
+ <ul>
34
37
  <li>
35
38
  <p>
36
- <a>GetDevEnvironment</a>, which returns information about a Dev Environment.</p>
39
+ <a>CreateProject</a> which creates a project in a specified space.</p>
37
40
  </li>
38
41
  <li>
39
42
  <p>
@@ -41,33 +44,38 @@ where you can quickly work on the code stored in the source repositories of your
41
44
  </li>
42
45
  <li>
43
46
  <p>
44
- <a>GetSourceRepositoryCloneUrls</a>, which returns information about the URLs that can be used with a Git client to clone a source
45
- repository.</p>
47
+ <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
46
48
  </li>
49
+ </ul>
50
+ <p>Users, by calling the following:</p>
51
+ <ul>
47
52
  <li>
48
53
  <p>
49
- <a>GetSpace</a>, which returns information about a space.</p>
54
+ <a>GetUserDetails</a>, which returns information about a user in Amazon CodeCatalyst.</p>
50
55
  </li>
56
+ </ul>
57
+ <p>Source repositories, by calling the following:</p>
58
+ <ul>
51
59
  <li>
52
60
  <p>
53
- <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
54
- and the billing plan for the space.</p>
61
+ <a>CreateSourceRepository</a>, which creates an empty Git-based source repository in a specified project.</p>
55
62
  </li>
56
63
  <li>
57
64
  <p>
58
- <a>GetUserDetails</a>, which returns information about a user in Amazon CodeCatalyst.</p>
65
+ <a>CreateSourceRepositoryBranch</a>, which creates a branch in a specified repository where you can work on code.</p>
59
66
  </li>
60
67
  <li>
61
68
  <p>
62
- <a>ListDevEnvironments</a>, which retrieves a list of Dev Environments in a project.</p>
69
+ <a>DeleteSourceRepository</a>, which deletes a source repository.</p>
63
70
  </li>
64
71
  <li>
65
72
  <p>
66
- <a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
73
+ <a>GetSourceRepository</a>, which returns information about a source repository.</p>
67
74
  </li>
68
75
  <li>
69
76
  <p>
70
- <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
77
+ <a>GetSourceRepositoryCloneUrls</a>, which returns information about the URLs that can be used with a Git client to clone a source
78
+ repository.</p>
71
79
  </li>
72
80
  <li>
73
81
  <p>
@@ -77,9 +85,29 @@ and the billing plan for the space.</p>
77
85
  <p>
78
86
  <a>ListSourceRepositoryBranches</a>, which retrieves a list of branches in a source repository.</p>
79
87
  </li>
88
+ </ul>
89
+ <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
90
+ <ul>
91
+ <li>
92
+ <p>
93
+ <a>CreateDevEnvironment</a>, which creates a Dev Environment,
94
+ where you can quickly work on the code stored in the source repositories of your project.</p>
95
+ </li>
80
96
  <li>
81
97
  <p>
82
- <a>ListSpaces</a>, which retrieves a list of spaces.</p>
98
+ <a>DeleteDevEnvironment</a>, which deletes a Dev Environment.</p>
99
+ </li>
100
+ <li>
101
+ <p>
102
+ <a>GetDevEnvironment</a>, which returns information about a Dev Environment.</p>
103
+ </li>
104
+ <li>
105
+ <p>
106
+ <a>ListDevEnvironments</a>, which retrieves a list of Dev Environments in a project.</p>
107
+ </li>
108
+ <li>
109
+ <p>
110
+ <a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
83
111
  </li>
84
112
  <li>
85
113
  <p>
@@ -101,15 +129,15 @@ and the billing plan for the space.</p>
101
129
  <p>
102
130
  <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
103
131
  </li>
104
- <li>
105
- <p>
106
- <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p>
107
- </li>
108
132
  </ul>
109
133
  <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
110
134
  <ul>
111
135
  <li>
112
136
  <p>
137
+ <a>CreateAccessToken</a>, which creates a personal access token (PAT) for the current user.</p>
138
+ </li>
139
+ <li>
140
+ <p>
113
141
  <a>DeleteAccessToken</a>, which deletes a specified personal access token (PAT).</p>
114
142
  </li>
115
143
  <li>
@@ -120,6 +148,10 @@ and the billing plan for the space.</p>
120
148
  <p>
121
149
  <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p>
122
150
  </li>
151
+ <li>
152
+ <p>
153
+ <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p>
154
+ </li>
123
155
  </ul>
124
156
  <note>
125
157
  <p>If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure your computer to work with Amazon CodeCatalyst and single sign-on (SSO).
@@ -345,6 +377,14 @@ CreateProject
345
377
 
346
378
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/createprojectcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/createprojectcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/createprojectcommandoutput.html)
347
379
 
380
+ </details>
381
+ <details>
382
+ <summary>
383
+ CreateSourceRepository
384
+ </summary>
385
+
386
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/createsourcerepositorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/createsourcerepositorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/createsourcerepositorycommandoutput.html)
387
+
348
388
  </details>
349
389
  <details>
350
390
  <summary>
@@ -369,6 +409,30 @@ DeleteDevEnvironment
369
409
 
370
410
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/deletedevenvironmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deletedevenvironmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deletedevenvironmentcommandoutput.html)
371
411
 
412
+ </details>
413
+ <details>
414
+ <summary>
415
+ DeleteProject
416
+ </summary>
417
+
418
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/deleteprojectcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deleteprojectcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deleteprojectcommandoutput.html)
419
+
420
+ </details>
421
+ <details>
422
+ <summary>
423
+ DeleteSourceRepository
424
+ </summary>
425
+
426
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/deletesourcerepositorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deletesourcerepositorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deletesourcerepositorycommandoutput.html)
427
+
428
+ </details>
429
+ <details>
430
+ <summary>
431
+ DeleteSpace
432
+ </summary>
433
+
434
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/deletespacecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deletespacecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/deletespacecommandoutput.html)
435
+
372
436
  </details>
373
437
  <details>
374
438
  <summary>
@@ -385,6 +449,14 @@ GetProject
385
449
 
386
450
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/getprojectcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/getprojectcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/getprojectcommandoutput.html)
387
451
 
452
+ </details>
453
+ <details>
454
+ <summary>
455
+ GetSourceRepository
456
+ </summary>
457
+
458
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/getsourcerepositorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/getsourcerepositorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/getsourcerepositorycommandoutput.html)
459
+
388
460
  </details>
389
461
  <details>
390
462
  <summary>
@@ -521,6 +593,22 @@ UpdateDevEnvironment
521
593
 
522
594
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/updatedevenvironmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/updatedevenvironmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/updatedevenvironmentcommandoutput.html)
523
595
 
596
+ </details>
597
+ <details>
598
+ <summary>
599
+ UpdateProject
600
+ </summary>
601
+
602
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/updateprojectcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/updateprojectcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/updateprojectcommandoutput.html)
603
+
604
+ </details>
605
+ <details>
606
+ <summary>
607
+ UpdateSpace
608
+ </summary>
609
+
610
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/classes/updatespacecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/updatespacecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codecatalyst/interfaces/updatespacecommandoutput.html)
611
+
524
612
  </details>
525
613
  <details>
526
614
  <summary>
@@ -7,11 +7,16 @@ const CreateAccessTokenCommand_1 = require("./commands/CreateAccessTokenCommand"
7
7
  const CreateDevEnvironmentCommand_1 = require("./commands/CreateDevEnvironmentCommand");
8
8
  const CreateProjectCommand_1 = require("./commands/CreateProjectCommand");
9
9
  const CreateSourceRepositoryBranchCommand_1 = require("./commands/CreateSourceRepositoryBranchCommand");
10
+ const CreateSourceRepositoryCommand_1 = require("./commands/CreateSourceRepositoryCommand");
10
11
  const DeleteAccessTokenCommand_1 = require("./commands/DeleteAccessTokenCommand");
11
12
  const DeleteDevEnvironmentCommand_1 = require("./commands/DeleteDevEnvironmentCommand");
13
+ const DeleteProjectCommand_1 = require("./commands/DeleteProjectCommand");
14
+ const DeleteSourceRepositoryCommand_1 = require("./commands/DeleteSourceRepositoryCommand");
15
+ const DeleteSpaceCommand_1 = require("./commands/DeleteSpaceCommand");
12
16
  const GetDevEnvironmentCommand_1 = require("./commands/GetDevEnvironmentCommand");
13
17
  const GetProjectCommand_1 = require("./commands/GetProjectCommand");
14
18
  const GetSourceRepositoryCloneUrlsCommand_1 = require("./commands/GetSourceRepositoryCloneUrlsCommand");
19
+ const GetSourceRepositoryCommand_1 = require("./commands/GetSourceRepositoryCommand");
15
20
  const GetSpaceCommand_1 = require("./commands/GetSpaceCommand");
16
21
  const GetSubscriptionCommand_1 = require("./commands/GetSubscriptionCommand");
17
22
  const GetUserDetailsCommand_1 = require("./commands/GetUserDetailsCommand");
@@ -28,16 +33,23 @@ const StartDevEnvironmentSessionCommand_1 = require("./commands/StartDevEnvironm
28
33
  const StopDevEnvironmentCommand_1 = require("./commands/StopDevEnvironmentCommand");
29
34
  const StopDevEnvironmentSessionCommand_1 = require("./commands/StopDevEnvironmentSessionCommand");
30
35
  const UpdateDevEnvironmentCommand_1 = require("./commands/UpdateDevEnvironmentCommand");
36
+ const UpdateProjectCommand_1 = require("./commands/UpdateProjectCommand");
37
+ const UpdateSpaceCommand_1 = require("./commands/UpdateSpaceCommand");
31
38
  const VerifySessionCommand_1 = require("./commands/VerifySessionCommand");
32
39
  const commands = {
33
40
  CreateAccessTokenCommand: CreateAccessTokenCommand_1.CreateAccessTokenCommand,
34
41
  CreateDevEnvironmentCommand: CreateDevEnvironmentCommand_1.CreateDevEnvironmentCommand,
35
42
  CreateProjectCommand: CreateProjectCommand_1.CreateProjectCommand,
43
+ CreateSourceRepositoryCommand: CreateSourceRepositoryCommand_1.CreateSourceRepositoryCommand,
36
44
  CreateSourceRepositoryBranchCommand: CreateSourceRepositoryBranchCommand_1.CreateSourceRepositoryBranchCommand,
37
45
  DeleteAccessTokenCommand: DeleteAccessTokenCommand_1.DeleteAccessTokenCommand,
38
46
  DeleteDevEnvironmentCommand: DeleteDevEnvironmentCommand_1.DeleteDevEnvironmentCommand,
47
+ DeleteProjectCommand: DeleteProjectCommand_1.DeleteProjectCommand,
48
+ DeleteSourceRepositoryCommand: DeleteSourceRepositoryCommand_1.DeleteSourceRepositoryCommand,
49
+ DeleteSpaceCommand: DeleteSpaceCommand_1.DeleteSpaceCommand,
39
50
  GetDevEnvironmentCommand: GetDevEnvironmentCommand_1.GetDevEnvironmentCommand,
40
51
  GetProjectCommand: GetProjectCommand_1.GetProjectCommand,
52
+ GetSourceRepositoryCommand: GetSourceRepositoryCommand_1.GetSourceRepositoryCommand,
41
53
  GetSourceRepositoryCloneUrlsCommand: GetSourceRepositoryCloneUrlsCommand_1.GetSourceRepositoryCloneUrlsCommand,
42
54
  GetSpaceCommand: GetSpaceCommand_1.GetSpaceCommand,
43
55
  GetSubscriptionCommand: GetSubscriptionCommand_1.GetSubscriptionCommand,
@@ -55,6 +67,8 @@ const commands = {
55
67
  StopDevEnvironmentCommand: StopDevEnvironmentCommand_1.StopDevEnvironmentCommand,
56
68
  StopDevEnvironmentSessionCommand: StopDevEnvironmentSessionCommand_1.StopDevEnvironmentSessionCommand,
57
69
  UpdateDevEnvironmentCommand: UpdateDevEnvironmentCommand_1.UpdateDevEnvironmentCommand,
70
+ UpdateProjectCommand: UpdateProjectCommand_1.UpdateProjectCommand,
71
+ UpdateSpaceCommand: UpdateSpaceCommand_1.UpdateSpaceCommand,
58
72
  VerifySessionCommand: VerifySessionCommand_1.VerifySessionCommand,
59
73
  };
60
74
  class CodeCatalyst extends CodeCatalystClient_1.CodeCatalystClient {
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateSourceRepositoryCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class CreateSourceRepositoryCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateSourceRepositoryCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "CreateSourceRepositoryCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_CreateSourceRepositoryCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_CreateSourceRepositoryCommand)(output, context);
43
+ }
44
+ }
45
+ exports.CreateSourceRepositoryCommand = CreateSourceRepositoryCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteProjectCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteProjectCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteProjectCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "DeleteProjectCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DeleteProjectCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DeleteProjectCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DeleteProjectCommand = DeleteProjectCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteSourceRepositoryCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteSourceRepositoryCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSourceRepositoryCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "DeleteSourceRepositoryCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DeleteSourceRepositoryCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DeleteSourceRepositoryCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DeleteSourceRepositoryCommand = DeleteSourceRepositoryCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteSpaceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteSpaceCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSpaceCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "DeleteSpaceCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DeleteSpaceCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DeleteSpaceCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DeleteSpaceCommand = DeleteSpaceCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSourceRepositoryCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetSourceRepositoryCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSourceRepositoryCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "GetSourceRepositoryCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_GetSourceRepositoryCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_GetSourceRepositoryCommand)(output, context);
43
+ }
44
+ }
45
+ exports.GetSourceRepositoryCommand = GetSourceRepositoryCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateProjectCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateProjectCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateProjectCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "UpdateProjectCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_UpdateProjectCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_UpdateProjectCommand)(output, context);
43
+ }
44
+ }
45
+ exports.UpdateProjectCommand = UpdateProjectCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSpaceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateSpaceCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSpaceCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "CodeCatalystClient";
27
+ const commandName = "UpdateSpaceCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_UpdateSpaceCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_UpdateSpaceCommand)(output, context);
43
+ }
44
+ }
45
+ exports.UpdateSpaceCommand = UpdateSpaceCommand;
@@ -5,11 +5,16 @@ tslib_1.__exportStar(require("./CreateAccessTokenCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CreateDevEnvironmentCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateProjectCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateSourceRepositoryBranchCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateSourceRepositoryCommand"), exports);
8
9
  tslib_1.__exportStar(require("./DeleteAccessTokenCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DeleteDevEnvironmentCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteProjectCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteSourceRepositoryCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteSpaceCommand"), exports);
10
14
  tslib_1.__exportStar(require("./GetDevEnvironmentCommand"), exports);
11
15
  tslib_1.__exportStar(require("./GetProjectCommand"), exports);
12
16
  tslib_1.__exportStar(require("./GetSourceRepositoryCloneUrlsCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetSourceRepositoryCommand"), exports);
13
18
  tslib_1.__exportStar(require("./GetSpaceCommand"), exports);
14
19
  tslib_1.__exportStar(require("./GetSubscriptionCommand"), exports);
15
20
  tslib_1.__exportStar(require("./GetUserDetailsCommand"), exports);
@@ -26,4 +31,6 @@ tslib_1.__exportStar(require("./StartDevEnvironmentSessionCommand"), exports);
26
31
  tslib_1.__exportStar(require("./StopDevEnvironmentCommand"), exports);
27
32
  tslib_1.__exportStar(require("./StopDevEnvironmentSessionCommand"), exports);
28
33
  tslib_1.__exportStar(require("./UpdateDevEnvironmentCommand"), exports);
34
+ tslib_1.__exportStar(require("./UpdateProjectCommand"), exports);
35
+ tslib_1.__exportStar(require("./UpdateSpaceCommand"), exports);
29
36
  tslib_1.__exportStar(require("./VerifySessionCommand"), exports);