@aws-sdk/client-ecr-public 3.31.0 → 3.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/ECRPUBLIC.js +2 -2
  3. package/dist-cjs/ECRPUBLIC.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/ECRPUBLICClient.js +14 -14
  5. package/dist-cjs/ECRPUBLICClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/BatchCheckLayerAvailabilityCommand.js +5 -5
  7. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/BatchDeleteImageCommand.js +5 -5
  9. package/dist-cjs/commands/BatchDeleteImageCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/CompleteLayerUploadCommand.js +5 -5
  11. package/dist-cjs/commands/CompleteLayerUploadCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/CreateRepositoryCommand.js +5 -5
  13. package/dist-cjs/commands/CreateRepositoryCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/DeleteRepositoryCommand.js +5 -5
  15. package/dist-cjs/commands/DeleteRepositoryCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/DeleteRepositoryPolicyCommand.js +5 -5
  17. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/DescribeImageTagsCommand.js +5 -5
  19. package/dist-cjs/commands/DescribeImageTagsCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/DescribeImagesCommand.js +5 -5
  21. package/dist-cjs/commands/DescribeImagesCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/DescribeRegistriesCommand.js +5 -5
  23. package/dist-cjs/commands/DescribeRegistriesCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/DescribeRepositoriesCommand.js +5 -5
  25. package/dist-cjs/commands/DescribeRepositoriesCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/GetAuthorizationTokenCommand.js +5 -5
  27. package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/GetRegistryCatalogDataCommand.js +5 -5
  29. package/dist-cjs/commands/GetRegistryCatalogDataCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/GetRepositoryCatalogDataCommand.js +5 -5
  31. package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/commands/GetRepositoryPolicyCommand.js +5 -5
  33. package/dist-cjs/commands/GetRepositoryPolicyCommand.js.map +1 -0
  34. package/{dist/cjs → dist-cjs}/commands/InitiateLayerUploadCommand.js +5 -5
  35. package/dist-cjs/commands/InitiateLayerUploadCommand.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  38. package/{dist/cjs → dist-cjs}/commands/PutImageCommand.js +5 -5
  39. package/dist-cjs/commands/PutImageCommand.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/commands/PutRegistryCatalogDataCommand.js +5 -5
  41. package/dist-cjs/commands/PutRegistryCatalogDataCommand.js.map +1 -0
  42. package/{dist/cjs → dist-cjs}/commands/PutRepositoryCatalogDataCommand.js +5 -5
  43. package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/commands/SetRepositoryPolicyCommand.js +5 -5
  45. package/dist-cjs/commands/SetRepositoryPolicyCommand.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  47. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  49. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/commands/UploadLayerPartCommand.js +5 -5
  51. package/dist-cjs/commands/UploadLayerPartCommand.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  53. package/dist-cjs/endpoints.js.map +1 -0
  54. package/dist-cjs/index.js +35 -0
  55. package/dist-cjs/index.js.map +1 -0
  56. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  57. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  58. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  59. package/dist-cjs/models/models_0.js.map +1 -0
  60. package/{dist/cjs → dist-cjs}/pagination/DescribeImageTagsPaginator.js +1 -1
  61. package/dist-cjs/pagination/DescribeImageTagsPaginator.js.map +1 -0
  62. package/{dist/cjs → dist-cjs}/pagination/DescribeImagesPaginator.js +1 -1
  63. package/dist-cjs/pagination/DescribeImagesPaginator.js.map +1 -0
  64. package/{dist/cjs → dist-cjs}/pagination/DescribeRegistriesPaginator.js +1 -1
  65. package/dist-cjs/pagination/DescribeRegistriesPaginator.js.map +1 -0
  66. package/{dist/cjs → dist-cjs}/pagination/DescribeRepositoriesPaginator.js +1 -1
  67. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js.map +1 -0
  68. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  69. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  70. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +105 -105
  71. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  72. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  73. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  74. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  75. package/dist-cjs/runtimeConfig.js.map +1 -0
  76. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  77. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  78. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  79. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  80. package/{dist/es → dist-es}/ECRPUBLIC.js +3 -12
  81. package/dist-es/ECRPUBLIC.js.map +1 -0
  82. package/{dist/es → dist-es}/ECRPUBLICClient.js +2 -16
  83. package/dist-es/ECRPUBLICClient.js.map +1 -0
  84. package/{dist/es → dist-es}/commands/BatchCheckLayerAvailabilityCommand.js +4 -35
  85. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js.map +1 -0
  86. package/{dist/es → dist-es}/commands/BatchDeleteImageCommand.js +4 -34
  87. package/dist-es/commands/BatchDeleteImageCommand.js.map +1 -0
  88. package/{dist/es → dist-es}/commands/CompleteLayerUploadCommand.js +4 -36
  89. package/dist-es/commands/CompleteLayerUploadCommand.js.map +1 -0
  90. package/{dist/es → dist-es}/commands/CreateRepositoryCommand.js +4 -30
  91. package/dist-es/commands/CreateRepositoryCommand.js.map +1 -0
  92. package/{dist/es → dist-es}/commands/DeleteRepositoryCommand.js +4 -31
  93. package/dist-es/commands/DeleteRepositoryCommand.js.map +1 -0
  94. package/{dist/es → dist-es}/commands/DeleteRepositoryPolicyCommand.js +4 -29
  95. package/dist-es/commands/DeleteRepositoryPolicyCommand.js.map +1 -0
  96. package/{dist/es → dist-es}/commands/DescribeImageTagsCommand.js +4 -29
  97. package/dist-es/commands/DescribeImageTagsCommand.js.map +1 -0
  98. package/{dist/es → dist-es}/commands/DescribeImagesCommand.js +4 -35
  99. package/dist-es/commands/DescribeImagesCommand.js.map +1 -0
  100. package/{dist/es → dist-es}/commands/DescribeRegistriesCommand.js +4 -29
  101. package/dist-es/commands/DescribeRegistriesCommand.js.map +1 -0
  102. package/{dist/es → dist-es}/commands/DescribeRepositoriesCommand.js +4 -29
  103. package/dist-es/commands/DescribeRepositoriesCommand.js.map +1 -0
  104. package/{dist/es → dist-es}/commands/GetAuthorizationTokenCommand.js +4 -33
  105. package/dist-es/commands/GetAuthorizationTokenCommand.js.map +1 -0
  106. package/{dist/es → dist-es}/commands/GetRegistryCatalogDataCommand.js +4 -29
  107. package/dist-es/commands/GetRegistryCatalogDataCommand.js.map +1 -0
  108. package/{dist/es → dist-es}/commands/GetRepositoryCatalogDataCommand.js +4 -30
  109. package/dist-es/commands/GetRepositoryCatalogDataCommand.js.map +1 -0
  110. package/{dist/es → dist-es}/commands/GetRepositoryPolicyCommand.js +4 -29
  111. package/dist-es/commands/GetRepositoryPolicyCommand.js.map +1 -0
  112. package/{dist/es → dist-es}/commands/InitiateLayerUploadCommand.js +4 -35
  113. package/dist-es/commands/InitiateLayerUploadCommand.js.map +1 -0
  114. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
  115. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  116. package/{dist/es → dist-es}/commands/PutImageCommand.js +4 -36
  117. package/dist-es/commands/PutImageCommand.js.map +1 -0
  118. package/{dist/es → dist-es}/commands/PutRegistryCatalogDataCommand.js +4 -29
  119. package/dist-es/commands/PutRegistryCatalogDataCommand.js.map +1 -0
  120. package/{dist/es → dist-es}/commands/PutRepositoryCatalogDataCommand.js +4 -29
  121. package/dist-es/commands/PutRepositoryCatalogDataCommand.js.map +1 -0
  122. package/{dist/es → dist-es}/commands/SetRepositoryPolicyCommand.js +4 -31
  123. package/dist-es/commands/SetRepositoryPolicyCommand.js.map +1 -0
  124. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -32
  125. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  126. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
  127. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  128. package/{dist/es → dist-es}/commands/UploadLayerPartCommand.js +4 -35
  129. package/dist-es/commands/UploadLayerPartCommand.js.map +1 -0
  130. package/{dist/es → dist-es}/endpoints.js +1 -1
  131. package/dist-es/endpoints.js.map +1 -0
  132. package/{dist/es → dist-es}/index.js +0 -0
  133. package/dist-es/index.js.map +1 -0
  134. package/{dist/es → dist-es}/models/index.js +0 -0
  135. package/dist-es/models/index.js.map +1 -0
  136. package/{dist/es → dist-es}/models/models_0.js +0 -255
  137. package/dist-es/models/models_0.js.map +1 -0
  138. package/{dist/es → dist-es}/pagination/DescribeImageTagsPaginator.js +17 -29
  139. package/dist-es/pagination/DescribeImageTagsPaginator.js.map +1 -0
  140. package/{dist/es → dist-es}/pagination/DescribeImagesPaginator.js +17 -29
  141. package/dist-es/pagination/DescribeImagesPaginator.js.map +1 -0
  142. package/{dist/es → dist-es}/pagination/DescribeRegistriesPaginator.js +17 -29
  143. package/dist-es/pagination/DescribeRegistriesPaginator.js.map +1 -0
  144. package/{dist/es → dist-es}/pagination/DescribeRepositoriesPaginator.js +17 -29
  145. package/dist-es/pagination/DescribeRepositoriesPaginator.js.map +1 -0
  146. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  147. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  148. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +590 -595
  149. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  150. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  151. package/dist-es/runtimeConfig.browser.js.map +1 -0
  152. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  153. package/dist-es/runtimeConfig.js.map +1 -0
  154. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  155. package/dist-es/runtimeConfig.native.js.map +1 -0
  156. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  157. package/dist-es/runtimeConfig.shared.js.map +1 -0
  158. package/{dist/types → dist-types}/ECRPUBLIC.d.ts +3 -3
  159. package/{dist/types → dist-types}/ECRPUBLICClient.d.ts +9 -9
  160. package/{dist/types → dist-types}/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/BatchDeleteImageCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/CompleteLayerUploadCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/CreateRepositoryCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/DeleteRepositoryCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/DeleteRepositoryPolicyCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/DescribeImageTagsCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/DescribeImagesCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/DescribeRegistriesCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/DescribeRepositoriesCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/GetAuthorizationTokenCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/GetRegistryCatalogDataCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/GetRepositoryCatalogDataCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/GetRepositoryPolicyCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/InitiateLayerUploadCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/PutImageCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/PutRegistryCatalogDataCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/PutRepositoryCatalogDataCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/SetRepositoryPolicyCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/commands/UploadLayerPartCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  184. package/{dist/types → dist-types}/index.d.ts +0 -0
  185. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  186. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  187. package/{dist/types → dist-types}/pagination/DescribeImageTagsPaginator.d.ts +1 -1
  188. package/{dist/types → dist-types}/pagination/DescribeImagesPaginator.d.ts +1 -1
  189. package/{dist/types → dist-types}/pagination/DescribeRegistriesPaginator.d.ts +1 -1
  190. package/{dist/types → dist-types}/pagination/DescribeRepositoriesPaginator.d.ts +1 -1
  191. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  192. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
  193. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  194. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  195. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  196. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  197. package/{dist/types → dist-types}/ts3.4/ECRPUBLIC.d.ts +3 -3
  198. package/{dist/types → dist-types}/ts3.4/ECRPUBLICClient.d.ts +9 -9
  199. package/{dist/types → dist-types}/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -2
  205. package/{dist/types → dist-types}/ts3.4/commands/DescribeImageTagsCommand.d.ts +2 -2
  206. package/{dist/types → dist-types}/ts3.4/commands/DescribeImagesCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/ts3.4/commands/DescribeRegistriesCommand.d.ts +2 -2
  208. package/{dist/types → dist-types}/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/ts3.4/commands/PutImageCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  220. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  221. package/{dist/types → dist-types}/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -2
  222. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  223. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  224. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  225. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  226. package/{dist/types → dist-types}/ts3.4/pagination/DescribeImageTagsPaginator.d.ts +1 -1
  227. package/{dist/types → dist-types}/ts3.4/pagination/DescribeImagesPaginator.d.ts +1 -1
  228. package/{dist/types → dist-types}/ts3.4/pagination/DescribeRegistriesPaginator.d.ts +1 -1
  229. package/{dist/types → dist-types}/ts3.4/pagination/DescribeRepositoriesPaginator.d.ts +1 -1
  230. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  231. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
  232. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  233. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  234. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  235. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  236. package/package.json +50 -50
  237. package/{ECRPUBLIC.ts → src/ECRPUBLIC.ts} +8 -7
  238. package/{ECRPUBLICClient.ts → src/ECRPUBLICClient.ts} +59 -58
  239. package/{commands → src/commands}/BatchCheckLayerAvailabilityCommand.ts +8 -7
  240. package/{commands → src/commands}/BatchDeleteImageCommand.ts +8 -7
  241. package/{commands → src/commands}/CompleteLayerUploadCommand.ts +8 -7
  242. package/{commands → src/commands}/CreateRepositoryCommand.ts +8 -7
  243. package/{commands → src/commands}/DeleteRepositoryCommand.ts +8 -7
  244. package/{commands → src/commands}/DeleteRepositoryPolicyCommand.ts +8 -7
  245. package/{commands → src/commands}/DescribeImageTagsCommand.ts +8 -7
  246. package/{commands → src/commands}/DescribeImagesCommand.ts +8 -7
  247. package/{commands → src/commands}/DescribeRegistriesCommand.ts +8 -7
  248. package/{commands → src/commands}/DescribeRepositoriesCommand.ts +8 -7
  249. package/{commands → src/commands}/GetAuthorizationTokenCommand.ts +8 -7
  250. package/{commands → src/commands}/GetRegistryCatalogDataCommand.ts +8 -7
  251. package/{commands → src/commands}/GetRepositoryCatalogDataCommand.ts +8 -7
  252. package/{commands → src/commands}/GetRepositoryPolicyCommand.ts +8 -7
  253. package/{commands → src/commands}/InitiateLayerUploadCommand.ts +8 -7
  254. package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
  255. package/{commands → src/commands}/PutImageCommand.ts +5 -4
  256. package/{commands → src/commands}/PutRegistryCatalogDataCommand.ts +8 -7
  257. package/{commands → src/commands}/PutRepositoryCatalogDataCommand.ts +8 -7
  258. package/{commands → src/commands}/SetRepositoryPolicyCommand.ts +8 -7
  259. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  260. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  261. package/{commands → src/commands}/UploadLayerPartCommand.ts +8 -7
  262. package/{endpoints.ts → src/endpoints.ts} +1 -1
  263. package/{index.ts → src/index.ts} +0 -0
  264. package/{models → src/models}/index.ts +0 -0
  265. package/{models → src/models}/models_0.ts +0 -0
  266. package/{pagination → src/pagination}/DescribeImageTagsPaginator.ts +4 -3
  267. package/{pagination → src/pagination}/DescribeImagesPaginator.ts +4 -3
  268. package/{pagination → src/pagination}/DescribeRegistriesPaginator.ts +4 -3
  269. package/{pagination → src/pagination}/DescribeRepositoriesPaginator.ts +4 -3
  270. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  271. package/{protocols → src/protocols}/Aws_json1_1.ts +44 -43
  272. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  273. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  274. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  275. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  276. package/tsconfig.es.json +1 -3
  277. package/tsconfig.json +7 -7
  278. package/tsconfig.types.json +9 -0
  279. package/dist/cjs/ECRPUBLIC.js.map +0 -1
  280. package/dist/cjs/ECRPUBLICClient.js.map +0 -1
  281. package/dist/cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  282. package/dist/cjs/commands/BatchDeleteImageCommand.js.map +0 -1
  283. package/dist/cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
  284. package/dist/cjs/commands/CreateRepositoryCommand.js.map +0 -1
  285. package/dist/cjs/commands/DeleteRepositoryCommand.js.map +0 -1
  286. package/dist/cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  287. package/dist/cjs/commands/DescribeImageTagsCommand.js.map +0 -1
  288. package/dist/cjs/commands/DescribeImagesCommand.js.map +0 -1
  289. package/dist/cjs/commands/DescribeRegistriesCommand.js.map +0 -1
  290. package/dist/cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
  291. package/dist/cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
  292. package/dist/cjs/commands/GetRegistryCatalogDataCommand.js.map +0 -1
  293. package/dist/cjs/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
  294. package/dist/cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
  295. package/dist/cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
  296. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  297. package/dist/cjs/commands/PutImageCommand.js.map +0 -1
  298. package/dist/cjs/commands/PutRegistryCatalogDataCommand.js.map +0 -1
  299. package/dist/cjs/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
  300. package/dist/cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
  301. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  302. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  303. package/dist/cjs/commands/UploadLayerPartCommand.js.map +0 -1
  304. package/dist/cjs/endpoints.js.map +0 -1
  305. package/dist/cjs/index.js +0 -35
  306. package/dist/cjs/index.js.map +0 -1
  307. package/dist/cjs/models/models_0.js.map +0 -1
  308. package/dist/cjs/package.json +0 -91
  309. package/dist/cjs/pagination/DescribeImageTagsPaginator.js.map +0 -1
  310. package/dist/cjs/pagination/DescribeImagesPaginator.js.map +0 -1
  311. package/dist/cjs/pagination/DescribeRegistriesPaginator.js.map +0 -1
  312. package/dist/cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  313. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  314. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  315. package/dist/cjs/runtimeConfig.js.map +0 -1
  316. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  317. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  318. package/dist/es/ECRPUBLIC.js.map +0 -1
  319. package/dist/es/ECRPUBLICClient.js.map +0 -1
  320. package/dist/es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  321. package/dist/es/commands/BatchDeleteImageCommand.js.map +0 -1
  322. package/dist/es/commands/CompleteLayerUploadCommand.js.map +0 -1
  323. package/dist/es/commands/CreateRepositoryCommand.js.map +0 -1
  324. package/dist/es/commands/DeleteRepositoryCommand.js.map +0 -1
  325. package/dist/es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  326. package/dist/es/commands/DescribeImageTagsCommand.js.map +0 -1
  327. package/dist/es/commands/DescribeImagesCommand.js.map +0 -1
  328. package/dist/es/commands/DescribeRegistriesCommand.js.map +0 -1
  329. package/dist/es/commands/DescribeRepositoriesCommand.js.map +0 -1
  330. package/dist/es/commands/GetAuthorizationTokenCommand.js.map +0 -1
  331. package/dist/es/commands/GetRegistryCatalogDataCommand.js.map +0 -1
  332. package/dist/es/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
  333. package/dist/es/commands/GetRepositoryPolicyCommand.js.map +0 -1
  334. package/dist/es/commands/InitiateLayerUploadCommand.js.map +0 -1
  335. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  336. package/dist/es/commands/PutImageCommand.js.map +0 -1
  337. package/dist/es/commands/PutRegistryCatalogDataCommand.js.map +0 -1
  338. package/dist/es/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
  339. package/dist/es/commands/SetRepositoryPolicyCommand.js.map +0 -1
  340. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  341. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  342. package/dist/es/commands/UploadLayerPartCommand.js.map +0 -1
  343. package/dist/es/endpoints.js.map +0 -1
  344. package/dist/es/index.js.map +0 -1
  345. package/dist/es/models/index.js.map +0 -1
  346. package/dist/es/models/models_0.js.map +0 -1
  347. package/dist/es/package.json +0 -91
  348. package/dist/es/pagination/DescribeImageTagsPaginator.js.map +0 -1
  349. package/dist/es/pagination/DescribeImagesPaginator.js.map +0 -1
  350. package/dist/es/pagination/DescribeRegistriesPaginator.js.map +0 -1
  351. package/dist/es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  352. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  353. package/dist/es/runtimeConfig.browser.js.map +0 -1
  354. package/dist/es/runtimeConfig.js.map +0 -1
  355. package/dist/es/runtimeConfig.native.js.map +0 -1
  356. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetRepositoryPolicyRequest, GetRepositoryPolicyResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1GetRepositoryPolicyCommand, serializeAws_json1_1GetRepositoryPolicyCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves the repository policy for the specified repository.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ECRPUBLICClient, GetRepositoryPolicyCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
