@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/ECRClient.ts DELETED
@@ -1,405 +0,0 @@
1
- import {
2
- BatchCheckLayerAvailabilityCommandInput,
3
- BatchCheckLayerAvailabilityCommandOutput,
4
- } from "./commands/BatchCheckLayerAvailabilityCommand";
5
- import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
6
- import { BatchGetImageCommandInput, BatchGetImageCommandOutput } from "./commands/BatchGetImageCommand";
7
- import {
8
- CompleteLayerUploadCommandInput,
9
- CompleteLayerUploadCommandOutput,
10
- } from "./commands/CompleteLayerUploadCommand";
11
- import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
12
- import {
13
- DeleteLifecyclePolicyCommandInput,
14
- DeleteLifecyclePolicyCommandOutput,
15
- } from "./commands/DeleteLifecyclePolicyCommand";
16
- import {
17
- DeleteRegistryPolicyCommandInput,
18
- DeleteRegistryPolicyCommandOutput,
19
- } from "./commands/DeleteRegistryPolicyCommand";
20
- import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
21
- import {
22
- DeleteRepositoryPolicyCommandInput,
23
- DeleteRepositoryPolicyCommandOutput,
24
- } from "./commands/DeleteRepositoryPolicyCommand";
25
- import {
26
- DescribeImageReplicationStatusCommandInput,
27
- DescribeImageReplicationStatusCommandOutput,
28
- } from "./commands/DescribeImageReplicationStatusCommand";
29
- import {
30
- DescribeImageScanFindingsCommandInput,
31
- DescribeImageScanFindingsCommandOutput,
32
- } from "./commands/DescribeImageScanFindingsCommand";
33
- import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
34
- import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
35
- import {
36
- DescribeRepositoriesCommandInput,
37
- DescribeRepositoriesCommandOutput,
38
- } from "./commands/DescribeRepositoriesCommand";
39
- import {
40
- GetAuthorizationTokenCommandInput,
41
- GetAuthorizationTokenCommandOutput,
42
- } from "./commands/GetAuthorizationTokenCommand";
43
- import {
44
- GetDownloadUrlForLayerCommandInput,
45
- GetDownloadUrlForLayerCommandOutput,
46
- } from "./commands/GetDownloadUrlForLayerCommand";
47
- import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
48
- import {
49
- GetLifecyclePolicyPreviewCommandInput,
50
- GetLifecyclePolicyPreviewCommandOutput,
51
- } from "./commands/GetLifecyclePolicyPreviewCommand";
52
- import { GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput } from "./commands/GetRegistryPolicyCommand";
53
- import {
54
- GetRepositoryPolicyCommandInput,
55
- GetRepositoryPolicyCommandOutput,
56
- } from "./commands/GetRepositoryPolicyCommand";
57
- import {
58
- InitiateLayerUploadCommandInput,
59
- InitiateLayerUploadCommandOutput,
60
- } from "./commands/InitiateLayerUploadCommand";
61
- import { ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
62
- import {
63
- ListTagsForResourceCommandInput,
64
- ListTagsForResourceCommandOutput,
65
- } from "./commands/ListTagsForResourceCommand";
66
- import { PutImageCommandInput, PutImageCommandOutput } from "./commands/PutImageCommand";
67
- import {
68
- PutImageScanningConfigurationCommandInput,
69
- PutImageScanningConfigurationCommandOutput,
70
- } from "./commands/PutImageScanningConfigurationCommand";
71
- import {
72
- PutImageTagMutabilityCommandInput,
73
- PutImageTagMutabilityCommandOutput,
74
- } from "./commands/PutImageTagMutabilityCommand";
75
- import { PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput } from "./commands/PutLifecyclePolicyCommand";
76
- import { PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput } from "./commands/PutRegistryPolicyCommand";
77
- import {
78
- PutReplicationConfigurationCommandInput,
79
- PutReplicationConfigurationCommandOutput,
80
- } from "./commands/PutReplicationConfigurationCommand";
81
- import {
82
- SetRepositoryPolicyCommandInput,
83
- SetRepositoryPolicyCommandOutput,
84
- } from "./commands/SetRepositoryPolicyCommand";
85
- import { StartImageScanCommandInput, StartImageScanCommandOutput } from "./commands/StartImageScanCommand";
86
- import {
87
- StartLifecyclePolicyPreviewCommandInput,
88
- StartLifecyclePolicyPreviewCommandOutput,
89
- } from "./commands/StartLifecyclePolicyPreviewCommand";
90
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
91
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
92
- import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
93
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
94
- import {
95
- EndpointsInputConfig,
96
- EndpointsResolvedConfig,
97
- RegionInputConfig,
98
- RegionResolvedConfig,
99
- resolveEndpointsConfig,
100
- resolveRegionConfig,
101
- } from "@aws-sdk/config-resolver";
102
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
103
- import {
104
- HostHeaderInputConfig,
105
- HostHeaderResolvedConfig,
106
- getHostHeaderPlugin,
107
- resolveHostHeaderConfig,
108
- } from "@aws-sdk/middleware-host-header";
109
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
110
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
111
- import {
112
- AwsAuthInputConfig,
113
- AwsAuthResolvedConfig,
114
- getAwsAuthPlugin,
115
- resolveAwsAuthConfig,
116
- } from "@aws-sdk/middleware-signing";
117
- import {
118
- UserAgentInputConfig,
119
- UserAgentResolvedConfig,
120
- getUserAgentPlugin,
121
- resolveUserAgentConfig,
122
- } from "@aws-sdk/middleware-user-agent";
123
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
124
- import {
125
- Client as __Client,
126
- SmithyConfiguration as __SmithyConfiguration,
127
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
128
- } from "@aws-sdk/smithy-client";
129
- import {
130
- Provider,
131
- RegionInfoProvider,
132
- Credentials as __Credentials,
133
- Decoder as __Decoder,
134
- Encoder as __Encoder,
135
- Hash as __Hash,
136
- HashConstructor as __HashConstructor,
137
- HttpHandlerOptions as __HttpHandlerOptions,
138
- Logger as __Logger,
139
- Provider as __Provider,
140
- StreamCollector as __StreamCollector,
141
- UrlParser as __UrlParser,
142
- UserAgent as __UserAgent,
143
- } from "@aws-sdk/types";
144
-
145
- export type ServiceInputTypes =
146
- | BatchCheckLayerAvailabilityCommandInput
147
- | BatchDeleteImageCommandInput
148
- | BatchGetImageCommandInput
149
- | CompleteLayerUploadCommandInput
150
- | CreateRepositoryCommandInput
151
- | DeleteLifecyclePolicyCommandInput
152
- | DeleteRegistryPolicyCommandInput
153
- | DeleteRepositoryCommandInput
154
- | DeleteRepositoryPolicyCommandInput
155
- | DescribeImageReplicationStatusCommandInput
156
- | DescribeImageScanFindingsCommandInput
157
- | DescribeImagesCommandInput
158
- | DescribeRegistryCommandInput
159
- | DescribeRepositoriesCommandInput
160
- | GetAuthorizationTokenCommandInput
161
- | GetDownloadUrlForLayerCommandInput
162
- | GetLifecyclePolicyCommandInput
163
- | GetLifecyclePolicyPreviewCommandInput
164
- | GetRegistryPolicyCommandInput
165
- | GetRepositoryPolicyCommandInput
166
- | InitiateLayerUploadCommandInput
167
- | ListImagesCommandInput
168
- | ListTagsForResourceCommandInput
169
- | PutImageCommandInput
170
- | PutImageScanningConfigurationCommandInput
171
- | PutImageTagMutabilityCommandInput
172
- | PutLifecyclePolicyCommandInput
173
- | PutRegistryPolicyCommandInput
174
- | PutReplicationConfigurationCommandInput
175
- | SetRepositoryPolicyCommandInput
176
- | StartImageScanCommandInput
177
- | StartLifecyclePolicyPreviewCommandInput
178
- | TagResourceCommandInput
179
- | UntagResourceCommandInput
180
- | UploadLayerPartCommandInput;
181
-
182
- export type ServiceOutputTypes =
183
- | BatchCheckLayerAvailabilityCommandOutput
184
- | BatchDeleteImageCommandOutput
185
- | BatchGetImageCommandOutput
186
- | CompleteLayerUploadCommandOutput
187
- | CreateRepositoryCommandOutput
188
- | DeleteLifecyclePolicyCommandOutput
189
- | DeleteRegistryPolicyCommandOutput
190
- | DeleteRepositoryCommandOutput
191
- | DeleteRepositoryPolicyCommandOutput
192
- | DescribeImageReplicationStatusCommandOutput
193
- | DescribeImageScanFindingsCommandOutput
194
- | DescribeImagesCommandOutput
195
- | DescribeRegistryCommandOutput
196
- | DescribeRepositoriesCommandOutput
197
- | GetAuthorizationTokenCommandOutput
198
- | GetDownloadUrlForLayerCommandOutput
199
- | GetLifecyclePolicyCommandOutput
200
- | GetLifecyclePolicyPreviewCommandOutput
201
- | GetRegistryPolicyCommandOutput
202
- | GetRepositoryPolicyCommandOutput
203
- | InitiateLayerUploadCommandOutput
204
- | ListImagesCommandOutput
205
- | ListTagsForResourceCommandOutput
206
- | PutImageCommandOutput
207
- | PutImageScanningConfigurationCommandOutput
208
- | PutImageTagMutabilityCommandOutput
209
- | PutLifecyclePolicyCommandOutput
210
- | PutRegistryPolicyCommandOutput
211
- | PutReplicationConfigurationCommandOutput
212
- | SetRepositoryPolicyCommandOutput
213
- | StartImageScanCommandOutput
214
- | StartLifecyclePolicyPreviewCommandOutput
215
- | TagResourceCommandOutput
216
- | UntagResourceCommandOutput
217
- | UploadLayerPartCommandOutput;
218
-
219
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
220
- /**
221
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
222
- */
223
- requestHandler?: __HttpHandler;
224
-
225
- /**
226
- * A constructor for a class implementing the {@link __Hash} interface
227
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
228
- * @internal
229
- */
230
- sha256?: __HashConstructor;
231
-
232
- /**
233
- * The function that will be used to convert strings into HTTP endpoints.
234
- * @internal
235
- */
236
- urlParser?: __UrlParser;
237
-
238
- /**
239
- * A function that can calculate the length of a request body.
240
- * @internal
241
- */
242
- bodyLengthChecker?: (body: any) => number | undefined;
243
-
244
- /**
245
- * A function that converts a stream into an array of bytes.
246
- * @internal
247
- */
248
- streamCollector?: __StreamCollector;
249
-
250
- /**
251
- * The function that will be used to convert a base64-encoded string to a byte array.
252
- * @internal
253
- */
254
- base64Decoder?: __Decoder;
255
-
256
- /**
257
- * The function that will be used to convert binary data to a base64-encoded string.
258
- * @internal
259
- */
260
- base64Encoder?: __Encoder;
261
-
262
- /**
263
- * The function that will be used to convert a UTF8-encoded string to a byte array.
264
- * @internal
265
- */
266
- utf8Decoder?: __Decoder;
267
-
268
- /**
269
- * The function that will be used to convert binary data to a UTF-8 encoded string.
270
- * @internal
271
- */
272
- utf8Encoder?: __Encoder;
273
-
274
- /**
275
- * The runtime environment.
276
- * @internal
277
- */
278
- runtime?: string;
279
-
280
- /**
281
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
282
- * trait of an operation.
283
- */
284
- disableHostPrefix?: boolean;
285
-
286
- /**
287
- * Value for how many times a request will be made at most in case of retry.
288
- */
289
- maxAttempts?: number | __Provider<number>;
290
-
291
- /**
292
- * Specifies which retry algorithm to use.
293
- */
294
- retryMode?: string | __Provider<string>;
295
-
296
- /**
297
- * Optional logger for logging debug/info/warn/error.
298
- */
299
- logger?: __Logger;
300
-
301
- /**
302
- * Unique service identifier.
303
- * @internal
304
- */
305
- serviceId?: string;
306
-
307
- /**
308
- * The AWS region to which this client will send requests
309
- */
310
- region?: string | __Provider<string>;
311
-
312
- /**
313
- * Default credentials provider; Not available in browser runtime.
314
- * @internal
315
- */
316
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
317
-
318
- /**
319
- * Fetch related hostname, signing name or signing region with given region.
320
- * @internal
321
- */
322
- regionInfoProvider?: RegionInfoProvider;
323
-
324
- /**
325
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
326
- * @internal
327
- */
328
- defaultUserAgentProvider?: Provider<__UserAgent>;
329
- }
330
-
331
- type ECRClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
332
- ClientDefaults &
333
- RegionInputConfig &
334
- EndpointsInputConfig &
335
- RetryInputConfig &
336
- HostHeaderInputConfig &
337
- AwsAuthInputConfig &
338
- UserAgentInputConfig;
339
- /**
340
- * The configuration interface of ECRClient class constructor that set the region, credentials and other options.
341
- */
342
- export interface ECRClientConfig extends ECRClientConfigType {}
343
-
344
- type ECRClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
345
- Required<ClientDefaults> &
346
- RegionResolvedConfig &
347
- EndpointsResolvedConfig &
348
- RetryResolvedConfig &
349
- HostHeaderResolvedConfig &
350
- AwsAuthResolvedConfig &
351
- UserAgentResolvedConfig;
352
- /**
353
- * The resolved configuration interface of ECRClient class. This is resolved and normalized from the {@link ECRClientConfig | constructor configuration interface}.
354
- */
355
- export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {}
356
-
357
- /**
358
- * <fullname>Amazon Elastic Container Registry</fullname>
359
- * <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
360
- * familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
361
- * provides a secure, scalable, and reliable registry for your Docker or Open Container
362
- * Initiative (OCI) images. Amazon ECR supports private repositories with resource-based
363
- * permissions using IAM so that specific users or Amazon EC2 instances can access
364
- * repositories and images.</p>
365
- * <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
366
- * <i>Amazon Web Services General Reference</i>.</p>
367
- */
368
- export class ECRClient extends __Client<
369
- __HttpHandlerOptions,
370
- ServiceInputTypes,
371
- ServiceOutputTypes,
372
- ECRClientResolvedConfig
373
- > {
374
- /**
375
- * The resolved configuration of ECRClient class. This is resolved and normalized from the {@link ECRClientConfig | constructor configuration interface}.
376
- */
377
- readonly config: ECRClientResolvedConfig;
378
-
379
- constructor(configuration: ECRClientConfig) {
380
- let _config_0 = __getRuntimeConfig(configuration);
381
- let _config_1 = resolveRegionConfig(_config_0);
382
- let _config_2 = resolveEndpointsConfig(_config_1);
383
- let _config_3 = resolveRetryConfig(_config_2);
384
- let _config_4 = resolveHostHeaderConfig(_config_3);
385
- let _config_5 = resolveAwsAuthConfig(_config_4);
386
- let _config_6 = resolveUserAgentConfig(_config_5);
387
- super(_config_6);
388
- this.config = _config_6;
389
- this.middlewareStack.use(getRetryPlugin(this.config));
390
- this.middlewareStack.use(getContentLengthPlugin(this.config));
391
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
392
- this.middlewareStack.use(getLoggerPlugin(this.config));
393
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
394
- this.middlewareStack.use(getUserAgentPlugin(this.config));
395
- }
396
-
397
- /**
398
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
399
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
400
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
401
- */
402
- destroy(): void {
403
- super.destroy();
404
- }
405
- }
@@ -1,106 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { BatchCheckLayerAvailabilityRequest, BatchCheckLayerAvailabilityResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1BatchCheckLayerAvailabilityCommand,
5
- serializeAws_json1_1BatchCheckLayerAvailabilityCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface BatchCheckLayerAvailabilityCommandInput extends BatchCheckLayerAvailabilityRequest {}
21
- export interface BatchCheckLayerAvailabilityCommandOutput
22
- extends BatchCheckLayerAvailabilityResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Checks the availability of one or more image layers in a repository.</p>
27
- * <p>When an image is pushed to a repository, each image layer is checked to verify if it
28
- * has been uploaded before. If it has been uploaded, then the image layer is
29
- * skipped.</p>
30
- * <note>
31
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by
32
- * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
33
- * </note>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { ECRClient, BatchCheckLayerAvailabilityCommand } from "@aws-sdk/client-ecr"; // ES Modules import
38
- * // const { ECRClient, BatchCheckLayerAvailabilityCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
39
- * const client = new ECRClient(config);
40
- * const command = new BatchCheckLayerAvailabilityCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link BatchCheckLayerAvailabilityCommandInput} for command's `input` shape.
45
- * @see {@link BatchCheckLayerAvailabilityCommandOutput} for command's `response` shape.
46
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class BatchCheckLayerAvailabilityCommand extends $Command<
50
- BatchCheckLayerAvailabilityCommandInput,
51
- BatchCheckLayerAvailabilityCommandOutput,
52
- ECRClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: BatchCheckLayerAvailabilityCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: ECRClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "ECRClient";
77
- const commandName = "BatchCheckLayerAvailabilityCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: BatchCheckLayerAvailabilityRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: BatchCheckLayerAvailabilityResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: BatchCheckLayerAvailabilityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1BatchCheckLayerAvailabilityCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<BatchCheckLayerAvailabilityCommandOutput> {
101
- return deserializeAws_json1_1BatchCheckLayerAvailabilityCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,99 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { BatchDeleteImageRequest, BatchDeleteImageResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1BatchDeleteImageCommand,
5
- serializeAws_json1_1BatchDeleteImageCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface BatchDeleteImageCommandInput extends BatchDeleteImageRequest {}
21
- export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a list of specified images within a repository. Images are specified with
25
- * either an <code>imageTag</code> or <code>imageDigest</code>.</p>
26
- * <p>You can remove a tag from an image by specifying the image's tag in your request. When
27
- * you remove the last tag from an image, the image is deleted from your repository.</p>
28
- * <p>You can completely delete an image (and all of its tags) by specifying the image's
29
- * digest in your request.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { ECRClient, BatchDeleteImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
34
- * // const { ECRClient, BatchDeleteImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
35
- * const client = new ECRClient(config);
36
- * const command = new BatchDeleteImageCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link BatchDeleteImageCommandInput} for command's `input` shape.
41
- * @see {@link BatchDeleteImageCommandOutput} for command's `response` shape.
42
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class BatchDeleteImageCommand extends $Command<
46
- BatchDeleteImageCommandInput,
47
- BatchDeleteImageCommandOutput,
48
- ECRClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: BatchDeleteImageCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: ECRClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "ECRClient";
73
- const commandName = "BatchDeleteImageCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: BatchDeleteImageRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: BatchDeleteImageResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: BatchDeleteImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1BatchDeleteImageCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchDeleteImageCommandOutput> {
94
- return deserializeAws_json1_1BatchDeleteImageCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }