@aws-sdk/client-ecr 3.34.0 → 3.37.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 (413) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/ECR.js +1 -13
  3. package/dist-cjs/ECRClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/BatchCheckLayerAvailabilityCommand.js +2 -34
  5. package/{dist/cjs → dist-cjs}/commands/BatchDeleteImageCommand.js +2 -32
  6. package/{dist/cjs → dist-cjs}/commands/BatchGetImageCommand.js +2 -30
  7. package/{dist/cjs → dist-cjs}/commands/CompleteLayerUploadCommand.js +2 -35
  8. package/{dist/cjs → dist-cjs}/commands/CreateRepositoryCommand.js +2 -28
  9. package/{dist/cjs → dist-cjs}/commands/DeleteLifecyclePolicyCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DeleteRegistryPolicyCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DeleteRepositoryCommand.js +2 -29
  12. package/{dist/cjs → dist-cjs}/commands/DeleteRepositoryPolicyCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DescribeImageReplicationStatusCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/DescribeImageScanFindingsCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DescribeImagesCommand.js +2 -33
  16. package/{dist/cjs → dist-cjs}/commands/DescribeRegistryCommand.js +2 -29
  17. package/{dist/cjs → dist-cjs}/commands/DescribeRepositoriesCommand.js +2 -27
  18. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +36 -0
  19. package/{dist/cjs → dist-cjs}/commands/GetDownloadUrlForLayerCommand.js +2 -34
  20. package/{dist/cjs → dist-cjs}/commands/GetLifecyclePolicyCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/GetLifecyclePolicyPreviewCommand.js +2 -28
  22. package/{dist/cjs → dist-cjs}/commands/GetRegistryPolicyCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/GetRepositoryPolicyCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/InitiateLayerUploadCommand.js +2 -34
  25. package/{dist/cjs → dist-cjs}/commands/ListImagesCommand.js +2 -33
  26. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/PutImageCommand.js +2 -35
  28. package/{dist/cjs → dist-cjs}/commands/PutImageScanningConfigurationCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/PutImageTagMutabilityCommand.js +2 -29
  30. package/{dist/cjs → dist-cjs}/commands/PutLifecyclePolicyCommand.js +2 -29
  31. package/{dist/cjs → dist-cjs}/commands/PutRegistryPolicyCommand.js +2 -29
  32. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +36 -0
  33. package/{dist/cjs → dist-cjs}/commands/SetRepositoryPolicyCommand.js +2 -29
  34. package/{dist/cjs → dist-cjs}/commands/StartImageScanCommand.js +2 -30
  35. package/{dist/cjs → dist-cjs}/commands/StartLifecyclePolicyPreviewCommand.js +2 -28
  36. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
  37. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  38. package/{dist/cjs → dist-cjs}/commands/UploadLayerPartCommand.js +2 -34
  39. package/{dist/cjs → dist-cjs}/endpoints.js +5 -2
  40. package/{dist/cjs → dist-cjs}/index.js +0 -1
  41. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  42. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -382
  43. package/{dist/cjs → dist-cjs}/pagination/DescribeImageScanFindingsPaginator.js +1 -12
  44. package/{dist/cjs → dist-cjs}/pagination/DescribeImagesPaginator.js +1 -12
  45. package/{dist/cjs → dist-cjs}/pagination/DescribeRepositoriesPaginator.js +1 -12
  46. package/{dist/cjs → dist-cjs}/pagination/GetLifecyclePolicyPreviewPaginator.js +1 -12
  47. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  48. package/{dist/cjs → dist-cjs}/pagination/ListImagesPaginator.js +1 -12
  49. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  51. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  52. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  53. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  54. package/{dist/cjs → dist-cjs}/waiters/waitForImageScanComplete.js +4 -14
  55. package/{dist/cjs → dist-cjs}/waiters/waitForLifecyclePolicyPreviewComplete.js +4 -14
  56. package/{dist/es → dist-es}/ECR.js +1 -2
  57. package/{dist/es → dist-es}/ECRClient.js +1 -2
  58. package/{dist/es → dist-es}/commands/BatchCheckLayerAvailabilityCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/BatchDeleteImageCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/BatchGetImageCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/CompleteLayerUploadCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/CreateRepositoryCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DeleteLifecyclePolicyCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/DeleteRegistryPolicyCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DeleteRepositoryCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DeleteRepositoryPolicyCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DescribeImageReplicationStatusCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DescribeImageScanFindingsCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/DescribeImagesCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/DescribeRegistryCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/DescribeRepositoriesCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/GetAuthorizationTokenCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/GetDownloadUrlForLayerCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/GetLifecyclePolicyCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/GetLifecyclePolicyPreviewCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/GetRegistryPolicyCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/GetRepositoryPolicyCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/InitiateLayerUploadCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/ListImagesCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/PutImageCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/PutImageScanningConfigurationCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/PutImageTagMutabilityCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/PutLifecyclePolicyCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/PutRegistryPolicyCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/PutReplicationConfigurationCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/SetRepositoryPolicyCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/StartImageScanCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/StartLifecyclePolicyPreviewCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/UploadLayerPartCommand.js +2 -3
  93. package/{dist/es → dist-es}/endpoints.js +5 -2
  94. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  95. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  96. package/{dist/es → dist-es}/models/models_0.js +0 -1
  97. package/{dist/es → dist-es}/pagination/DescribeImageScanFindingsPaginator.js +1 -2
  98. package/{dist/es → dist-es}/pagination/DescribeImagesPaginator.js +1 -2
  99. package/{dist/es → dist-es}/pagination/DescribeRepositoriesPaginator.js +1 -2
  100. package/{dist/es → dist-es}/pagination/GetLifecyclePolicyPreviewPaginator.js +1 -2
  101. package/dist-es/pagination/Interfaces.js +1 -0
  102. package/{dist/es → dist-es}/pagination/ListImagesPaginator.js +1 -2
  103. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  104. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  105. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  106. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  107. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  108. package/{dist/es → dist-es}/waiters/waitForImageScanComplete.js +1 -2
  109. package/{dist/es → dist-es}/waiters/waitForLifecyclePolicyPreviewComplete.js +1 -2
  110. package/{dist/types → dist-types}/ECR.d.ts +2 -2
  111. package/{dist/types → dist-types}/ECRClient.d.ts +8 -8
  112. package/{dist/types → dist-types}/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/BatchDeleteImageCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/BatchGetImageCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/CompleteLayerUploadCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/CreateRepositoryCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DeleteLifecyclePolicyCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/DeleteRegistryPolicyCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/DeleteRepositoryCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/DeleteRepositoryPolicyCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/DescribeImageReplicationStatusCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/DescribeImageScanFindingsCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/DescribeImagesCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/DescribeRegistryCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/DescribeRepositoriesCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/GetAuthorizationTokenCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/GetDownloadUrlForLayerCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/GetLifecyclePolicyCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/GetRegistryPolicyCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/GetRepositoryPolicyCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/InitiateLayerUploadCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/ListImagesCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/PutImageCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/PutImageScanningConfigurationCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/PutImageTagMutabilityCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/PutLifecyclePolicyCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/PutRegistryPolicyCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/PutReplicationConfigurationCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/SetRepositoryPolicyCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/StartImageScanCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/UploadLayerPartCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  148. package/{index.ts → dist-types/index.d.ts} +0 -0
  149. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  150. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  151. package/{dist/types → dist-types}/pagination/DescribeImageScanFindingsPaginator.d.ts +1 -1
  152. package/{dist/types → dist-types}/pagination/DescribeImagesPaginator.d.ts +1 -1
  153. package/{dist/types → dist-types}/pagination/DescribeRepositoriesPaginator.d.ts +1 -1
  154. package/{dist/types → dist-types}/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +1 -1
  155. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  156. package/{dist/types → dist-types}/pagination/ListImagesPaginator.d.ts +1 -1
  157. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  158. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  159. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  160. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  161. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  162. package/{dist/types → dist-types}/ts3.4/ECR.d.ts +38 -218
  163. package/{dist/types → dist-types}/ts3.4/ECRClient.d.ts +32 -105
  164. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +17 -0
  169. package/{dist/types → dist-types}/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +4 -22
  170. package/{dist/types → dist-types}/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +4 -22
  171. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +17 -0
  172. package/{dist/types → dist-types}/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +4 -22
  173. package/{dist/types → dist-types}/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +4 -22
  174. package/{dist/types → dist-types}/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +4 -22
  175. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +17 -0
  177. package/{dist/types → dist-types}/ts3.4/commands/DescribeRepositoriesCommand.d.ts +4 -22
  178. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +17 -0
  180. package/{dist/types → dist-types}/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +4 -22
  181. package/{dist/types → dist-types}/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +4 -23
  182. package/{dist/types → dist-types}/ts3.4/commands/GetRegistryPolicyCommand.d.ts +4 -22
  183. package/{dist/types → dist-types}/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +4 -22
  184. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +17 -0
  186. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  187. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +17 -0
  188. package/{dist/types → dist-types}/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +4 -22
  189. package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  197. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +4 -22
  198. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +17 -0
  199. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  200. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  201. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  202. package/dist-types/ts3.4/models/models_0.d.ts +1545 -0
  203. package/{dist/types → dist-types}/ts3.4/pagination/DescribeImageScanFindingsPaginator.d.ts +1 -1
  204. package/{dist/types → dist-types}/ts3.4/pagination/DescribeImagesPaginator.d.ts +1 -1
  205. package/{dist/types → dist-types}/ts3.4/pagination/DescribeRepositoriesPaginator.d.ts +1 -1
  206. package/{dist/types → dist-types}/ts3.4/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +1 -1
  207. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  208. package/{dist/types → dist-types}/ts3.4/pagination/ListImagesPaginator.d.ts +1 -1
  209. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  210. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  211. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  212. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  213. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  214. package/{dist/types → dist-types}/ts3.4/waiters/waitForImageScanComplete.d.ts +4 -11
  215. package/{dist/types → dist-types}/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +4 -11
  216. package/{dist/types → dist-types}/waiters/waitForImageScanComplete.d.ts +2 -2
  217. package/{dist/types → dist-types}/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +2 -2
  218. package/package.json +46 -43
  219. package/ECR.ts +0 -1380
  220. package/ECRClient.ts +0 -405
  221. package/commands/BatchCheckLayerAvailabilityCommand.ts +0 -106
  222. package/commands/BatchDeleteImageCommand.ts +0 -99
  223. package/commands/BatchGetImageCommand.ts +0 -97
  224. package/commands/CompleteLayerUploadCommand.ts +0 -102
  225. package/commands/CreateRepositoryCommand.ts +0 -95
  226. package/commands/DeleteLifecyclePolicyCommand.ts +0 -94
  227. package/commands/DeleteRegistryPolicyCommand.ts +0 -94
  228. package/commands/DeleteRepositoryCommand.ts +0 -96
  229. package/commands/DeleteRepositoryPolicyCommand.ts +0 -94
  230. package/commands/DescribeImageReplicationStatusCommand.ts +0 -102
  231. package/commands/DescribeImageScanFindingsCommand.ts +0 -97
  232. package/commands/DescribeImagesCommand.ts +0 -100
  233. package/commands/DescribeRegistryCommand.ts +0 -96
  234. package/commands/DescribeRepositoriesCommand.ts +0 -94
  235. package/commands/GetAuthorizationTokenCommand.ts +0 -101
  236. package/commands/GetDownloadUrlForLayerCommand.ts +0 -101
  237. package/commands/GetLifecyclePolicyCommand.ts +0 -94
  238. package/commands/GetLifecyclePolicyPreviewCommand.ts +0 -98
  239. package/commands/GetRegistryPolicyCommand.ts +0 -94
  240. package/commands/GetRepositoryPolicyCommand.ts +0 -94
  241. package/commands/InitiateLayerUploadCommand.ts +0 -101
  242. package/commands/ListImagesCommand.ts +0 -100
  243. package/commands/ListTagsForResourceCommand.ts +0 -94
  244. package/commands/PutImageCommand.ts +0 -95
  245. package/commands/PutImageScanningConfigurationCommand.ts +0 -99
  246. package/commands/PutImageTagMutabilityCommand.ts +0 -96
  247. package/commands/PutLifecyclePolicyCommand.ts +0 -96
  248. package/commands/PutRegistryPolicyCommand.ts +0 -96
  249. package/commands/PutReplicationConfigurationCommand.ts +0 -109
  250. package/commands/SetRepositoryPolicyCommand.ts +0 -96
  251. package/commands/StartImageScanCommand.ts +0 -97
  252. package/commands/StartLifecyclePolicyPreviewCommand.ts +0 -100
  253. package/commands/TagResourceCommand.ts +0 -95
  254. package/commands/UntagResourceCommand.ts +0 -94
  255. package/commands/UploadLayerPartCommand.ts +0 -101
  256. package/dist/cjs/ECR.js.map +0 -1
  257. package/dist/cjs/ECRClient.js +0 -52
  258. package/dist/cjs/ECRClient.js.map +0 -1
  259. package/dist/cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  260. package/dist/cjs/commands/BatchDeleteImageCommand.js.map +0 -1
  261. package/dist/cjs/commands/BatchGetImageCommand.js.map +0 -1
  262. package/dist/cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
  263. package/dist/cjs/commands/CreateRepositoryCommand.js.map +0 -1
  264. package/dist/cjs/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
  265. package/dist/cjs/commands/DeleteRegistryPolicyCommand.js.map +0 -1
  266. package/dist/cjs/commands/DeleteRepositoryCommand.js.map +0 -1
  267. package/dist/cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  268. package/dist/cjs/commands/DescribeImageReplicationStatusCommand.js.map +0 -1
  269. package/dist/cjs/commands/DescribeImageScanFindingsCommand.js.map +0 -1
  270. package/dist/cjs/commands/DescribeImagesCommand.js.map +0 -1
  271. package/dist/cjs/commands/DescribeRegistryCommand.js.map +0 -1
  272. package/dist/cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
  273. package/dist/cjs/commands/GetAuthorizationTokenCommand.js +0 -68
  274. package/dist/cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
  275. package/dist/cjs/commands/GetDownloadUrlForLayerCommand.js.map +0 -1
  276. package/dist/cjs/commands/GetLifecyclePolicyCommand.js.map +0 -1
  277. package/dist/cjs/commands/GetLifecyclePolicyPreviewCommand.js.map +0 -1
  278. package/dist/cjs/commands/GetRegistryPolicyCommand.js.map +0 -1
  279. package/dist/cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
  280. package/dist/cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
  281. package/dist/cjs/commands/ListImagesCommand.js.map +0 -1
  282. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  283. package/dist/cjs/commands/PutImageCommand.js.map +0 -1
  284. package/dist/cjs/commands/PutImageScanningConfigurationCommand.js.map +0 -1
  285. package/dist/cjs/commands/PutImageTagMutabilityCommand.js.map +0 -1
  286. package/dist/cjs/commands/PutLifecyclePolicyCommand.js.map +0 -1
  287. package/dist/cjs/commands/PutRegistryPolicyCommand.js.map +0 -1
  288. package/dist/cjs/commands/PutReplicationConfigurationCommand.js +0 -71
  289. package/dist/cjs/commands/PutReplicationConfigurationCommand.js.map +0 -1
  290. package/dist/cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
  291. package/dist/cjs/commands/StartImageScanCommand.js.map +0 -1
  292. package/dist/cjs/commands/StartLifecyclePolicyPreviewCommand.js.map +0 -1
  293. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  294. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  295. package/dist/cjs/commands/UploadLayerPartCommand.js.map +0 -1
  296. package/dist/cjs/endpoints.js.map +0 -1
  297. package/dist/cjs/index.js.map +0 -1
  298. package/dist/cjs/models/index.js.map +0 -1
  299. package/dist/cjs/models/models_0.js.map +0 -1
  300. package/dist/cjs/package.json +0 -92
  301. package/dist/cjs/pagination/DescribeImageScanFindingsPaginator.js.map +0 -1
  302. package/dist/cjs/pagination/DescribeImagesPaginator.js.map +0 -1
  303. package/dist/cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  304. package/dist/cjs/pagination/GetLifecyclePolicyPreviewPaginator.js.map +0 -1
  305. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  306. package/dist/cjs/pagination/ListImagesPaginator.js.map +0 -1
  307. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  308. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  309. package/dist/cjs/runtimeConfig.js.map +0 -1
  310. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  311. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  312. package/dist/cjs/waiters/waitForImageScanComplete.js.map +0 -1
  313. package/dist/cjs/waiters/waitForLifecyclePolicyPreviewComplete.js.map +0 -1
  314. package/dist/es/ECR.js.map +0 -1
  315. package/dist/es/ECRClient.js.map +0 -1
  316. package/dist/es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  317. package/dist/es/commands/BatchDeleteImageCommand.js.map +0 -1
  318. package/dist/es/commands/BatchGetImageCommand.js.map +0 -1
  319. package/dist/es/commands/CompleteLayerUploadCommand.js.map +0 -1
  320. package/dist/es/commands/CreateRepositoryCommand.js.map +0 -1
  321. package/dist/es/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
  322. package/dist/es/commands/DeleteRegistryPolicyCommand.js.map +0 -1
  323. package/dist/es/commands/DeleteRepositoryCommand.js.map +0 -1
  324. package/dist/es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  325. package/dist/es/commands/DescribeImageReplicationStatusCommand.js.map +0 -1
  326. package/dist/es/commands/DescribeImageScanFindingsCommand.js.map +0 -1
  327. package/dist/es/commands/DescribeImagesCommand.js.map +0 -1
  328. package/dist/es/commands/DescribeRegistryCommand.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/GetDownloadUrlForLayerCommand.js.map +0 -1
  332. package/dist/es/commands/GetLifecyclePolicyCommand.js.map +0 -1
  333. package/dist/es/commands/GetLifecyclePolicyPreviewCommand.js.map +0 -1
  334. package/dist/es/commands/GetRegistryPolicyCommand.js.map +0 -1
  335. package/dist/es/commands/GetRepositoryPolicyCommand.js.map +0 -1
  336. package/dist/es/commands/InitiateLayerUploadCommand.js.map +0 -1
  337. package/dist/es/commands/ListImagesCommand.js.map +0 -1
  338. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  339. package/dist/es/commands/PutImageCommand.js.map +0 -1
  340. package/dist/es/commands/PutImageScanningConfigurationCommand.js.map +0 -1
  341. package/dist/es/commands/PutImageTagMutabilityCommand.js.map +0 -1
  342. package/dist/es/commands/PutLifecyclePolicyCommand.js.map +0 -1
  343. package/dist/es/commands/PutRegistryPolicyCommand.js.map +0 -1
  344. package/dist/es/commands/PutReplicationConfigurationCommand.js.map +0 -1
  345. package/dist/es/commands/SetRepositoryPolicyCommand.js.map +0 -1
  346. package/dist/es/commands/StartImageScanCommand.js.map +0 -1
  347. package/dist/es/commands/StartLifecyclePolicyPreviewCommand.js.map +0 -1
  348. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  349. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  350. package/dist/es/commands/UploadLayerPartCommand.js.map +0 -1
  351. package/dist/es/endpoints.js.map +0 -1
  352. package/dist/es/index.js +0 -47
  353. package/dist/es/index.js.map +0 -1
  354. package/dist/es/models/index.js +0 -2
  355. package/dist/es/models/index.js.map +0 -1
  356. package/dist/es/models/models_0.js.map +0 -1
  357. package/dist/es/package.json +0 -92
  358. package/dist/es/pagination/DescribeImageScanFindingsPaginator.js.map +0 -1
  359. package/dist/es/pagination/DescribeImagesPaginator.js.map +0 -1
  360. package/dist/es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  361. package/dist/es/pagination/GetLifecyclePolicyPreviewPaginator.js.map +0 -1
  362. package/dist/es/pagination/Interfaces.js +0 -2
  363. package/dist/es/pagination/Interfaces.js.map +0 -1
  364. package/dist/es/pagination/ListImagesPaginator.js.map +0 -1
  365. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  366. package/dist/es/runtimeConfig.browser.js.map +0 -1
  367. package/dist/es/runtimeConfig.js.map +0 -1
  368. package/dist/es/runtimeConfig.native.js.map +0 -1
  369. package/dist/es/runtimeConfig.shared.js.map +0 -1
  370. package/dist/es/waiters/waitForImageScanComplete.js.map +0 -1
  371. package/dist/es/waiters/waitForLifecyclePolicyPreviewComplete.js.map +0 -1
  372. package/dist/types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +0 -42
  373. package/dist/types/ts3.4/commands/BatchDeleteImageCommand.d.ts +0 -40
  374. package/dist/types/ts3.4/commands/BatchGetImageCommand.d.ts +0 -38
  375. package/dist/types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +0 -43
  376. package/dist/types/ts3.4/commands/CreateRepositoryCommand.d.ts +0 -36
  377. package/dist/types/ts3.4/commands/DeleteRepositoryCommand.d.ts +0 -37
  378. package/dist/types/ts3.4/commands/DescribeImagesCommand.d.ts +0 -41
  379. package/dist/types/ts3.4/commands/DescribeRegistryCommand.d.ts +0 -37
  380. package/dist/types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +0 -42
  381. package/dist/types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +0 -42
  382. package/dist/types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +0 -42
  383. package/dist/types/ts3.4/commands/ListImagesCommand.d.ts +0 -41
  384. package/dist/types/ts3.4/commands/PutImageCommand.d.ts +0 -43
  385. package/dist/types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +0 -37
  386. package/dist/types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +0 -37
  387. package/dist/types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +0 -37
  388. package/dist/types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +0 -45
  389. package/dist/types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +0 -37
  390. package/dist/types/ts3.4/commands/StartImageScanCommand.d.ts +0 -38
  391. package/dist/types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +0 -36
  392. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
  393. package/dist/types/ts3.4/commands/UploadLayerPartCommand.d.ts +0 -42
  394. package/dist/types/ts3.4/models/models_0.d.ts +0 -2779
  395. package/endpoints.ts +0 -229
  396. package/jest.config.js +0 -4
  397. package/models/models_0.ts +0 -3463
  398. package/pagination/DescribeImageScanFindingsPaginator.ts +0 -58
  399. package/pagination/DescribeImagesPaginator.ts +0 -58
  400. package/pagination/DescribeRepositoriesPaginator.ts +0 -58
  401. package/pagination/GetLifecyclePolicyPreviewPaginator.ts +0 -58
  402. package/pagination/Interfaces.ts +0 -7
  403. package/pagination/ListImagesPaginator.ts +0 -54
  404. package/protocols/Aws_json1_1.ts +0 -5862
  405. package/runtimeConfig.browser.ts +0 -40
  406. package/runtimeConfig.native.ts +0 -16
  407. package/runtimeConfig.shared.ts +0 -16
  408. package/runtimeConfig.ts +0 -45
  409. package/tsconfig.es.json +0 -10
  410. package/tsconfig.json +0 -31
  411. package/tsconfig.types.json +0 -8
  412. package/waiters/waitForImageScanComplete.ts +0 -57
  413. package/waiters/waitForLifecyclePolicyPreviewComplete.ts +0 -57
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
34
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
35
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ECR = void 0;
4
- const ECRClient_1 = require("./ECRClient");
5
4
  const BatchCheckLayerAvailabilityCommand_1 = require("./commands/BatchCheckLayerAvailabilityCommand");
6
5
  const BatchDeleteImageCommand_1 = require("./commands/BatchDeleteImageCommand");
7
6
  const BatchGetImageCommand_1 = require("./commands/BatchGetImageCommand");
@@ -37,17 +36,7 @@ const StartLifecyclePolicyPreviewCommand_1 = require("./commands/StartLifecycleP
37
36
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
38
37
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
39
38
  const UploadLayerPartCommand_1 = require("./commands/UploadLayerPartCommand");
40
- /**
41
- * <fullname>Amazon Elastic Container Registry</fullname>
42
- * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
43
- * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
44
- * provides a secure, scalable, and reliable registry for your Docker or Open Container
45
- * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
46
- * permissions using IAM so that specific users or Amazon EC2 instances can access
47
- * repositories and images.</p>
48
- * <p>Amazon ECR has service endpoints in each supported Region. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/ecr.html">Amazon ECR endpoints</a> in the
49
- * <i>Amazon Web Services General Reference</i>.</p>
50
- */
39
+ const ECRClient_1 = require("./ECRClient");
51
40
  class ECR extends ECRClient_1.ECRClient {
52
41
  batchCheckLayerAvailability(args, optionsOrCb, cb) {
53
42
  const command = new BatchCheckLayerAvailabilityCommand_1.BatchCheckLayerAvailabilityCommand(args);
@@ -541,4 +530,3 @@ class ECR extends ECRClient_1.ECRClient {
541
530
  }
542
531
  }
543
532
  exports.ECR = ECR;
544
- //# sourceMappingURL=ECR.js.map
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECRClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class ECRClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.ECRClient = ECRClient;
@@ -1,46 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BatchCheckLayerAvailabilityCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Checks the availability of one or more image layers in a repository.</p>
10
- * <p>When an image is pushed to a repository, each image layer is checked to verify if it
11
- * has been uploaded before. If it has been uploaded, then the image layer is
12
- * skipped.</p>
13
- * <note>
14
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by
15
- * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ECRClient, BatchCheckLayerAvailabilityCommand } from "@aws-sdk/client-ecr"; // ES Modules import
21
- * // const { ECRClient, BatchCheckLayerAvailabilityCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
22
- * const client = new ECRClient(config);
23
- * const command = new BatchCheckLayerAvailabilityCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link BatchCheckLayerAvailabilityCommandInput} for command's `input` shape.
28
- * @see {@link BatchCheckLayerAvailabilityCommandOutput} for command's `response` shape.
29
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
32
8
  class BatchCheckLayerAvailabilityCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +34,3 @@ class BatchCheckLayerAvailabilityCommand extends smithy_client_1.Command {
65
34
  }