12
- * // const { ECRPUBLICClient, GetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
13
- * const client = new ECRPUBLICClient(config);
14
- * const command = new GetRepositoryPolicyCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link GetRepositoryPolicyCommandInput} for command's `input` shape.
19
- * @see {@link GetRepositoryPolicyCommandOutput} for command's `response` shape.
20
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var GetRepositoryPolicyCommand = /** @class */ (function (_super) {
4
+ import { GetRepositoryPolicyRequest, GetRepositoryPolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1GetRepositoryPolicyCommand, serializeAws_json1_1GetRepositoryPolicyCommand, } from "../protocols/Aws_json1_1";
6
+ var GetRepositoryPolicyCommand = (function (_super) {
24
7
  __extends(GetRepositoryPolicyCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function GetRepositoryPolicyCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  GetRepositoryPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetRepositoryPolicyCommand.js","sourceRoot":"","sources":["../../src/commands/GetRepositoryPolicyCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAsBlC;IAAgD,8CAI/C;IAIC,oCAAqB,KAAsC;QAA3D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;IAI3D,CAAC;IAKD,sDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
@@ -1,46 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { InitiateLayerUploadRequest, InitiateLayerUploadResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1InitiateLayerUploadCommand, serializeAws_json1_1InitiateLayerUploadCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
8
- * <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer that
9
- * has not already been uploaded. Whether or not an image layer has been uploaded is
10
- * determined by the BatchCheckLayerAvailability API action.</p>
11
- * <note>
12
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ECRPUBLICClient, InitiateLayerUploadCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
18
- * // const { ECRPUBLICClient, InitiateLayerUploadCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
19
- * const client = new ECRPUBLICClient(config);
20
- * const command = new InitiateLayerUploadCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link InitiateLayerUploadCommandInput} for command's `input` shape.
25
- * @see {@link InitiateLayerUploadCommandOutput} for command's `response` shape.
26
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- var InitiateLayerUploadCommand = /** @class */ (function (_super) {
4
+ import { InitiateLayerUploadRequest, InitiateLayerUploadResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1InitiateLayerUploadCommand, serializeAws_json1_1InitiateLayerUploadCommand, } from "../protocols/Aws_json1_1";
6
+ var InitiateLayerUploadCommand = (function (_super) {
30
7
  __extends(InitiateLayerUploadCommand, _super);
31
- // Start section: command_properties
32
- // End section: command_properties
33
8
  function InitiateLayerUploadCommand(input) {
34
- var _this =
35
- // Start section: command_constructor
36
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
37
10
  _this.input = input;
38
11
  return _this;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  InitiateLayerUploadCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
45
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InitiateLayerUploadCommand.js","sourceRoot":"","sources":["../../src/commands/InitiateLayerUploadCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO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,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>List the tags for an Amazon ECR Public resource.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ECRPUBLICClient, ListTagsForResourceCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
12
- * // const { ECRPUBLICClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
13
- * const client = new ECRPUBLICClient(config);
14
- * const command = new ListTagsForResourceCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
19
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
20
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListTagsForResourceCommand = /** @class */ (function (_super) {
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
+ var ListTagsForResourceCommand = (function (_super) {
24
7
  __extends(ListTagsForResourceCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListTagsForResourceCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../src/commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAsBlC;IAAgD,8CAI/C;IAIC,oCAAqB,KAAsC;QAA3D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;IAI3D,CAAC;IAKD,sDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
@@ -1,47 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { PutImageRequest, PutImageResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1PutImageCommand, serializeAws_json1_1PutImageCommand } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates or updates the image manifest and tags associated with an image.</p>
8
- * <p>When an image is pushed and all new image layers have been uploaded, the PutImage API is
9
- * called once to create or update the image manifest and the tags associated with the
10
- * image.</p>
11
- *
12
- * <note>
13
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECRPUBLICClient, PutImageCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
19
- * // const { ECRPUBLICClient, PutImageCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
20
- * const client = new ECRPUBLICClient(config);
21
- * const command = new PutImageCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link PutImageCommandInput} for command's `input` shape.
26
- * @see {@link PutImageCommandOutput} for command's `response` shape.
27
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var PutImageCommand = /** @class */ (function (_super) {
4
+ import { PutImageRequest, PutImageResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutImageCommand, serializeAws_json1_1PutImageCommand } from "../protocols/Aws_json1_1";
6
+ var PutImageCommand = (function (_super) {
31
7
  __extends(PutImageCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function PutImageCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  PutImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PutImageCommand.js","sourceRoot":"","sources":["../../src/commands/PutImageCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,qCAAqC,EAAE,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AA6BtH;IAAqC,mCAIpC;IAIC,yBAAqB,KAA2B;QAAhD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsB;;IAIhD,CAAC;IAKD,2CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,iBAAiB,CAAC;QACtC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,eAAe,CAAC,kBAAkB;YAC3D,wBAAwB,EAAE,gBAAgB,CAAC,kBAAkB;SAC9D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,mCAAS,GAAjB,UAAkB,KAA2B,EAAE,OAAuB;QACpE,OAAO,mCAAmC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAEO,qCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qCAAqC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAIH,sBAAC;AAAD,CAAC,AAtDD,CAAqC,QAAQ,GAsD5C"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { PutRegistryCatalogDataRequest, PutRegistryCatalogDataResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1PutRegistryCatalogDataCommand, serializeAws_json1_1PutRegistryCatalogDataCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Create or updates the catalog data for a public registry.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ECRPUBLICClient, PutRegistryCatalogDataCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
12
- * // const { ECRPUBLICClient, PutRegistryCatalogDataCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
13
- * const client = new ECRPUBLICClient(config);
14
- * const command = new PutRegistryCatalogDataCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link PutRegistryCatalogDataCommandInput} for command's `input` shape.
19
- * @see {@link PutRegistryCatalogDataCommandOutput} for command's `response` shape.
20
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var PutRegistryCatalogDataCommand = /** @class */ (function (_super) {
4
+ import { PutRegistryCatalogDataRequest, PutRegistryCatalogDataResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutRegistryCatalogDataCommand, serializeAws_json1_1PutRegistryCatalogDataCommand, } from "../protocols/Aws_json1_1";
6
+ var PutRegistryCatalogDataCommand = (function (_super) {
24
7
  __extends(PutRegistryCatalogDataCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function PutRegistryCatalogDataCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  PutRegistryCatalogDataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PutRegistryCatalogDataCommand.js","sourceRoot":"","sources":["../../src/commands/PutRegist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C,EAAE,OAAuB;QAClF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { PutRepositoryCatalogDataRequest, PutRepositoryCatalogDataResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1PutRepositoryCatalogDataCommand, serializeAws_json1_1PutRepositoryCatalogDataCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates or updates the catalog data for a repository in a public registry.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ECRPUBLICClient, PutRepositoryCatalogDataCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
12
- * // const { ECRPUBLICClient, PutRepositoryCatalogDataCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
13
- * const client = new ECRPUBLICClient(config);
14
- * const command = new PutRepositoryCatalogDataCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link PutRepositoryCatalogDataCommandInput} for command's `input` shape.
19
- * @see {@link PutRepositoryCatalogDataCommandOutput} for command's `response` shape.
20
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var PutRepositoryCatalogDataCommand = /** @class */ (function (_super) {
4
+ import { PutRepositoryCatalogDataRequest, PutRepositoryCatalogDataResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutRepositoryCatalogDataCommand, serializeAws_json1_1PutRepositoryCatalogDataCommand, } from "../protocols/Aws_json1_1";
6
+ var PutRepositoryCatalogDataCommand = (function (_super) {
24
7
  __extends(PutRepositoryCatalogDataCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function PutRepositoryCatalogDataCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  PutRepositoryCatalogDataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PutRepositoryCatalogDataCommand.js","sourceRoot":"","sources":["../../src/commands/PutRepositoryCatalogDataCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAsBlC;IAAqD,mDAIpD;IAIC,yCAAqB,KAA2C;QAAhE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsC;;IAIhE,CAAC;IAKD,2DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,iCAAiC,CAAC;QACtD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,+BAA+B,CAAC,kBAAkB;YAC3E,wBAAwB,EAAE,gCAAgC,CAAC,kBAAkB;SAC9E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,mDAAS,GAAjB,UAAkB,KAA2C,EAAE,OAAuB;QACpF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,qDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,sCAAC;AAAD,CAAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
@@ -1,42 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { SetRepositoryPolicyRequest, SetRepositoryPolicyResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1SetRepositoryPolicyCommand, serializeAws_json1_1SetRepositoryPolicyCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Applies a repository policy to the specified public repository to control access
8
- * permissions. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
9
- * Policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ECRPUBLICClient, SetRepositoryPolicyCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
14
- * // const { ECRPUBLICClient, SetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
15
- * const client = new ECRPUBLICClient(config);
16
- * const command = new SetRepositoryPolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link SetRepositoryPolicyCommandInput} for command's `input` shape.
21
- * @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
22
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var SetRepositoryPolicyCommand = /** @class */ (function (_super) {
4
+ import { SetRepositoryPolicyRequest, SetRepositoryPolicyResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1SetRepositoryPolicyCommand, serializeAws_json1_1SetRepositoryPolicyCommand, } from "../protocols/Aws_json1_1";
6
+ var SetRepositoryPolicyCommand = (function (_super) {
26
7
  __extends(SetRepositoryPolicyCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function SetRepositoryPolicyCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  SetRepositoryPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetRepositoryPolicyCommand.js","sourceRoot":"","sources":["../../src/commands/SetRepositoryPolicyCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,0BAA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E,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
8
- * If existing tags on a resource are not specified in the request parameters, they are not
9
- * changed. When a resource is deleted, the tags associated with that resource are deleted as
10
- * well.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRPUBLICClient, TagResourceCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
15
- * // const { ECRPUBLICClient, TagResourceCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
16
- * const client = new ECRPUBLICClient(config);
17
- * const command = new TagResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link TagResourceCommandInput} for command's `input` shape.
22
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var TagResourceCommand = /** @class */ (function (_super) {
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
+ var TagResourceCommand = (function (_super) {
27
7
  __extends(TagResourceCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function TagResourceCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../src/commands/TagResourceCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAyBlC;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes specified tags from a resource.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { ECRPUBLICClient, UntagResourceCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
12
- * // const { ECRPUBLICClient, UntagResourceCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
13
- * const client = new ECRPUBLICClient(config);
14
- * const command = new UntagResourceCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
19
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
20
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var UntagResourceCommand = /** @class */ (function (_super) {
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
+ var UntagResourceCommand = (function (_super) {
24
7
  __extends(UntagResourceCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function UntagResourceCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../src/commands/UntagResourceCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAY7D,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAsBlC;IAA0C,wCAIzC;IAIC,8BAAqB,KAAgC;QAArD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;IAIrD,CAAC;IAKD,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,qBAAqB,CAAC,kBAAkB;SACnE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
@@ -1,46 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { UploadLayerPartRequest, UploadLayerPartResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1UploadLayerPartCommand, serializeAws_json1_1UploadLayerPartCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Uploads an image layer part to Amazon ECR.</p>
8
- * <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size of
9
- * each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is
10
- * called once per each new image layer part.</p>
11
- * <note>
12
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ECRPUBLICClient, UploadLayerPartCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
18
- * // const { ECRPUBLICClient, UploadLayerPartCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
19
- * const client = new ECRPUBLICClient(config);
20
- * const command = new UploadLayerPartCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UploadLayerPartCommandInput} for command's `input` shape.
25
- * @see {@link UploadLayerPartCommandOutput} for command's `response` shape.
26
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
- var UploadLayerPartCommand = /** @class */ (function (_super) {
4
+ import { UploadLayerPartRequest, UploadLayerPartResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1UploadLayerPartCommand, serializeAws_json1_1UploadLayerPartCommand, } from "../protocols/Aws_json1_1";
6
+ var UploadLayerPartCommand = (function (_super) {
30
7
  __extends(UploadLayerPartCommand, _super);
31
- // Start section: command_properties
32
- // End section: command_properties
33
8
  function UploadLayerPartCommand(input) {
34
- var _this =
35
- // Start section: command_constructor
36
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
37
10
  _this.input = input;
38
11
  return _this;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  UploadLayerPartCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
45
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UploadLayerPartCommand.js","sourceRoot":"","sources":["../../src/commands/UploadLayerPartCommand.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,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GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,6BAAC;AAAD,CAAC,AAtDD,CAA4C,QAAQ,GAsDnD"}
@@ -47,7 +47,7 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ecr-public", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ecr-public", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
53
  //# sourceMappingURL=endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAA6B,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,uCAAuC;KAClD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,0CAA0C;KACrD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,WAAW,EAAE;QAC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AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}