UNPKG

14.4 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2017-04-19",
5 "endpointPrefix": "codestar",
6 "jsonVersion": "1.1",
7 "protocol": "json",
8 "serviceAbbreviation": "CodeStar",
9 "serviceFullName": "AWS CodeStar",
10 "serviceId": "CodeStar",
11 "signatureVersion": "v4",
12 "targetPrefix": "CodeStar_20170419",
13 "uid": "codestar-2017-04-19"
14 },
15 "operations": {
16 "AssociateTeamMember": {
17 "input": {
18 "type": "structure",
19 "required": [
20 "projectId",
21 "userArn",
22 "projectRole"
23 ],
24 "members": {
25 "projectId": {},
26 "clientRequestToken": {},
27 "userArn": {},
28 "projectRole": {},
29 "remoteAccessAllowed": {
30 "type": "boolean"
31 }
32 }
33 },
34 "output": {
35 "type": "structure",
36 "members": {
37 "clientRequestToken": {}
38 }
39 }
40 },
41 "CreateProject": {
42 "input": {
43 "type": "structure",
44 "required": [
45 "name",
46 "id"
47 ],
48 "members": {
49 "name": {
50 "shape": "S9"
51 },
52 "id": {},
53 "description": {
54 "shape": "Sa"
55 },
56 "clientRequestToken": {},
57 "sourceCode": {
58 "type": "list",
59 "member": {
60 "type": "structure",
61 "required": [
62 "source",
63 "destination"
64 ],
65 "members": {
66 "source": {
67 "type": "structure",
68 "required": [
69 "s3"
70 ],
71 "members": {
72 "s3": {
73 "shape": "Se"
74 }
75 }
76 },
77 "destination": {
78 "type": "structure",
79 "members": {
80 "codeCommit": {
81 "type": "structure",
82 "required": [
83 "name"
84 ],
85 "members": {
86 "name": {}
87 }
88 },
89 "gitHub": {
90 "type": "structure",
91 "required": [
92 "name",
93 "type",
94 "owner",
95 "privateRepository",
96 "issuesEnabled",
97 "token"
98 ],
99 "members": {
100 "name": {},
101 "description": {},
102 "type": {},
103 "owner": {},
104 "privateRepository": {
105 "type": "boolean"
106 },
107 "issuesEnabled": {
108 "type": "boolean"
109 },
110 "token": {
111 "type": "string",
112 "sensitive": true
113 }
114 }
115 }
116 }
117 }
118 }
119 }
120 },
121 "toolchain": {
122 "type": "structure",
123 "required": [
124 "source"
125 ],
126 "members": {
127 "source": {
128 "type": "structure",
129 "required": [
130 "s3"
131 ],
132 "members": {
133 "s3": {
134 "shape": "Se"
135 }
136 }
137 },
138 "roleArn": {},
139 "stackParameters": {
140 "type": "map",
141 "key": {},
142 "value": {
143 "type": "string",
144 "sensitive": true
145 }
146 }
147 }
148 },
149 "tags": {
150 "shape": "Sx"
151 }
152 }
153 },
154 "output": {
155 "type": "structure",
156 "required": [
157 "id",
158 "arn"
159 ],
160 "members": {
161 "id": {},
162 "arn": {},
163 "clientRequestToken": {},
164 "projectTemplateId": {}
165 }
166 }
167 },
168 "CreateUserProfile": {
169 "input": {
170 "type": "structure",
171 "required": [
172 "userArn",
173 "displayName",
174 "emailAddress"
175 ],
176 "members": {
177 "userArn": {},
178 "displayName": {
179 "shape": "S14"
180 },
181 "emailAddress": {
182 "shape": "S15"
183 },
184 "sshPublicKey": {}
185 }
186 },
187 "output": {
188 "type": "structure",
189 "required": [
190 "userArn"
191 ],
192 "members": {
193 "userArn": {},
194 "displayName": {
195 "shape": "S14"
196 },
197 "emailAddress": {
198 "shape": "S15"
199 },
200 "sshPublicKey": {},
201 "createdTimestamp": {
202 "type": "timestamp"
203 },
204 "lastModifiedTimestamp": {
205 "type": "timestamp"
206 }
207 }
208 }
209 },
210 "DeleteProject": {
211 "input": {
212 "type": "structure",
213 "required": [
214 "id"
215 ],
216 "members": {
217 "id": {},
218 "clientRequestToken": {},
219 "deleteStack": {
220 "type": "boolean"
221 }
222 }
223 },
224 "output": {
225 "type": "structure",
226 "members": {
227 "stackId": {},
228 "projectArn": {}
229 }
230 }
231 },
232 "DeleteUserProfile": {
233 "input": {
234 "type": "structure",
235 "required": [
236 "userArn"
237 ],
238 "members": {
239 "userArn": {}
240 }
241 },
242 "output": {
243 "type": "structure",
244 "required": [
245 "userArn"
246 ],
247 "members": {
248 "userArn": {}
249 }
250 }
251 },
252 "DescribeProject": {
253 "input": {
254 "type": "structure",
255 "required": [
256 "id"
257 ],
258 "members": {
259 "id": {}
260 }
261 },
262 "output": {
263 "type": "structure",
264 "members": {
265 "name": {
266 "shape": "S9"
267 },
268 "id": {},
269 "arn": {},
270 "description": {
271 "shape": "Sa"
272 },
273 "clientRequestToken": {},
274 "createdTimeStamp": {
275 "type": "timestamp"
276 },
277 "stackId": {},
278 "projectTemplateId": {},
279 "status": {
280 "type": "structure",
281 "required": [
282 "state"
283 ],
284 "members": {
285 "state": {},
286 "reason": {}
287 }
288 }
289 }
290 }
291 },
292 "DescribeUserProfile": {
293 "input": {
294 "type": "structure",
295 "required": [
296 "userArn"
297 ],
298 "members": {
299 "userArn": {}
300 }
301 },
302 "output": {
303 "type": "structure",
304 "required": [
305 "userArn",
306 "createdTimestamp",
307 "lastModifiedTimestamp"
308 ],
309 "members": {
310 "userArn": {},
311 "displayName": {
312 "shape": "S14"
313 },
314 "emailAddress": {
315 "shape": "S15"
316 },
317 "sshPublicKey": {},
318 "createdTimestamp": {
319 "type": "timestamp"
320 },
321 "lastModifiedTimestamp": {
322 "type": "timestamp"
323 }
324 }
325 }
326 },
327 "DisassociateTeamMember": {
328 "input": {
329 "type": "structure",
330 "required": [
331 "projectId",
332 "userArn"
333 ],
334 "members": {
335 "projectId": {},
336 "userArn": {}
337 }
338 },
339 "output": {
340 "type": "structure",
341 "members": {}
342 }
343 },
344 "ListProjects": {
345 "input": {
346 "type": "structure",
347 "members": {
348 "nextToken": {},
349 "maxResults": {
350 "type": "integer"
351 }
352 }
353 },
354 "output": {
355 "type": "structure",
356 "required": [
357 "projects"
358 ],
359 "members": {
360 "projects": {
361 "type": "list",
362 "member": {
363 "type": "structure",
364 "members": {
365 "projectId": {},
366 "projectArn": {}
367 }
368 }
369 },
370 "nextToken": {}
371 }
372 }
373 },
374 "ListResources": {
375 "input": {
376 "type": "structure",
377 "required": [
378 "projectId"
379 ],
380 "members": {
381 "projectId": {},
382 "nextToken": {},
383 "maxResults": {
384 "type": "integer"
385 }
386 }
387 },
388 "output": {
389 "type": "structure",
390 "members": {
391 "resources": {
392 "type": "list",
393 "member": {
394 "type": "structure",
395 "required": [
396 "id"
397 ],
398 "members": {
399 "id": {}
400 }
401 }
402 },
403 "nextToken": {}
404 }
405 }
406 },
407 "ListTagsForProject": {
408 "input": {
409 "type": "structure",
410 "required": [
411 "id"
412 ],
413 "members": {
414 "id": {},
415 "nextToken": {},
416 "maxResults": {
417 "type": "integer"
418 }
419 }
420 },
421 "output": {
422 "type": "structure",
423 "members": {
424 "tags": {
425 "shape": "Sx"
426 },
427 "nextToken": {}
428 }
429 }
430 },
431 "ListTeamMembers": {
432 "input": {
433 "type": "structure",
434 "required": [
435 "projectId"
436 ],
437 "members": {
438 "projectId": {},
439 "nextToken": {},
440 "maxResults": {
441 "type": "integer"
442 }
443 }
444 },
445 "output": {
446 "type": "structure",
447 "required": [
448 "teamMembers"
449 ],
450 "members": {
451 "teamMembers": {
452 "type": "list",
453 "member": {
454 "type": "structure",
455 "required": [
456 "userArn",
457 "projectRole"
458 ],
459 "members": {
460 "userArn": {},
461 "projectRole": {},
462 "remoteAccessAllowed": {
463 "type": "boolean"
464 }
465 }
466 }
467 },
468 "nextToken": {}
469 }
470 }
471 },
472 "ListUserProfiles": {
473 "input": {
474 "type": "structure",
475 "members": {
476 "nextToken": {},
477 "maxResults": {
478 "type": "integer"
479 }
480 }
481 },
482 "output": {
483 "type": "structure",
484 "required": [
485 "userProfiles"
486 ],
487 "members": {
488 "userProfiles": {
489 "type": "list",
490 "member": {
491 "type": "structure",
492 "members": {
493 "userArn": {},
494 "displayName": {
495 "shape": "S14"
496 },
497 "emailAddress": {
498 "shape": "S15"
499 },
500 "sshPublicKey": {}
501 }
502 }
503 },
504 "nextToken": {}
505 }
506 }
507 },
508 "TagProject": {
509 "input": {
510 "type": "structure",
511 "required": [
512 "id",
513 "tags"
514 ],
515 "members": {
516 "id": {},
517 "tags": {
518 "shape": "Sx"
519 }
520 }
521 },
522 "output": {
523 "type": "structure",
524 "members": {
525 "tags": {
526 "shape": "Sx"
527 }
528 }
529 }
530 },
531 "UntagProject": {
532 "input": {
533 "type": "structure",
534 "required": [
535 "id",
536 "tags"
537 ],
538 "members": {
539 "id": {},
540 "tags": {
541 "type": "list",
542 "member": {}
543 }
544 }
545 },
546 "output": {
547 "type": "structure",
548 "members": {}
549 }
550 },
551 "UpdateProject": {
552 "input": {
553 "type": "structure",
554 "required": [
555 "id"
556 ],
557 "members": {
558 "id": {},
559 "name": {
560 "shape": "S9"
561 },
562 "description": {
563 "shape": "Sa"
564 }
565 }
566 },
567 "output": {
568 "type": "structure",
569 "members": {}
570 }
571 },
572 "UpdateTeamMember": {
573 "input": {
574 "type": "structure",
575 "required": [
576 "projectId",
577 "userArn"
578 ],
579 "members": {
580 "projectId": {},
581 "userArn": {},
582 "projectRole": {},
583 "remoteAccessAllowed": {
584 "type": "boolean"
585 }
586 }
587 },
588 "output": {
589 "type": "structure",
590 "members": {
591 "userArn": {},
592 "projectRole": {},
593 "remoteAccessAllowed": {
594 "type": "boolean"
595 }
596 }
597 }
598 },
599 "UpdateUserProfile": {
600 "input": {
601 "type": "structure",
602 "required": [
603 "userArn"
604 ],
605 "members": {
606 "userArn": {},
607 "displayName": {
608 "shape": "S14"
609 },
610 "emailAddress": {
611 "shape": "S15"
612 },
613 "sshPublicKey": {}
614 }
615 },
616 "output": {
617 "type": "structure",
618 "required": [
619 "userArn"
620 ],
621 "members": {
622 "userArn": {},
623 "displayName": {
624 "shape": "S14"
625 },
626 "emailAddress": {
627 "shape": "S15"
628 },
629 "sshPublicKey": {},
630 "createdTimestamp": {
631 "type": "timestamp"
632 },
633 "lastModifiedTimestamp": {
634 "type": "timestamp"
635 }
636 }
637 }
638 }
639 },
640 "shapes": {
641 "S9": {
642 "type": "string",
643 "sensitive": true
644 },
645 "Sa": {
646 "type": "string",
647 "sensitive": true
648 },
649 "Se": {
650 "type": "structure",
651 "members": {
652 "bucketName": {},
653 "bucketKey": {}
654 }
655 },
656 "Sx": {
657 "type": "map",
658 "key": {},
659 "value": {}
660 },
661 "S14": {
662 "type": "string",
663 "sensitive": true
664 },
665 "S15": {
666 "type": "string",
667 "sensitive": true
668 }
669 }
670}
\No newline at end of file