66
35
  }
67
36
  exports.BatchCheckLayerAvailabilityCommand = BatchCheckLayerAvailabilityCommand;
68
- //# sourceMappingURL=BatchCheckLayerAvailabilityCommand.js.map
@@ -1,44 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BatchDeleteImageCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes a list of specified images within a repository. Images are specified with
10
- * either an <code>imageTag</code> or <code>imageDigest</code>.</p>
11
- * <p>You can remove a tag from an image by specifying the image's tag in your request. When
12
- * you remove the last tag from an image, the image is deleted from your repository.</p>
13
- * <p>You can completely delete an image (and all of its tags) by specifying the image's
14
- * digest in your request.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ECRClient, BatchDeleteImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
19
- * // const { ECRClient, BatchDeleteImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
20
- * const client = new ECRClient(config);
21
- * const command = new BatchDeleteImageCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link BatchDeleteImageCommandInput} for command's `input` shape.
26
- * @see {@link BatchDeleteImageCommandOutput} for command's `response` shape.
27
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
30
8
  class BatchDeleteImageCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +34,3 @@ class BatchDeleteImageCommand extends smithy_client_1.Command {
63
34
  }
64
35
  }
65
36
  exports.BatchDeleteImageCommand = BatchDeleteImageCommand;
66
- //# sourceMappingURL=BatchDeleteImageCommand.js.map
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BatchGetImageCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Gets detailed information for an image. Images are specified with either an
10
- * <code>imageTag</code> or <code>imageDigest</code>.</p>
11
- * <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
12
- * manifest.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECRClient, BatchGetImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
17
- * // const { ECRClient, BatchGetImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
18
- * const client = new ECRClient(config);
19
- * const command = new BatchGetImageCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link BatchGetImageCommandInput} for command's `input` shape.
24
- * @see {@link BatchGetImageCommandOutput} for command's `response` shape.
25
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
28
8
  class BatchGetImageCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class BatchGetImageCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.BatchGetImageCommand = BatchGetImageCommand;
