api-2.json 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2015-04-13",
  5. "endpointPrefix":"codecommit",
  6. "jsonVersion":"1.1",
  7. "protocol":"json",
  8. "serviceAbbreviation":"CodeCommit",
  9. "serviceFullName":"AWS CodeCommit",
  10. "signatureVersion":"v4",
  11. "targetPrefix":"CodeCommit_20150413"
  12. },
  13. "operations":{
  14. "BatchGetRepositories":{
  15. "name":"BatchGetRepositories",
  16. "http":{
  17. "method":"POST",
  18. "requestUri":"/"
  19. },
  20. "input":{"shape":"BatchGetRepositoriesInput"},
  21. "output":{"shape":"BatchGetRepositoriesOutput"},
  22. "errors":[
  23. {"shape":"RepositoryNamesRequiredException"},
  24. {"shape":"MaximumRepositoryNamesExceededException"},
  25. {"shape":"InvalidRepositoryNameException"},
  26. {"shape":"EncryptionIntegrityChecksFailedException"},
  27. {"shape":"EncryptionKeyAccessDeniedException"},
  28. {"shape":"EncryptionKeyDisabledException"},
  29. {"shape":"EncryptionKeyNotFoundException"},
  30. {"shape":"EncryptionKeyUnavailableException"}
  31. ]
  32. },
  33. "CreateBranch":{
  34. "name":"CreateBranch",
  35. "http":{
  36. "method":"POST",
  37. "requestUri":"/"
  38. },
  39. "input":{"shape":"CreateBranchInput"},
  40. "errors":[
  41. {"shape":"RepositoryNameRequiredException"},
  42. {"shape":"InvalidRepositoryNameException"},
  43. {"shape":"RepositoryDoesNotExistException"},
  44. {"shape":"BranchNameRequiredException"},
  45. {"shape":"BranchNameExistsException"},
  46. {"shape":"InvalidBranchNameException"},
  47. {"shape":"CommitIdRequiredException"},
  48. {"shape":"CommitDoesNotExistException"},
  49. {"shape":"InvalidCommitIdException"},
  50. {"shape":"EncryptionIntegrityChecksFailedException"},
  51. {"shape":"EncryptionKeyAccessDeniedException"},
  52. {"shape":"EncryptionKeyDisabledException"},
  53. {"shape":"EncryptionKeyNotFoundException"},
  54. {"shape":"EncryptionKeyUnavailableException"}
  55. ]
  56. },
  57. "CreateRepository":{
  58. "name":"CreateRepository",
  59. "http":{
  60. "method":"POST",
  61. "requestUri":"/"
  62. },
  63. "input":{"shape":"CreateRepositoryInput"},
  64. "output":{"shape":"CreateRepositoryOutput"},
  65. "errors":[
  66. {"shape":"RepositoryNameExistsException"},
  67. {"shape":"RepositoryNameRequiredException"},
  68. {"shape":"InvalidRepositoryNameException"},
  69. {"shape":"InvalidRepositoryDescriptionException"},
  70. {"shape":"RepositoryLimitExceededException"},
  71. {"shape":"EncryptionIntegrityChecksFailedException"},
  72. {"shape":"EncryptionKeyAccessDeniedException"},
  73. {"shape":"EncryptionKeyDisabledException"},
  74. {"shape":"EncryptionKeyNotFoundException"},
  75. {"shape":"EncryptionKeyUnavailableException"}
  76. ]
  77. },
  78. "DeleteRepository":{
  79. "name":"DeleteRepository",
  80. "http":{
  81. "method":"POST",
  82. "requestUri":"/"
  83. },
  84. "input":{"shape":"DeleteRepositoryInput"},
  85. "output":{"shape":"DeleteRepositoryOutput"},
  86. "errors":[
  87. {"shape":"RepositoryNameRequiredException"},
  88. {"shape":"InvalidRepositoryNameException"},
  89. {"shape":"EncryptionIntegrityChecksFailedException"},
  90. {"shape":"EncryptionKeyAccessDeniedException"},
  91. {"shape":"EncryptionKeyDisabledException"},
  92. {"shape":"EncryptionKeyNotFoundException"},
  93. {"shape":"EncryptionKeyUnavailableException"}
  94. ]
  95. },
  96. "GetBranch":{
  97. "name":"GetBranch",
  98. "http":{
  99. "method":"POST",
  100. "requestUri":"/"
  101. },
  102. "input":{"shape":"GetBranchInput"},
  103. "output":{"shape":"GetBranchOutput"},
  104. "errors":[
  105. {"shape":"RepositoryNameRequiredException"},
  106. {"shape":"RepositoryDoesNotExistException"},
  107. {"shape":"InvalidRepositoryNameException"},
  108. {"shape":"BranchNameRequiredException"},
  109. {"shape":"InvalidBranchNameException"},
  110. {"shape":"BranchDoesNotExistException"},
  111. {"shape":"EncryptionIntegrityChecksFailedException"},
  112. {"shape":"EncryptionKeyAccessDeniedException"},
  113. {"shape":"EncryptionKeyDisabledException"},
  114. {"shape":"EncryptionKeyNotFoundException"},
  115. {"shape":"EncryptionKeyUnavailableException"}
  116. ]
  117. },
  118. "GetCommit":{
  119. "name":"GetCommit",
  120. "http":{
  121. "method":"POST",
  122. "requestUri":"/"
  123. },
  124. "input":{"shape":"GetCommitInput"},
  125. "output":{"shape":"GetCommitOutput"},
  126. "errors":[
  127. {"shape":"RepositoryNameRequiredException"},
  128. {"shape":"InvalidRepositoryNameException"},
  129. {"shape":"RepositoryDoesNotExistException"},
  130. {"shape":"CommitIdRequiredException"},
  131. {"shape":"InvalidCommitIdException"},
  132. {"shape":"CommitIdDoesNotExistException"},
  133. {"shape":"EncryptionIntegrityChecksFailedException"},
  134. {"shape":"EncryptionKeyAccessDeniedException"},
  135. {"shape":"EncryptionKeyDisabledException"},
  136. {"shape":"EncryptionKeyNotFoundException"},
  137. {"shape":"EncryptionKeyUnavailableException"}
  138. ]
  139. },
  140. "GetRepository":{
  141. "name":"GetRepository",
  142. "http":{
  143. "method":"POST",
  144. "requestUri":"/"
  145. },
  146. "input":{"shape":"GetRepositoryInput"},
  147. "output":{"shape":"GetRepositoryOutput"},
  148. "errors":[
  149. {"shape":"RepositoryNameRequiredException"},
  150. {"shape":"RepositoryDoesNotExistException"},
  151. {"shape":"InvalidRepositoryNameException"},
  152. {"shape":"EncryptionIntegrityChecksFailedException"},
  153. {"shape":"EncryptionKeyAccessDeniedException"},
  154. {"shape":"EncryptionKeyDisabledException"},
  155. {"shape":"EncryptionKeyNotFoundException"},
  156. {"shape":"EncryptionKeyUnavailableException"}
  157. ]
  158. },
  159. "GetRepositoryTriggers":{
  160. "name":"GetRepositoryTriggers",
  161. "http":{
  162. "method":"POST",
  163. "requestUri":"/"
  164. },
  165. "input":{"shape":"GetRepositoryTriggersInput"},
  166. "output":{"shape":"GetRepositoryTriggersOutput"},
  167. "errors":[
  168. {"shape":"RepositoryNameRequiredException"},
  169. {"shape":"InvalidRepositoryNameException"},
  170. {"shape":"RepositoryDoesNotExistException"},
  171. {"shape":"EncryptionIntegrityChecksFailedException"},
  172. {"shape":"EncryptionKeyAccessDeniedException"},
  173. {"shape":"EncryptionKeyDisabledException"},
  174. {"shape":"EncryptionKeyNotFoundException"},
  175. {"shape":"EncryptionKeyUnavailableException"}
  176. ]
  177. },
  178. "ListBranches":{
  179. "name":"ListBranches",
  180. "http":{
  181. "method":"POST",
  182. "requestUri":"/"
  183. },
  184. "input":{"shape":"ListBranchesInput"},
  185. "output":{"shape":"ListBranchesOutput"},
  186. "errors":[
  187. {"shape":"RepositoryNameRequiredException"},
  188. {"shape":"RepositoryDoesNotExistException"},
  189. {"shape":"InvalidRepositoryNameException"},
  190. {"shape":"EncryptionIntegrityChecksFailedException"},
  191. {"shape":"EncryptionKeyAccessDeniedException"},
  192. {"shape":"EncryptionKeyDisabledException"},
  193. {"shape":"EncryptionKeyNotFoundException"},
  194. {"shape":"EncryptionKeyUnavailableException"},
  195. {"shape":"InvalidContinuationTokenException"}
  196. ]
  197. },
  198. "ListRepositories":{
  199. "name":"ListRepositories",
  200. "http":{
  201. "method":"POST",
  202. "requestUri":"/"
  203. },
  204. "input":{"shape":"ListRepositoriesInput"},
  205. "output":{"shape":"ListRepositoriesOutput"},
  206. "errors":[
  207. {"shape":"InvalidSortByException"},
  208. {"shape":"InvalidOrderException"},
  209. {"shape":"InvalidContinuationTokenException"}
  210. ]
  211. },
  212. "PutRepositoryTriggers":{
  213. "name":"PutRepositoryTriggers",
  214. "http":{
  215. "method":"POST",
  216. "requestUri":"/"
  217. },
  218. "input":{"shape":"PutRepositoryTriggersInput"},
  219. "output":{"shape":"PutRepositoryTriggersOutput"},
  220. "errors":[
  221. {"shape":"RepositoryDoesNotExistException"},
  222. {"shape":"RepositoryNameRequiredException"},
  223. {"shape":"InvalidRepositoryNameException"},
  224. {"shape":"RepositoryTriggersListRequiredException"},
  225. {"shape":"MaximumRepositoryTriggersExceededException"},
  226. {"shape":"InvalidRepositoryTriggerNameException"},
  227. {"shape":"InvalidRepositoryTriggerDestinationArnException"},
  228. {"shape":"InvalidRepositoryTriggerRegionException"},
  229. {"shape":"InvalidRepositoryTriggerCustomDataException"},
  230. {"shape":"MaximumBranchesExceededException"},
  231. {"shape":"InvalidRepositoryTriggerBranchNameException"},
  232. {"shape":"InvalidRepositoryTriggerEventsException"},
  233. {"shape":"RepositoryTriggerNameRequiredException"},
  234. {"shape":"RepositoryTriggerDestinationArnRequiredException"},
  235. {"shape":"RepositoryTriggerBranchNameListRequiredException"},
  236. {"shape":"RepositoryTriggerEventsListRequiredException"},
  237. {"shape":"EncryptionIntegrityChecksFailedException"},
  238. {"shape":"EncryptionKeyAccessDeniedException"},
  239. {"shape":"EncryptionKeyDisabledException"},
  240. {"shape":"EncryptionKeyNotFoundException"},
  241. {"shape":"EncryptionKeyUnavailableException"}
  242. ]
  243. },
  244. "TestRepositoryTriggers":{
  245. "name":"TestRepositoryTriggers",
  246. "http":{
  247. "method":"POST",
  248. "requestUri":"/"
  249. },
  250. "input":{"shape":"TestRepositoryTriggersInput"},
  251. "output":{"shape":"TestRepositoryTriggersOutput"},
  252. "errors":[
  253. {"shape":"RepositoryDoesNotExistException"},
  254. {"shape":"RepositoryNameRequiredException"},
  255. {"shape":"InvalidRepositoryNameException"},
  256. {"shape":"RepositoryTriggersListRequiredException"},
  257. {"shape":"MaximumRepositoryTriggersExceededException"},
  258. {"shape":"InvalidRepositoryTriggerNameException"},
  259. {"shape":"InvalidRepositoryTriggerDestinationArnException"},
  260. {"shape":"InvalidRepositoryTriggerRegionException"},
  261. {"shape":"InvalidRepositoryTriggerCustomDataException"},
  262. {"shape":"MaximumBranchesExceededException"},
  263. {"shape":"InvalidRepositoryTriggerBranchNameException"},
  264. {"shape":"InvalidRepositoryTriggerEventsException"},
  265. {"shape":"RepositoryTriggerNameRequiredException"},
  266. {"shape":"RepositoryTriggerDestinationArnRequiredException"},
  267. {"shape":"RepositoryTriggerBranchNameListRequiredException"},
  268. {"shape":"RepositoryTriggerEventsListRequiredException"},
  269. {"shape":"EncryptionIntegrityChecksFailedException"},
  270. {"shape":"EncryptionKeyAccessDeniedException"},
  271. {"shape":"EncryptionKeyDisabledException"},
  272. {"shape":"EncryptionKeyNotFoundException"},
  273. {"shape":"EncryptionKeyUnavailableException"}
  274. ]
  275. },
  276. "UpdateDefaultBranch":{
  277. "name":"UpdateDefaultBranch",
  278. "http":{
  279. "method":"POST",
  280. "requestUri":"/"
  281. },
  282. "input":{"shape":"UpdateDefaultBranchInput"},
  283. "errors":[
  284. {"shape":"RepositoryNameRequiredException"},
  285. {"shape":"RepositoryDoesNotExistException"},
  286. {"shape":"InvalidRepositoryNameException"},
  287. {"shape":"BranchNameRequiredException"},
  288. {"shape":"InvalidBranchNameException"},
  289. {"shape":"BranchDoesNotExistException"},
  290. {"shape":"EncryptionIntegrityChecksFailedException"},
  291. {"shape":"EncryptionKeyAccessDeniedException"},
  292. {"shape":"EncryptionKeyDisabledException"},
  293. {"shape":"EncryptionKeyNotFoundException"},
  294. {"shape":"EncryptionKeyUnavailableException"}
  295. ]
  296. },
  297. "UpdateRepositoryDescription":{
  298. "name":"UpdateRepositoryDescription",
  299. "http":{
  300. "method":"POST",
  301. "requestUri":"/"
  302. },
  303. "input":{"shape":"UpdateRepositoryDescriptionInput"},
  304. "errors":[
  305. {"shape":"RepositoryNameRequiredException"},
  306. {"shape":"RepositoryDoesNotExistException"},
  307. {"shape":"InvalidRepositoryNameException"},
  308. {"shape":"InvalidRepositoryDescriptionException"},
  309. {"shape":"EncryptionIntegrityChecksFailedException"},
  310. {"shape":"EncryptionKeyAccessDeniedException"},
  311. {"shape":"EncryptionKeyDisabledException"},
  312. {"shape":"EncryptionKeyNotFoundException"},
  313. {"shape":"EncryptionKeyUnavailableException"}
  314. ]
  315. },
  316. "UpdateRepositoryName":{
  317. "name":"UpdateRepositoryName",
  318. "http":{
  319. "method":"POST",
  320. "requestUri":"/"
  321. },
  322. "input":{"shape":"UpdateRepositoryNameInput"},
  323. "errors":[
  324. {"shape":"RepositoryDoesNotExistException"},
  325. {"shape":"RepositoryNameExistsException"},
  326. {"shape":"RepositoryNameRequiredException"},
  327. {"shape":"InvalidRepositoryNameException"}
  328. ]
  329. }
  330. },
  331. "shapes":{
  332. "AccountId":{"type":"string"},
  333. "AdditionalData":{"type":"string"},
  334. "Arn":{"type":"string"},
  335. "BatchGetRepositoriesInput":{
  336. "type":"structure",
  337. "required":["repositoryNames"],
  338. "members":{
  339. "repositoryNames":{"shape":"RepositoryNameList"}
  340. }
  341. },
  342. "BatchGetRepositoriesOutput":{
  343. "type":"structure",
  344. "members":{
  345. "repositories":{"shape":"RepositoryMetadataList"},
  346. "repositoriesNotFound":{"shape":"RepositoryNotFoundList"}
  347. }
  348. },
  349. "BranchDoesNotExistException":{
  350. "type":"structure",
  351. "members":{
  352. },
  353. "exception":true
  354. },
  355. "BranchInfo":{
  356. "type":"structure",
  357. "members":{
  358. "branchName":{"shape":"BranchName"},
  359. "commitId":{"shape":"CommitId"}
  360. }
  361. },
  362. "BranchName":{
  363. "type":"string",
  364. "max":100,
  365. "min":1
  366. },
  367. "BranchNameExistsException":{
  368. "type":"structure",
  369. "members":{
  370. },
  371. "exception":true
  372. },
  373. "BranchNameList":{
  374. "type":"list",
  375. "member":{"shape":"BranchName"}
  376. },
  377. "BranchNameRequiredException":{
  378. "type":"structure",
  379. "members":{
  380. },
  381. "exception":true
  382. },
  383. "CloneUrlHttp":{"type":"string"},
  384. "CloneUrlSsh":{"type":"string"},
  385. "Commit":{
  386. "type":"structure",
  387. "members":{
  388. "treeId":{"shape":"ObjectId"},
  389. "parents":{"shape":"ParentList"},
  390. "message":{"shape":"Message"},
  391. "author":{"shape":"UserInfo"},
  392. "committer":{"shape":"UserInfo"},
  393. "additionalData":{"shape":"AdditionalData"}
  394. }
  395. },
  396. "CommitDoesNotExistException":{
  397. "type":"structure",
  398. "members":{
  399. },
  400. "exception":true
  401. },
  402. "CommitId":{"type":"string"},
  403. "CommitIdDoesNotExistException":{
  404. "type":"structure",
  405. "members":{
  406. },
  407. "exception":true
  408. },
  409. "CommitIdRequiredException":{
  410. "type":"structure",
  411. "members":{
  412. },
  413. "exception":true
  414. },
  415. "CreateBranchInput":{
  416. "type":"structure",
  417. "required":[
  418. "repositoryName",
  419. "branchName",
  420. "commitId"
  421. ],
  422. "members":{
  423. "repositoryName":{"shape":"RepositoryName"},
  424. "branchName":{"shape":"BranchName"},
  425. "commitId":{"shape":"CommitId"}
  426. }
  427. },
  428. "CreateRepositoryInput":{
  429. "type":"structure",
  430. "required":["repositoryName"],
  431. "members":{
  432. "repositoryName":{"shape":"RepositoryName"},
  433. "repositoryDescription":{"shape":"RepositoryDescription"}
  434. }
  435. },
  436. "CreateRepositoryOutput":{
  437. "type":"structure",
  438. "members":{
  439. "repositoryMetadata":{"shape":"RepositoryMetadata"}
  440. }
  441. },
  442. "CreationDate":{"type":"timestamp"},
  443. "Date":{"type":"string"},
  444. "DeleteRepositoryInput":{
  445. "type":"structure",
  446. "required":["repositoryName"],
  447. "members":{
  448. "repositoryName":{"shape":"RepositoryName"}
  449. }
  450. },
  451. "DeleteRepositoryOutput":{
  452. "type":"structure",
  453. "members":{
  454. "repositoryId":{"shape":"RepositoryId"}
  455. }
  456. },
  457. "Email":{"type":"string"},
  458. "EncryptionIntegrityChecksFailedException":{
  459. "type":"structure",
  460. "members":{
  461. },
  462. "exception":true,
  463. "fault":true
  464. },
  465. "EncryptionKeyAccessDeniedException":{
  466. "type":"structure",
  467. "members":{
  468. },
  469. "exception":true
  470. },
  471. "EncryptionKeyDisabledException":{
  472. "type":"structure",
  473. "members":{
  474. },
  475. "exception":true
  476. },
  477. "EncryptionKeyNotFoundException":{
  478. "type":"structure",
  479. "members":{
  480. },
  481. "exception":true
  482. },
  483. "EncryptionKeyUnavailableException":{
  484. "type":"structure",
  485. "members":{
  486. },
  487. "exception":true
  488. },
  489. "GetBranchInput":{
  490. "type":"structure",
  491. "members":{
  492. "repositoryName":{"shape":"RepositoryName"},
  493. "branchName":{"shape":"BranchName"}
  494. }
  495. },
  496. "GetBranchOutput":{
  497. "type":"structure",
  498. "members":{
  499. "branch":{"shape":"BranchInfo"}
  500. }
  501. },
  502. "GetCommitInput":{
  503. "type":"structure",
  504. "required":[
  505. "repositoryName",
  506. "commitId"
  507. ],
  508. "members":{
  509. "repositoryName":{"shape":"RepositoryName"},
  510. "commitId":{"shape":"ObjectId"}
  511. }
  512. },
  513. "GetCommitOutput":{
  514. "type":"structure",
  515. "required":["commit"],
  516. "members":{
  517. "commit":{"shape":"Commit"}
  518. }
  519. },
  520. "GetRepositoryInput":{
  521. "type":"structure",
  522. "required":["repositoryName"],
  523. "members":{
  524. "repositoryName":{"shape":"RepositoryName"}
  525. }
  526. },
  527. "GetRepositoryOutput":{
  528. "type":"structure",
  529. "members":{
  530. "repositoryMetadata":{"shape":"RepositoryMetadata"}
  531. }
  532. },
  533. "GetRepositoryTriggersInput":{
  534. "type":"structure",
  535. "members":{
  536. "repositoryName":{"shape":"RepositoryName"}
  537. }
  538. },
  539. "GetRepositoryTriggersOutput":{
  540. "type":"structure",
  541. "members":{
  542. "configurationId":{"shape":"RepositoryTriggersConfigurationId"},
  543. "triggers":{"shape":"RepositoryTriggersList"}
  544. }
  545. },
  546. "InvalidBranchNameException":{
  547. "type":"structure",
  548. "members":{
  549. },
  550. "exception":true
  551. },
  552. "InvalidCommitIdException":{
  553. "type":"structure",
  554. "members":{
  555. },
  556. "exception":true
  557. },
  558. "InvalidContinuationTokenException":{
  559. "type":"structure",
  560. "members":{
  561. },
  562. "exception":true
  563. },
  564. "InvalidOrderException":{
  565. "type":"structure",
  566. "members":{
  567. },
  568. "exception":true
  569. },
  570. "InvalidRepositoryDescriptionException":{
  571. "type":"structure",
  572. "members":{
  573. },
  574. "exception":true
  575. },
  576. "InvalidRepositoryNameException":{
  577. "type":"structure",
  578. "members":{
  579. },
  580. "exception":true
  581. },
  582. "InvalidRepositoryTriggerBranchNameException":{
  583. "type":"structure",
  584. "members":{
  585. },
  586. "exception":true
  587. },
  588. "InvalidRepositoryTriggerCustomDataException":{
  589. "type":"structure",
  590. "members":{
  591. },
  592. "exception":true
  593. },
  594. "InvalidRepositoryTriggerDestinationArnException":{
  595. "type":"structure",
  596. "members":{
  597. },
  598. "exception":true
  599. },
  600. "InvalidRepositoryTriggerEventsException":{
  601. "type":"structure",
  602. "members":{
  603. },
  604. "exception":true
  605. },
  606. "InvalidRepositoryTriggerNameException":{
  607. "type":"structure",
  608. "members":{
  609. },
  610. "exception":true
  611. },
  612. "InvalidRepositoryTriggerRegionException":{
  613. "type":"structure",
  614. "members":{
  615. },
  616. "exception":true
  617. },
  618. "InvalidSortByException":{
  619. "type":"structure",
  620. "members":{
  621. },
  622. "exception":true
  623. },
  624. "LastModifiedDate":{"type":"timestamp"},
  625. "ListBranchesInput":{
  626. "type":"structure",
  627. "required":["repositoryName"],
  628. "members":{
  629. "repositoryName":{"shape":"RepositoryName"},
  630. "nextToken":{"shape":"NextToken"}
  631. }
  632. },
  633. "ListBranchesOutput":{
  634. "type":"structure",
  635. "members":{
  636. "branches":{"shape":"BranchNameList"},
  637. "nextToken":{"shape":"NextToken"}
  638. }
  639. },
  640. "ListRepositoriesInput":{
  641. "type":"structure",
  642. "members":{
  643. "nextToken":{"shape":"NextToken"},
  644. "sortBy":{"shape":"SortByEnum"},
  645. "order":{"shape":"OrderEnum"}
  646. }
  647. },
  648. "ListRepositoriesOutput":{
  649. "type":"structure",
  650. "members":{
  651. "repositories":{"shape":"RepositoryNameIdPairList"},
  652. "nextToken":{"shape":"NextToken"}
  653. }
  654. },
  655. "MaximumBranchesExceededException":{
  656. "type":"structure",
  657. "members":{
  658. },
  659. "exception":true
  660. },
  661. "MaximumRepositoryNamesExceededException":{
  662. "type":"structure",
  663. "members":{
  664. },
  665. "exception":true
  666. },
  667. "MaximumRepositoryTriggersExceededException":{
  668. "type":"structure",
  669. "members":{
  670. },
  671. "exception":true
  672. },
  673. "Message":{"type":"string"},
  674. "Name":{"type":"string"},
  675. "NextToken":{"type":"string"},
  676. "ObjectId":{"type":"string"},
  677. "OrderEnum":{
  678. "type":"string",
  679. "enum":[
  680. "ascending",
  681. "descending"
  682. ]
  683. },
  684. "ParentList":{
  685. "type":"list",
  686. "member":{"shape":"ObjectId"}
  687. },
  688. "PutRepositoryTriggersInput":{
  689. "type":"structure",
  690. "members":{
  691. "repositoryName":{"shape":"RepositoryName"},
  692. "triggers":{"shape":"RepositoryTriggersList"}
  693. }
  694. },
  695. "PutRepositoryTriggersOutput":{
  696. "type":"structure",
  697. "members":{
  698. "configurationId":{"shape":"RepositoryTriggersConfigurationId"}
  699. }
  700. },
  701. "RepositoryDescription":{
  702. "type":"string",
  703. "max":1000
  704. },
  705. "RepositoryDoesNotExistException":{
  706. "type":"structure",
  707. "members":{
  708. },
  709. "exception":true
  710. },
  711. "RepositoryId":{"type":"string"},
  712. "RepositoryLimitExceededException":{
  713. "type":"structure",
  714. "members":{
  715. },
  716. "exception":true
  717. },
  718. "RepositoryMetadata":{
  719. "type":"structure",
  720. "members":{
  721. "accountId":{"shape":"AccountId"},
  722. "repositoryId":{"shape":"RepositoryId"},
  723. "repositoryName":{"shape":"RepositoryName"},
  724. "repositoryDescription":{"shape":"RepositoryDescription"},
  725. "defaultBranch":{"shape":"BranchName"},
  726. "lastModifiedDate":{"shape":"LastModifiedDate"},
  727. "creationDate":{"shape":"CreationDate"},
  728. "cloneUrlHttp":{"shape":"CloneUrlHttp"},
  729. "cloneUrlSsh":{"shape":"CloneUrlSsh"},
  730. "Arn":{"shape":"Arn"}
  731. }
  732. },
  733. "RepositoryMetadataList":{
  734. "type":"list",
  735. "member":{"shape":"RepositoryMetadata"}
  736. },
  737. "RepositoryName":{
  738. "type":"string",
  739. "max":100,
  740. "min":1,
  741. "pattern":"[\\\\w\\\\.-]+"
  742. },
  743. "RepositoryNameExistsException":{
  744. "type":"structure",
  745. "members":{
  746. },
  747. "exception":true
  748. },
  749. "RepositoryNameIdPair":{
  750. "type":"structure",
  751. "members":{
  752. "repositoryName":{"shape":"RepositoryName"},
  753. "repositoryId":{"shape":"RepositoryId"}
  754. }
  755. },
  756. "RepositoryNameIdPairList":{
  757. "type":"list",
  758. "member":{"shape":"RepositoryNameIdPair"}
  759. },
  760. "RepositoryNameList":{
  761. "type":"list",
  762. "member":{"shape":"RepositoryName"}
  763. },
  764. "RepositoryNameRequiredException":{
  765. "type":"structure",
  766. "members":{
  767. },
  768. "exception":true
  769. },
  770. "RepositoryNamesRequiredException":{
  771. "type":"structure",
  772. "members":{
  773. },
  774. "exception":true
  775. },
  776. "RepositoryNotFoundList":{
  777. "type":"list",
  778. "member":{"shape":"RepositoryName"}
  779. },
  780. "RepositoryTrigger":{
  781. "type":"structure",
  782. "members":{
  783. "name":{"shape":"RepositoryTriggerName"},
  784. "destinationArn":{"shape":"Arn"},
  785. "customData":{"shape":"RepositoryTriggerCustomData"},
  786. "branches":{"shape":"BranchNameList"},
  787. "events":{"shape":"RepositoryTriggerEventList"}
  788. }
  789. },
  790. "RepositoryTriggerBranchNameListRequiredException":{
  791. "type":"structure",
  792. "members":{
  793. },
  794. "exception":true
  795. },
  796. "RepositoryTriggerCustomData":{"type":"string"},
  797. "RepositoryTriggerDestinationArnRequiredException":{
  798. "type":"structure",
  799. "members":{
  800. },
  801. "exception":true
  802. },
  803. "RepositoryTriggerEventEnum":{
  804. "type":"string",
  805. "enum":[
  806. "all",
  807. "updateReference",
  808. "createReference",
  809. "deleteReference"
  810. ]
  811. },
  812. "RepositoryTriggerEventList":{
  813. "type":"list",
  814. "member":{"shape":"RepositoryTriggerEventEnum"}
  815. },
  816. "RepositoryTriggerEventsListRequiredException":{
  817. "type":"structure",
  818. "members":{
  819. },
  820. "exception":true
  821. },
  822. "RepositoryTriggerExecutionFailure":{
  823. "type":"structure",
  824. "members":{
  825. "trigger":{"shape":"RepositoryTriggerName"},
  826. "failureMessage":{"shape":"RepositoryTriggerExecutionFailureMessage"}
  827. }
  828. },
  829. "RepositoryTriggerExecutionFailureList":{
  830. "type":"list",
  831. "member":{"shape":"RepositoryTriggerExecutionFailure"}
  832. },
  833. "RepositoryTriggerExecutionFailureMessage":{"type":"string"},
  834. "RepositoryTriggerName":{"type":"string"},
  835. "RepositoryTriggerNameList":{
  836. "type":"list",
  837. "member":{"shape":"RepositoryTriggerName"}
  838. },
  839. "RepositoryTriggerNameRequiredException":{
  840. "type":"structure",
  841. "members":{
  842. },
  843. "exception":true
  844. },
  845. "RepositoryTriggersConfigurationId":{"type":"string"},
  846. "RepositoryTriggersList":{
  847. "type":"list",
  848. "member":{"shape":"RepositoryTrigger"}
  849. },
  850. "RepositoryTriggersListRequiredException":{
  851. "type":"structure",
  852. "members":{
  853. },
  854. "exception":true
  855. },
  856. "SortByEnum":{
  857. "type":"string",
  858. "enum":[
  859. "repositoryName",
  860. "lastModifiedDate"
  861. ]
  862. },
  863. "TestRepositoryTriggersInput":{
  864. "type":"structure",
  865. "members":{
  866. "repositoryName":{"shape":"RepositoryName"},
  867. "triggers":{"shape":"RepositoryTriggersList"}
  868. }
  869. },
  870. "TestRepositoryTriggersOutput":{
  871. "type":"structure",
  872. "members":{
  873. "successfulExecutions":{"shape":"RepositoryTriggerNameList"},
  874. "failedExecutions":{"shape":"RepositoryTriggerExecutionFailureList"}
  875. }
  876. },
  877. "UpdateDefaultBranchInput":{
  878. "type":"structure",
  879. "required":[
  880. "repositoryName",
  881. "defaultBranchName"
  882. ],
  883. "members":{
  884. "repositoryName":{"shape":"RepositoryName"},
  885. "defaultBranchName":{"shape":"BranchName"}
  886. }
  887. },
  888. "UpdateRepositoryDescriptionInput":{
  889. "type":"structure",
  890. "required":["repositoryName"],
  891. "members":{
  892. "repositoryName":{"shape":"RepositoryName"},
  893. "repositoryDescription":{"shape":"RepositoryDescription"}
  894. }
  895. },
  896. "UpdateRepositoryNameInput":{
  897. "type":"structure",
  898. "required":[
  899. "oldName",
  900. "newName"
  901. ],
  902. "members":{
  903. "oldName":{"shape":"RepositoryName"},
  904. "newName":{"shape":"RepositoryName"}
  905. }
  906. },
  907. "UserInfo":{
  908. "type":"structure",
  909. "members":{
  910. "name":{"shape":"Name"},
  911. "email":{"shape":"Email"},
  912. "date":{"shape":"Date"}
  913. }
  914. }
  915. }
  916. }