UNPKG

10.2 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2016-10-06",
5 "endpointPrefix": "codebuild",
6 "jsonVersion": "1.1",
7 "protocol": "json",
8 "serviceFullName": "AWS CodeBuild",
9 "signatureVersion": "v4",
10 "targetPrefix": "CodeBuild_20161006",
11 "uid": "codebuild-2016-10-06"
12 },
13 "operations": {
14 "BatchGetBuilds": {
15 "input": {
16 "type": "structure",
17 "required": [
18 "ids"
19 ],
20 "members": {
21 "ids": {
22 "shape": "S2"
23 }
24 }
25 },
26 "output": {
27 "type": "structure",
28 "members": {
29 "builds": {
30 "type": "list",
31 "member": {
32 "shape": "S6"
33 }
34 },
35 "buildsNotFound": {
36 "shape": "S2"
37 }
38 }
39 }
40 },
41 "BatchGetProjects": {
42 "input": {
43 "type": "structure",
44 "required": [
45 "names"
46 ],
47 "members": {
48 "names": {
49 "shape": "Su"
50 }
51 }
52 },
53 "output": {
54 "type": "structure",
55 "members": {
56 "projects": {
57 "type": "list",
58 "member": {
59 "shape": "Sx"
60 }
61 },
62 "projectsNotFound": {
63 "shape": "Su"
64 }
65 }
66 }
67 },
68 "CreateProject": {
69 "input": {
70 "type": "structure",
71 "required": [
72 "name",
73 "source",
74 "artifacts",
75 "environment"
76 ],
77 "members": {
78 "name": {},
79 "description": {},
80 "source": {
81 "shape": "Sg"
82 },
83 "artifacts": {
84 "shape": "S10"
85 },
86 "environment": {
87 "shape": "Sl"
88 },
89 "serviceRole": {},
90 "timeoutInMinutes": {
91 "type": "integer"
92 },
93 "encryptionKey": {},
94 "tags": {
95 "shape": "S15"
96 }
97 }
98 },
99 "output": {
100 "type": "structure",
101 "members": {
102 "project": {
103 "shape": "Sx"
104 }
105 }
106 }
107 },
108 "DeleteProject": {
109 "input": {
110 "type": "structure",
111 "required": [
112 "name"
113 ],
114 "members": {
115 "name": {}
116 }
117 },
118 "output": {
119 "type": "structure",
120 "members": {}
121 }
122 },
123 "ListBuilds": {
124 "input": {
125 "type": "structure",
126 "members": {
127 "sortOrder": {},
128 "nextToken": {}
129 }
130 },
131 "output": {
132 "type": "structure",
133 "members": {
134 "ids": {
135 "shape": "S2"
136 },
137 "nextToken": {}
138 }
139 }
140 },
141 "ListBuildsForProject": {
142 "input": {
143 "type": "structure",
144 "required": [
145 "projectName"
146 ],
147 "members": {
148 "projectName": {},
149 "sortOrder": {},
150 "nextToken": {}
151 }
152 },
153 "output": {
154 "type": "structure",
155 "members": {
156 "ids": {
157 "shape": "S2"
158 },
159 "nextToken": {}
160 }
161 }
162 },
163 "ListCuratedEnvironmentImages": {
164 "input": {
165 "type": "structure",
166 "members": {}
167 },
168 "output": {
169 "type": "structure",
170 "members": {
171 "platforms": {
172 "type": "list",
173 "member": {
174 "type": "structure",
175 "members": {
176 "platform": {},
177 "languages": {
178 "type": "list",
179 "member": {
180 "type": "structure",
181 "members": {
182 "language": {},
183 "images": {
184 "type": "list",
185 "member": {
186 "type": "structure",
187 "members": {
188 "name": {},
189 "description": {}
190 }
191 }
192 }
193 }
194 }
195 }
196 }
197 }
198 }
199 }
200 }
201 },
202 "ListProjects": {
203 "input": {
204 "type": "structure",
205 "members": {
206 "sortBy": {},
207 "sortOrder": {},
208 "nextToken": {}
209 }
210 },
211 "output": {
212 "type": "structure",
213 "members": {
214 "nextToken": {},
215 "projects": {
216 "shape": "Su"
217 }
218 }
219 }
220 },
221 "StartBuild": {
222 "input": {
223 "type": "structure",
224 "required": [
225 "projectName"
226 ],
227 "members": {
228 "projectName": {},
229 "sourceVersion": {},
230 "artifactsOverride": {
231 "shape": "S10"
232 },
233 "environmentVariablesOverride": {
234 "shape": "So"
235 },
236 "buildspecOverride": {},
237 "timeoutInMinutesOverride": {
238 "type": "integer"
239 }
240 }
241 },
242 "output": {
243 "type": "structure",
244 "members": {
245 "build": {
246 "shape": "S6"
247 }
248 }
249 }
250 },
251 "StopBuild": {
252 "input": {
253 "type": "structure",
254 "required": [
255 "id"
256 ],
257 "members": {
258 "id": {}
259 }
260 },
261 "output": {
262 "type": "structure",
263 "members": {
264 "build": {
265 "shape": "S6"
266 }
267 }
268 }
269 },
270 "UpdateProject": {
271 "input": {
272 "type": "structure",
273 "required": [
274 "name"
275 ],
276 "members": {
277 "name": {},
278 "description": {},
279 "source": {
280 "shape": "Sg"
281 },
282 "artifacts": {
283 "shape": "S10"
284 },
285 "environment": {
286 "shape": "Sl"
287 },
288 "serviceRole": {},
289 "timeoutInMinutes": {
290 "type": "integer"
291 },
292 "encryptionKey": {},
293 "tags": {
294 "shape": "S15"
295 }
296 }
297 },
298 "output": {
299 "type": "structure",
300 "members": {
301 "project": {
302 "shape": "Sx"
303 }
304 }
305 }
306 }
307 },
308 "shapes": {
309 "S2": {
310 "type": "list",
311 "member": {}
312 },
313 "S6": {
314 "type": "structure",
315 "members": {
316 "id": {},
317 "arn": {},
318 "startTime": {
319 "type": "timestamp"
320 },
321 "endTime": {
322 "type": "timestamp"
323 },
324 "currentPhase": {},
325 "buildStatus": {},
326 "sourceVersion": {},
327 "projectName": {},
328 "phases": {
329 "type": "list",
330 "member": {
331 "type": "structure",
332 "members": {
333 "phaseType": {},
334 "phaseStatus": {},
335 "startTime": {
336 "type": "timestamp"
337 },
338 "endTime": {
339 "type": "timestamp"
340 },
341 "durationInSeconds": {
342 "type": "long"
343 },
344 "contexts": {
345 "type": "list",
346 "member": {
347 "type": "structure",
348 "members": {
349 "statusCode": {},
350 "message": {}
351 }
352 }
353 }
354 }
355 }
356 },
357 "source": {
358 "shape": "Sg"
359 },
360 "artifacts": {
361 "type": "structure",
362 "members": {
363 "location": {},
364 "sha256sum": {},
365 "md5sum": {}
366 }
367 },
368 "environment": {
369 "shape": "Sl"
370 },
371 "logs": {
372 "type": "structure",
373 "members": {
374 "groupName": {},
375 "streamName": {},
376 "deepLink": {}
377 }
378 },
379 "timeoutInMinutes": {
380 "type": "integer"
381 },
382 "buildComplete": {
383 "type": "boolean"
384 },
385 "initiator": {}
386 }
387 },
388 "Sg": {
389 "type": "structure",
390 "required": [
391 "type"
392 ],
393 "members": {
394 "type": {},
395 "location": {},
396 "buildspec": {},
397 "auth": {
398 "type": "structure",
399 "required": [
400 "type"
401 ],
402 "members": {
403 "type": {},
404 "resource": {}
405 }
406 }
407 }
408 },
409 "Sl": {
410 "type": "structure",
411 "required": [
412 "type",
413 "image",
414 "computeType"
415 ],
416 "members": {
417 "type": {},
418 "image": {},
419 "computeType": {},
420 "environmentVariables": {
421 "shape": "So"
422 }
423 }
424 },
425 "So": {
426 "type": "list",
427 "member": {
428 "type": "structure",
429 "required": [
430 "name",
431 "value"
432 ],
433 "members": {
434 "name": {},
435 "value": {}
436 }
437 }
438 },
439 "Su": {
440 "type": "list",
441 "member": {}
442 },
443 "Sx": {
444 "type": "structure",
445 "members": {
446 "name": {},
447 "arn": {},
448 "description": {},
449 "source": {
450 "shape": "Sg"
451 },
452 "artifacts": {
453 "shape": "S10"
454 },
455 "environment": {
456 "shape": "Sl"
457 },
458 "serviceRole": {},
459 "timeoutInMinutes": {
460 "type": "integer"
461 },
462 "encryptionKey": {},
463 "tags": {
464 "shape": "S15"
465 },
466 "created": {
467 "type": "timestamp"
468 },
469 "lastModified": {
470 "type": "timestamp"
471 }
472 }
473 },
474 "S10": {
475 "type": "structure",
476 "required": [
477 "type"
478 ],
479 "members": {
480 "type": {},
481 "location": {},
482 "path": {},
483 "namespaceType": {},
484 "name": {},
485 "packaging": {}
486 }
487 },
488 "S15": {
489 "type": "list",
490 "member": {
491 "type": "structure",
492 "members": {
493 "key": {},
494 "value": {}
495 }
496 }
497 }
498 }
499}
\No newline at end of file