64
- //# sourceMappingURL=BatchGetImageCommand.js.map
@@ -1,47 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CompleteLayerUploadCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
10
- * repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
11
- * of the image layer for data validation purposes.</p>
12
- * <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
13
- * layer to verify that the upload has completed.</p>
14
- * <note>
15
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by
16
- * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
17
- * </note>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { ECRClient, CompleteLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
22
- * // const { ECRClient, CompleteLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
23
- * const client = new ECRClient(config);
24
- * const command = new CompleteLayerUploadCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link CompleteLayerUploadCommandInput} for command's `input` shape.
29
- * @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
30
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
33
8
  class CompleteLayerUploadCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +34,3 @@ class CompleteLayerUploadCommand extends smithy_client_1.Command {
66
34
  }
67
35
  }
68
36
  exports.CompleteLayerUploadCommand = CompleteLayerUploadCommand;
69
- //# sourceMappingURL=CompleteLayerUploadCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateRepositoryCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the
10
- * <i>Amazon Elastic Container Registry User Guide</i>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, CreateRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, CreateRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new CreateRepositoryCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateRepositoryCommandInput} for command's `input` shape.
22
- * @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
26
8
  class CreateRepositoryCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class CreateRepositoryCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.CreateRepositoryCommand = CreateRepositoryCommand;
