api-2.json 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185
  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. "serviceId":"CodeBuild",
  10. "signatureVersion":"v4",
  11. "targetPrefix":"CodeBuild_20161006",
  12. "uid":"codebuild-2016-10-06"
  13. },
  14. "operations":{
  15. "BatchDeleteBuilds":{
  16. "name":"BatchDeleteBuilds",
  17. "http":{
  18. "method":"POST",
  19. "requestUri":"/"
  20. },
  21. "input":{"shape":"BatchDeleteBuildsInput"},
  22. "output":{"shape":"BatchDeleteBuildsOutput"},
  23. "errors":[
  24. {"shape":"InvalidInputException"}
  25. ]
  26. },
  27. "BatchGetBuilds":{
  28. "name":"BatchGetBuilds",
  29. "http":{
  30. "method":"POST",
  31. "requestUri":"/"
  32. },
  33. "input":{"shape":"BatchGetBuildsInput"},
  34. "output":{"shape":"BatchGetBuildsOutput"},
  35. "errors":[
  36. {"shape":"InvalidInputException"}
  37. ]
  38. },
  39. "BatchGetProjects":{
  40. "name":"BatchGetProjects",
  41. "http":{
  42. "method":"POST",
  43. "requestUri":"/"
  44. },
  45. "input":{"shape":"BatchGetProjectsInput"},
  46. "output":{"shape":"BatchGetProjectsOutput"},
  47. "errors":[
  48. {"shape":"InvalidInputException"}
  49. ]
  50. },
  51. "CreateProject":{
  52. "name":"CreateProject",
  53. "http":{
  54. "method":"POST",
  55. "requestUri":"/"
  56. },
  57. "input":{"shape":"CreateProjectInput"},
  58. "output":{"shape":"CreateProjectOutput"},
  59. "errors":[
  60. {"shape":"InvalidInputException"},
  61. {"shape":"ResourceAlreadyExistsException"},
  62. {"shape":"AccountLimitExceededException"}
  63. ]
  64. },
  65. "CreateWebhook":{
  66. "name":"CreateWebhook",
  67. "http":{
  68. "method":"POST",
  69. "requestUri":"/"
  70. },
  71. "input":{"shape":"CreateWebhookInput"},
  72. "output":{"shape":"CreateWebhookOutput"},
  73. "errors":[
  74. {"shape":"InvalidInputException"},
  75. {"shape":"OAuthProviderException"},
  76. {"shape":"ResourceAlreadyExistsException"},
  77. {"shape":"ResourceNotFoundException"}
  78. ]
  79. },
  80. "DeleteProject":{
  81. "name":"DeleteProject",
  82. "http":{
  83. "method":"POST",
  84. "requestUri":"/"
  85. },
  86. "input":{"shape":"DeleteProjectInput"},
  87. "output":{"shape":"DeleteProjectOutput"},
  88. "errors":[
  89. {"shape":"InvalidInputException"}
  90. ]
  91. },
  92. "DeleteSourceCredentials":{
  93. "name":"DeleteSourceCredentials",
  94. "http":{
  95. "method":"POST",
  96. "requestUri":"/"
  97. },
  98. "input":{"shape":"DeleteSourceCredentialsInput"},
  99. "output":{"shape":"DeleteSourceCredentialsOutput"},
  100. "errors":[
  101. {"shape":"InvalidInputException"},
  102. {"shape":"ResourceNotFoundException"}
  103. ]
  104. },
  105. "DeleteWebhook":{
  106. "name":"DeleteWebhook",
  107. "http":{
  108. "method":"POST",
  109. "requestUri":"/"
  110. },
  111. "input":{"shape":"DeleteWebhookInput"},
  112. "output":{"shape":"DeleteWebhookOutput"},
  113. "errors":[
  114. {"shape":"InvalidInputException"},
  115. {"shape":"ResourceNotFoundException"},
  116. {"shape":"OAuthProviderException"}
  117. ]
  118. },
  119. "ImportSourceCredentials":{
  120. "name":"ImportSourceCredentials",
  121. "http":{
  122. "method":"POST",
  123. "requestUri":"/"
  124. },
  125. "input":{"shape":"ImportSourceCredentialsInput"},
  126. "output":{"shape":"ImportSourceCredentialsOutput"},
  127. "errors":[
  128. {"shape":"InvalidInputException"},
  129. {"shape":"AccountLimitExceededException"}
  130. ]
  131. },
  132. "InvalidateProjectCache":{
  133. "name":"InvalidateProjectCache",
  134. "http":{
  135. "method":"POST",
  136. "requestUri":"/"
  137. },
  138. "input":{"shape":"InvalidateProjectCacheInput"},
  139. "output":{"shape":"InvalidateProjectCacheOutput"},
  140. "errors":[
  141. {"shape":"InvalidInputException"},
  142. {"shape":"ResourceNotFoundException"}
  143. ]
  144. },
  145. "ListBuilds":{
  146. "name":"ListBuilds",
  147. "http":{
  148. "method":"POST",
  149. "requestUri":"/"
  150. },
  151. "input":{"shape":"ListBuildsInput"},
  152. "output":{"shape":"ListBuildsOutput"},
  153. "errors":[
  154. {"shape":"InvalidInputException"}
  155. ]
  156. },
  157. "ListBuildsForProject":{
  158. "name":"ListBuildsForProject",
  159. "http":{
  160. "method":"POST",
  161. "requestUri":"/"
  162. },
  163. "input":{"shape":"ListBuildsForProjectInput"},
  164. "output":{"shape":"ListBuildsForProjectOutput"},
  165. "errors":[
  166. {"shape":"InvalidInputException"},
  167. {"shape":"ResourceNotFoundException"}
  168. ]
  169. },
  170. "ListCuratedEnvironmentImages":{
  171. "name":"ListCuratedEnvironmentImages",
  172. "http":{
  173. "method":"POST",
  174. "requestUri":"/"
  175. },
  176. "input":{"shape":"ListCuratedEnvironmentImagesInput"},
  177. "output":{"shape":"ListCuratedEnvironmentImagesOutput"}
  178. },
  179. "ListProjects":{
  180. "name":"ListProjects",
  181. "http":{
  182. "method":"POST",
  183. "requestUri":"/"
  184. },
  185. "input":{"shape":"ListProjectsInput"},
  186. "output":{"shape":"ListProjectsOutput"},
  187. "errors":[
  188. {"shape":"InvalidInputException"}
  189. ]
  190. },
  191. "ListSourceCredentials":{
  192. "name":"ListSourceCredentials",
  193. "http":{
  194. "method":"POST",
  195. "requestUri":"/"
  196. },
  197. "input":{"shape":"ListSourceCredentialsInput"},
  198. "output":{"shape":"ListSourceCredentialsOutput"}
  199. },
  200. "StartBuild":{
  201. "name":"StartBuild",
  202. "http":{
  203. "method":"POST",
  204. "requestUri":"/"
  205. },
  206. "input":{"shape":"StartBuildInput"},
  207. "output":{"shape":"StartBuildOutput"},
  208. "errors":[
  209. {"shape":"InvalidInputException"},
  210. {"shape":"ResourceNotFoundException"},
  211. {"shape":"AccountLimitExceededException"}
  212. ]
  213. },
  214. "StopBuild":{
  215. "name":"StopBuild",
  216. "http":{
  217. "method":"POST",
  218. "requestUri":"/"
  219. },
  220. "input":{"shape":"StopBuildInput"},
  221. "output":{"shape":"StopBuildOutput"},
  222. "errors":[
  223. {"shape":"InvalidInputException"},
  224. {"shape":"ResourceNotFoundException"}
  225. ]
  226. },
  227. "UpdateProject":{
  228. "name":"UpdateProject",
  229. "http":{
  230. "method":"POST",
  231. "requestUri":"/"
  232. },
  233. "input":{"shape":"UpdateProjectInput"},
  234. "output":{"shape":"UpdateProjectOutput"},
  235. "errors":[
  236. {"shape":"InvalidInputException"},
  237. {"shape":"ResourceNotFoundException"}
  238. ]
  239. },
  240. "UpdateWebhook":{
  241. "name":"UpdateWebhook",
  242. "http":{
  243. "method":"POST",
  244. "requestUri":"/"
  245. },
  246. "input":{"shape":"UpdateWebhookInput"},
  247. "output":{"shape":"UpdateWebhookOutput"},
  248. "errors":[
  249. {"shape":"InvalidInputException"},
  250. {"shape":"ResourceNotFoundException"},
  251. {"shape":"OAuthProviderException"}
  252. ]
  253. }
  254. },
  255. "shapes":{
  256. "AccountLimitExceededException":{
  257. "type":"structure",
  258. "members":{
  259. },
  260. "exception":true
  261. },
  262. "ArtifactNamespace":{
  263. "type":"string",
  264. "enum":[
  265. "NONE",
  266. "BUILD_ID"
  267. ]
  268. },
  269. "ArtifactPackaging":{
  270. "type":"string",
  271. "enum":[
  272. "NONE",
  273. "ZIP"
  274. ]
  275. },
  276. "ArtifactsType":{
  277. "type":"string",
  278. "enum":[
  279. "CODEPIPELINE",
  280. "S3",
  281. "NO_ARTIFACTS"
  282. ]
  283. },
  284. "AuthType":{
  285. "type":"string",
  286. "enum":[
  287. "OAUTH",
  288. "BASIC_AUTH",
  289. "PERSONAL_ACCESS_TOKEN"
  290. ]
  291. },
  292. "BatchDeleteBuildsInput":{
  293. "type":"structure",
  294. "required":["ids"],
  295. "members":{
  296. "ids":{"shape":"BuildIds"}
  297. }
  298. },
  299. "BatchDeleteBuildsOutput":{
  300. "type":"structure",
  301. "members":{
  302. "buildsDeleted":{"shape":"BuildIds"},
  303. "buildsNotDeleted":{"shape":"BuildsNotDeleted"}
  304. }
  305. },
  306. "BatchGetBuildsInput":{
  307. "type":"structure",
  308. "required":["ids"],
  309. "members":{
  310. "ids":{"shape":"BuildIds"}
  311. }
  312. },
  313. "BatchGetBuildsOutput":{
  314. "type":"structure",
  315. "members":{
  316. "builds":{"shape":"Builds"},
  317. "buildsNotFound":{"shape":"BuildIds"}
  318. }
  319. },
  320. "BatchGetProjectsInput":{
  321. "type":"structure",
  322. "required":["names"],
  323. "members":{
  324. "names":{"shape":"ProjectNames"}
  325. }
  326. },
  327. "BatchGetProjectsOutput":{
  328. "type":"structure",
  329. "members":{
  330. "projects":{"shape":"Projects"},
  331. "projectsNotFound":{"shape":"ProjectNames"}
  332. }
  333. },
  334. "Boolean":{"type":"boolean"},
  335. "Build":{
  336. "type":"structure",
  337. "members":{
  338. "id":{"shape":"NonEmptyString"},
  339. "arn":{"shape":"NonEmptyString"},
  340. "startTime":{"shape":"Timestamp"},
  341. "endTime":{"shape":"Timestamp"},
  342. "currentPhase":{"shape":"String"},
  343. "buildStatus":{"shape":"StatusType"},
  344. "sourceVersion":{"shape":"NonEmptyString"},
  345. "resolvedSourceVersion":{"shape":"NonEmptyString"},
  346. "projectName":{"shape":"NonEmptyString"},
  347. "phases":{"shape":"BuildPhases"},
  348. "source":{"shape":"ProjectSource"},
  349. "secondarySources":{"shape":"ProjectSources"},
  350. "secondarySourceVersions":{"shape":"ProjectSecondarySourceVersions"},
  351. "artifacts":{"shape":"BuildArtifacts"},
  352. "secondaryArtifacts":{"shape":"BuildArtifactsList"},
  353. "cache":{"shape":"ProjectCache"},
  354. "environment":{"shape":"ProjectEnvironment"},
  355. "serviceRole":{"shape":"NonEmptyString"},
  356. "logs":{"shape":"LogsLocation"},
  357. "timeoutInMinutes":{"shape":"WrapperInt"},
  358. "queuedTimeoutInMinutes":{"shape":"WrapperInt"},
  359. "buildComplete":{"shape":"Boolean"},
  360. "initiator":{"shape":"String"},
  361. "vpcConfig":{"shape":"VpcConfig"},
  362. "networkInterface":{"shape":"NetworkInterface"},
  363. "encryptionKey":{"shape":"NonEmptyString"}
  364. }
  365. },
  366. "BuildArtifacts":{
  367. "type":"structure",
  368. "members":{
  369. "location":{"shape":"String"},
  370. "sha256sum":{"shape":"String"},
  371. "md5sum":{"shape":"String"},
  372. "overrideArtifactName":{"shape":"WrapperBoolean"},
  373. "encryptionDisabled":{"shape":"WrapperBoolean"},
  374. "artifactIdentifier":{"shape":"String"}
  375. }
  376. },
  377. "BuildArtifactsList":{
  378. "type":"list",
  379. "member":{"shape":"BuildArtifacts"},
  380. "max":12,
  381. "min":0
  382. },
  383. "BuildIds":{
  384. "type":"list",
  385. "member":{"shape":"NonEmptyString"},
  386. "max":100,
  387. "min":1
  388. },
  389. "BuildNotDeleted":{
  390. "type":"structure",
  391. "members":{
  392. "id":{"shape":"NonEmptyString"},
  393. "statusCode":{"shape":"String"}
  394. }
  395. },
  396. "BuildPhase":{
  397. "type":"structure",
  398. "members":{
  399. "phaseType":{"shape":"BuildPhaseType"},
  400. "phaseStatus":{"shape":"StatusType"},
  401. "startTime":{"shape":"Timestamp"},
  402. "endTime":{"shape":"Timestamp"},
  403. "durationInSeconds":{"shape":"WrapperLong"},
  404. "contexts":{"shape":"PhaseContexts"}
  405. }
  406. },
  407. "BuildPhaseType":{
  408. "type":"string",
  409. "enum":[
  410. "SUBMITTED",
  411. "QUEUED",
  412. "PROVISIONING",
  413. "DOWNLOAD_SOURCE",
  414. "INSTALL",
  415. "PRE_BUILD",
  416. "BUILD",
  417. "POST_BUILD",
  418. "UPLOAD_ARTIFACTS",
  419. "FINALIZING",
  420. "COMPLETED"
  421. ]
  422. },
  423. "BuildPhases":{
  424. "type":"list",
  425. "member":{"shape":"BuildPhase"}
  426. },
  427. "Builds":{
  428. "type":"list",
  429. "member":{"shape":"Build"}
  430. },
  431. "BuildsNotDeleted":{
  432. "type":"list",
  433. "member":{"shape":"BuildNotDeleted"}
  434. },
  435. "CacheType":{
  436. "type":"string",
  437. "enum":[
  438. "NO_CACHE",
  439. "S3"
  440. ]
  441. },
  442. "CloudWatchLogsConfig":{
  443. "type":"structure",
  444. "required":["status"],
  445. "members":{
  446. "status":{"shape":"LogsConfigStatusType"},
  447. "groupName":{"shape":"String"},
  448. "streamName":{"shape":"String"}
  449. }
  450. },
  451. "ComputeType":{
  452. "type":"string",
  453. "enum":[
  454. "BUILD_GENERAL1_SMALL",
  455. "BUILD_GENERAL1_MEDIUM",
  456. "BUILD_GENERAL1_LARGE"
  457. ]
  458. },
  459. "CreateProjectInput":{
  460. "type":"structure",
  461. "required":[
  462. "name",
  463. "source",
  464. "artifacts",
  465. "environment",
  466. "serviceRole"
  467. ],
  468. "members":{
  469. "name":{"shape":"ProjectName"},
  470. "description":{"shape":"ProjectDescription"},
  471. "source":{"shape":"ProjectSource"},
  472. "secondarySources":{"shape":"ProjectSources"},
  473. "artifacts":{"shape":"ProjectArtifacts"},
  474. "secondaryArtifacts":{"shape":"ProjectArtifactsList"},
  475. "cache":{"shape":"ProjectCache"},
  476. "environment":{"shape":"ProjectEnvironment"},
  477. "serviceRole":{"shape":"NonEmptyString"},
  478. "timeoutInMinutes":{"shape":"TimeOut"},
  479. "queuedTimeoutInMinutes":{"shape":"TimeOut"},
  480. "encryptionKey":{"shape":"NonEmptyString"},
  481. "tags":{"shape":"TagList"},
  482. "vpcConfig":{"shape":"VpcConfig"},
  483. "badgeEnabled":{"shape":"WrapperBoolean"},
  484. "logsConfig":{"shape":"LogsConfig"}
  485. }
  486. },
  487. "CreateProjectOutput":{
  488. "type":"structure",
  489. "members":{
  490. "project":{"shape":"Project"}
  491. }
  492. },
  493. "CreateWebhookInput":{
  494. "type":"structure",
  495. "required":["projectName"],
  496. "members":{
  497. "projectName":{"shape":"ProjectName"},
  498. "branchFilter":{"shape":"String"}
  499. }
  500. },
  501. "CreateWebhookOutput":{
  502. "type":"structure",
  503. "members":{
  504. "webhook":{"shape":"Webhook"}
  505. }
  506. },
  507. "DeleteProjectInput":{
  508. "type":"structure",
  509. "required":["name"],
  510. "members":{
  511. "name":{"shape":"NonEmptyString"}
  512. }
  513. },
  514. "DeleteProjectOutput":{
  515. "type":"structure",
  516. "members":{
  517. }
  518. },
  519. "DeleteSourceCredentialsInput":{
  520. "type":"structure",
  521. "required":["arn"],
  522. "members":{
  523. "arn":{"shape":"NonEmptyString"}
  524. }
  525. },
  526. "DeleteSourceCredentialsOutput":{
  527. "type":"structure",
  528. "members":{
  529. "arn":{"shape":"NonEmptyString"}
  530. }
  531. },
  532. "DeleteWebhookInput":{
  533. "type":"structure",
  534. "required":["projectName"],
  535. "members":{
  536. "projectName":{"shape":"ProjectName"}
  537. }
  538. },
  539. "DeleteWebhookOutput":{
  540. "type":"structure",
  541. "members":{
  542. }
  543. },
  544. "EnvironmentImage":{
  545. "type":"structure",
  546. "members":{
  547. "name":{"shape":"String"},
  548. "description":{"shape":"String"},
  549. "versions":{"shape":"ImageVersions"}
  550. }
  551. },
  552. "EnvironmentImages":{
  553. "type":"list",
  554. "member":{"shape":"EnvironmentImage"}
  555. },
  556. "EnvironmentLanguage":{
  557. "type":"structure",
  558. "members":{
  559. "language":{"shape":"LanguageType"},
  560. "images":{"shape":"EnvironmentImages"}
  561. }
  562. },
  563. "EnvironmentLanguages":{
  564. "type":"list",
  565. "member":{"shape":"EnvironmentLanguage"}
  566. },
  567. "EnvironmentPlatform":{
  568. "type":"structure",
  569. "members":{
  570. "platform":{"shape":"PlatformType"},
  571. "languages":{"shape":"EnvironmentLanguages"}
  572. }
  573. },
  574. "EnvironmentPlatforms":{
  575. "type":"list",
  576. "member":{"shape":"EnvironmentPlatform"}
  577. },
  578. "EnvironmentType":{
  579. "type":"string",
  580. "enum":[
  581. "WINDOWS_CONTAINER",
  582. "LINUX_CONTAINER"
  583. ]
  584. },
  585. "EnvironmentVariable":{
  586. "type":"structure",
  587. "required":[
  588. "name",
  589. "value"
  590. ],
  591. "members":{
  592. "name":{"shape":"NonEmptyString"},
  593. "value":{"shape":"String"},
  594. "type":{"shape":"EnvironmentVariableType"}
  595. }
  596. },
  597. "EnvironmentVariableType":{
  598. "type":"string",
  599. "enum":[
  600. "PLAINTEXT",
  601. "PARAMETER_STORE"
  602. ]
  603. },
  604. "EnvironmentVariables":{
  605. "type":"list",
  606. "member":{"shape":"EnvironmentVariable"}
  607. },
  608. "GitCloneDepth":{
  609. "type":"integer",
  610. "min":0
  611. },
  612. "ImageVersions":{
  613. "type":"list",
  614. "member":{"shape":"String"}
  615. },
  616. "ImportSourceCredentialsInput":{
  617. "type":"structure",
  618. "required":[
  619. "token",
  620. "serverType",
  621. "authType"
  622. ],
  623. "members":{
  624. "username":{"shape":"NonEmptyString"},
  625. "token":{"shape":"SensitiveNonEmptyString"},
  626. "serverType":{"shape":"ServerType"},
  627. "authType":{"shape":"AuthType"}
  628. }
  629. },
  630. "ImportSourceCredentialsOutput":{
  631. "type":"structure",
  632. "members":{
  633. "arn":{"shape":"NonEmptyString"}
  634. }
  635. },
  636. "InvalidInputException":{
  637. "type":"structure",
  638. "members":{
  639. },
  640. "exception":true
  641. },
  642. "InvalidateProjectCacheInput":{
  643. "type":"structure",
  644. "required":["projectName"],
  645. "members":{
  646. "projectName":{"shape":"NonEmptyString"}
  647. }
  648. },
  649. "InvalidateProjectCacheOutput":{
  650. "type":"structure",
  651. "members":{
  652. }
  653. },
  654. "KeyInput":{
  655. "type":"string",
  656. "max":127,
  657. "min":1,
  658. "pattern":"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=@+\\\\-]*)$"
  659. },
  660. "LanguageType":{
  661. "type":"string",
  662. "enum":[
  663. "JAVA",
  664. "PYTHON",
  665. "NODE_JS",
  666. "RUBY",
  667. "GOLANG",
  668. "DOCKER",
  669. "ANDROID",
  670. "DOTNET",
  671. "BASE",
  672. "PHP"
  673. ]
  674. },
  675. "ListBuildsForProjectInput":{
  676. "type":"structure",
  677. "required":["projectName"],
  678. "members":{
  679. "projectName":{"shape":"NonEmptyString"},
  680. "sortOrder":{"shape":"SortOrderType"},
  681. "nextToken":{"shape":"String"}
  682. }
  683. },
  684. "ListBuildsForProjectOutput":{
  685. "type":"structure",
  686. "members":{
  687. "ids":{"shape":"BuildIds"},
  688. "nextToken":{"shape":"String"}
  689. }
  690. },
  691. "ListBuildsInput":{
  692. "type":"structure",
  693. "members":{
  694. "sortOrder":{"shape":"SortOrderType"},
  695. "nextToken":{"shape":"String"}
  696. }
  697. },
  698. "ListBuildsOutput":{
  699. "type":"structure",
  700. "members":{
  701. "ids":{"shape":"BuildIds"},
  702. "nextToken":{"shape":"String"}
  703. }
  704. },
  705. "ListCuratedEnvironmentImagesInput":{
  706. "type":"structure",
  707. "members":{
  708. }
  709. },
  710. "ListCuratedEnvironmentImagesOutput":{
  711. "type":"structure",
  712. "members":{
  713. "platforms":{"shape":"EnvironmentPlatforms"}
  714. }
  715. },
  716. "ListProjectsInput":{
  717. "type":"structure",
  718. "members":{
  719. "sortBy":{"shape":"ProjectSortByType"},
  720. "sortOrder":{"shape":"SortOrderType"},
  721. "nextToken":{"shape":"NonEmptyString"}
  722. }
  723. },
  724. "ListProjectsOutput":{
  725. "type":"structure",
  726. "members":{
  727. "nextToken":{"shape":"String"},
  728. "projects":{"shape":"ProjectNames"}
  729. }
  730. },
  731. "ListSourceCredentialsInput":{
  732. "type":"structure",
  733. "members":{
  734. }
  735. },
  736. "ListSourceCredentialsOutput":{
  737. "type":"structure",
  738. "members":{
  739. "sourceCredentialsInfos":{"shape":"SourceCredentialsInfos"}
  740. }
  741. },
  742. "LogsConfig":{
  743. "type":"structure",
  744. "members":{
  745. "cloudWatchLogs":{"shape":"CloudWatchLogsConfig"},
  746. "s3Logs":{"shape":"S3LogsConfig"}
  747. }
  748. },
  749. "LogsConfigStatusType":{
  750. "type":"string",
  751. "enum":[
  752. "ENABLED",
  753. "DISABLED"
  754. ]
  755. },
  756. "LogsLocation":{
  757. "type":"structure",
  758. "members":{
  759. "groupName":{"shape":"String"},
  760. "streamName":{"shape":"String"},
  761. "deepLink":{"shape":"String"},
  762. "s3DeepLink":{"shape":"String"},
  763. "cloudWatchLogs":{"shape":"CloudWatchLogsConfig"},
  764. "s3Logs":{"shape":"S3LogsConfig"}
  765. }
  766. },
  767. "NetworkInterface":{
  768. "type":"structure",
  769. "members":{
  770. "subnetId":{"shape":"NonEmptyString"},
  771. "networkInterfaceId":{"shape":"NonEmptyString"}
  772. }
  773. },
  774. "NonEmptyString":{
  775. "type":"string",
  776. "min":1
  777. },
  778. "OAuthProviderException":{
  779. "type":"structure",
  780. "members":{
  781. },
  782. "exception":true
  783. },
  784. "PhaseContext":{
  785. "type":"structure",
  786. "members":{
  787. "statusCode":{"shape":"String"},
  788. "message":{"shape":"String"}
  789. }
  790. },
  791. "PhaseContexts":{
  792. "type":"list",
  793. "member":{"shape":"PhaseContext"}
  794. },
  795. "PlatformType":{
  796. "type":"string",
  797. "enum":[
  798. "DEBIAN",
  799. "AMAZON_LINUX",
  800. "UBUNTU",
  801. "WINDOWS_SERVER"
  802. ]
  803. },
  804. "Project":{
  805. "type":"structure",
  806. "members":{
  807. "name":{"shape":"ProjectName"},
  808. "arn":{"shape":"String"},
  809. "description":{"shape":"ProjectDescription"},
  810. "source":{"shape":"ProjectSource"},
  811. "secondarySources":{"shape":"ProjectSources"},
  812. "artifacts":{"shape":"ProjectArtifacts"},
  813. "secondaryArtifacts":{"shape":"ProjectArtifactsList"},
  814. "cache":{"shape":"ProjectCache"},
  815. "environment":{"shape":"ProjectEnvironment"},
  816. "serviceRole":{"shape":"NonEmptyString"},
  817. "timeoutInMinutes":{"shape":"TimeOut"},
  818. "queuedTimeoutInMinutes":{"shape":"TimeOut"},
  819. "encryptionKey":{"shape":"NonEmptyString"},
  820. "tags":{"shape":"TagList"},
  821. "created":{"shape":"Timestamp"},
  822. "lastModified":{"shape":"Timestamp"},
  823. "webhook":{"shape":"Webhook"},
  824. "vpcConfig":{"shape":"VpcConfig"},
  825. "badge":{"shape":"ProjectBadge"},
  826. "logsConfig":{"shape":"LogsConfig"}
  827. }
  828. },
  829. "ProjectArtifacts":{
  830. "type":"structure",
  831. "required":["type"],
  832. "members":{
  833. "type":{"shape":"ArtifactsType"},
  834. "location":{"shape":"String"},
  835. "path":{"shape":"String"},
  836. "namespaceType":{"shape":"ArtifactNamespace"},
  837. "name":{"shape":"String"},
  838. "packaging":{"shape":"ArtifactPackaging"},
  839. "overrideArtifactName":{"shape":"WrapperBoolean"},
  840. "encryptionDisabled":{"shape":"WrapperBoolean"},
  841. "artifactIdentifier":{"shape":"String"}
  842. }
  843. },
  844. "ProjectArtifactsList":{
  845. "type":"list",
  846. "member":{"shape":"ProjectArtifacts"},
  847. "max":12,
  848. "min":0
  849. },
  850. "ProjectBadge":{
  851. "type":"structure",
  852. "members":{
  853. "badgeEnabled":{"shape":"Boolean"},
  854. "badgeRequestUrl":{"shape":"String"}
  855. }
  856. },
  857. "ProjectCache":{
  858. "type":"structure",
  859. "required":["type"],
  860. "members":{
  861. "type":{"shape":"CacheType"},
  862. "location":{"shape":"String"}
  863. }
  864. },
  865. "ProjectDescription":{
  866. "type":"string",
  867. "max":255,
  868. "min":0
  869. },
  870. "ProjectEnvironment":{
  871. "type":"structure",
  872. "required":[
  873. "type",
  874. "image",
  875. "computeType"
  876. ],
  877. "members":{
  878. "type":{"shape":"EnvironmentType"},
  879. "image":{"shape":"NonEmptyString"},
  880. "computeType":{"shape":"ComputeType"},
  881. "environmentVariables":{"shape":"EnvironmentVariables"},
  882. "privilegedMode":{"shape":"WrapperBoolean"},
  883. "certificate":{"shape":"String"}
  884. }
  885. },
  886. "ProjectName":{
  887. "type":"string",
  888. "max":255,
  889. "min":2,
  890. "pattern":"[A-Za-z0-9][A-Za-z0-9\\-_]{1,254}"
  891. },
  892. "ProjectNames":{
  893. "type":"list",
  894. "member":{"shape":"NonEmptyString"},
  895. "max":100,
  896. "min":1
  897. },
  898. "ProjectSecondarySourceVersions":{
  899. "type":"list",
  900. "member":{"shape":"ProjectSourceVersion"},
  901. "max":12,
  902. "min":0
  903. },
  904. "ProjectSortByType":{
  905. "type":"string",
  906. "enum":[
  907. "NAME",
  908. "CREATED_TIME",
  909. "LAST_MODIFIED_TIME"
  910. ]
  911. },
  912. "ProjectSource":{
  913. "type":"structure",
  914. "required":["type"],
  915. "members":{
  916. "type":{"shape":"SourceType"},
  917. "location":{"shape":"String"},
  918. "gitCloneDepth":{"shape":"GitCloneDepth"},
  919. "buildspec":{"shape":"String"},
  920. "auth":{"shape":"SourceAuth"},
  921. "reportBuildStatus":{"shape":"WrapperBoolean"},
  922. "insecureSsl":{"shape":"WrapperBoolean"},
  923. "sourceIdentifier":{"shape":"String"}
  924. }
  925. },
  926. "ProjectSourceVersion":{
  927. "type":"structure",
  928. "required":[
  929. "sourceIdentifier",
  930. "sourceVersion"
  931. ],
  932. "members":{
  933. "sourceIdentifier":{"shape":"String"},
  934. "sourceVersion":{"shape":"String"}
  935. }
  936. },
  937. "ProjectSources":{
  938. "type":"list",
  939. "member":{"shape":"ProjectSource"},
  940. "max":12,
  941. "min":0
  942. },
  943. "Projects":{
  944. "type":"list",
  945. "member":{"shape":"Project"}
  946. },
  947. "ResourceAlreadyExistsException":{
  948. "type":"structure",
  949. "members":{
  950. },
  951. "exception":true
  952. },
  953. "ResourceNotFoundException":{
  954. "type":"structure",
  955. "members":{
  956. },
  957. "exception":true
  958. },
  959. "S3LogsConfig":{
  960. "type":"structure",
  961. "required":["status"],
  962. "members":{
  963. "status":{"shape":"LogsConfigStatusType"},
  964. "location":{"shape":"String"}
  965. }
  966. },
  967. "SecurityGroupIds":{
  968. "type":"list",
  969. "member":{"shape":"NonEmptyString"},
  970. "max":5
  971. },
  972. "SensitiveNonEmptyString":{
  973. "type":"string",
  974. "min":1,
  975. "sensitive":true
  976. },
  977. "ServerType":{
  978. "type":"string",
  979. "enum":[
  980. "GITHUB",
  981. "BITBUCKET",
  982. "GITHUB_ENTERPRISE"
  983. ]
  984. },
  985. "SortOrderType":{
  986. "type":"string",
  987. "enum":[
  988. "ASCENDING",
  989. "DESCENDING"
  990. ]
  991. },
  992. "SourceAuth":{
  993. "type":"structure",
  994. "required":["type"],
  995. "members":{
  996. "type":{"shape":"SourceAuthType"},
  997. "resource":{"shape":"String"}
  998. }
  999. },
  1000. "SourceAuthType":{
  1001. "type":"string",
  1002. "enum":["OAUTH"]
  1003. },
  1004. "SourceCredentialsInfo":{
  1005. "type":"structure",
  1006. "members":{
  1007. "arn":{"shape":"NonEmptyString"},
  1008. "serverType":{"shape":"ServerType"},
  1009. "authType":{"shape":"AuthType"}
  1010. }
  1011. },
  1012. "SourceCredentialsInfos":{
  1013. "type":"list",
  1014. "member":{"shape":"SourceCredentialsInfo"}
  1015. },
  1016. "SourceType":{
  1017. "type":"string",
  1018. "enum":[
  1019. "CODECOMMIT",
  1020. "CODEPIPELINE",
  1021. "GITHUB",
  1022. "S3",
  1023. "BITBUCKET",
  1024. "GITHUB_ENTERPRISE",
  1025. "NO_SOURCE"
  1026. ]
  1027. },
  1028. "StartBuildInput":{
  1029. "type":"structure",
  1030. "required":["projectName"],
  1031. "members":{
  1032. "projectName":{"shape":"NonEmptyString"},
  1033. "secondarySourcesOverride":{"shape":"ProjectSources"},
  1034. "secondarySourcesVersionOverride":{"shape":"ProjectSecondarySourceVersions"},
  1035. "sourceVersion":{"shape":"String"},
  1036. "artifactsOverride":{"shape":"ProjectArtifacts"},
  1037. "secondaryArtifactsOverride":{"shape":"ProjectArtifactsList"},
  1038. "environmentVariablesOverride":{"shape":"EnvironmentVariables"},
  1039. "sourceTypeOverride":{"shape":"SourceType"},
  1040. "sourceLocationOverride":{"shape":"String"},
  1041. "sourceAuthOverride":{"shape":"SourceAuth"},
  1042. "gitCloneDepthOverride":{"shape":"GitCloneDepth"},
  1043. "buildspecOverride":{"shape":"String"},
  1044. "insecureSslOverride":{"shape":"WrapperBoolean"},
  1045. "reportBuildStatusOverride":{"shape":"WrapperBoolean"},
  1046. "environmentTypeOverride":{"shape":"EnvironmentType"},
  1047. "imageOverride":{"shape":"NonEmptyString"},
  1048. "computeTypeOverride":{"shape":"ComputeType"},
  1049. "certificateOverride":{"shape":"String"},
  1050. "cacheOverride":{"shape":"ProjectCache"},
  1051. "serviceRoleOverride":{"shape":"NonEmptyString"},
  1052. "privilegedModeOverride":{"shape":"WrapperBoolean"},
  1053. "timeoutInMinutesOverride":{"shape":"TimeOut"},
  1054. "queuedTimeoutInMinutesOverride":{"shape":"TimeOut"},
  1055. "idempotencyToken":{"shape":"String"},
  1056. "logsConfigOverride":{"shape":"LogsConfig"}
  1057. }
  1058. },
  1059. "StartBuildOutput":{
  1060. "type":"structure",
  1061. "members":{
  1062. "build":{"shape":"Build"}
  1063. }
  1064. },
  1065. "StatusType":{
  1066. "type":"string",
  1067. "enum":[
  1068. "SUCCEEDED",
  1069. "FAILED",
  1070. "FAULT",
  1071. "TIMED_OUT",
  1072. "IN_PROGRESS",
  1073. "STOPPED"
  1074. ]
  1075. },
  1076. "StopBuildInput":{
  1077. "type":"structure",
  1078. "required":["id"],
  1079. "members":{
  1080. "id":{"shape":"NonEmptyString"}
  1081. }
  1082. },
  1083. "StopBuildOutput":{
  1084. "type":"structure",
  1085. "members":{
  1086. "build":{"shape":"Build"}
  1087. }
  1088. },
  1089. "String":{"type":"string"},
  1090. "Subnets":{
  1091. "type":"list",
  1092. "member":{"shape":"NonEmptyString"},
  1093. "max":16
  1094. },
  1095. "Tag":{
  1096. "type":"structure",
  1097. "members":{
  1098. "key":{"shape":"KeyInput"},
  1099. "value":{"shape":"ValueInput"}
  1100. }
  1101. },
  1102. "TagList":{
  1103. "type":"list",
  1104. "member":{"shape":"Tag"},
  1105. "max":50,
  1106. "min":0
  1107. },
  1108. "TimeOut":{
  1109. "type":"integer",
  1110. "max":480,
  1111. "min":5
  1112. },
  1113. "Timestamp":{"type":"timestamp"},
  1114. "UpdateProjectInput":{
  1115. "type":"structure",
  1116. "required":["name"],
  1117. "members":{
  1118. "name":{"shape":"NonEmptyString"},
  1119. "description":{"shape":"ProjectDescription"},
  1120. "source":{"shape":"ProjectSource"},
  1121. "secondarySources":{"shape":"ProjectSources"},
  1122. "artifacts":{"shape":"ProjectArtifacts"},
  1123. "secondaryArtifacts":{"shape":"ProjectArtifactsList"},
  1124. "cache":{"shape":"ProjectCache"},
  1125. "environment":{"shape":"ProjectEnvironment"},
  1126. "serviceRole":{"shape":"NonEmptyString"},
  1127. "timeoutInMinutes":{"shape":"TimeOut"},
  1128. "queuedTimeoutInMinutes":{"shape":"TimeOut"},
  1129. "encryptionKey":{"shape":"NonEmptyString"},
  1130. "tags":{"shape":"TagList"},
  1131. "vpcConfig":{"shape":"VpcConfig"},
  1132. "badgeEnabled":{"shape":"WrapperBoolean"},
  1133. "logsConfig":{"shape":"LogsConfig"}
  1134. }
  1135. },
  1136. "UpdateProjectOutput":{
  1137. "type":"structure",
  1138. "members":{
  1139. "project":{"shape":"Project"}
  1140. }
  1141. },
  1142. "UpdateWebhookInput":{
  1143. "type":"structure",
  1144. "required":["projectName"],
  1145. "members":{
  1146. "projectName":{"shape":"ProjectName"},
  1147. "branchFilter":{"shape":"String"},
  1148. "rotateSecret":{"shape":"Boolean"}
  1149. }
  1150. },
  1151. "UpdateWebhookOutput":{
  1152. "type":"structure",
  1153. "members":{
  1154. "webhook":{"shape":"Webhook"}
  1155. }
  1156. },
  1157. "ValueInput":{
  1158. "type":"string",
  1159. "max":255,
  1160. "min":1,
  1161. "pattern":"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=@+\\\\-]*)$"
  1162. },
  1163. "VpcConfig":{
  1164. "type":"structure",
  1165. "members":{
  1166. "vpcId":{"shape":"NonEmptyString"},
  1167. "subnets":{"shape":"Subnets"},
  1168. "securityGroupIds":{"shape":"SecurityGroupIds"}
  1169. }
  1170. },
  1171. "Webhook":{
  1172. "type":"structure",
  1173. "members":{
  1174. "url":{"shape":"NonEmptyString"},
  1175. "payloadUrl":{"shape":"NonEmptyString"},
  1176. "secret":{"shape":"NonEmptyString"},
  1177. "branchFilter":{"shape":"String"},
  1178. "lastModifiedSecret":{"shape":"Timestamp"}
  1179. }
  1180. },
  1181. "WrapperBoolean":{"type":"boolean"},
  1182. "WrapperInt":{"type":"integer"},
  1183. "WrapperLong":{"type":"long"}
  1184. }
  1185. }