ecr-public-2020-10-30.min.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2020-10-30",
  5. "endpointPrefix": "api.ecr-public",
  6. "jsonVersion": "1.1",
  7. "protocol": "json",
  8. "serviceAbbreviation": "Amazon ECR Public",
  9. "serviceFullName": "Amazon Elastic Container Registry Public",
  10. "serviceId": "ECR PUBLIC",
  11. "signatureVersion": "v4",
  12. "signingName": "ecr-public",
  13. "targetPrefix": "SpencerFrontendService",
  14. "uid": "ecr-public-2020-10-30"
  15. },
  16. "operations": {
  17. "BatchCheckLayerAvailability": {
  18. "input": {
  19. "type": "structure",
  20. "required": [
  21. "repositoryName",
  22. "layerDigests"
  23. ],
  24. "members": {
  25. "registryId": {},
  26. "repositoryName": {},
  27. "layerDigests": {
  28. "type": "list",
  29. "member": {}
  30. }
  31. }
  32. },
  33. "output": {
  34. "type": "structure",
  35. "members": {
  36. "layers": {
  37. "type": "list",
  38. "member": {
  39. "type": "structure",
  40. "members": {
  41. "layerDigest": {},
  42. "layerAvailability": {},
  43. "layerSize": {
  44. "type": "long"
  45. },
  46. "mediaType": {}
  47. }
  48. }
  49. },
  50. "failures": {
  51. "type": "list",
  52. "member": {
  53. "type": "structure",
  54. "members": {
  55. "layerDigest": {},
  56. "failureCode": {},
  57. "failureReason": {}
  58. }
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "BatchDeleteImage": {
  65. "input": {
  66. "type": "structure",
  67. "required": [
  68. "repositoryName",
  69. "imageIds"
  70. ],
  71. "members": {
  72. "registryId": {},
  73. "repositoryName": {},
  74. "imageIds": {
  75. "shape": "Si"
  76. }
  77. }
  78. },
  79. "output": {
  80. "type": "structure",
  81. "members": {
  82. "imageIds": {
  83. "shape": "Si"
  84. },
  85. "failures": {
  86. "type": "list",
  87. "member": {
  88. "type": "structure",
  89. "members": {
  90. "imageId": {
  91. "shape": "Sj"
  92. },
  93. "failureCode": {},
  94. "failureReason": {}
  95. }
  96. }
  97. }
  98. }
  99. }
  100. },
  101. "CompleteLayerUpload": {
  102. "input": {
  103. "type": "structure",
  104. "required": [
  105. "repositoryName",
  106. "uploadId",
  107. "layerDigests"
  108. ],
  109. "members": {
  110. "registryId": {},
  111. "repositoryName": {},
  112. "uploadId": {},
  113. "layerDigests": {
  114. "type": "list",
  115. "member": {}
  116. }
  117. }
  118. },
  119. "output": {
  120. "type": "structure",
  121. "members": {
  122. "registryId": {},
  123. "repositoryName": {},
  124. "uploadId": {},
  125. "layerDigest": {}
  126. }
  127. }
  128. },
  129. "CreateRepository": {
  130. "input": {
  131. "type": "structure",
  132. "required": [
  133. "repositoryName"
  134. ],
  135. "members": {
  136. "repositoryName": {},
  137. "catalogData": {
  138. "shape": "Sx"
  139. },
  140. "tags": {
  141. "shape": "S16"
  142. }
  143. }
  144. },
  145. "output": {
  146. "type": "structure",
  147. "members": {
  148. "repository": {
  149. "shape": "S1b"
  150. },
  151. "catalogData": {
  152. "shape": "S1f"
  153. }
  154. }
  155. }
  156. },
  157. "DeleteRepository": {
  158. "input": {
  159. "type": "structure",
  160. "required": [
  161. "repositoryName"
  162. ],
  163. "members": {
  164. "registryId": {},
  165. "repositoryName": {},
  166. "force": {
  167. "type": "boolean"
  168. }
  169. }
  170. },
  171. "output": {
  172. "type": "structure",
  173. "members": {
  174. "repository": {
  175. "shape": "S1b"
  176. }
  177. }
  178. }
  179. },
  180. "DeleteRepositoryPolicy": {
  181. "input": {
  182. "type": "structure",
  183. "required": [
  184. "repositoryName"
  185. ],
  186. "members": {
  187. "registryId": {},
  188. "repositoryName": {}
  189. }
  190. },
  191. "output": {
  192. "type": "structure",
  193. "members": {
  194. "registryId": {},
  195. "repositoryName": {},
  196. "policyText": {}
  197. }
  198. }
  199. },
  200. "DescribeImageTags": {
  201. "input": {
  202. "type": "structure",
  203. "required": [
  204. "repositoryName"
  205. ],
  206. "members": {
  207. "registryId": {},
  208. "repositoryName": {},
  209. "nextToken": {},
  210. "maxResults": {
  211. "type": "integer"
  212. }
  213. }
  214. },
  215. "output": {
  216. "type": "structure",
  217. "members": {
  218. "imageTagDetails": {
  219. "type": "list",
  220. "member": {
  221. "type": "structure",
  222. "members": {
  223. "imageTag": {},
  224. "createdAt": {
  225. "type": "timestamp"
  226. },
  227. "imageDetail": {
  228. "type": "structure",
  229. "members": {
  230. "imageDigest": {},
  231. "imageSizeInBytes": {
  232. "type": "long"
  233. },
  234. "imagePushedAt": {
  235. "type": "timestamp"
  236. },
  237. "imageManifestMediaType": {},
  238. "artifactMediaType": {}
  239. }
  240. }
  241. }
  242. }
  243. },
  244. "nextToken": {}
  245. }
  246. }
  247. },
  248. "DescribeImages": {
  249. "input": {
  250. "type": "structure",
  251. "required": [
  252. "repositoryName"
  253. ],
  254. "members": {
  255. "registryId": {},
  256. "repositoryName": {},
  257. "imageIds": {
  258. "shape": "Si"
  259. },
  260. "nextToken": {},
  261. "maxResults": {
  262. "type": "integer"
  263. }
  264. }
  265. },
  266. "output": {
  267. "type": "structure",
  268. "members": {
  269. "imageDetails": {
  270. "type": "list",
  271. "member": {
  272. "type": "structure",
  273. "members": {
  274. "registryId": {},
  275. "repositoryName": {},
  276. "imageDigest": {},
  277. "imageTags": {
  278. "type": "list",
  279. "member": {}
  280. },
  281. "imageSizeInBytes": {
  282. "type": "long"
  283. },
  284. "imagePushedAt": {
  285. "type": "timestamp"
  286. },
  287. "imageManifestMediaType": {},
  288. "artifactMediaType": {}
  289. }
  290. }
  291. },
  292. "nextToken": {}
  293. }
  294. }
  295. },
  296. "DescribeRegistries": {
  297. "input": {
  298. "type": "structure",
  299. "members": {
  300. "nextToken": {},
  301. "maxResults": {
  302. "type": "integer"
  303. }
  304. }
  305. },
  306. "output": {
  307. "type": "structure",
  308. "required": [
  309. "registries"
  310. ],
  311. "members": {
  312. "registries": {
  313. "type": "list",
  314. "member": {
  315. "type": "structure",
  316. "required": [
  317. "registryId",
  318. "registryArn",
  319. "registryUri",
  320. "verified",
  321. "aliases"
  322. ],
  323. "members": {
  324. "registryId": {},
  325. "registryArn": {},
  326. "registryUri": {},
  327. "verified": {
  328. "type": "boolean"
  329. },
  330. "aliases": {
  331. "type": "list",
  332. "member": {
  333. "type": "structure",
  334. "required": [
  335. "name",
  336. "status",
  337. "primaryRegistryAlias",
  338. "defaultRegistryAlias"
  339. ],
  340. "members": {
  341. "name": {},
  342. "status": {},
  343. "primaryRegistryAlias": {
  344. "type": "boolean"
  345. },
  346. "defaultRegistryAlias": {
  347. "type": "boolean"
  348. }
  349. }
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "nextToken": {}
  356. }
  357. }
  358. },
  359. "DescribeRepositories": {
  360. "input": {
  361. "type": "structure",
  362. "members": {
  363. "registryId": {},
  364. "repositoryNames": {
  365. "type": "list",
  366. "member": {}
  367. },
  368. "nextToken": {},
  369. "maxResults": {
  370. "type": "integer"
  371. }
  372. }
  373. },
  374. "output": {
  375. "type": "structure",
  376. "members": {
  377. "repositories": {
  378. "type": "list",
  379. "member": {
  380. "shape": "S1b"
  381. }
  382. },
  383. "nextToken": {}
  384. }
  385. }
  386. },
  387. "GetAuthorizationToken": {
  388. "input": {
  389. "type": "structure",
  390. "members": {}
  391. },
  392. "output": {
  393. "type": "structure",
  394. "members": {
  395. "authorizationData": {
  396. "type": "structure",
  397. "members": {
  398. "authorizationToken": {},
  399. "expiresAt": {
  400. "type": "timestamp"
  401. }
  402. }
  403. }
  404. }
  405. }
  406. },
  407. "GetRegistryCatalogData": {
  408. "input": {
  409. "type": "structure",
  410. "members": {}
  411. },
  412. "output": {
  413. "type": "structure",
  414. "required": [
  415. "registryCatalogData"
  416. ],
  417. "members": {
  418. "registryCatalogData": {
  419. "shape": "S2o"
  420. }
  421. }
  422. }
  423. },
  424. "GetRepositoryCatalogData": {
  425. "input": {
  426. "type": "structure",
  427. "required": [
  428. "repositoryName"
  429. ],
  430. "members": {
  431. "registryId": {},
  432. "repositoryName": {}
  433. }
  434. },
  435. "output": {
  436. "type": "structure",
  437. "members": {
  438. "catalogData": {
  439. "shape": "S1f"
  440. }
  441. }
  442. }
  443. },
  444. "GetRepositoryPolicy": {
  445. "input": {
  446. "type": "structure",
  447. "required": [
  448. "repositoryName"
  449. ],
  450. "members": {
  451. "registryId": {},
  452. "repositoryName": {}
  453. }
  454. },
  455. "output": {
  456. "type": "structure",
  457. "members": {
  458. "registryId": {},
  459. "repositoryName": {},
  460. "policyText": {}
  461. }
  462. }
  463. },
  464. "InitiateLayerUpload": {
  465. "input": {
  466. "type": "structure",
  467. "required": [
  468. "repositoryName"
  469. ],
  470. "members": {
  471. "registryId": {},
  472. "repositoryName": {}
  473. }
  474. },
  475. "output": {
  476. "type": "structure",
  477. "members": {
  478. "uploadId": {},
  479. "partSize": {
  480. "type": "long"
  481. }
  482. }
  483. }
  484. },
  485. "ListTagsForResource": {
  486. "input": {
  487. "type": "structure",
  488. "required": [
  489. "resourceArn"
  490. ],
  491. "members": {
  492. "resourceArn": {}
  493. }
  494. },
  495. "output": {
  496. "type": "structure",
  497. "members": {
  498. "tags": {
  499. "shape": "S16"
  500. }
  501. }
  502. }
  503. },
  504. "PutImage": {
  505. "input": {
  506. "type": "structure",
  507. "required": [
  508. "repositoryName",
  509. "imageManifest"
  510. ],
  511. "members": {
  512. "registryId": {},
  513. "repositoryName": {},
  514. "imageManifest": {},
  515. "imageManifestMediaType": {},
  516. "imageTag": {},
  517. "imageDigest": {}
  518. }
  519. },
  520. "output": {
  521. "type": "structure",
  522. "members": {
  523. "image": {
  524. "type": "structure",
  525. "members": {
  526. "registryId": {},
  527. "repositoryName": {},
  528. "imageId": {
  529. "shape": "Sj"
  530. },
  531. "imageManifest": {},
  532. "imageManifestMediaType": {}
  533. }
  534. }
  535. }
  536. }
  537. },
  538. "PutRegistryCatalogData": {
  539. "input": {
  540. "type": "structure",
  541. "members": {
  542. "displayName": {}
  543. }
  544. },
  545. "output": {
  546. "type": "structure",
  547. "required": [
  548. "registryCatalogData"
  549. ],
  550. "members": {
  551. "registryCatalogData": {
  552. "shape": "S2o"
  553. }
  554. }
  555. }
  556. },
  557. "PutRepositoryCatalogData": {
  558. "input": {
  559. "type": "structure",
  560. "required": [
  561. "repositoryName",
  562. "catalogData"
  563. ],
  564. "members": {
  565. "registryId": {},
  566. "repositoryName": {},
  567. "catalogData": {
  568. "shape": "Sx"
  569. }
  570. }
  571. },
  572. "output": {
  573. "type": "structure",
  574. "members": {
  575. "catalogData": {
  576. "shape": "S1f"
  577. }
  578. }
  579. }
  580. },
  581. "SetRepositoryPolicy": {
  582. "input": {
  583. "type": "structure",
  584. "required": [
  585. "repositoryName",
  586. "policyText"
  587. ],
  588. "members": {
  589. "registryId": {},
  590. "repositoryName": {},
  591. "policyText": {},
  592. "force": {
  593. "type": "boolean"
  594. }
  595. }
  596. },
  597. "output": {
  598. "type": "structure",
  599. "members": {
  600. "registryId": {},
  601. "repositoryName": {},
  602. "policyText": {}
  603. }
  604. }
  605. },
  606. "TagResource": {
  607. "input": {
  608. "type": "structure",
  609. "required": [
  610. "resourceArn",
  611. "tags"
  612. ],
  613. "members": {
  614. "resourceArn": {},
  615. "tags": {
  616. "shape": "S16"
  617. }
  618. }
  619. },
  620. "output": {
  621. "type": "structure",
  622. "members": {}
  623. }
  624. },
  625. "UntagResource": {
  626. "input": {
  627. "type": "structure",
  628. "required": [
  629. "resourceArn",
  630. "tagKeys"
  631. ],
  632. "members": {
  633. "resourceArn": {},
  634. "tagKeys": {
  635. "type": "list",
  636. "member": {}
  637. }
  638. }
  639. },
  640. "output": {
  641. "type": "structure",
  642. "members": {}
  643. }
  644. },
  645. "UploadLayerPart": {
  646. "input": {
  647. "type": "structure",
  648. "required": [
  649. "repositoryName",
  650. "uploadId",
  651. "partFirstByte",
  652. "partLastByte",
  653. "layerPartBlob"
  654. ],
  655. "members": {
  656. "registryId": {},
  657. "repositoryName": {},
  658. "uploadId": {},
  659. "partFirstByte": {
  660. "type": "long"
  661. },
  662. "partLastByte": {
  663. "type": "long"
  664. },
  665. "layerPartBlob": {
  666. "type": "blob"
  667. }
  668. }
  669. },
  670. "output": {
  671. "type": "structure",
  672. "members": {
  673. "registryId": {},
  674. "repositoryName": {},
  675. "uploadId": {},
  676. "lastByteReceived": {
  677. "type": "long"
  678. }
  679. }
  680. }
  681. }
  682. },
  683. "shapes": {
  684. "Si": {
  685. "type": "list",
  686. "member": {
  687. "shape": "Sj"
  688. }
  689. },
  690. "Sj": {
  691. "type": "structure",
  692. "members": {
  693. "imageDigest": {},
  694. "imageTag": {}
  695. }
  696. },
  697. "Sx": {
  698. "type": "structure",
  699. "members": {
  700. "description": {},
  701. "architectures": {
  702. "shape": "Sz"
  703. },
  704. "operatingSystems": {
  705. "shape": "S11"
  706. },
  707. "logoImageBlob": {
  708. "type": "blob"
  709. },
  710. "aboutText": {},
  711. "usageText": {}
  712. }
  713. },
  714. "Sz": {
  715. "type": "list",
  716. "member": {}
  717. },
  718. "S11": {
  719. "type": "list",
  720. "member": {}
  721. },
  722. "S16": {
  723. "type": "list",
  724. "member": {
  725. "type": "structure",
  726. "members": {
  727. "Key": {},
  728. "Value": {}
  729. }
  730. }
  731. },
  732. "S1b": {
  733. "type": "structure",
  734. "members": {
  735. "repositoryArn": {},
  736. "registryId": {},
  737. "repositoryName": {},
  738. "repositoryUri": {},
  739. "createdAt": {
  740. "type": "timestamp"
  741. }
  742. }
  743. },
  744. "S1f": {
  745. "type": "structure",
  746. "members": {
  747. "description": {},
  748. "architectures": {
  749. "shape": "Sz"
  750. },
  751. "operatingSystems": {
  752. "shape": "S11"
  753. },
  754. "logoUrl": {},
  755. "aboutText": {},
  756. "usageText": {},
  757. "marketplaceCertified": {
  758. "type": "boolean"
  759. }
  760. }
  761. },
  762. "S2o": {
  763. "type": "structure",
  764. "members": {
  765. "displayName": {}
  766. }
  767. }
  768. }
  769. }