62
- //# sourceMappingURL=CreateRepositoryCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteLifecyclePolicyCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes the lifecycle policy associated with the specified repository.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ECRClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
14
- * // const { ECRClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
15
- * const client = new ECRClient(config);
16
- * const command = new DeleteLifecyclePolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteLifecyclePolicyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
22
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
61
- //# sourceMappingURL=DeleteLifecyclePolicyCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteRegistryPolicyCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes the registry permissions policy.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ECRClient, DeleteRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
14
- * // const { ECRClient, DeleteRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
15
- * const client = new ECRClient(config);
16
- * const command = new DeleteRegistryPolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteRegistryPolicyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteRegistryPolicyCommandOutput} for command's `response` shape.
22
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DeleteRegistryPolicyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteRegistryPolicyCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteRegistryPolicyCommand = DeleteRegistryPolicyCommand;
61
- //# sourceMappingURL=DeleteRegistryPolicyCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteRepositoryCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes a repository. If the repository contains images, you must either delete all
10
- * images in the repository or use the <code>force</code> option to delete the
11
- * repository.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ECRClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
16
- * // const { ECRClient, DeleteRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
17
- * const client = new ECRClient(config);
18
- * const command = new DeleteRepositoryCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
23
- * @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
24
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
27
8
  class DeleteRepositoryCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteRepositoryCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteRepositoryCommand = DeleteRepositoryCommand;
