codeconnections-2023-12-01.min.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2023-12-01",
  5. "endpointPrefix": "codeconnections",
  6. "jsonVersion": "1.0",
  7. "protocol": "json",
  8. "serviceFullName": "AWS CodeConnections",
  9. "serviceId": "CodeConnections",
  10. "signatureVersion": "v4",
  11. "signingName": "codeconnections",
  12. "targetPrefix": "com.amazonaws.codeconnections.CodeConnections_20231201",
  13. "uid": "codeconnections-2023-12-01"
  14. },
  15. "operations": {
  16. "CreateConnection": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "ConnectionName"
  21. ],
  22. "members": {
  23. "ProviderType": {},
  24. "ConnectionName": {},
  25. "Tags": {
  26. "shape": "S4"
  27. },
  28. "HostArn": {}
  29. }
  30. },
  31. "output": {
  32. "type": "structure",
  33. "required": [
  34. "ConnectionArn"
  35. ],
  36. "members": {
  37. "ConnectionArn": {},
  38. "Tags": {
  39. "shape": "S4"
  40. }
  41. }
  42. }
  43. },
  44. "CreateHost": {
  45. "input": {
  46. "type": "structure",
  47. "required": [
  48. "Name",
  49. "ProviderType",
  50. "ProviderEndpoint"
  51. ],
  52. "members": {
  53. "Name": {},
  54. "ProviderType": {},
  55. "ProviderEndpoint": {},
  56. "VpcConfiguration": {
  57. "shape": "Se"
  58. },
  59. "Tags": {
  60. "shape": "S4"
  61. }
  62. }
  63. },
  64. "output": {
  65. "type": "structure",
  66. "members": {
  67. "HostArn": {},
  68. "Tags": {
  69. "shape": "S4"
  70. }
  71. }
  72. }
  73. },
  74. "CreateRepositoryLink": {
  75. "input": {
  76. "type": "structure",
  77. "required": [
  78. "ConnectionArn",
  79. "OwnerId",
  80. "RepositoryName"
  81. ],
  82. "members": {
  83. "ConnectionArn": {},
  84. "OwnerId": {},
  85. "RepositoryName": {},
  86. "EncryptionKeyArn": {},
  87. "Tags": {
  88. "shape": "S4"
  89. }
  90. }
  91. },
  92. "output": {
  93. "type": "structure",
  94. "required": [
  95. "RepositoryLinkInfo"
  96. ],
  97. "members": {
  98. "RepositoryLinkInfo": {
  99. "shape": "Sr"
  100. }
  101. }
  102. }
  103. },
  104. "CreateSyncConfiguration": {
  105. "input": {
  106. "type": "structure",
  107. "required": [
  108. "Branch",
  109. "ConfigFile",
  110. "RepositoryLinkId",
  111. "ResourceName",
  112. "RoleArn",
  113. "SyncType"
  114. ],
  115. "members": {
  116. "Branch": {},
  117. "ConfigFile": {},
  118. "RepositoryLinkId": {},
  119. "ResourceName": {},
  120. "RoleArn": {},
  121. "SyncType": {},
  122. "PublishDeploymentStatus": {},
  123. "TriggerResourceUpdateOn": {}
  124. }
  125. },
  126. "output": {
  127. "type": "structure",
  128. "required": [
  129. "SyncConfiguration"
  130. ],
  131. "members": {
  132. "SyncConfiguration": {
  133. "shape": "S13"
  134. }
  135. }
  136. }
  137. },
  138. "DeleteConnection": {
  139. "input": {
  140. "type": "structure",
  141. "required": [
  142. "ConnectionArn"
  143. ],
  144. "members": {
  145. "ConnectionArn": {}
  146. }
  147. },
  148. "output": {
  149. "type": "structure",
  150. "members": {}
  151. }
  152. },
  153. "DeleteHost": {
  154. "input": {
  155. "type": "structure",
  156. "required": [
  157. "HostArn"
  158. ],
  159. "members": {
  160. "HostArn": {}
  161. }
  162. },
  163. "output": {
  164. "type": "structure",
  165. "members": {}
  166. }
  167. },
  168. "DeleteRepositoryLink": {
  169. "input": {
  170. "type": "structure",
  171. "required": [
  172. "RepositoryLinkId"
  173. ],
  174. "members": {
  175. "RepositoryLinkId": {}
  176. }
  177. },
  178. "output": {
  179. "type": "structure",
  180. "members": {}
  181. }
  182. },
  183. "DeleteSyncConfiguration": {
  184. "input": {
  185. "type": "structure",
  186. "required": [
  187. "SyncType",
  188. "ResourceName"
  189. ],
  190. "members": {
  191. "SyncType": {},
  192. "ResourceName": {}
  193. }
  194. },
  195. "output": {
  196. "type": "structure",
  197. "members": {}
  198. }
  199. },
  200. "GetConnection": {
  201. "input": {
  202. "type": "structure",
  203. "required": [
  204. "ConnectionArn"
  205. ],
  206. "members": {
  207. "ConnectionArn": {}
  208. }
  209. },
  210. "output": {
  211. "type": "structure",
  212. "members": {
  213. "Connection": {
  214. "shape": "S1e"
  215. }
  216. }
  217. }
  218. },
  219. "GetHost": {
  220. "input": {
  221. "type": "structure",
  222. "required": [
  223. "HostArn"
  224. ],
  225. "members": {
  226. "HostArn": {}
  227. }
  228. },
  229. "output": {
  230. "type": "structure",
  231. "members": {
  232. "Name": {},
  233. "Status": {},
  234. "ProviderType": {},
  235. "ProviderEndpoint": {},
  236. "VpcConfiguration": {
  237. "shape": "Se"
  238. }
  239. }
  240. }
  241. },
  242. "GetRepositoryLink": {
  243. "input": {
  244. "type": "structure",
  245. "required": [
  246. "RepositoryLinkId"
  247. ],
  248. "members": {
  249. "RepositoryLinkId": {}
  250. }
  251. },
  252. "output": {
  253. "type": "structure",
  254. "required": [
  255. "RepositoryLinkInfo"
  256. ],
  257. "members": {
  258. "RepositoryLinkInfo": {
  259. "shape": "Sr"
  260. }
  261. }
  262. }
  263. },
  264. "GetRepositorySyncStatus": {
  265. "input": {
  266. "type": "structure",
  267. "required": [
  268. "Branch",
  269. "RepositoryLinkId",
  270. "SyncType"
  271. ],
  272. "members": {
  273. "Branch": {},
  274. "RepositoryLinkId": {},
  275. "SyncType": {}
  276. }
  277. },
  278. "output": {
  279. "type": "structure",
  280. "required": [
  281. "LatestSync"
  282. ],
  283. "members": {
  284. "LatestSync": {
  285. "type": "structure",
  286. "required": [
  287. "StartedAt",
  288. "Status",
  289. "Events"
  290. ],
  291. "members": {
  292. "StartedAt": {
  293. "type": "timestamp"
  294. },
  295. "Status": {},
  296. "Events": {
  297. "type": "list",
  298. "member": {
  299. "type": "structure",
  300. "required": [
  301. "Event",
  302. "Time",
  303. "Type"
  304. ],
  305. "members": {
  306. "Event": {},
  307. "ExternalId": {},
  308. "Time": {
  309. "type": "timestamp"
  310. },
  311. "Type": {}
  312. }
  313. }
  314. }
  315. }
  316. }
  317. }
  318. }
  319. },
  320. "GetResourceSyncStatus": {
  321. "input": {
  322. "type": "structure",
  323. "required": [
  324. "ResourceName",
  325. "SyncType"
  326. ],
  327. "members": {
  328. "ResourceName": {},
  329. "SyncType": {}
  330. }
  331. },
  332. "output": {
  333. "type": "structure",
  334. "required": [
  335. "LatestSync"
  336. ],
  337. "members": {
  338. "DesiredState": {
  339. "shape": "S1y"
  340. },
  341. "LatestSuccessfulSync": {
  342. "shape": "S21"
  343. },
  344. "LatestSync": {
  345. "shape": "S21"
  346. }
  347. }
  348. }
  349. },
  350. "GetSyncBlockerSummary": {
  351. "input": {
  352. "type": "structure",
  353. "required": [
  354. "SyncType",
  355. "ResourceName"
  356. ],
  357. "members": {
  358. "SyncType": {},
  359. "ResourceName": {}
  360. }
  361. },
  362. "output": {
  363. "type": "structure",
  364. "required": [
  365. "SyncBlockerSummary"
  366. ],
  367. "members": {
  368. "SyncBlockerSummary": {
  369. "type": "structure",
  370. "required": [
  371. "ResourceName"
  372. ],
  373. "members": {
  374. "ResourceName": {},
  375. "ParentResourceName": {},
  376. "LatestBlockers": {
  377. "type": "list",
  378. "member": {
  379. "shape": "S2a"
  380. }
  381. }
  382. }
  383. }
  384. }
  385. }
  386. },
  387. "GetSyncConfiguration": {
  388. "input": {
  389. "type": "structure",
  390. "required": [
  391. "SyncType",
  392. "ResourceName"
  393. ],
  394. "members": {
  395. "SyncType": {},
  396. "ResourceName": {}
  397. }
  398. },
  399. "output": {
  400. "type": "structure",
  401. "required": [
  402. "SyncConfiguration"
  403. ],
  404. "members": {
  405. "SyncConfiguration": {
  406. "shape": "S13"
  407. }
  408. }
  409. }
  410. },
  411. "ListConnections": {
  412. "input": {
  413. "type": "structure",
  414. "members": {
  415. "ProviderTypeFilter": {},
  416. "HostArnFilter": {},
  417. "MaxResults": {
  418. "type": "integer"
  419. },
  420. "NextToken": {}
  421. }
  422. },
  423. "output": {
  424. "type": "structure",
  425. "members": {
  426. "Connections": {
  427. "type": "list",
  428. "member": {
  429. "shape": "S1e"
  430. }
  431. },
  432. "NextToken": {}
  433. }
  434. }
  435. },
  436. "ListHosts": {
  437. "input": {
  438. "type": "structure",
  439. "members": {
  440. "MaxResults": {
  441. "type": "integer"
  442. },
  443. "NextToken": {}
  444. }
  445. },
  446. "output": {
  447. "type": "structure",
  448. "members": {
  449. "Hosts": {
  450. "type": "list",
  451. "member": {
  452. "type": "structure",
  453. "members": {
  454. "Name": {},
  455. "HostArn": {},
  456. "ProviderType": {},
  457. "ProviderEndpoint": {},
  458. "VpcConfiguration": {
  459. "shape": "Se"
  460. },
  461. "Status": {},
  462. "StatusMessage": {}
  463. }
  464. }
  465. },
  466. "NextToken": {}
  467. }
  468. }
  469. },
  470. "ListRepositoryLinks": {
  471. "input": {
  472. "type": "structure",
  473. "members": {
  474. "MaxResults": {
  475. "type": "integer"
  476. },
  477. "NextToken": {}
  478. }
  479. },
  480. "output": {
  481. "type": "structure",
  482. "required": [
  483. "RepositoryLinks"
  484. ],
  485. "members": {
  486. "RepositoryLinks": {
  487. "type": "list",
  488. "member": {
  489. "shape": "Sr"
  490. }
  491. },
  492. "NextToken": {}
  493. }
  494. }
  495. },
  496. "ListRepositorySyncDefinitions": {
  497. "input": {
  498. "type": "structure",
  499. "required": [
  500. "RepositoryLinkId",
  501. "SyncType"
  502. ],
  503. "members": {
  504. "RepositoryLinkId": {},
  505. "SyncType": {}
  506. }
  507. },
  508. "output": {
  509. "type": "structure",
  510. "required": [
  511. "RepositorySyncDefinitions"
  512. ],
  513. "members": {
  514. "RepositorySyncDefinitions": {
  515. "type": "list",
  516. "member": {
  517. "type": "structure",
  518. "required": [
  519. "Branch",
  520. "Directory",
  521. "Parent",
  522. "Target"
  523. ],
  524. "members": {
  525. "Branch": {},
  526. "Directory": {},
  527. "Parent": {},
  528. "Target": {}
  529. }
  530. }
  531. },
  532. "NextToken": {}
  533. }
  534. }
  535. },
  536. "ListSyncConfigurations": {
  537. "input": {
  538. "type": "structure",
  539. "required": [
  540. "RepositoryLinkId",
  541. "SyncType"
  542. ],
  543. "members": {
  544. "MaxResults": {
  545. "type": "integer"
  546. },
  547. "NextToken": {},
  548. "RepositoryLinkId": {},
  549. "SyncType": {}
  550. }
  551. },
  552. "output": {
  553. "type": "structure",
  554. "required": [
  555. "SyncConfigurations"
  556. ],
  557. "members": {
  558. "SyncConfigurations": {
  559. "type": "list",
  560. "member": {
  561. "shape": "S13"
  562. }
  563. },
  564. "NextToken": {}
  565. }
  566. }
  567. },
  568. "ListTagsForResource": {
  569. "input": {
  570. "type": "structure",
  571. "required": [
  572. "ResourceArn"
  573. ],
  574. "members": {
  575. "ResourceArn": {}
  576. }
  577. },
  578. "output": {
  579. "type": "structure",
  580. "members": {
  581. "Tags": {
  582. "shape": "S4"
  583. }
  584. }
  585. }
  586. },
  587. "TagResource": {
  588. "input": {
  589. "type": "structure",
  590. "required": [
  591. "ResourceArn",
  592. "Tags"
  593. ],
  594. "members": {
  595. "ResourceArn": {},
  596. "Tags": {
  597. "shape": "S4"
  598. }
  599. }
  600. },
  601. "output": {
  602. "type": "structure",
  603. "members": {}
  604. }
  605. },
  606. "UntagResource": {
  607. "input": {
  608. "type": "structure",
  609. "required": [
  610. "ResourceArn",
  611. "TagKeys"
  612. ],
  613. "members": {
  614. "ResourceArn": {},
  615. "TagKeys": {
  616. "type": "list",
  617. "member": {}
  618. }
  619. }
  620. },
  621. "output": {
  622. "type": "structure",
  623. "members": {}
  624. }
  625. },
  626. "UpdateHost": {
  627. "input": {
  628. "type": "structure",
  629. "required": [
  630. "HostArn"
  631. ],
  632. "members": {
  633. "HostArn": {},
  634. "ProviderEndpoint": {},
  635. "VpcConfiguration": {
  636. "shape": "Se"
  637. }
  638. }
  639. },
  640. "output": {
  641. "type": "structure",
  642. "members": {}
  643. }
  644. },
  645. "UpdateRepositoryLink": {
  646. "input": {
  647. "type": "structure",
  648. "required": [
  649. "RepositoryLinkId"
  650. ],
  651. "members": {
  652. "ConnectionArn": {},
  653. "EncryptionKeyArn": {},
  654. "RepositoryLinkId": {}
  655. }
  656. },
  657. "output": {
  658. "type": "structure",
  659. "required": [
  660. "RepositoryLinkInfo"
  661. ],
  662. "members": {
  663. "RepositoryLinkInfo": {
  664. "shape": "Sr"
  665. }
  666. }
  667. }
  668. },
  669. "UpdateSyncBlocker": {
  670. "input": {
  671. "type": "structure",
  672. "required": [
  673. "Id",
  674. "SyncType",
  675. "ResourceName",
  676. "ResolvedReason"
  677. ],
  678. "members": {
  679. "Id": {},
  680. "SyncType": {},
  681. "ResourceName": {},
  682. "ResolvedReason": {}
  683. }
  684. },
  685. "output": {
  686. "type": "structure",
  687. "required": [
  688. "ResourceName",
  689. "SyncBlocker"
  690. ],
  691. "members": {
  692. "ResourceName": {},
  693. "ParentResourceName": {},
  694. "SyncBlocker": {
  695. "shape": "S2a"
  696. }
  697. }
  698. }
  699. },
  700. "UpdateSyncConfiguration": {
  701. "input": {
  702. "type": "structure",
  703. "required": [
  704. "ResourceName",
  705. "SyncType"
  706. ],
  707. "members": {
  708. "Branch": {},
  709. "ConfigFile": {},
  710. "RepositoryLinkId": {},
  711. "ResourceName": {},
  712. "RoleArn": {},
  713. "SyncType": {},
  714. "PublishDeploymentStatus": {},
  715. "TriggerResourceUpdateOn": {}
  716. }
  717. },
  718. "output": {
  719. "type": "structure",
  720. "required": [
  721. "SyncConfiguration"
  722. ],
  723. "members": {
  724. "SyncConfiguration": {
  725. "shape": "S13"
  726. }
  727. }
  728. }
  729. }
  730. },
  731. "shapes": {
  732. "S4": {
  733. "type": "list",
  734. "member": {
  735. "type": "structure",
  736. "required": [
  737. "Key",
  738. "Value"
  739. ],
  740. "members": {
  741. "Key": {},
  742. "Value": {}
  743. }
  744. }
  745. },
  746. "Se": {
  747. "type": "structure",
  748. "required": [
  749. "VpcId",
  750. "SubnetIds",
  751. "SecurityGroupIds"
  752. ],
  753. "members": {
  754. "VpcId": {},
  755. "SubnetIds": {
  756. "type": "list",
  757. "member": {}
  758. },
  759. "SecurityGroupIds": {
  760. "type": "list",
  761. "member": {}
  762. },
  763. "TlsCertificate": {}
  764. }
  765. },
  766. "Sr": {
  767. "type": "structure",
  768. "required": [
  769. "ConnectionArn",
  770. "OwnerId",
  771. "ProviderType",
  772. "RepositoryLinkArn",
  773. "RepositoryLinkId",
  774. "RepositoryName"
  775. ],
  776. "members": {
  777. "ConnectionArn": {},
  778. "EncryptionKeyArn": {},
  779. "OwnerId": {},
  780. "ProviderType": {},
  781. "RepositoryLinkArn": {},
  782. "RepositoryLinkId": {},
  783. "RepositoryName": {}
  784. }
  785. },
  786. "S13": {
  787. "type": "structure",
  788. "required": [
  789. "Branch",
  790. "OwnerId",
  791. "ProviderType",
  792. "RepositoryLinkId",
  793. "RepositoryName",
  794. "ResourceName",
  795. "RoleArn",
  796. "SyncType"
  797. ],
  798. "members": {
  799. "Branch": {},
  800. "ConfigFile": {},
  801. "OwnerId": {},
  802. "ProviderType": {},
  803. "RepositoryLinkId": {},
  804. "RepositoryName": {},
  805. "ResourceName": {},
  806. "RoleArn": {},
  807. "SyncType": {},
  808. "PublishDeploymentStatus": {},
  809. "TriggerResourceUpdateOn": {}
  810. }
  811. },
  812. "S1e": {
  813. "type": "structure",
  814. "members": {
  815. "ConnectionName": {},
  816. "ConnectionArn": {},
  817. "ProviderType": {},
  818. "OwnerAccountId": {},
  819. "ConnectionStatus": {},
  820. "HostArn": {}
  821. }
  822. },
  823. "S1y": {
  824. "type": "structure",
  825. "required": [
  826. "Branch",
  827. "Directory",
  828. "OwnerId",
  829. "RepositoryName",
  830. "ProviderType",
  831. "Sha"
  832. ],
  833. "members": {
  834. "Branch": {},
  835. "Directory": {},
  836. "OwnerId": {},
  837. "RepositoryName": {},
  838. "ProviderType": {},
  839. "Sha": {}
  840. }
  841. },
  842. "S21": {
  843. "type": "structure",
  844. "required": [
  845. "Events",
  846. "InitialRevision",
  847. "StartedAt",
  848. "Status",
  849. "TargetRevision",
  850. "Target"
  851. ],
  852. "members": {
  853. "Events": {
  854. "type": "list",
  855. "member": {
  856. "type": "structure",
  857. "required": [
  858. "Event",
  859. "Time",
  860. "Type"
  861. ],
  862. "members": {
  863. "Event": {},
  864. "ExternalId": {},
  865. "Time": {
  866. "type": "timestamp"
  867. },
  868. "Type": {}
  869. }
  870. }
  871. },
  872. "InitialRevision": {
  873. "shape": "S1y"
  874. },
  875. "StartedAt": {
  876. "type": "timestamp"
  877. },
  878. "Status": {},
  879. "TargetRevision": {
  880. "shape": "S1y"
  881. },
  882. "Target": {}
  883. }
  884. },
  885. "S2a": {
  886. "type": "structure",
  887. "required": [
  888. "Id",
  889. "Type",
  890. "Status",
  891. "CreatedReason",
  892. "CreatedAt"
  893. ],
  894. "members": {
  895. "Id": {},
  896. "Type": {},
  897. "Status": {},
  898. "CreatedReason": {},
  899. "CreatedAt": {
  900. "type": "timestamp"
  901. },
  902. "Contexts": {
  903. "type": "list",
  904. "member": {
  905. "type": "structure",
  906. "required": [
  907. "Key",
  908. "Value"
  909. ],
  910. "members": {
  911. "Key": {},
  912. "Value": {}
  913. }
  914. }
  915. },
  916. "ResolvedReason": {},
  917. "ResolvedAt": {
  918. "type": "timestamp"
  919. }
  920. }
  921. }
  922. }
  923. }