@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.
- package/README.md +110 -22
- package/dist-cjs/CodeCatalyst.js +14 -0
- package/dist-cjs/commands/CreateSourceRepositoryCommand.js +45 -0
- package/dist-cjs/commands/DeleteProjectCommand.js +45 -0
- package/dist-cjs/commands/DeleteSourceRepositoryCommand.js +45 -0
- package/dist-cjs/commands/DeleteSpaceCommand.js +45 -0
- package/dist-cjs/commands/GetSourceRepositoryCommand.js +45 -0
- package/dist-cjs/commands/UpdateProjectCommand.js +45 -0
- package/dist-cjs/commands/UpdateSpaceCommand.js +45 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +508 -2
- package/dist-es/CodeCatalyst.js +14 -0
- package/dist-es/commands/CreateSourceRepositoryCommand.js +41 -0
- package/dist-es/commands/DeleteProjectCommand.js +41 -0
- package/dist-es/commands/DeleteSourceRepositoryCommand.js +41 -0
- package/dist-es/commands/DeleteSpaceCommand.js +41 -0
- package/dist-es/commands/GetSourceRepositoryCommand.js +41 -0
- package/dist-es/commands/UpdateProjectCommand.js +41 -0
- package/dist-es/commands/UpdateSpaceCommand.js +41 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +492 -0
- package/dist-types/CodeCatalyst.d.ts +103 -22
- package/dist-types/CodeCatalystClient.d.ts +63 -24
- package/dist-types/commands/CreateSourceRepositoryCommand.d.ts +100 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +96 -0
- package/dist-types/commands/DeleteSourceRepositoryCommand.d.ts +97 -0
- package/dist-types/commands/DeleteSpaceCommand.d.ts +97 -0
- package/dist-types/commands/GetSourceRepositoryCommand.d.ts +100 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +98 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +54 -22
- package/dist-types/models/models_0.d.ts +250 -8
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/CodeCatalyst.d.ts +119 -0
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSourceRepositoryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteSourceRepositoryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetSourceRepositoryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +33 -33
|
@@ -4,11 +4,16 @@ import { CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput } from ".
|
|
|
4
4
|
import { CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput } from "./commands/CreateDevEnvironmentCommand";
|
|
5
5
|
import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
|
|
6
6
|
import { CreateSourceRepositoryBranchCommandInput, CreateSourceRepositoryBranchCommandOutput } from "./commands/CreateSourceRepositoryBranchCommand";
|
|
7
|
+
import { CreateSourceRepositoryCommandInput, CreateSourceRepositoryCommandOutput } from "./commands/CreateSourceRepositoryCommand";
|
|
7
8
|
import { DeleteAccessTokenCommandInput, DeleteAccessTokenCommandOutput } from "./commands/DeleteAccessTokenCommand";
|
|
8
9
|
import { DeleteDevEnvironmentCommandInput, DeleteDevEnvironmentCommandOutput } from "./commands/DeleteDevEnvironmentCommand";
|
|
10
|
+
import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
|
|
11
|
+
import { DeleteSourceRepositoryCommandInput, DeleteSourceRepositoryCommandOutput } from "./commands/DeleteSourceRepositoryCommand";
|
|
12
|
+
import { DeleteSpaceCommandInput, DeleteSpaceCommandOutput } from "./commands/DeleteSpaceCommand";
|
|
9
13
|
import { GetDevEnvironmentCommandInput, GetDevEnvironmentCommandOutput } from "./commands/GetDevEnvironmentCommand";
|
|
10
14
|
import { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand";
|
|
11
15
|
import { GetSourceRepositoryCloneUrlsCommandInput, GetSourceRepositoryCloneUrlsCommandOutput } from "./commands/GetSourceRepositoryCloneUrlsCommand";
|
|
16
|
+
import { GetSourceRepositoryCommandInput, GetSourceRepositoryCommandOutput } from "./commands/GetSourceRepositoryCommand";
|
|
12
17
|
import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
|
|
13
18
|
import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
|
|
14
19
|
import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
|
|
@@ -25,6 +30,8 @@ import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionComma
|
|
|
25
30
|
import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
|
|
26
31
|
import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "./commands/StopDevEnvironmentSessionCommand";
|
|
27
32
|
import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
|
|
33
|
+
import { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand";
|
|
34
|
+
import { UpdateSpaceCommandInput, UpdateSpaceCommandOutput } from "./commands/UpdateSpaceCommand";
|
|
28
35
|
import { VerifySessionCommandInput, VerifySessionCommandOutput } from "./commands/VerifySessionCommand";
|
|
29
36
|
export interface CodeCatalyst {
|
|
30
37
|
/**
|
|
@@ -45,6 +52,12 @@ export interface CodeCatalyst {
|
|
|
45
52
|
createProject(args: CreateProjectCommandInput, options?: __HttpHandlerOptions): Promise<CreateProjectCommandOutput>;
|
|
46
53
|
createProject(args: CreateProjectCommandInput, cb: (err: any, data?: CreateProjectCommandOutput) => void): void;
|
|
47
54
|
createProject(args: CreateProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProjectCommandOutput) => void): void;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link CreateSourceRepositoryCommand}
|
|
57
|
+
*/
|
|
58
|
+
createSourceRepository(args: CreateSourceRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateSourceRepositoryCommandOutput>;
|
|
59
|
+
createSourceRepository(args: CreateSourceRepositoryCommandInput, cb: (err: any, data?: CreateSourceRepositoryCommandOutput) => void): void;
|
|
60
|
+
createSourceRepository(args: CreateSourceRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSourceRepositoryCommandOutput) => void): void;
|
|
48
61
|
/**
|
|
49
62
|
* @see {@link CreateSourceRepositoryBranchCommand}
|
|
50
63
|
*/
|
|
@@ -63,6 +76,24 @@ export interface CodeCatalyst {
|
|
|
63
76
|
deleteDevEnvironment(args: DeleteDevEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDevEnvironmentCommandOutput>;
|
|
64
77
|
deleteDevEnvironment(args: DeleteDevEnvironmentCommandInput, cb: (err: any, data?: DeleteDevEnvironmentCommandOutput) => void): void;
|
|
65
78
|
deleteDevEnvironment(args: DeleteDevEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDevEnvironmentCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link DeleteProjectCommand}
|
|
81
|
+
*/
|
|
82
|
+
deleteProject(args: DeleteProjectCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProjectCommandOutput>;
|
|
83
|
+
deleteProject(args: DeleteProjectCommandInput, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
|
|
84
|
+
deleteProject(args: DeleteProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProjectCommandOutput) => void): void;
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link DeleteSourceRepositoryCommand}
|
|
87
|
+
*/
|
|
88
|
+
deleteSourceRepository(args: DeleteSourceRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceRepositoryCommandOutput>;
|
|
89
|
+
deleteSourceRepository(args: DeleteSourceRepositoryCommandInput, cb: (err: any, data?: DeleteSourceRepositoryCommandOutput) => void): void;
|
|
90
|
+
deleteSourceRepository(args: DeleteSourceRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceRepositoryCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link DeleteSpaceCommand}
|
|
93
|
+
*/
|
|
94
|
+
deleteSpace(args: DeleteSpaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSpaceCommandOutput>;
|
|
95
|
+
deleteSpace(args: DeleteSpaceCommandInput, cb: (err: any, data?: DeleteSpaceCommandOutput) => void): void;
|
|
96
|
+
deleteSpace(args: DeleteSpaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSpaceCommandOutput) => void): void;
|
|
66
97
|
/**
|
|
67
98
|
* @see {@link GetDevEnvironmentCommand}
|
|
68
99
|
*/
|
|
@@ -75,6 +106,12 @@ export interface CodeCatalyst {
|
|
|
75
106
|
getProject(args: GetProjectCommandInput, options?: __HttpHandlerOptions): Promise<GetProjectCommandOutput>;
|
|
76
107
|
getProject(args: GetProjectCommandInput, cb: (err: any, data?: GetProjectCommandOutput) => void): void;
|
|
77
108
|
getProject(args: GetProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProjectCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link GetSourceRepositoryCommand}
|
|
111
|
+
*/
|
|
112
|
+
getSourceRepository(args: GetSourceRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<GetSourceRepositoryCommandOutput>;
|
|
113
|
+
getSourceRepository(args: GetSourceRepositoryCommandInput, cb: (err: any, data?: GetSourceRepositoryCommandOutput) => void): void;
|
|
114
|
+
getSourceRepository(args: GetSourceRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSourceRepositoryCommandOutput) => void): void;
|
|
78
115
|
/**
|
|
79
116
|
* @see {@link GetSourceRepositoryCloneUrlsCommand}
|
|
80
117
|
*/
|
|
@@ -177,6 +214,18 @@ export interface CodeCatalyst {
|
|
|
177
214
|
updateDevEnvironment(args: UpdateDevEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDevEnvironmentCommandOutput>;
|
|
178
215
|
updateDevEnvironment(args: UpdateDevEnvironmentCommandInput, cb: (err: any, data?: UpdateDevEnvironmentCommandOutput) => void): void;
|
|
179
216
|
updateDevEnvironment(args: UpdateDevEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDevEnvironmentCommandOutput) => void): void;
|
|
217
|
+
/**
|
|
218
|
+
* @see {@link UpdateProjectCommand}
|
|
219
|
+
*/
|
|
220
|
+
updateProject(args: UpdateProjectCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProjectCommandOutput>;
|
|
221
|
+
updateProject(args: UpdateProjectCommandInput, cb: (err: any, data?: UpdateProjectCommandOutput) => void): void;
|
|
222
|
+
updateProject(args: UpdateProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProjectCommandOutput) => void): void;
|
|
223
|
+
/**
|
|
224
|
+
* @see {@link UpdateSpaceCommand}
|
|
225
|
+
*/
|
|
226
|
+
updateSpace(args: UpdateSpaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSpaceCommandOutput>;
|
|
227
|
+
updateSpace(args: UpdateSpaceCommandInput, cb: (err: any, data?: UpdateSpaceCommandOutput) => void): void;
|
|
228
|
+
updateSpace(args: UpdateSpaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSpaceCommandOutput) => void): void;
|
|
180
229
|
/**
|
|
181
230
|
* @see {@link VerifySessionCommand}
|
|
182
231
|
*/
|
|
@@ -188,32 +237,35 @@ export interface CodeCatalyst {
|
|
|
188
237
|
* @public
|
|
189
238
|
* <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
|
|
190
239
|
* API to work with the following objects. </p>
|
|
191
|
-
* <p>
|
|
240
|
+
* <p>Spaces, by calling the following:</p>
|
|
192
241
|
* <ul>
|
|
193
242
|
* <li>
|
|
194
243
|
* <p>
|
|
195
|
-
* <a>
|
|
244
|
+
* <a>DeleteSpace</a>, which deletes a space.</p>
|
|
196
245
|
* </li>
|
|
197
246
|
* <li>
|
|
198
247
|
* <p>
|
|
199
|
-
* <a>
|
|
200
|
-
* where you can quickly work on the code stored in the source repositories of your project.</p>
|
|
248
|
+
* <a>GetSpace</a>, which returns information about a space.</p>
|
|
201
249
|
* </li>
|
|
202
250
|
* <li>
|
|
203
251
|
* <p>
|
|
204
|
-
* <a>
|
|
252
|
+
* <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
|
|
253
|
+
* and the billing plan for the space.</p>
|
|
205
254
|
* </li>
|
|
206
255
|
* <li>
|
|
207
256
|
* <p>
|
|
208
|
-
* <a>
|
|
257
|
+
* <a>ListSpaces</a>, which retrieves a list of spaces.</p>
|
|
209
258
|
* </li>
|
|
210
259
|
* <li>
|
|
211
260
|
* <p>
|
|
212
|
-
* <a>
|
|
261
|
+
* <a>UpdateSpace</a>, which hanges one or more values for a space.</p>
|
|
213
262
|
* </li>
|
|
263
|
+
* </ul>
|
|
264
|
+
* <p>Projects, by calling the following:</p>
|
|
265
|
+
* <ul>
|
|
214
266
|
* <li>
|
|
215
267
|
* <p>
|
|
216
|
-
* <a>
|
|
268
|
+
* <a>CreateProject</a> which creates a project in a specified space.</p>
|
|
217
269
|
* </li>
|
|
218
270
|
* <li>
|
|
219
271
|
* <p>
|
|
@@ -221,33 +273,38 @@ export interface CodeCatalyst {
|
|
|
221
273
|
* </li>
|
|
222
274
|
* <li>
|
|
223
275
|
* <p>
|
|
224
|
-
* <a>
|
|
225
|
-
* repository.</p>
|
|
276
|
+
* <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
|
|
226
277
|
* </li>
|
|
278
|
+
* </ul>
|
|
279
|
+
* <p>Users, by calling the following:</p>
|
|
280
|
+
* <ul>
|
|
227
281
|
* <li>
|
|
228
282
|
* <p>
|
|
229
|
-
* <a>
|
|
283
|
+
* <a>GetUserDetails</a>, which returns information about a user in Amazon CodeCatalyst.</p>
|
|
230
284
|
* </li>
|
|
285
|
+
* </ul>
|
|
286
|
+
* <p>Source repositories, by calling the following:</p>
|
|
287
|
+
* <ul>
|
|
231
288
|
* <li>
|
|
232
289
|
* <p>
|
|
233
|
-
* <a>
|
|
234
|
-
* and the billing plan for the space.</p>
|
|
290
|
+
* <a>CreateSourceRepository</a>, which creates an empty Git-based source repository in a specified project.</p>
|
|
235
291
|
* </li>
|
|
236
292
|
* <li>
|
|
237
293
|
* <p>
|
|
238
|
-
* <a>
|
|
294
|
+
* <a>CreateSourceRepositoryBranch</a>, which creates a branch in a specified repository where you can work on code.</p>
|
|
239
295
|
* </li>
|
|
240
296
|
* <li>
|
|
241
297
|
* <p>
|
|
242
|
-
* <a>
|
|
298
|
+
* <a>DeleteSourceRepository</a>, which deletes a source repository.</p>
|
|
243
299
|
* </li>
|
|
244
300
|
* <li>
|
|
245
301
|
* <p>
|
|
246
|
-
* <a>
|
|
302
|
+
* <a>GetSourceRepository</a>, which returns information about a source repository.</p>
|
|
247
303
|
* </li>
|
|
248
304
|
* <li>
|
|
249
305
|
* <p>
|
|
250
|
-
* <a>
|
|
306
|
+
* <a>GetSourceRepositoryCloneUrls</a>, which returns information about the URLs that can be used with a Git client to clone a source
|
|
307
|
+
* repository.</p>
|
|
251
308
|
* </li>
|
|
252
309
|
* <li>
|
|
253
310
|
* <p>
|
|
@@ -257,9 +314,29 @@ export interface CodeCatalyst {
|
|
|
257
314
|
* <p>
|
|
258
315
|
* <a>ListSourceRepositoryBranches</a>, which retrieves a list of branches in a source repository.</p>
|
|
259
316
|
* </li>
|
|
317
|
+
* </ul>
|
|
318
|
+
* <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
|
|
319
|
+
* <ul>
|
|
260
320
|
* <li>
|
|
261
321
|
* <p>
|
|
262
|
-
* <a>
|
|
322
|
+
* <a>CreateDevEnvironment</a>, which creates a Dev Environment,
|
|
323
|
+
* where you can quickly work on the code stored in the source repositories of your project.</p>
|
|
324
|
+
* </li>
|
|
325
|
+
* <li>
|
|
326
|
+
* <p>
|
|
327
|
+
* <a>DeleteDevEnvironment</a>, which deletes a Dev Environment.</p>
|
|
328
|
+
* </li>
|
|
329
|
+
* <li>
|
|
330
|
+
* <p>
|
|
331
|
+
* <a>GetDevEnvironment</a>, which returns information about a Dev Environment.</p>
|
|
332
|
+
* </li>
|
|
333
|
+
* <li>
|
|
334
|
+
* <p>
|
|
335
|
+
* <a>ListDevEnvironments</a>, which retrieves a list of Dev Environments in a project.</p>
|
|
336
|
+
* </li>
|
|
337
|
+
* <li>
|
|
338
|
+
* <p>
|
|
339
|
+
* <a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
|
|
263
340
|
* </li>
|
|
264
341
|
* <li>
|
|
265
342
|
* <p>
|
|
@@ -281,15 +358,15 @@ export interface CodeCatalyst {
|
|
|
281
358
|
* <p>
|
|
282
359
|
* <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
|
|
283
360
|
* </li>
|
|
284
|
-
* <li>
|
|
285
|
-
* <p>
|
|
286
|
-
* <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p>
|
|
287
|
-
* </li>
|
|
288
361
|
* </ul>
|
|
289
362
|
* <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
|
|
290
363
|
* <ul>
|
|
291
364
|
* <li>
|
|
292
365
|
* <p>
|
|
366
|
+
* <a>CreateAccessToken</a>, which creates a personal access token (PAT) for the current user.</p>
|
|
367
|
+
* </li>
|
|
368
|
+
* <li>
|
|
369
|
+
* <p>
|
|
293
370
|
* <a>DeleteAccessToken</a>, which deletes a specified personal access token (PAT).</p>
|
|
294
371
|
* </li>
|
|
295
372
|
* <li>
|
|
@@ -300,6 +377,10 @@ export interface CodeCatalyst {
|
|
|
300
377
|
* <p>
|
|
301
378
|
* <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p>
|
|
302
379
|
* </li>
|
|
380
|
+
* <li>
|
|
381
|
+
* <p>
|
|
382
|
+
* <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p>
|
|
383
|
+
* </li>
|
|
303
384
|
* </ul>
|
|
304
385
|
* <note>
|
|
305
386
|
* <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).
|
|
@@ -11,11 +11,16 @@ import { CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput } from ".
|
|
|
11
11
|
import { CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput } from "./commands/CreateDevEnvironmentCommand";
|
|
12
12
|
import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
|
|
13
13
|
import { CreateSourceRepositoryBranchCommandInput, CreateSourceRepositoryBranchCommandOutput } from "./commands/CreateSourceRepositoryBranchCommand";
|
|
14
|
+
import { CreateSourceRepositoryCommandInput, CreateSourceRepositoryCommandOutput } from "./commands/CreateSourceRepositoryCommand";
|
|
14
15
|
import { DeleteAccessTokenCommandInput, DeleteAccessTokenCommandOutput } from "./commands/DeleteAccessTokenCommand";
|
|
15
16
|
import { DeleteDevEnvironmentCommandInput, DeleteDevEnvironmentCommandOutput } from "./commands/DeleteDevEnvironmentCommand";
|
|
17
|
+
import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
|
|
18
|
+
import { DeleteSourceRepositoryCommandInput, DeleteSourceRepositoryCommandOutput } from "./commands/DeleteSourceRepositoryCommand";
|
|
19
|
+
import { DeleteSpaceCommandInput, DeleteSpaceCommandOutput } from "./commands/DeleteSpaceCommand";
|
|
16
20
|
import { GetDevEnvironmentCommandInput, GetDevEnvironmentCommandOutput } from "./commands/GetDevEnvironmentCommand";
|
|
17
21
|
import { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand";
|
|
18
22
|
import { GetSourceRepositoryCloneUrlsCommandInput, GetSourceRepositoryCloneUrlsCommandOutput } from "./commands/GetSourceRepositoryCloneUrlsCommand";
|
|
23
|
+
import { GetSourceRepositoryCommandInput, GetSourceRepositoryCommandOutput } from "./commands/GetSourceRepositoryCommand";
|
|
19
24
|
import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
|
|
20
25
|
import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
|
|
21
26
|
import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
|
|
@@ -32,17 +37,19 @@ import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionComma
|
|
|
32
37
|
import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
|
|
33
38
|
import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "./commands/StopDevEnvironmentSessionCommand";
|
|
34
39
|
import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
|
|
40
|
+
import { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand";
|
|
41
|
+
import { UpdateSpaceCommandInput, UpdateSpaceCommandOutput } from "./commands/UpdateSpaceCommand";
|
|
35
42
|
import { VerifySessionCommandInput, VerifySessionCommandOutput } from "./commands/VerifySessionCommand";
|
|
36
43
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
37
44
|
export { __Client };
|
|
38
45
|
/**
|
|
39
46
|
* @public
|
|
40
47
|
*/
|
|
41
|
-
export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentSessionsCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | VerifySessionCommandInput;
|
|
48
|
+
export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | CreateSourceRepositoryCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | DeleteProjectCommandInput | DeleteSourceRepositoryCommandInput | DeleteSpaceCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSourceRepositoryCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentSessionsCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | UpdateProjectCommandInput | UpdateSpaceCommandInput | VerifySessionCommandInput;
|
|
42
49
|
/**
|
|
43
50
|
* @public
|
|
44
51
|
*/
|
|
45
|
-
export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentSessionsCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | VerifySessionCommandOutput;
|
|
52
|
+
export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | CreateSourceRepositoryCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | DeleteProjectCommandOutput | DeleteSourceRepositoryCommandOutput | DeleteSpaceCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSourceRepositoryCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentSessionsCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | UpdateProjectCommandOutput | UpdateSpaceCommandOutput | VerifySessionCommandOutput;
|
|
46
53
|
/**
|
|
47
54
|
* @public
|
|
48
55
|
*/
|
|
@@ -163,32 +170,35 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
163
170
|
* @public
|
|
164
171
|
* <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
|
|
165
172
|
* API to work with the following objects. </p>
|
|
166
|
-
* <p>
|
|
173
|
+
* <p>Spaces, by calling the following:</p>
|
|
167
174
|
* <ul>
|
|
168
175
|
* <li>
|
|
169
176
|
* <p>
|
|
170
|
-
* <a>
|
|
177
|
+
* <a>DeleteSpace</a>, which deletes a space.</p>
|
|
171
178
|
* </li>
|
|
172
179
|
* <li>
|
|
173
180
|
* <p>
|
|
174
|
-
* <a>
|
|
175
|
-
* where you can quickly work on the code stored in the source repositories of your project.</p>
|
|
181
|
+
* <a>GetSpace</a>, which returns information about a space.</p>
|
|
176
182
|
* </li>
|
|
177
183
|
* <li>
|
|
178
184
|
* <p>
|
|
179
|
-
* <a>
|
|
185
|
+
* <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes
|
|
186
|
+
* and the billing plan for the space.</p>
|
|
180
187
|
* </li>
|
|
181
188
|
* <li>
|
|
182
189
|
* <p>
|
|
183
|
-
* <a>
|
|
190
|
+
* <a>ListSpaces</a>, which retrieves a list of spaces.</p>
|
|
184
191
|
* </li>
|
|
185
192
|
* <li>
|
|
186
193
|
* <p>
|
|
187
|
-
* <a>
|
|
194
|
+
* <a>UpdateSpace</a>, which hanges one or more values for a space.</p>
|
|
188
195
|
* </li>
|
|
196
|
+
* </ul>
|
|
197
|
+
* <p>Projects, by calling the following:</p>
|
|
198
|
+
* <ul>
|
|
189
199
|
* <li>
|
|
190
200
|
* <p>
|
|
191
|
-
* <a>
|
|
201
|
+
* <a>CreateProject</a> which creates a project in a specified space.</p>
|
|
192
202
|
* </li>
|
|
193
203
|
* <li>
|
|
194
204
|
* <p>
|
|
@@ -196,33 +206,38 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
196
206
|
* </li>
|
|
197
207
|
* <li>
|
|
198
208
|
* <p>
|
|
199
|
-
* <a>
|
|
200
|
-
* repository.</p>
|
|
209
|
+
* <a>ListProjects</a>, which retrieves a list of projects in a space.</p>
|
|
201
210
|
* </li>
|
|
211
|
+
* </ul>
|
|
212
|
+
* <p>Users, by calling the following:</p>
|
|
213
|
+
* <ul>
|
|
202
214
|
* <li>
|
|
203
215
|
* <p>
|
|
204
|
-
* <a>
|
|
216
|
+
* <a>GetUserDetails</a>, which returns information about a user in Amazon CodeCatalyst.</p>
|
|
205
217
|
* </li>
|
|
218
|
+
* </ul>
|
|
219
|
+
* <p>Source repositories, by calling the following:</p>
|
|
220
|
+
* <ul>
|
|
206
221
|
* <li>
|
|
207
222
|
* <p>
|
|
208
|
-
* <a>
|
|
209
|
-
* and the billing plan for the space.</p>
|
|
223
|
+
* <a>CreateSourceRepository</a>, which creates an empty Git-based source repository in a specified project.</p>
|
|
210
224
|
* </li>
|
|
211
225
|
* <li>
|
|
212
226
|
* <p>
|
|
213
|
-
* <a>
|
|
227
|
+
* <a>CreateSourceRepositoryBranch</a>, which creates a branch in a specified repository where you can work on code.</p>
|
|
214
228
|
* </li>
|
|
215
229
|
* <li>
|
|
216
230
|
* <p>
|
|
217
|
-
* <a>
|
|
231
|
+
* <a>DeleteSourceRepository</a>, which deletes a source repository.</p>
|
|
218
232
|
* </li>
|
|
219
233
|
* <li>
|
|
220
234
|
* <p>
|
|
221
|
-
* <a>
|
|
235
|
+
* <a>GetSourceRepository</a>, which returns information about a source repository.</p>
|
|
222
236
|
* </li>
|
|
223
237
|
* <li>
|
|
224
238
|
* <p>
|
|
225
|
-
* <a>
|
|
239
|
+
* <a>GetSourceRepositoryCloneUrls</a>, which returns information about the URLs that can be used with a Git client to clone a source
|
|
240
|
+
* repository.</p>
|
|
226
241
|
* </li>
|
|
227
242
|
* <li>
|
|
228
243
|
* <p>
|
|
@@ -232,9 +247,29 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
232
247
|
* <p>
|
|
233
248
|
* <a>ListSourceRepositoryBranches</a>, which retrieves a list of branches in a source repository.</p>
|
|
234
249
|
* </li>
|
|
250
|
+
* </ul>
|
|
251
|
+
* <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p>
|
|
252
|
+
* <ul>
|
|
235
253
|
* <li>
|
|
236
254
|
* <p>
|
|
237
|
-
* <a>
|
|
255
|
+
* <a>CreateDevEnvironment</a>, which creates a Dev Environment,
|
|
256
|
+
* where you can quickly work on the code stored in the source repositories of your project.</p>
|
|
257
|
+
* </li>
|
|
258
|
+
* <li>
|
|
259
|
+
* <p>
|
|
260
|
+
* <a>DeleteDevEnvironment</a>, which deletes a Dev Environment.</p>
|
|
261
|
+
* </li>
|
|
262
|
+
* <li>
|
|
263
|
+
* <p>
|
|
264
|
+
* <a>GetDevEnvironment</a>, which returns information about a Dev Environment.</p>
|
|
265
|
+
* </li>
|
|
266
|
+
* <li>
|
|
267
|
+
* <p>
|
|
268
|
+
* <a>ListDevEnvironments</a>, which retrieves a list of Dev Environments in a project.</p>
|
|
269
|
+
* </li>
|
|
270
|
+
* <li>
|
|
271
|
+
* <p>
|
|
272
|
+
* <a>ListDevEnvironmentSessions</a>, which retrieves a list of active Dev Environment sessions in a project.</p>
|
|
238
273
|
* </li>
|
|
239
274
|
* <li>
|
|
240
275
|
* <p>
|
|
@@ -256,15 +291,15 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
256
291
|
* <p>
|
|
257
292
|
* <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
|
|
258
293
|
* </li>
|
|
259
|
-
* <li>
|
|
260
|
-
* <p>
|
|
261
|
-
* <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p>
|
|
262
|
-
* </li>
|
|
263
294
|
* </ul>
|
|
264
295
|
* <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
|
|
265
296
|
* <ul>
|
|
266
297
|
* <li>
|
|
267
298
|
* <p>
|
|
299
|
+
* <a>CreateAccessToken</a>, which creates a personal access token (PAT) for the current user.</p>
|
|
300
|
+
* </li>
|
|
301
|
+
* <li>
|
|
302
|
+
* <p>
|
|
268
303
|
* <a>DeleteAccessToken</a>, which deletes a specified personal access token (PAT).</p>
|
|
269
304
|
* </li>
|
|
270
305
|
* <li>
|
|
@@ -275,6 +310,10 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
|
|
|
275
310
|
* <p>
|
|
276
311
|
* <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p>
|
|
277
312
|
* </li>
|
|
313
|
+
* <li>
|
|
314
|
+
* <p>
|
|
315
|
+
* <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p>
|
|
316
|
+
* </li>
|
|
278
317
|
* </ul>
|
|
279
318
|
* <note>
|
|
280
319
|
* <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).
|
|
@@ -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 { CreateSourceRepositoryRequest, CreateSourceRepositoryResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateSourceRepositoryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSourceRepositoryCommandInput extends CreateSourceRepositoryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSourceRepositoryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSourceRepositoryCommandOutput extends CreateSourceRepositoryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an empty Git-based source repository in a specified project. The repository is
|
|
27
|
+
* created with an initial empty commit with a default branch named <code>main</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { CodeCatalystClient, CreateSourceRepositoryCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
|
|
32
|
+
* // const { CodeCatalystClient, CreateSourceRepositoryCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
|
|
33
|
+
* const client = new CodeCatalystClient(config);
|
|
34
|
+
* const input = { // CreateSourceRepositoryRequest
|
|
35
|
+
* spaceName: "STRING_VALUE", // required
|
|
36
|
+
* projectName: "STRING_VALUE", // required
|
|
37
|
+
* name: "STRING_VALUE", // required
|
|
38
|
+
* description: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CreateSourceRepositoryCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // CreateSourceRepositoryResponse
|
|
43
|
+
* // spaceName: "STRING_VALUE", // required
|
|
44
|
+
* // projectName: "STRING_VALUE", // required
|
|
45
|
+
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // description: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param CreateSourceRepositoryCommandInput - {@link CreateSourceRepositoryCommandInput}
|
|
52
|
+
* @returns {@link CreateSourceRepositoryCommandOutput}
|
|
53
|
+
* @see {@link CreateSourceRepositoryCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link CreateSourceRepositoryCommandOutput} 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 CreateSourceRepositoryCommand extends $Command<CreateSourceRepositoryCommandInput, CreateSourceRepositoryCommandOutput, CodeCatalystClientResolvedConfig> {
|
|
82
|
+
readonly input: CreateSourceRepositoryCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: CreateSourceRepositoryCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSourceRepositoryCommandInput, CreateSourceRepositoryCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|