@aws-sdk/client-codecatalyst 3.369.0 → 3.374.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 +14 -15
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { DeleteProjectRequest, DeleteProjectResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteProjectCommand}.
14
+ */
15
+ export interface DeleteProjectCommandInput extends DeleteProjectRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteProjectCommand}.
21
+ */
22
+ export interface DeleteProjectCommandOutput extends DeleteProjectResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes a project in a space.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, DeleteProjectCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, DeleteProjectCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // DeleteProjectRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * name: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DeleteProjectCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DeleteProjectResponse
40
+ * // spaceName: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // displayName: "STRING_VALUE",
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteProjectCommandInput - {@link DeleteProjectCommandInput}
48
+ * @returns {@link DeleteProjectCommandOutput}
49
+ * @see {@link DeleteProjectCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteProjectCommandOutput} for command's `response` shape.
51
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
58
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
62
+ *
63
+ * @throws {@link ServiceQuotaExceededException} (client fault)
64
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
65
+ * the number of resources, or change the tier if applicable.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
72
+ *
73
+ * @throws {@link CodeCatalystServiceException}
74
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
75
+ *
76
+ */
77
+ export declare class DeleteProjectCommand extends $Command<DeleteProjectCommandInput, DeleteProjectCommandOutput, CodeCatalystClientResolvedConfig> {
78
+ readonly input: DeleteProjectCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: DeleteProjectCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProjectCommandInput, DeleteProjectCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -0,0 +1,97 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { DeleteSourceRepositoryRequest, DeleteSourceRepositoryResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteSourceRepositoryCommand}.
14
+ */
15
+ export interface DeleteSourceRepositoryCommandInput extends DeleteSourceRepositoryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteSourceRepositoryCommand}.
21
+ */
22
+ export interface DeleteSourceRepositoryCommandOutput extends DeleteSourceRepositoryResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes a source repository in Amazon CodeCatalyst. You cannot use this API to delete a linked repository. It can only be used to delete a Amazon CodeCatalyst source repository.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, DeleteSourceRepositoryCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, DeleteSourceRepositoryCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // DeleteSourceRepositoryRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * projectName: "STRING_VALUE", // required
36
+ * name: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new DeleteSourceRepositoryCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DeleteSourceRepositoryResponse
41
+ * // spaceName: "STRING_VALUE", // required
42
+ * // projectName: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteSourceRepositoryCommandInput - {@link DeleteSourceRepositoryCommandInput}
49
+ * @returns {@link DeleteSourceRepositoryCommandOutput}
50
+ * @see {@link DeleteSourceRepositoryCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteSourceRepositoryCommandOutput} for command's `response` shape.
52
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
59
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
63
+ *
64
+ * @throws {@link ServiceQuotaExceededException} (client fault)
65
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
66
+ * the number of resources, or change the tier if applicable.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
73
+ *
74
+ * @throws {@link CodeCatalystServiceException}
75
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
76
+ *
77
+ */
78
+ export declare class DeleteSourceRepositoryCommand extends $Command<DeleteSourceRepositoryCommandInput, DeleteSourceRepositoryCommandOutput, CodeCatalystClientResolvedConfig> {
79
+ readonly input: DeleteSourceRepositoryCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: DeleteSourceRepositoryCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSourceRepositoryCommandInput, DeleteSourceRepositoryCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -0,0 +1,97 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { DeleteSpaceRequest, DeleteSpaceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteSpaceCommand}.
14
+ */
15
+ export interface DeleteSpaceCommandInput extends DeleteSpaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteSpaceCommand}.
21
+ */
22
+ export interface DeleteSpaceCommandOutput extends DeleteSpaceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes a space.</p>
27
+ * <important>
28
+ * <p>Deleting a space cannot be undone. Additionally, since space names must be unique across Amazon CodeCatalyst, you cannot reuse names of deleted spaces.</p>
29
+ * </important>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { CodeCatalystClient, DeleteSpaceCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
34
+ * // const { CodeCatalystClient, DeleteSpaceCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
35
+ * const client = new CodeCatalystClient(config);
36
+ * const input = { // DeleteSpaceRequest
37
+ * name: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteSpaceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteSpaceResponse
42
+ * // name: "STRING_VALUE", // required
43
+ * // displayName: "STRING_VALUE",
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteSpaceCommandInput - {@link DeleteSpaceCommandInput}
49
+ * @returns {@link DeleteSpaceCommandOutput}
50
+ * @see {@link DeleteSpaceCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteSpaceCommandOutput} for command's `response` shape.
52
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
59
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
63
+ *
64
+ * @throws {@link ServiceQuotaExceededException} (client fault)
65
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
66
+ * the number of resources, or change the tier if applicable.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
73
+ *
74
+ * @throws {@link CodeCatalystServiceException}
75
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
76
+ *
77
+ */
78
+ export declare class DeleteSpaceCommand extends $Command<DeleteSpaceCommandInput, DeleteSpaceCommandOutput, CodeCatalystClientResolvedConfig> {
79
+ readonly input: DeleteSpaceCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: DeleteSpaceCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSpaceCommandInput, DeleteSpaceCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { GetSourceRepositoryRequest, GetSourceRepositoryResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetSourceRepositoryCommand}.
14
+ */
15
+ export interface GetSourceRepositoryCommandInput extends GetSourceRepositoryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSourceRepositoryCommand}.
21
+ */
22
+ export interface GetSourceRepositoryCommandOutput extends GetSourceRepositoryResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information about a source repository.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, GetSourceRepositoryCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, GetSourceRepositoryCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // GetSourceRepositoryRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * projectName: "STRING_VALUE", // required
36
+ * name: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetSourceRepositoryCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetSourceRepositoryResponse
41
+ * // spaceName: "STRING_VALUE", // required
42
+ * // projectName: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // description: "STRING_VALUE",
45
+ * // lastUpdatedTime: new Date("TIMESTAMP"), // required
46
+ * // createdTime: new Date("TIMESTAMP"), // required
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetSourceRepositoryCommandInput - {@link GetSourceRepositoryCommandInput}
52
+ * @returns {@link GetSourceRepositoryCommandOutput}
53
+ * @see {@link GetSourceRepositoryCommandInput} for command's `input` shape.
54
+ * @see {@link GetSourceRepositoryCommandOutput} for command's `response` shape.
55
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
62
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
66
+ *
67
+ * @throws {@link ServiceQuotaExceededException} (client fault)
68
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
69
+ * the number of resources, or change the tier if applicable.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
76
+ *
77
+ * @throws {@link CodeCatalystServiceException}
78
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
79
+ *
80
+ */
81
+ export declare class GetSourceRepositoryCommand extends $Command<GetSourceRepositoryCommandInput, GetSourceRepositoryCommandOutput, CodeCatalystClientResolvedConfig> {
82
+ readonly input: GetSourceRepositoryCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: GetSourceRepositoryCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSourceRepositoryCommandInput, GetSourceRepositoryCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,98 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { UpdateProjectRequest, UpdateProjectResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateProjectCommand}.
14
+ */
15
+ export interface UpdateProjectCommandInput extends UpdateProjectRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateProjectCommand}.
21
+ */
22
+ export interface UpdateProjectCommandOutput extends UpdateProjectResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Changes one or more values for a project.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, UpdateProjectCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, UpdateProjectCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // UpdateProjectRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * name: "STRING_VALUE", // required
36
+ * description: "STRING_VALUE",
37
+ * };
38
+ * const command = new UpdateProjectCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // UpdateProjectResponse
41
+ * // spaceName: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // displayName: "STRING_VALUE",
44
+ * // description: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param UpdateProjectCommandInput - {@link UpdateProjectCommandInput}
50
+ * @returns {@link UpdateProjectCommandOutput}
51
+ * @see {@link UpdateProjectCommandInput} for command's `input` shape.
52
+ * @see {@link UpdateProjectCommandOutput} for command's `response` shape.
53
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
60
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
64
+ *
65
+ * @throws {@link ServiceQuotaExceededException} (client fault)
66
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
67
+ * the number of resources, or change the tier if applicable.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was denied due to request throttling.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
74
+ *
75
+ * @throws {@link CodeCatalystServiceException}
76
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
77
+ *
78
+ */
79
+ export declare class UpdateProjectCommand extends $Command<UpdateProjectCommandInput, UpdateProjectCommandOutput, CodeCatalystClientResolvedConfig> {
80
+ readonly input: UpdateProjectCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: UpdateProjectCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateProjectCommandInput, UpdateProjectCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { UpdateSpaceRequest, UpdateSpaceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateSpaceCommand}.
14
+ */
15
+ export interface UpdateSpaceCommandInput extends UpdateSpaceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateSpaceCommand}.
21
+ */
22
+ export interface UpdateSpaceCommandOutput extends UpdateSpaceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Changes one or more values for a space.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, UpdateSpaceCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, UpdateSpaceCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // UpdateSpaceRequest
34
+ * name: "STRING_VALUE", // required
35
+ * description: "STRING_VALUE",
36
+ * };
37
+ * const command = new UpdateSpaceCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // UpdateSpaceResponse
40
+ * // name: "STRING_VALUE",
41
+ * // displayName: "STRING_VALUE",
42
+ * // description: "STRING_VALUE",
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param UpdateSpaceCommandInput - {@link UpdateSpaceCommandInput}
48
+ * @returns {@link UpdateSpaceCommandOutput}
49
+ * @see {@link UpdateSpaceCommandInput} for command's `input` shape.
50
+ * @see {@link UpdateSpaceCommandOutput} for command's `response` shape.
51
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
58
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
62
+ *
63
+ * @throws {@link ServiceQuotaExceededException} (client fault)
64
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
65
+ * the number of resources, or change the tier if applicable.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
72
+ *
73
+ * @throws {@link CodeCatalystServiceException}
74
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
75
+ *
76
+ */
77
+ export declare class UpdateSpaceCommand extends $Command<UpdateSpaceCommandInput, UpdateSpaceCommandOutput, CodeCatalystClientResolvedConfig> {
78
+ readonly input: UpdateSpaceCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: UpdateSpaceCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSpaceCommandInput, UpdateSpaceCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -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";