63
- //# sourceMappingURL=DeleteRepositoryCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteRepositoryPolicyCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Deletes the repository policy associated with the specified repository.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ECRClient, DeleteRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
14
- * // const { ECRClient, DeleteRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
15
- * const client = new ECRClient(config);
16
- * const command = new DeleteRepositoryPolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteRepositoryPolicyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteRepositoryPolicyCommandOutput} for command's `response` shape.
22
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DeleteRepositoryPolicyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DeleteRepositoryPolicyCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteRepositoryPolicyCommand = DeleteRepositoryPolicyCommand;
61
- //# sourceMappingURL=DeleteRepositoryPolicyCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeImageReplicationStatusCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns the replication status for a specified image.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ECRClient, DescribeImageReplicationStatusCommand } from "@aws-sdk/client-ecr"; // ES Modules import
14
- * // const { ECRClient, DescribeImageReplicationStatusCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
15
- * const client = new ECRClient(config);
16
- * const command = new DescribeImageReplicationStatusCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeImageReplicationStatusCommandInput} for command's `input` shape.
21
- * @see {@link DescribeImageReplicationStatusCommandOutput} for command's `response` shape.
22
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
25
8
  class DescribeImageReplicationStatusCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeImageReplicationStatusCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeImageReplicationStatusCommand = DescribeImageReplicationStatusCommand;
61
- //# sourceMappingURL=DescribeImageReplicationStatusCommand.js.map