@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
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DeleteProjectCommand, se_DeleteProjectCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DeleteProjectCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteProjectCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "DeleteProjectCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_DeleteProjectCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_DeleteProjectCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DeleteSourceRepositoryCommand, se_DeleteSourceRepositoryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DeleteSourceRepositoryCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSourceRepositoryCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "DeleteSourceRepositoryCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_DeleteSourceRepositoryCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_DeleteSourceRepositoryCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DeleteSpaceCommand, se_DeleteSpaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class DeleteSpaceCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSpaceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "DeleteSpaceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_DeleteSpaceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_DeleteSpaceCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_GetSourceRepositoryCommand, se_GetSourceRepositoryCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class GetSourceRepositoryCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetSourceRepositoryCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "GetSourceRepositoryCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_GetSourceRepositoryCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_GetSourceRepositoryCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_UpdateProjectCommand, se_UpdateProjectCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class UpdateProjectCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProjectCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "UpdateProjectCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_UpdateProjectCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_UpdateProjectCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_UpdateSpaceCommand, se_UpdateSpaceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class UpdateSpaceCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSpaceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "CodeCatalystClient";
24
+ const commandName = "UpdateSpaceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_UpdateSpaceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_UpdateSpaceCommand(output, context);
40
+ }
41
+ }
@@ -2,11 +2,16 @@ export * from "./CreateAccessTokenCommand";
2
2
  export * from "./CreateDevEnvironmentCommand";
3
3
  export * from "./CreateProjectCommand";
4
4
  export * from "./CreateSourceRepositoryBranchCommand";
5
+ export * from "./CreateSourceRepositoryCommand";
5
6
  export * from "./DeleteAccessTokenCommand";
6
7
  export * from "./DeleteDevEnvironmentCommand";
8
+ export * from "./DeleteProjectCommand";
9
+ export * from "./DeleteSourceRepositoryCommand";
10
+ export * from "./DeleteSpaceCommand";
7
11
  export * from "./GetDevEnvironmentCommand";
8
12
  export * from "./GetProjectCommand";
9
13
  export * from "./GetSourceRepositoryCloneUrlsCommand";
14
+ export * from "./GetSourceRepositoryCommand";
10
15
  export * from "./GetSpaceCommand";
11
16
  export * from "./GetSubscriptionCommand";
12
17
  export * from "./GetUserDetailsCommand";
@@ -23,4 +28,6 @@ export * from "./StartDevEnvironmentSessionCommand";
23
28
  export * from "./StopDevEnvironmentCommand";
24
29
  export * from "./StopDevEnvironmentSessionCommand";
25
30
  export * from "./UpdateDevEnvironmentCommand";
31
+ export * from "./UpdateProjectCommand";
32
+ export * from "./UpdateSpaceCommand";
26
33
  export * from "./VerifySessionCommand";