@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
@@ -1,2779 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- export interface BatchCheckLayerAvailabilityRequest {
3
- /**
4
- * <p>The Amazon Web Services account ID associated with the registry that contains the image layers to
5
- * check. If you do not specify a registry, the default registry is assumed.</p>
6
- */
7
- registryId?: string;
8
- /**
9
- * <p>The name of the repository that is associated with the image layers to check.</p>
10
- */
11
- repositoryName: string | undefined;
12
- /**
13
- * <p>The digests of the image layers to check.</p>
14
- */
15
- layerDigests: string[] | undefined;
16
- }
17
- export declare namespace BatchCheckLayerAvailabilityRequest {
18
- /**
19
- * @internal
20
- */
21
- const filterSensitiveLog: (obj: BatchCheckLayerAvailabilityRequest) => any;
22
- }
23
- export declare enum LayerFailureCode {
24
- InvalidLayerDigest = "InvalidLayerDigest",
25
- MissingLayerDigest = "MissingLayerDigest"
26
- }
27
- /**
28
- * <p>An object representing an Amazon ECR image layer failure.</p>
29
- */
30
- export interface LayerFailure {
31
- /**
32
- * <p>The layer digest associated with the failure.</p>
33
- */
34
- layerDigest?: string;
35
- /**
36
- * <p>The failure code associated with the failure.</p>
37
- */
38
- failureCode?: LayerFailureCode | string;
39
- /**
40
- * <p>The reason for the failure.</p>
41
- */
42
- failureReason?: string;
43
- }
44
- export declare namespace LayerFailure {
45
- /**
46
- * @internal
47
- */
48
- const filterSensitiveLog: (obj: LayerFailure) => any;
49
- }
50
- export declare enum LayerAvailability {
51
- AVAILABLE = "AVAILABLE",
52
- UNAVAILABLE = "UNAVAILABLE"
53
- }
54
- /**
55
- * <p>An object representing an Amazon ECR image layer.</p>
56
- */
57
- export interface Layer {
58
- /**
59
- * <p>The <code>sha256</code> digest of the image layer.</p>
60
- */
61
- layerDigest?: string;
62
- /**
63
- * <p>The availability status of the image layer.</p>
64
- */
65
- layerAvailability?: LayerAvailability | string;
66
- /**
67
- * <p>The size, in bytes, of the image layer.</p>
68
- */
69
- layerSize?: number;
70
- /**
71
- * <p>The media type of the layer, such as
72
- * <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or
73
- * <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>
74
- */
75
- mediaType?: string;
76
- }
77
- export declare namespace Layer {
78
- /**
79
- * @internal
80
- */
81
- const filterSensitiveLog: (obj: Layer) => any;
82
- }
83
- export interface BatchCheckLayerAvailabilityResponse {
84
- /**
85
- * <p>A list of image layer objects corresponding to the image layer references in the
86
- * request.</p>
87
- */
88
- layers?: Layer[];
89
- /**
90
- * <p>Any failures associated with the call.</p>
91
- */
92
- failures?: LayerFailure[];
93
- }
94
- export declare namespace BatchCheckLayerAvailabilityResponse {
95
- /**
96
- * @internal
97
- */
98
- const filterSensitiveLog: (obj: BatchCheckLayerAvailabilityResponse) => any;
99
- }
100
- /**
101
- * <p>The specified parameter is invalid. Review the available parameters for the API
102
- * request.</p>
103
- */
104
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
105
- name: "InvalidParameterException";
106
- $fault: "client";
107
- /**
108
- * <p>The error message associated with the exception.</p>
109
- */
110
- message?: string;
111
- }
112
- export declare namespace InvalidParameterException {
113
- /**
114
- * @internal
115
- */
116
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
117
- }
118
- /**
119
- * <p>The specified repository could not be found. Check the spelling of the specified
120
- * repository and ensure that you are performing operations on the correct registry.</p>
121
- */
122
- export interface RepositoryNotFoundException extends __SmithyException, $MetadataBearer {
123
- name: "RepositoryNotFoundException";
124
- $fault: "client";
125
- /**
126
- * <p>The error message associated with the exception.</p>
127
- */
128
- message?: string;
129
- }
130
- export declare namespace RepositoryNotFoundException {
131
- /**
132
- * @internal
133
- */
134
- const filterSensitiveLog: (obj: RepositoryNotFoundException) => any;
135
- }
136
- /**
137
- * <p>These errors are usually caused by a server-side issue.</p>
138
- */
139
- export interface ServerException extends __SmithyException, $MetadataBearer {
140
- name: "ServerException";
141
- $fault: "server";
142
- /**
143
- * <p>The error message associated with the exception.</p>
144
- */
145
- message?: string;
146
- }
147
- export declare namespace ServerException {
148
- /**
149
- * @internal
150
- */
151
- const filterSensitiveLog: (obj: ServerException) => any;
152
- }
153
- /**
154
- * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
155
- */
156
- export interface ImageIdentifier {
157
- /**
158
- * <p>The <code>sha256</code> digest of the image manifest.</p>
159
- */
160
- imageDigest?: string;
161
- /**
162
- * <p>The tag used for the image.</p>
163
- */
164
- imageTag?: string;
165
- }
166
- export declare namespace ImageIdentifier {
167
- /**
168
- * @internal
169
- */
170
- const filterSensitiveLog: (obj: ImageIdentifier) => any;
171
- }
172
- /**
173
- * <p>Deletes specified images within a specified repository. Images are specified with
174
- * either the <code>imageTag</code> or <code>imageDigest</code>.</p>
175
- */
176
- export interface BatchDeleteImageRequest {
177
- /**
178
- * <p>The Amazon Web Services account ID associated with the registry that contains the image to delete.
179
- * If you do not specify a registry, the default registry is assumed.</p>
180
- */
181
- registryId?: string;
182
- /**
183
- * <p>The repository that contains the image to delete.</p>
184
- */
185
- repositoryName: string | undefined;
186
- /**
187
- * <p>A list of image ID references that correspond to images to delete. The format of the
188
- * <code>imageIds</code> reference is <code>imageTag=tag</code> or
189
- * <code>imageDigest=digest</code>.</p>
190
- */
191
- imageIds: ImageIdentifier[] | undefined;
192
- }
193
- export declare namespace BatchDeleteImageRequest {
194
- /**
195
- * @internal
196
- */
197
- const filterSensitiveLog: (obj: BatchDeleteImageRequest) => any;
198
- }
199
- export declare enum ImageFailureCode {
200
- ImageNotFound = "ImageNotFound",
201
- ImageReferencedByManifestList = "ImageReferencedByManifestList",
202
- ImageTagDoesNotMatchDigest = "ImageTagDoesNotMatchDigest",
203
- InvalidImageDigest = "InvalidImageDigest",
204
- InvalidImageTag = "InvalidImageTag",
205
- KmsError = "KmsError",
206
- MissingDigestAndTag = "MissingDigestAndTag"
207
- }
208
- /**
209
- * <p>An object representing an Amazon ECR image failure.</p>
210
- */
211
- export interface ImageFailure {
212
- /**
213
- * <p>The image ID associated with the failure.</p>
214
- */
215
- imageId?: ImageIdentifier;
216
- /**
217
- * <p>The code associated with the failure.</p>
218
- */
219
- failureCode?: ImageFailureCode | string;
220
- /**
221
- * <p>The reason for the failure.</p>
222
- */
223
- failureReason?: string;
224
- }
225
- export declare namespace ImageFailure {
226
- /**
227
- * @internal
228
- */
229
- const filterSensitiveLog: (obj: ImageFailure) => any;
230
- }
231
- export interface BatchDeleteImageResponse {
232
- /**
233
- * <p>The image IDs of the deleted images.</p>
234
- */
235
- imageIds?: ImageIdentifier[];
236
- /**
237
- * <p>Any failures associated with the call.</p>
238
- */
239
- failures?: ImageFailure[];
240
- }
241
- export declare namespace BatchDeleteImageResponse {
242
- /**
243
- * @internal
244
- */
245
- const filterSensitiveLog: (obj: BatchDeleteImageResponse) => any;
246
- }
247
- export interface BatchGetImageRequest {
248
- /**
249
- * <p>The Amazon Web Services account ID associated with the registry that contains the images to
250
- * describe. If you do not specify a registry, the default registry is assumed.</p>
251
- */
252
- registryId?: string;
253
- /**
254
- * <p>The repository that contains the images to describe.</p>
255
- */
256
- repositoryName: string | undefined;
257
- /**
258
- * <p>A list of image ID references that correspond to images to describe. The format of the
259
- * <code>imageIds</code> reference is <code>imageTag=tag</code> or
260
- * <code>imageDigest=digest</code>.</p>
261
- */
262
- imageIds: ImageIdentifier[] | undefined;
263
- /**
264
- * <p>The accepted media types for the request.</p>
265
- * <p>Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> |
266
- * <code>application/vnd.docker.distribution.manifest.v2+json</code> |
267
- * <code>application/vnd.oci.image.manifest.v1+json</code>
268
- * </p>
269
- */
270
- acceptedMediaTypes?: string[];
271
- }
272
- export declare namespace BatchGetImageRequest {
273
- /**
274
- * @internal
275
- */
276
- const filterSensitiveLog: (obj: BatchGetImageRequest) => any;
277
- }
278
- /**
279
- * <p>An object representing an Amazon ECR image.</p>
280
- */
281
- export interface Image {
282
- /**
283
- * <p>The Amazon Web Services account ID associated with the registry containing the image.</p>
284
- */
285
- registryId?: string;
286
- /**
287
- * <p>The name of the repository associated with the image.</p>
288
- */
289
- repositoryName?: string;
290
- /**
291
- * <p>An object containing the image tag and image digest associated with an image.</p>
292
- */
293
- imageId?: ImageIdentifier;
294
- /**
295
- * <p>The image manifest associated with the image.</p>
296
- */
297
- imageManifest?: string;
298
- /**
299
- * <p>The manifest media type of the image.</p>
300
- */
301
- imageManifestMediaType?: string;
302
- }
303
- export declare namespace Image {
304
- /**
305
- * @internal
306
- */
307
- const filterSensitiveLog: (obj: Image) => any;
308
- }
309
- export interface BatchGetImageResponse {
310
- /**
311
- * <p>A list of image objects corresponding to the image references in the request.</p>
312
- */
313
- images?: Image[];
314
- /**
315
- * <p>Any failures associated with the call.</p>
316
- */
317
- failures?: ImageFailure[];
318
- }
319
- export declare namespace BatchGetImageResponse {
320
- /**
321
- * @internal
322
- */
323
- const filterSensitiveLog: (obj: BatchGetImageResponse) => any;
324
- }
325
- export interface CompleteLayerUploadRequest {
326
- /**
327
- * <p>The Amazon Web Services account ID associated with the registry to which to upload layers.
328
- * If you do not specify a registry, the default registry is assumed.</p>
329
- */
330
- registryId?: string;
331
- /**
332
- * <p>The name of the repository to associate with the image layer.</p>
333
- */
334
- repositoryName: string | undefined;
335
- /**
336
- * <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
337
- * associate with the image layer.</p>
338
- */
339
- uploadId: string | undefined;
340
- /**
341
- * <p>The <code>sha256</code> digest of the image layer.</p>
342
- */
343
- layerDigests: string[] | undefined;
344
- }
345
- export declare namespace CompleteLayerUploadRequest {
346
- /**
347
- * @internal
348
- */
349
- const filterSensitiveLog: (obj: CompleteLayerUploadRequest) => any;
350
- }
351
- export interface CompleteLayerUploadResponse {
352
- /**
353
- * <p>The registry ID associated with the request.</p>
354
- */
355
- registryId?: string;
356
- /**
357
- * <p>The repository name associated with the request.</p>
358
- */
359
- repositoryName?: string;
360
- /**
361
- * <p>The upload ID associated with the layer.</p>
362
- */
363
- uploadId?: string;
364
- /**
365
- * <p>The <code>sha256</code> digest of the image layer.</p>
366
- */
367
- layerDigest?: string;
368
- }
369
- export declare namespace CompleteLayerUploadResponse {
370
- /**
371
- * @internal
372
- */
373
- const filterSensitiveLog: (obj: CompleteLayerUploadResponse) => any;
374
- }
375
- /**
376
- * <p>The specified layer upload does not contain any layer parts.</p>
377
- */
378
- export interface EmptyUploadException extends __SmithyException, $MetadataBearer {
379
- name: "EmptyUploadException";
380
- $fault: "client";
381
- /**
382
- * <p>The error message associated with the exception.</p>
383
- */
384
- message?: string;
385
- }
386
- export declare namespace EmptyUploadException {
387
- /**
388
- * @internal
389
- */
390
- const filterSensitiveLog: (obj: EmptyUploadException) => any;
391
- }
392
- /**
393
- * <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
394
- * not match the digest specified.</p>
395
- */
396
- export interface InvalidLayerException extends __SmithyException, $MetadataBearer {
397
- name: "InvalidLayerException";
398
- $fault: "client";
399
- /**
400
- * <p>The error message associated with the exception.</p>
401
- */
402
- message?: string;
403
- }
404
- export declare namespace InvalidLayerException {
405
- /**
406
- * @internal
407
- */
408
- const filterSensitiveLog: (obj: InvalidLayerException) => any;
409
- }
410
- /**
411
- * <p>The operation failed due to a KMS exception.</p>
412
- */
413
- export interface KmsException extends __SmithyException, $MetadataBearer {
414
- name: "KmsException";
415
- $fault: "client";
416
- message?: string;
417
- /**
418
- * <p>The error code returned by KMS.</p>
419
- */
420
- kmsError?: string;
421
- }
422
- export declare namespace KmsException {
423
- /**
424
- * @internal
425
- */
426
- const filterSensitiveLog: (obj: KmsException) => any;
427
- }
428
- /**
429
- * <p>The image layer already exists in the associated repository.</p>
430
- */
431
- export interface LayerAlreadyExistsException extends __SmithyException, $MetadataBearer {
432
- name: "LayerAlreadyExistsException";
433
- $fault: "client";
434
- /**
435
- * <p>The error message associated with the exception.</p>
436
- */
437
- message?: string;
438
- }
439
- export declare namespace LayerAlreadyExistsException {
440
- /**
441
- * @internal
442
- */
443
- const filterSensitiveLog: (obj: LayerAlreadyExistsException) => any;
444
- }
445
- /**
446
- * <p>Layer parts must be at least 5 MiB in size.</p>
447
- */
448
- export interface LayerPartTooSmallException extends __SmithyException, $MetadataBearer {
449
- name: "LayerPartTooSmallException";
450
- $fault: "client";
451
- /**
452
- * <p>The error message associated with the exception.</p>
453
- */
454
- message?: string;
455
- }
456
- export declare namespace LayerPartTooSmallException {
457
- /**
458
- * @internal
459
- */
460
- const filterSensitiveLog: (obj: LayerPartTooSmallException) => any;
461
- }
462
- /**
463
- * <p>The upload could not be found, or the specified upload ID is not valid for this
464
- * repository.</p>
465
- */
466
- export interface UploadNotFoundException extends __SmithyException, $MetadataBearer {
467
- name: "UploadNotFoundException";
468
- $fault: "client";
469
- /**
470
- * <p>The error message associated with the exception.</p>
471
- */
472
- message?: string;
473
- }
474
- export declare namespace UploadNotFoundException {
475
- /**
476
- * @internal
477
- */
478
- const filterSensitiveLog: (obj: UploadNotFoundException) => any;
479
- }
480
- export declare enum EncryptionType {
481
- AES256 = "AES256",
482
- KMS = "KMS"
483
- }
484
- /**
485
- * <p>The encryption configuration for the repository. This determines how the contents of
486
- * your repository are encrypted at rest.</p>
487
- * <p>By default, when no encryption configuration is set or the <code>AES256</code>
488
- * encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption
489
- * keys which encrypts your data at rest using an AES-256 encryption algorithm. This does
490
- * not require any action on your part.</p>
491
- * <p>For more control over the encryption of the contents of your repository, you can use
492
- * server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your
493
- * images. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html">Amazon ECR encryption at
494
- * rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
495
- */
496
- export interface EncryptionConfiguration {
497
- /**
498
- * <p>The encryption type to use.</p>
499
- * <p>If you use the <code>KMS</code> encryption type, the contents of the repository will
500
- * be encrypted using server-side encryption with Key Management Service key stored in KMS. When you
501
- * use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key
502
- * for Amazon ECR, or specify your own KMS key, which you already created. For more
503
- * information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting data using server-side
504
- * encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the
505
- * <i>Amazon Simple Storage Service Console Developer Guide.</i>.</p>
506
- * <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
507
- * with Amazon S3-managed encryption keys which encrypts the images in the repository using an
508
- * AES-256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
509
- * server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
510
- * <i>Amazon Simple Storage Service Console Developer Guide.</i>.</p>
511
- */
512
- encryptionType: EncryptionType | string | undefined;
513
- /**
514
- * <p>If you use the <code>KMS</code> encryption type, specify the KMS key to use for
515
- * encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key
516
- * must exist in the same Region as the repository. If no key is specified, the default
517
- * Amazon Web Services managed KMS key for Amazon ECR will be used.</p>
518
- */
519
- kmsKey?: string;
520
- }
521
- export declare namespace EncryptionConfiguration {
522
- /**
523
- * @internal
524
- */
525
- const filterSensitiveLog: (obj: EncryptionConfiguration) => any;
526
- }
527
- /**
528
- * <p>The image scanning configuration for a repository.</p>
529
- */
530
- export interface ImageScanningConfiguration {
531
- /**
532
- * <p>The setting that determines whether images are scanned after being pushed to a
533
- * repository. If set to <code>true</code>, images will be scanned after being pushed. If
534
- * this parameter is not specified, it will default to <code>false</code> and images will
535
- * not be scanned unless a scan is manually started with the <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html">API_StartImageScan</a> API.</p>
536
- */
537
- scanOnPush?: boolean;
538
- }
539
- export declare namespace ImageScanningConfiguration {
540
- /**
541
- * @internal
542
- */
543
- const filterSensitiveLog: (obj: ImageScanningConfiguration) => any;
544
- }
545
- export declare enum ImageTagMutability {
546
- IMMUTABLE = "IMMUTABLE",
547
- MUTABLE = "MUTABLE"
548
- }
549
- /**
550
- * <p>The metadata that you apply to a resource to help you categorize and organize them.
551
- * Each tag consists of a key and an optional value, both of which you define.
552
- * Tag keys can have a maximum character length of 128 characters, and tag values can have
553
- * a maximum length of 256 characters.</p>
554
- */
555
- export interface Tag {
556
- /**
557
- * <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
558
- * that acts like a category for more specific tag values.</p>
559
- */
560
- Key?: string;
561
- /**
562
- * <p>The optional part of a key-value pair that make up a tag. A <code>value</code> acts as
563
- * a descriptor within a tag category (key).</p>
564
- */
565
- Value?: string;
566
- }
567
- export declare namespace Tag {
568
- /**
569
- * @internal
570
- */
571
- const filterSensitiveLog: (obj: Tag) => any;
572
- }
573
- export interface CreateRepositoryRequest {
574
- /**
575
- * <p>The AWS account ID associated with the registry to create the repository.
576
- * If you do not specify a registry, the default registry is assumed.</p>
577
- */
578
- registryId?: string;
579
- /**
580
- * <p>The name to use for the repository. The repository name may be specified on its own
581
- * (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group
582
- * the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>
583
- */
584
- repositoryName: string | undefined;
585
- /**
586
- * <p>The metadata that you apply to the repository to help you categorize and organize
587
- * them. Each tag consists of a key and an optional value, both of which you define.
588
- * Tag keys can have a maximum character length of 128 characters, and tag values can have
589
- * a maximum length of 256 characters.</p>
590
- */
591
- tags?: Tag[];
592
- /**
593
- * <p>The tag mutability setting for the repository. If this parameter is omitted, the
594
- * default setting of <code>MUTABLE</code> will be used which will allow image tags to be
595
- * overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the
596
- * repository will be immutable which will prevent them from being overwritten.</p>
597
- */
598
- imageTagMutability?: ImageTagMutability | string;
599
- /**
600
- * <p>The image scanning configuration for the repository. This determines whether images
601
- * are scanned for known vulnerabilities after being pushed to the repository.</p>
602
- */
603
- imageScanningConfiguration?: ImageScanningConfiguration;
604
- /**
605
- * <p>The encryption configuration for the repository. This determines how the contents of
606
- * your repository are encrypted at rest.</p>
607
- */
608
- encryptionConfiguration?: EncryptionConfiguration;
609
- }
610
- export declare namespace CreateRepositoryRequest {
611
- /**
612
- * @internal
613
- */
614
- const filterSensitiveLog: (obj: CreateRepositoryRequest) => any;
615
- }
616
- /**
617
- * <p>An object representing a repository.</p>
618
- */
619
- export interface Repository {
620
- /**
621
- * <p>The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the <code>arn:aws:ecr</code> namespace, followed by the region of the
622
- * repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.
623
- * For example, <code>arn:aws:ecr:region:012345678910:repository/test</code>.</p>
624
- */
625
- repositoryArn?: string;
626
- /**
627
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository.</p>
628
- */
629
- registryId?: string;
630
- /**
631
- * <p>The name of the repository.</p>
632
- */
633
- repositoryName?: string;
634
- /**
635
- * <p>The URI for the repository. You can use this URI for container image <code>push</code>
636
- * and <code>pull</code> operations.</p>
637
- */
638
- repositoryUri?: string;
639
- /**
640
- * <p>The date and time, in JavaScript date format, when the repository was created.</p>
641
- */
642
- createdAt?: Date;
643
- /**
644
- * <p>The tag mutability setting for the repository.</p>
645
- */
646
- imageTagMutability?: ImageTagMutability | string;
647
- /**
648
- * <p>The image scanning configuration for a repository.</p>
649
- */
650
- imageScanningConfiguration?: ImageScanningConfiguration;
651
- /**
652
- * <p>The encryption configuration for the repository. This determines how the contents of
653
- * your repository are encrypted at rest.</p>
654
- */
655
- encryptionConfiguration?: EncryptionConfiguration;
656
- }
657
- export declare namespace Repository {
658
- /**
659
- * @internal
660
- */
661
- const filterSensitiveLog: (obj: Repository) => any;
662
- }
663
- export interface CreateRepositoryResponse {
664
- /**
665
- * <p>The repository that was created.</p>
666
- */
667
- repository?: Repository;
668
- }
669
- export declare namespace CreateRepositoryResponse {
670
- /**
671
- * @internal
672
- */
673
- const filterSensitiveLog: (obj: CreateRepositoryResponse) => any;
674
- }
675
- /**
676
- * <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
677
- * a maximum length of 256 characters.</p>
678
- */
679
- export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
680
- name: "InvalidTagParameterException";
681
- $fault: "client";
682
- message?: string;
683
- }
684
- export declare namespace InvalidTagParameterException {
685
- /**
686
- * @internal
687
- */
688
- const filterSensitiveLog: (obj: InvalidTagParameterException) => any;
689
- }
690
- /**
691
- * <p>The operation did not succeed because it would have exceeded a service limit for your
692
- * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
693
- * the Amazon Elastic Container Registry User Guide.</p>
694
- */
695
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
696
- name: "LimitExceededException";
697
- $fault: "client";
698
- /**
699
- * <p>The error message associated with the exception.</p>
700
- */
701
- message?: string;
702
- }
703
- export declare namespace LimitExceededException {
704
- /**
705
- * @internal
706
- */
707
- const filterSensitiveLog: (obj: LimitExceededException) => any;
708
- }
709
- /**
710
- * <p>The specified repository already exists in the specified registry.</p>
711
- */
712
- export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
713
- name: "RepositoryAlreadyExistsException";
714
- $fault: "client";
715
- /**
716
- * <p>The error message associated with the exception.</p>
717
- */
718
- message?: string;
719
- }
720
- export declare namespace RepositoryAlreadyExistsException {
721
- /**
722
- * @internal
723
- */
724
- const filterSensitiveLog: (obj: RepositoryAlreadyExistsException) => any;
725
- }
726
- /**
727
- * <p>The list of tags on the repository is over the limit. The maximum number of tags that
728
- * can be applied to a repository is 50.</p>
729
- */
730
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
731
- name: "TooManyTagsException";
732
- $fault: "client";
733
- message?: string;
734
- }
735
- export declare namespace TooManyTagsException {
736
- /**
737
- * @internal
738
- */
739
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
740
- }
741
- export interface DeleteLifecyclePolicyRequest {
742
- /**
743
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository.
744
- * If you do not specify a registry, the default registry is assumed.</p>
745
- */
746
- registryId?: string;
747
- /**
748
- * <p>The name of the repository.</p>
749
- */
750
- repositoryName: string | undefined;
751
- }
752
- export declare namespace DeleteLifecyclePolicyRequest {
753
- /**
754
- * @internal
755
- */
756
- const filterSensitiveLog: (obj: DeleteLifecyclePolicyRequest) => any;
757
- }
758
- export interface DeleteLifecyclePolicyResponse {
759
- /**
760
- * <p>The registry ID associated with the request.</p>
761
- */
762
- registryId?: string;
763
- /**
764
- * <p>The repository name associated with the request.</p>
765
- */
766
- repositoryName?: string;
767
- /**
768
- * <p>The JSON lifecycle policy text.</p>
769
- */
770
- lifecyclePolicyText?: string;
771
- /**
772
- * <p>The time stamp of the last time that the lifecycle policy was run.</p>
773
- */
774
- lastEvaluatedAt?: Date;
775
- }
776
- export declare namespace DeleteLifecyclePolicyResponse {
777
- /**
778
- * @internal
779
- */
780
- const filterSensitiveLog: (obj: DeleteLifecyclePolicyResponse) => any;
781
- }
782
- /**
783
- * <p>The lifecycle policy could not be found, and no policy is set to the
784
- * repository.</p>
785
- */
786
- export interface LifecyclePolicyNotFoundException extends __SmithyException, $MetadataBearer {
787
- name: "LifecyclePolicyNotFoundException";
788
- $fault: "client";
789
- message?: string;
790
- }
791
- export declare namespace LifecyclePolicyNotFoundException {
792
- /**
793
- * @internal
794
- */
795
- const filterSensitiveLog: (obj: LifecyclePolicyNotFoundException) => any;
796
- }
797
- export interface DeleteRegistryPolicyRequest {
798
- }
799
- export declare namespace DeleteRegistryPolicyRequest {
800
- /**
801
- * @internal
802
- */
803
- const filterSensitiveLog: (obj: DeleteRegistryPolicyRequest) => any;
804
- }
805
- export interface DeleteRegistryPolicyResponse {
806
- /**
807
- * <p>The registry ID associated with the request.</p>
808
- */
809
- registryId?: string;
810
- /**
811
- * <p>The contents of the registry permissions policy that was deleted.</p>
812
- */
813
- policyText?: string;
814
- }
815
- export declare namespace DeleteRegistryPolicyResponse {
816
- /**
817
- * @internal
818
- */
819
- const filterSensitiveLog: (obj: DeleteRegistryPolicyResponse) => any;
820
- }
821
- /**
822
- * <p>The registry doesn't have an associated registry policy.</p>
823
- */
824
- export interface RegistryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
825
- name: "RegistryPolicyNotFoundException";
826
- $fault: "client";
827
- message?: string;
828
- }
829
- export declare namespace RegistryPolicyNotFoundException {
830
- /**
831
- * @internal
832
- */
833
- const filterSensitiveLog: (obj: RegistryPolicyNotFoundException) => any;
834
- }
835
- /**
836
- * <p>There was an exception validating this request.</p>
837
- */
838
- export interface ValidationException extends __SmithyException, $MetadataBearer {
839
- name: "ValidationException";
840
- $fault: "client";
841
- message?: string;
842
- }
843
- export declare namespace ValidationException {
844
- /**
845
- * @internal
846
- */
847
- const filterSensitiveLog: (obj: ValidationException) => any;
848
- }
849
- export interface DeleteRepositoryRequest {
850
- /**
851
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository to
852
- * delete. If you do not specify a registry, the default registry is assumed.</p>
853
- */
854
- registryId?: string;
855
- /**
856
- * <p>The name of the repository to delete.</p>
857
- */
858
- repositoryName: string | undefined;
859
- /**
860
- * <p> If a repository contains images, forces the deletion.</p>
861
- */
862
- force?: boolean;
863
- }
864
- export declare namespace DeleteRepositoryRequest {
865
- /**
866
- * @internal
867
- */
868
- const filterSensitiveLog: (obj: DeleteRepositoryRequest) => any;
869
- }
870
- export interface DeleteRepositoryResponse {
871
- /**
872
- * <p>The repository that was deleted.</p>
873
- */
874
- repository?: Repository;
875
- }
876
- export declare namespace DeleteRepositoryResponse {
877
- /**
878
- * @internal
879
- */
880
- const filterSensitiveLog: (obj: DeleteRepositoryResponse) => any;
881
- }
882
- /**
883
- * <p>The specified repository contains images. To delete a repository that contains images,
884
- * you must force the deletion with the <code>force</code> parameter.</p>
885
- */
886
- export interface RepositoryNotEmptyException extends __SmithyException, $MetadataBearer {
887
- name: "RepositoryNotEmptyException";
888
- $fault: "client";
889
- /**
890
- * <p>The error message associated with the exception.</p>
891
- */
892
- message?: string;
893
- }
894
- export declare namespace RepositoryNotEmptyException {
895
- /**
896
- * @internal
897
- */
898
- const filterSensitiveLog: (obj: RepositoryNotEmptyException) => any;
899
- }
900
- export interface DeleteRepositoryPolicyRequest {
901
- /**
902
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository policy
903
- * to delete. If you do not specify a registry, the default registry is assumed.</p>
904
- */
905
- registryId?: string;
906
- /**
907
- * <p>The name of the repository that is associated with the repository policy to
908
- * delete.</p>
909
- */
910
- repositoryName: string | undefined;
911
- }
912
- export declare namespace DeleteRepositoryPolicyRequest {
913
- /**
914
- * @internal
915
- */
916
- const filterSensitiveLog: (obj: DeleteRepositoryPolicyRequest) => any;
917
- }
918
- export interface DeleteRepositoryPolicyResponse {
919
- /**
920
- * <p>The registry ID associated with the request.</p>
921
- */
922
- registryId?: string;
923
- /**
924
- * <p>The repository name associated with the request.</p>
925
- */
926
- repositoryName?: string;
927
- /**
928
- * <p>The JSON repository policy that was deleted from the repository.</p>
929
- */
930
- policyText?: string;
931
- }
932
- export declare namespace DeleteRepositoryPolicyResponse {
933
- /**
934
- * @internal
935
- */
936
- const filterSensitiveLog: (obj: DeleteRepositoryPolicyResponse) => any;
937
- }
938
- /**
939
- * <p>The specified repository and registry combination does not have an associated
940
- * repository policy.</p>
941
- */
942
- export interface RepositoryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
943
- name: "RepositoryPolicyNotFoundException";
944
- $fault: "client";
945
- /**
946
- * <p>The error message associated with the exception.</p>
947
- */
948
- message?: string;
949
- }
950
- export declare namespace RepositoryPolicyNotFoundException {
951
- /**
952
- * @internal
953
- */
954
- const filterSensitiveLog: (obj: RepositoryPolicyNotFoundException) => any;
955
- }
956
- export interface DescribeImageReplicationStatusRequest {
957
- /**
958
- * <p>The name of the repository that the image is in.</p>
959
- */
960
- repositoryName: string | undefined;
961
- /**
962
- * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
963
- */
964
- imageId: ImageIdentifier | undefined;
965
- /**
966
- * <p>The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.</p>
967
- */
968
- registryId?: string;
969
- }
970
- export declare namespace DescribeImageReplicationStatusRequest {
971
- /**
972
- * @internal
973
- */
974
- const filterSensitiveLog: (obj: DescribeImageReplicationStatusRequest) => any;
975
- }
976
- export declare enum ReplicationStatus {
977
- COMPLETE = "COMPLETE",
978
- FAILED = "FAILED",
979
- IN_PROGRESS = "IN_PROGRESS"
980
- }
981
- /**
982
- * <p>The status of the replication process for an image.</p>
983
- */
984
- export interface ImageReplicationStatus {
985
- /**
986
- * <p>The destination Region for the image replication.</p>
987
- */
988
- region?: string;
989
- /**
990
- * <p>The AWS account ID associated with the registry to which the image belongs.</p>
991
- */
992
- registryId?: string;
993
- /**
994
- * <p>The image replication status.</p>
995
- */
996
- status?: ReplicationStatus | string;
997
- /**
998
- * <p>The failure code for a replication that has failed.</p>
999
- */
1000
- failureCode?: string;
1001
- }
1002
- export declare namespace ImageReplicationStatus {
1003
- /**
1004
- * @internal
1005
- */
1006
- const filterSensitiveLog: (obj: ImageReplicationStatus) => any;
1007
- }
1008
- export interface DescribeImageReplicationStatusResponse {
1009
- /**
1010
- * <p>The repository name associated with the request.</p>
1011
- */
1012
- repositoryName?: string;
1013
- /**
1014
- * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
1015
- */
1016
- imageId?: ImageIdentifier;
1017
- /**
1018
- * <p>The replication status details for the images in the specified repository.</p>
1019
- */
1020
- replicationStatuses?: ImageReplicationStatus[];
1021
- }
1022
- export declare namespace DescribeImageReplicationStatusResponse {
1023
- /**
1024
- * @internal
1025
- */
1026
- const filterSensitiveLog: (obj: DescribeImageReplicationStatusResponse) => any;
1027
- }
1028
- /**
1029
- * <p>The image requested does not exist in the specified repository.</p>
1030
- */
1031
- export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
1032
- name: "ImageNotFoundException";
1033
- $fault: "client";
1034
- message?: string;
1035
- }
1036
- export declare namespace ImageNotFoundException {
1037
- /**
1038
- * @internal
1039
- */
1040
- const filterSensitiveLog: (obj: ImageNotFoundException) => any;
1041
- }
1042
- export declare enum TagStatus {
1043
- ANY = "ANY",
1044
- TAGGED = "TAGGED",
1045
- UNTAGGED = "UNTAGGED"
1046
- }
1047
- /**
1048
- * <p>An object representing a filter on a <a>DescribeImages</a>
1049
- * operation.</p>
1050
- */
1051
- export interface DescribeImagesFilter {
1052
- /**
1053
- * <p>The tag status with which to filter your <a>DescribeImages</a> results. You
1054
- * can filter results based on whether they are <code>TAGGED</code> or
1055
- * <code>UNTAGGED</code>.</p>
1056
- */
1057
- tagStatus?: TagStatus | string;
1058
- }
1059
- export declare namespace DescribeImagesFilter {
1060
- /**
1061
- * @internal
1062
- */
1063
- const filterSensitiveLog: (obj: DescribeImagesFilter) => any;
1064
- }
1065
- export interface DescribeImagesRequest {
1066
- /**
1067
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
1068
- * which to describe images. If you do not specify a registry, the default registry is assumed.</p>
1069
- */
1070
- registryId?: string;
1071
- /**
1072
- * <p>The repository that contains the images to describe.</p>
1073
- */
1074
- repositoryName: string | undefined;
1075
- /**
1076
- * <p>The list of image IDs for the requested repository.</p>
1077
- */
1078
- imageIds?: ImageIdentifier[];
1079
- /**
1080
- * <p>The <code>nextToken</code> value returned from a previous paginated
1081
- * <code>DescribeImages</code> request where <code>maxResults</code> was used and the
1082
- * results exceeded the value of that parameter. Pagination continues from the end of the
1083
- * previous results that returned the <code>nextToken</code> value. This value is
1084
- * <code>null</code> when there are no more results to return. This option cannot be
1085
- * used when you specify images with <code>imageIds</code>.</p>
1086
- */
1087
- nextToken?: string;
1088
- /**
1089
- * <p>The maximum number of repository results returned by <code>DescribeImages</code> in
1090
- * paginated output. When this parameter is used, <code>DescribeImages</code> only returns
1091
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
1092
- * response element. The remaining results of the initial request can be seen by sending
1093
- * another <code>DescribeImages</code> request with the returned <code>nextToken</code>
1094
- * value. This value can be between 1 and 1000. If this
1095
- * parameter is not used, then <code>DescribeImages</code> returns up to
1096
- * 100 results and a <code>nextToken</code> value, if applicable. This
1097
- * option cannot be used when you specify images with <code>imageIds</code>.</p>
1098
- */
1099
- maxResults?: number;
1100
- /**
1101
- * <p>The filter key and value with which to filter your <code>DescribeImages</code>
1102
- * results.</p>
1103
- */
1104
- filter?: DescribeImagesFilter;
1105
- }
1106
- export declare namespace DescribeImagesRequest {
1107
- /**
1108
- * @internal
1109
- */
1110
- const filterSensitiveLog: (obj: DescribeImagesRequest) => any;
1111
- }
1112
- export declare enum FindingSeverity {
1113
- CRITICAL = "CRITICAL",
1114
- HIGH = "HIGH",
1115
- INFORMATIONAL = "INFORMATIONAL",
1116
- LOW = "LOW",
1117
- MEDIUM = "MEDIUM",
1118
- UNDEFINED = "UNDEFINED"
1119
- }
1120
- /**
1121
- * <p>A summary of the last completed image scan.</p>
1122
- */
1123
- export interface ImageScanFindingsSummary {
1124
- /**
1125
- * <p>The time of the last completed image scan.</p>
1126
- */
1127
- imageScanCompletedAt?: Date;
1128
- /**
1129
- * <p>The time when the vulnerability data was last scanned.</p>
1130
- */
1131
- vulnerabilitySourceUpdatedAt?: Date;
1132
- /**
1133
- * <p>The image vulnerability counts, sorted by severity.</p>
1134
- */
1135
- findingSeverityCounts?: {
1136
- [key: string]: number;
1137
- };
1138
- }
1139
- export declare namespace ImageScanFindingsSummary {
1140
- /**
1141
- * @internal
1142
- */
1143
- const filterSensitiveLog: (obj: ImageScanFindingsSummary) => any;
1144
- }
1145
- export declare enum ScanStatus {
1146
- COMPLETE = "COMPLETE",
1147
- FAILED = "FAILED",
1148
- IN_PROGRESS = "IN_PROGRESS"
1149
- }
1150
- /**
1151
- * <p>The current status of an image scan.</p>
1152
- */
1153
- export interface ImageScanStatus {
1154
- /**
1155
- * <p>The current state of an image scan.</p>
1156
- */
1157
- status?: ScanStatus | string;
1158
- /**
1159
- * <p>The description of the image scan status.</p>
1160
- */
1161
- description?: string;
1162
- }
1163
- export declare namespace ImageScanStatus {
1164
- /**
1165
- * @internal
1166
- */
1167
- const filterSensitiveLog: (obj: ImageScanStatus) => any;
1168
- }
1169
- /**
1170
- * <p>An object that describes an image returned by a <a>DescribeImages</a>
1171
- * operation.</p>
1172
- */
1173
- export interface ImageDetail {
1174
- /**
1175
- * <p>The Amazon Web Services account ID associated with the registry to which this image belongs.</p>
1176
- */
1177
- registryId?: string;
1178
- /**
1179
- * <p>The name of the repository to which this image belongs.</p>
1180
- */
1181
- repositoryName?: string;
1182
- /**
1183
- * <p>The <code>sha256</code> digest of the image manifest.</p>
1184
- */
1185
- imageDigest?: string;
1186
- /**
1187
- * <p>The list of tags associated with this image.</p>
1188
- */
1189
- imageTags?: string[];
1190
- /**
1191
- * <p>The size, in bytes, of the image in the repository.</p>
1192
- * <p>If the image is a manifest list, this will be the max size of all manifests in the
1193
- * list.</p>
1194
- * <note>
1195
- * <p>Beginning with Docker version 1.9, the Docker client compresses image layers
1196
- * before pushing them to a V2 Docker registry. The output of the <code>docker
1197
- * images</code> command shows the uncompressed image size, so it may return a
1198
- * larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
1199
- * </note>
1200
- */
1201
- imageSizeInBytes?: number;
1202
- /**
1203
- * <p>The date and time, expressed in standard JavaScript date format, at which the current
1204
- * image was pushed to the repository. </p>
1205
- */
1206
- imagePushedAt?: Date;
1207
- /**
1208
- * <p>The current state of the scan.</p>
1209
- */
1210
- imageScanStatus?: ImageScanStatus;
1211
- /**
1212
- * <p>A summary of the last completed image scan.</p>
1213
- */
1214
- imageScanFindingsSummary?: ImageScanFindingsSummary;
1215
- /**
1216
- * <p>The media type of the image manifest.</p>
1217
- */
1218
- imageManifestMediaType?: string;
1219
- /**
1220
- * <p>The artifact media type of the image.</p>
1221
- */
1222
- artifactMediaType?: string;
1223
- }
1224
- export declare namespace ImageDetail {
1225
- /**
1226
- * @internal
1227
- */
1228
- const filterSensitiveLog: (obj: ImageDetail) => any;
1229
- }
1230
- export interface DescribeImagesResponse {
1231
- /**
1232
- * <p>A list of <a>ImageDetail</a> objects that contain data about the
1233
- * image.</p>
1234
- */
1235
- imageDetails?: ImageDetail[];
1236
- /**
1237
- * <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
1238
- * request. When the results of a <code>DescribeImages</code> request exceed
1239
- * <code>maxResults</code>, this value can be used to retrieve the next page of
1240
- * results. This value is <code>null</code> when there are no more results to
1241
- * return.</p>
1242
- */
1243
- nextToken?: string;
1244
- }
1245
- export declare namespace DescribeImagesResponse {
1246
- /**
1247
- * @internal
1248
- */
1249
- const filterSensitiveLog: (obj: DescribeImagesResponse) => any;
1250
- }
1251
- export interface DescribeImageScanFindingsRequest {
1252
- /**
1253
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
1254
- * which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.</p>
1255
- */
1256
- registryId?: string;
1257
- /**
1258
- * <p>The repository for the image for which to describe the scan findings.</p>
1259
- */
1260
- repositoryName: string | undefined;
1261
- /**
1262
- * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
1263
- */
1264
- imageId: ImageIdentifier | undefined;
1265
- /**
1266
- * <p>The <code>nextToken</code> value returned from a previous paginated
1267
- * <code>DescribeImageScanFindings</code> request where <code>maxResults</code> was
1268
- * used and the results exceeded the value of that parameter. Pagination continues from the
1269
- * end of the previous results that returned the <code>nextToken</code> value. This value
1270
- * is null when there are no more results to return.</p>
1271
- */
1272
- nextToken?: string;
1273
- /**
1274
- * <p>The maximum number of image scan results returned by
1275
- * <code>DescribeImageScanFindings</code> in paginated output. When this parameter is
1276
- * used, <code>DescribeImageScanFindings</code> only returns <code>maxResults</code>
1277
- * results in a single page along with a <code>nextToken</code> response element. The
1278
- * remaining results of the initial request can be seen by sending another
1279
- * <code>DescribeImageScanFindings</code> request with the returned
1280
- * <code>nextToken</code> value. This value can be between 1 and 1000. If this
1281
- * parameter is not used, then <code>DescribeImageScanFindings</code> returns up to 100
1282
- * results and a <code>nextToken</code> value, if applicable.</p>
1283
- */
1284
- maxResults?: number;
1285
- }
1286
- export declare namespace DescribeImageScanFindingsRequest {
1287
- /**
1288
- * @internal
1289
- */
1290
- const filterSensitiveLog: (obj: DescribeImageScanFindingsRequest) => any;
1291
- }
1292
- /**
1293
- * <p>This data type is used in the <a>ImageScanFinding</a> data type.</p>
1294
- */
1295
- export interface Attribute {
1296
- /**
1297
- * <p>The attribute key.</p>
1298
- */
1299
- key: string | undefined;
1300
- /**
1301
- * <p>The value assigned to the attribute key.</p>
1302
- */
1303
- value?: string;
1304
- }
1305
- export declare namespace Attribute {
1306
- /**
1307
- * @internal
1308
- */
1309
- const filterSensitiveLog: (obj: Attribute) => any;
1310
- }
1311
- /**
1312
- * <p>Contains information about an image scan finding.</p>
1313
- */
1314
- export interface ImageScanFinding {
1315
- /**
1316
- * <p>The name associated with the finding, usually a CVE number.</p>
1317
- */
1318
- name?: string;
1319
- /**
1320
- * <p>The description of the finding.</p>
1321
- */
1322
- description?: string;
1323
- /**
1324
- * <p>A link containing additional details about the security vulnerability.</p>
1325
- */
1326
- uri?: string;
1327
- /**
1328
- * <p>The finding severity.</p>
1329
- */
1330
- severity?: FindingSeverity | string;
1331
- /**
1332
- * <p>A collection of attributes of the host from which the finding is generated.</p>
1333
- */
1334
- attributes?: Attribute[];
1335
- }
1336
- export declare namespace ImageScanFinding {
1337
- /**
1338
- * @internal
1339
- */
1340
- const filterSensitiveLog: (obj: ImageScanFinding) => any;
1341
- }
1342
- /**
1343
- * <p>The details of an image scan.</p>
1344
- */
1345
- export interface ImageScanFindings {
1346
- /**
1347
- * <p>The time of the last completed image scan.</p>
1348
- */
1349
- imageScanCompletedAt?: Date;
1350
- /**
1351
- * <p>The time when the vulnerability data was last scanned.</p>
1352
- */
1353
- vulnerabilitySourceUpdatedAt?: Date;
1354
- /**
1355
- * <p>The findings from the image scan.</p>
1356
- */
1357
- findings?: ImageScanFinding[];
1358
- /**
1359
- * <p>The image vulnerability counts, sorted by severity.</p>
1360
- */
1361
- findingSeverityCounts?: {
1362
- [key: string]: number;
1363
- };
1364
- }
1365
- export declare namespace ImageScanFindings {
1366
- /**
1367
- * @internal
1368
- */
1369
- const filterSensitiveLog: (obj: ImageScanFindings) => any;
1370
- }
1371
- export interface DescribeImageScanFindingsResponse {
1372
- /**
1373
- * <p>The registry ID associated with the request.</p>
1374
- */
1375
- registryId?: string;
1376
- /**
1377
- * <p>The repository name associated with the request.</p>
1378
- */
1379
- repositoryName?: string;
1380
- /**
1381
- * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
1382
- */
1383
- imageId?: ImageIdentifier;
1384
- /**
1385
- * <p>The current state of the scan.</p>
1386
- */
1387
- imageScanStatus?: ImageScanStatus;
1388
- /**
1389
- * <p>The information contained in the image scan findings.</p>
1390
- */
1391
- imageScanFindings?: ImageScanFindings;
1392
- /**
1393
- * <p>The <code>nextToken</code> value to include in a future
1394
- * <code>DescribeImageScanFindings</code> request. When the results of a
1395
- * <code>DescribeImageScanFindings</code> request exceed <code>maxResults</code>, this
1396
- * value can be used to retrieve the next page of results. This value is null when there
1397
- * are no more results to return.</p>
1398
- */
1399
- nextToken?: string;
1400
- }
1401
- export declare namespace DescribeImageScanFindingsResponse {
1402
- /**
1403
- * @internal
1404
- */
1405
- const filterSensitiveLog: (obj: DescribeImageScanFindingsResponse) => any;
1406
- }
1407
- /**
1408
- * <p>The specified image scan could not be found. Ensure that image scanning is enabled on
1409
- * the repository and try again.</p>
1410
- */
1411
- export interface ScanNotFoundException extends __SmithyException, $MetadataBearer {
1412
- name: "ScanNotFoundException";
1413
- $fault: "client";
1414
- message?: string;
1415
- }
1416
- export declare namespace ScanNotFoundException {
1417
- /**
1418
- * @internal
1419
- */
1420
- const filterSensitiveLog: (obj: ScanNotFoundException) => any;
1421
- }
1422
- export interface DescribeRegistryRequest {
1423
- }
1424
- export declare namespace DescribeRegistryRequest {
1425
- /**
1426
- * @internal
1427
- */
1428
- const filterSensitiveLog: (obj: DescribeRegistryRequest) => any;
1429
- }
1430
- /**
1431
- * <p>An array of objects representing the destination for a replication rule.</p>
1432
- */
1433
- export interface ReplicationDestination {
1434
- /**
1435
- * <p>The Region to replicate to.</p>
1436
- */
1437
- region: string | undefined;
1438
- /**
1439
- * <p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring
1440
- * cross-Region replication within your own registry, specify your own account ID.</p>
1441
- */
1442
- registryId: string | undefined;
1443
- }
1444
- export declare namespace ReplicationDestination {
1445
- /**
1446
- * @internal
1447
- */
1448
- const filterSensitiveLog: (obj: ReplicationDestination) => any;
1449
- }
1450
- export declare enum RepositoryFilterType {
1451
- PREFIX_MATCH = "PREFIX_MATCH"
1452
- }
1453
- /**
1454
- * <p>The filter settings used with image replication. Specifying a repository filter to a
1455
- * replication rule provides a method for controlling which repositories in a private
1456
- * registry are replicated. If no repository filter is specified, all images in the
1457
- * repository are replicated.</p>
1458
- */
1459
- export interface RepositoryFilter {
1460
- /**
1461
- * <p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is
1462
- * specified, this value is required and should be the repository name prefix to configure
1463
- * replication for.</p>
1464
- */
1465
- filter: string | undefined;
1466
- /**
1467
- * <p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>,
1468
- * which is a repository name prefix specified with the <code>filter</code>
1469
- * parameter.</p>
1470
- */
1471
- filterType: RepositoryFilterType | string | undefined;
1472
- }
1473
- export declare namespace RepositoryFilter {
1474
- /**
1475
- * @internal
1476
- */
1477
- const filterSensitiveLog: (obj: RepositoryFilter) => any;
1478
- }
1479
- /**
1480
- * <p>An array of objects representing the replication destinations and repository filters
1481
- * for a replication configuration.</p>
1482
- */
1483
- export interface ReplicationRule {
1484
- /**
1485
- * <p>An array of objects representing the destination for a replication rule.</p>
1486
- */
1487
- destinations: ReplicationDestination[] | undefined;
1488
- /**
1489
- * <p>An array of objects representing the filters for a replication rule. Specifying a
1490
- * repository filter for a replication rule provides a method for controlling which
1491
- * repositories in a private registry are replicated.</p>
1492
- */
1493
- repositoryFilters?: RepositoryFilter[];
1494
- }
1495
- export declare namespace ReplicationRule {
1496
- /**
1497
- * @internal
1498
- */
1499
- const filterSensitiveLog: (obj: ReplicationRule) => any;
1500
- }
1501
- /**
1502
- * <p>The replication configuration for a registry.</p>
1503
- */
1504
- export interface ReplicationConfiguration {
1505
- /**
1506
- * <p>An array of objects representing the replication destinations and repository filters
1507
- * for a replication configuration.</p>
1508
- */
1509
- rules: ReplicationRule[] | undefined;
1510
- }
1511
- export declare namespace ReplicationConfiguration {
1512
- /**
1513
- * @internal
1514
- */
1515
- const filterSensitiveLog: (obj: ReplicationConfiguration) => any;
1516
- }
1517
- export interface DescribeRegistryResponse {
1518
- /**
1519
- * <p>The ID of the registry.</p>
1520
- */
1521
- registryId?: string;
1522
- /**
1523
- * <p>The replication configuration for the registry.</p>
1524
- */
1525
- replicationConfiguration?: ReplicationConfiguration;
1526
- }
1527
- export declare namespace DescribeRegistryResponse {
1528
- /**
1529
- * @internal
1530
- */
1531
- const filterSensitiveLog: (obj: DescribeRegistryResponse) => any;
1532
- }
1533
- export interface DescribeRepositoriesRequest {
1534
- /**
1535
- * <p>The Amazon Web Services account ID associated with the registry that contains the repositories to be
1536
- * described. If you do not specify a registry, the default registry is assumed.</p>
1537
- */
1538
- registryId?: string;
1539
- /**
1540
- * <p>A list of repositories to describe. If this parameter is omitted, then all
1541
- * repositories in a registry are described.</p>
1542
- */
1543
- repositoryNames?: string[];
1544
- /**
1545
- * <p>The <code>nextToken</code> value returned from a previous paginated
1546
- * <code>DescribeRepositories</code> request where <code>maxResults</code> was used and
1547
- * the results exceeded the value of that parameter. Pagination continues from the end of
1548
- * the previous results that returned the <code>nextToken</code> value. This value is
1549
- * <code>null</code> when there are no more results to return. This option cannot be
1550
- * used when you specify repositories with <code>repositoryNames</code>.</p>
1551
- * <note>
1552
- * <p>This token should be treated as an opaque identifier that is only used to
1553
- * retrieve the next items in a list and not for other programmatic purposes.</p>
1554
- * </note>
1555
- */
1556
- nextToken?: string;
1557
- /**
1558
- * <p>The maximum number of repository results returned by <code>DescribeRepositories</code>
1559
- * in paginated output. When this parameter is used, <code>DescribeRepositories</code> only
1560
- * returns <code>maxResults</code> results in a single page along with a
1561
- * <code>nextToken</code> response element. The remaining results of the initial
1562
- * request can be seen by sending another <code>DescribeRepositories</code> request with
1563
- * the returned <code>nextToken</code> value. This value can be between 1
1564
- * and 1000. If this parameter is not used, then
1565
- * <code>DescribeRepositories</code> returns up to 100 results and a
1566
- * <code>nextToken</code> value, if applicable. This option cannot be used when you
1567
- * specify repositories with <code>repositoryNames</code>.</p>
1568
- */
1569
- maxResults?: number;
1570
- }
1571
- export declare namespace DescribeRepositoriesRequest {
1572
- /**
1573
- * @internal
1574
- */
1575
- const filterSensitiveLog: (obj: DescribeRepositoriesRequest) => any;
1576
- }
1577
- export interface DescribeRepositoriesResponse {
1578
- /**
1579
- * <p>A list of repository objects corresponding to valid repositories.</p>
1580
- */
1581
- repositories?: Repository[];
1582
- /**
1583
- * <p>The <code>nextToken</code> value to include in a future
1584
- * <code>DescribeRepositories</code> request. When the results of a
1585
- * <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value
1586
- * can be used to retrieve the next page of results. This value is <code>null</code> when
1587
- * there are no more results to return.</p>
1588
- */
1589
- nextToken?: string;
1590
- }
1591
- export declare namespace DescribeRepositoriesResponse {
1592
- /**
1593
- * @internal
1594
- */
1595
- const filterSensitiveLog: (obj: DescribeRepositoriesResponse) => any;
1596
- }
1597
- export interface GetAuthorizationTokenRequest {
1598
- /**
1599
- * @deprecated
1600
- *
1601
- * <p>A list of Amazon Web Services account IDs that are associated with the registries for which to get
1602
- * AuthorizationData objects. If you do not specify a registry, the default registry is assumed.</p>
1603
- */
1604
- registryIds?: string[];
1605
- }
1606
- export declare namespace GetAuthorizationTokenRequest {
1607
- /**
1608
- * @internal
1609
- */
1610
- const filterSensitiveLog: (obj: GetAuthorizationTokenRequest) => any;
1611
- }
1612
- /**
1613
- * <p>An object representing authorization data for an Amazon ECR registry.</p>
1614
- */
1615
- export interface AuthorizationData {
1616
- /**
1617
- * <p>A base64-encoded string that contains authorization data for the specified Amazon ECR
1618
- * registry. When the string is decoded, it is presented in the format
1619
- * <code>user:password</code> for private registry authentication using <code>docker
1620
- * login</code>.</p>
1621
- */
1622
- authorizationToken?: string;
1623
- /**
1624
- * <p>The Unix time in seconds and milliseconds when the authorization token expires.
1625
- * Authorization tokens are valid for 12 hours.</p>
1626
- */
1627
- expiresAt?: Date;
1628
- /**
1629
- * <p>The registry URL to use for this authorization token in a <code>docker login</code>
1630
- * command. The Amazon ECR registry URL format is
1631
- * <code>https://aws_account_id.dkr.ecr.region.amazonaws.com</code>. For example,
1632
- * <code>https://012345678910.dkr.ecr.us-east-1.amazonaws.com</code>.. </p>
1633
- */
1634
- proxyEndpoint?: string;
1635
- }
1636
- export declare namespace AuthorizationData {
1637
- /**
1638
- * @internal
1639
- */
1640
- const filterSensitiveLog: (obj: AuthorizationData) => any;
1641
- }
1642
- export interface GetAuthorizationTokenResponse {
1643
- /**
1644
- * <p>A list of authorization token data objects that correspond to the
1645
- * <code>registryIds</code> values in the request.</p>
1646
- */
1647
- authorizationData?: AuthorizationData[];
1648
- }
1649
- export declare namespace GetAuthorizationTokenResponse {
1650
- /**
1651
- * @internal
1652
- */
1653
- const filterSensitiveLog: (obj: GetAuthorizationTokenResponse) => any;
1654
- }
1655
- export interface GetDownloadUrlForLayerRequest {
1656
- /**
1657
- * <p>The Amazon Web Services account ID associated with the registry that contains the image layer to
1658
- * download. If you do not specify a registry, the default registry is assumed.</p>
1659
- */
1660
- registryId?: string;
1661
- /**
1662
- * <p>The name of the repository that is associated with the image layer to download.</p>
1663
- */
1664
- repositoryName: string | undefined;
1665
- /**
1666
- * <p>The digest of the image layer to download.</p>
1667
- */
1668
- layerDigest: string | undefined;
1669
- }
1670
- export declare namespace GetDownloadUrlForLayerRequest {
1671
- /**
1672
- * @internal
1673
- */
1674
- const filterSensitiveLog: (obj: GetDownloadUrlForLayerRequest) => any;
1675
- }
1676
- export interface GetDownloadUrlForLayerResponse {
1677
- /**
1678
- * <p>The pre-signed Amazon S3 download URL for the requested layer.</p>
1679
- */
1680
- downloadUrl?: string;
1681
- /**
1682
- * <p>The digest of the image layer to download.</p>
1683
- */
1684
- layerDigest?: string;
1685
- }
1686
- export declare namespace GetDownloadUrlForLayerResponse {
1687
- /**
1688
- * @internal
1689
- */
1690
- const filterSensitiveLog: (obj: GetDownloadUrlForLayerResponse) => any;
1691
- }
1692
- /**
1693
- * <p>The specified layer is not available because it is not associated with an image.
1694
- * Unassociated image layers may be cleaned up at any time.</p>
1695
- */
1696
- export interface LayerInaccessibleException extends __SmithyException, $MetadataBearer {
1697
- name: "LayerInaccessibleException";
1698
- $fault: "client";
1699
- /**
1700
- * <p>The error message associated with the exception.</p>
1701
- */
1702
- message?: string;
1703
- }
1704
- export declare namespace LayerInaccessibleException {
1705
- /**
1706
- * @internal
1707
- */
1708
- const filterSensitiveLog: (obj: LayerInaccessibleException) => any;
1709
- }
1710
- /**
1711
- * <p>The specified layers could not be found, or the specified layer is not valid for this
1712
- * repository.</p>
1713
- */
1714
- export interface LayersNotFoundException extends __SmithyException, $MetadataBearer {
1715
- name: "LayersNotFoundException";
1716
- $fault: "client";
1717
- /**
1718
- * <p>The error message associated with the exception.</p>
1719
- */
1720
- message?: string;
1721
- }
1722
- export declare namespace LayersNotFoundException {
1723
- /**
1724
- * @internal
1725
- */
1726
- const filterSensitiveLog: (obj: LayersNotFoundException) => any;
1727
- }
1728
- export interface GetLifecyclePolicyRequest {
1729
- /**
1730
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository.
1731
- * If you do not specify a registry, the default registry is assumed.</p>
1732
- */
1733
- registryId?: string;
1734
- /**
1735
- * <p>The name of the repository.</p>
1736
- */
1737
- repositoryName: string | undefined;
1738
- }
1739
- export declare namespace GetLifecyclePolicyRequest {
1740
- /**
1741
- * @internal
1742
- */
1743
- const filterSensitiveLog: (obj: GetLifecyclePolicyRequest) => any;
1744
- }
1745
- export interface GetLifecyclePolicyResponse {
1746
- /**
1747
- * <p>The registry ID associated with the request.</p>
1748
- */
1749
- registryId?: string;
1750
- /**
1751
- * <p>The repository name associated with the request.</p>
1752
- */
1753
- repositoryName?: string;
1754
- /**
1755
- * <p>The JSON lifecycle policy text.</p>
1756
- */
1757
- lifecyclePolicyText?: string;
1758
- /**
1759
- * <p>The time stamp of the last time that the lifecycle policy was run.</p>
1760
- */
1761
- lastEvaluatedAt?: Date;
1762
- }
1763
- export declare namespace GetLifecyclePolicyResponse {
1764
- /**
1765
- * @internal
1766
- */
1767
- const filterSensitiveLog: (obj: GetLifecyclePolicyResponse) => any;
1768
- }
1769
- /**
1770
- * <p>The filter for the lifecycle policy preview.</p>
1771
- */
1772
- export interface LifecyclePolicyPreviewFilter {
1773
- /**
1774
- * <p>The tag status of the image.</p>
1775
- */
1776
- tagStatus?: TagStatus | string;
1777
- }
1778
- export declare namespace LifecyclePolicyPreviewFilter {
1779
- /**
1780
- * @internal
1781
- */
1782
- const filterSensitiveLog: (obj: LifecyclePolicyPreviewFilter) => any;
1783
- }
1784
- export interface GetLifecyclePolicyPreviewRequest {
1785
- /**
1786
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository.
1787
- * If you do not specify a registry, the default registry is assumed.</p>
1788
- */
1789
- registryId?: string;
1790
- /**
1791
- * <p>The name of the repository.</p>
1792
- */
1793
- repositoryName: string | undefined;
1794
- /**
1795
- * <p>The list of imageIDs to be included.</p>
1796
- */
1797
- imageIds?: ImageIdentifier[];
1798
- /**
1799
- * <p>The <code>nextToken</code> value returned from a previous paginated
1800
- * <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code>
1801
- * was used and the
1802
- results exceeded the value of that parameter. Pagination continues
1803
- * from the end of the
1804
- previous results that returned the <code>nextToken</code> value.
1805
- * This value is
1806
- <code>null</code> when there are no more results to return. This option
1807
- * cannot be used when you specify images with <code>imageIds</code>.</p>
1808
- */
1809
- nextToken?: string;
1810
- /**
1811
- * <p>The maximum number of repository results returned by
1812
- * <code>GetLifecyclePolicyPreviewRequest</code> in
1813
- paginated output. When this
1814
- * parameter is used, <code>GetLifecyclePolicyPreviewRequest</code> only returns
1815
- * <code>maxResults</code> results in a single page along with a
1816
- * <code>nextToken</code>
1817
- response element. The remaining results of the initial request
1818
- * can be seen by sending
1819
- another <code>GetLifecyclePolicyPreviewRequest</code> request
1820
- * with the returned <code>nextToken</code>
1821
- value. This value can be between
1822
- * 1 and 1000. If this
1823
- parameter is not used, then
1824
- * <code>GetLifecyclePolicyPreviewRequest</code> returns up to
1825
- 100
1826
- * results and a <code>nextToken</code> value, if
1827
- applicable. This option cannot be used
1828
- * when you specify images with <code>imageIds</code>.</p>
1829
- */
1830
- maxResults?: number;
1831
- /**
1832
- * <p>An optional parameter that filters results based on image tag status and all tags, if
1833
- * tagged.</p>
1834
- */
1835
- filter?: LifecyclePolicyPreviewFilter;
1836
- }
1837
- export declare namespace GetLifecyclePolicyPreviewRequest {
1838
- /**
1839
- * @internal
1840
- */
1841
- const filterSensitiveLog: (obj: GetLifecyclePolicyPreviewRequest) => any;
1842
- }
1843
- export declare enum ImageActionType {
1844
- EXPIRE = "EXPIRE"
1845
- }
1846
- /**
1847
- * <p>The type of action to be taken.</p>
1848
- */
1849
- export interface LifecyclePolicyRuleAction {
1850
- /**
1851
- * <p>The type of action to be taken.</p>
1852
- */
1853
- type?: ImageActionType | string;
1854
- }
1855
- export declare namespace LifecyclePolicyRuleAction {
1856
- /**
1857
- * @internal
1858
- */
1859
- const filterSensitiveLog: (obj: LifecyclePolicyRuleAction) => any;
1860
- }
1861
- /**
1862
- * <p>The result of the lifecycle policy preview.</p>
1863
- */
1864
- export interface LifecyclePolicyPreviewResult {
1865
- /**
1866
- * <p>The list of tags associated with this image.</p>
1867
- */
1868
- imageTags?: string[];
1869
- /**
1870
- * <p>The <code>sha256</code> digest of the image manifest.</p>
1871
- */
1872
- imageDigest?: string;
1873
- /**
1874
- * <p>The date and time, expressed in standard JavaScript date format, at which the current
1875
- * image was pushed to the repository.</p>
1876
- */
1877
- imagePushedAt?: Date;
1878
- /**
1879
- * <p>The type of action to be taken.</p>
1880
- */
1881
- action?: LifecyclePolicyRuleAction;
1882
- /**
1883
- * <p>The priority of the applied rule.</p>
1884
- */
1885
- appliedRulePriority?: number;
1886
- }
1887
- export declare namespace LifecyclePolicyPreviewResult {
1888
- /**
1889
- * @internal
1890
- */
1891
- const filterSensitiveLog: (obj: LifecyclePolicyPreviewResult) => any;
1892
- }
1893
- export declare enum LifecyclePolicyPreviewStatus {
1894
- COMPLETE = "COMPLETE",
1895
- EXPIRED = "EXPIRED",
1896
- FAILED = "FAILED",
1897
- IN_PROGRESS = "IN_PROGRESS"
1898
- }
1899
- /**
1900
- * <p>The summary of the lifecycle policy preview request.</p>
1901
- */
1902
- export interface LifecyclePolicyPreviewSummary {
1903
- /**
1904
- * <p>The number of expiring images.</p>
1905
- */
1906
- expiringImageTotalCount?: number;
1907
- }
1908
- export declare namespace LifecyclePolicyPreviewSummary {
1909
- /**
1910
- * @internal
1911
- */
1912
- const filterSensitiveLog: (obj: LifecyclePolicyPreviewSummary) => any;
1913
- }
1914
- export interface GetLifecyclePolicyPreviewResponse {
1915
- /**
1916
- * <p>The registry ID associated with the request.</p>
1917
- */
1918
- registryId?: string;
1919
- /**
1920
- * <p>The repository name associated with the request.</p>
1921
- */
1922
- repositoryName?: string;
1923
- /**
1924
- * <p>The JSON lifecycle policy text.</p>
1925
- */
1926
- lifecyclePolicyText?: string;
1927
- /**
1928
- * <p>The status of the lifecycle policy preview request.</p>
1929
- */
1930
- status?: LifecyclePolicyPreviewStatus | string;
1931
- /**
1932
- * <p>The <code>nextToken</code> value to include in a future
1933
- * <code>GetLifecyclePolicyPreview</code> request. When the results of a
1934
- * <code>GetLifecyclePolicyPreview</code> request exceed <code>maxResults</code>, this
1935
- * value can be used to retrieve the next page of results. This value is <code>null</code>
1936
- * when there are no more results to return.</p>
1937
- */
1938
- nextToken?: string;
1939
- /**
1940
- * <p>The results of the lifecycle policy preview request.</p>
1941
- */
1942
- previewResults?: LifecyclePolicyPreviewResult[];
1943
- /**
1944
- * <p>The list of images that is returned as a result of the action.</p>
1945
- */
1946
- summary?: LifecyclePolicyPreviewSummary;
1947
- }
1948
- export declare namespace GetLifecyclePolicyPreviewResponse {
1949
- /**
1950
- * @internal
1951
- */
1952
- const filterSensitiveLog: (obj: GetLifecyclePolicyPreviewResponse) => any;
1953
- }
1954
- /**
1955
- * <p>There is no dry run for this repository.</p>
1956
- */
1957
- export interface LifecyclePolicyPreviewNotFoundException extends __SmithyException, $MetadataBearer {
1958
- name: "LifecyclePolicyPreviewNotFoundException";
1959
- $fault: "client";
1960
- message?: string;
1961
- }
1962
- export declare namespace LifecyclePolicyPreviewNotFoundException {
1963
- /**
1964
- * @internal
1965
- */
1966
- const filterSensitiveLog: (obj: LifecyclePolicyPreviewNotFoundException) => any;
1967
- }
1968
- export interface GetRegistryPolicyRequest {
1969
- }
1970
- export declare namespace GetRegistryPolicyRequest {
1971
- /**
1972
- * @internal
1973
- */
1974
- const filterSensitiveLog: (obj: GetRegistryPolicyRequest) => any;
1975
- }
1976
- export interface GetRegistryPolicyResponse {
1977
- /**
1978
- * <p>The ID of the registry.</p>
1979
- */
1980
- registryId?: string;
1981
- /**
1982
- * <p>The JSON text of the permissions policy for a registry.</p>
1983
- */
1984
- policyText?: string;
1985
- }
1986
- export declare namespace GetRegistryPolicyResponse {
1987
- /**
1988
- * @internal
1989
- */
1990
- const filterSensitiveLog: (obj: GetRegistryPolicyResponse) => any;
1991
- }
1992
- export interface GetRepositoryPolicyRequest {
1993
- /**
1994
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository.
1995
- * If you do not specify a registry, the default registry is assumed.</p>
1996
- */
1997
- registryId?: string;
1998
- /**
1999
- * <p>The name of the repository with the policy to retrieve.</p>
2000
- */
2001
- repositoryName: string | undefined;
2002
- }
2003
- export declare namespace GetRepositoryPolicyRequest {
2004
- /**
2005
- * @internal
2006
- */
2007
- const filterSensitiveLog: (obj: GetRepositoryPolicyRequest) => any;
2008
- }
2009
- export interface GetRepositoryPolicyResponse {
2010
- /**
2011
- * <p>The registry ID associated with the request.</p>
2012
- */
2013
- registryId?: string;
2014
- /**
2015
- * <p>The repository name associated with the request.</p>
2016
- */
2017
- repositoryName?: string;
2018
- /**
2019
- * <p>The JSON repository policy text associated with the repository.</p>
2020
- */
2021
- policyText?: string;
2022
- }
2023
- export declare namespace GetRepositoryPolicyResponse {
2024
- /**
2025
- * @internal
2026
- */
2027
- const filterSensitiveLog: (obj: GetRepositoryPolicyResponse) => any;
2028
- }
2029
- export interface InitiateLayerUploadRequest {
2030
- /**
2031
- * <p>The Amazon Web Services account ID associated with the registry to which you intend to upload
2032
- * layers. If you do not specify a registry, the default registry is assumed.</p>
2033
- */
2034
- registryId?: string;
2035
- /**
2036
- * <p>The name of the repository to which you intend to upload layers.</p>
2037
- */
2038
- repositoryName: string | undefined;
2039
- }
2040
- export declare namespace InitiateLayerUploadRequest {
2041
- /**
2042
- * @internal
2043
- */
2044
- const filterSensitiveLog: (obj: InitiateLayerUploadRequest) => any;
2045
- }
2046
- export interface InitiateLayerUploadResponse {
2047
- /**
2048
- * <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a>
2049
- * operations.</p>
2050
- */
2051
- uploadId?: string;
2052
- /**
2053
- * <p>The size, in bytes, that Amazon ECR expects future layer part uploads to be.</p>
2054
- */
2055
- partSize?: number;
2056
- }
2057
- export declare namespace InitiateLayerUploadResponse {
2058
- /**
2059
- * @internal
2060
- */
2061
- const filterSensitiveLog: (obj: InitiateLayerUploadResponse) => any;
2062
- }
2063
- /**
2064
- * <p>An object representing a filter on a <a>ListImages</a> operation.</p>
2065
- */
2066
- export interface ListImagesFilter {
2067
- /**
2068
- * <p>The tag status with which to filter your <a>ListImages</a> results. You can
2069
- * filter results based on whether they are <code>TAGGED</code> or
2070
- * <code>UNTAGGED</code>.</p>
2071
- */
2072
- tagStatus?: TagStatus | string;
2073
- }
2074
- export declare namespace ListImagesFilter {
2075
- /**
2076
- * @internal
2077
- */
2078
- const filterSensitiveLog: (obj: ListImagesFilter) => any;
2079
- }
2080
- export interface ListImagesRequest {
2081
- /**
2082
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
2083
- * which to list images. If you do not specify a registry, the default registry is assumed.</p>
2084
- */
2085
- registryId?: string;
2086
- /**
2087
- * <p>The repository with image IDs to be listed.</p>
2088
- */
2089
- repositoryName: string | undefined;
2090
- /**
2091
- * <p>The <code>nextToken</code> value returned from a previous paginated
2092
- * <code>ListImages</code> request where <code>maxResults</code> was used and the
2093
- * results exceeded the value of that parameter. Pagination continues from the end of the
2094
- * previous results that returned the <code>nextToken</code> value. This value is
2095
- * <code>null</code> when there are no more results to return.</p>
2096
- * <note>
2097
- * <p>This token should be treated as an opaque identifier that is only used to
2098
- * retrieve the next items in a list and not for other programmatic purposes.</p>
2099
- * </note>
2100
- */
2101
- nextToken?: string;
2102
- /**
2103
- * <p>The maximum number of image results returned by <code>ListImages</code> in paginated
2104
- * output. When this parameter is used, <code>ListImages</code> only returns
2105
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
2106
- * response element. The remaining results of the initial request can be seen by sending
2107
- * another <code>ListImages</code> request with the returned <code>nextToken</code> value.
2108
- * This value can be between 1 and 1000. If this parameter is
2109
- * not used, then <code>ListImages</code> returns up to 100 results and a
2110
- * <code>nextToken</code> value, if applicable.</p>
2111
- */
2112
- maxResults?: number;
2113
- /**
2114
- * <p>The filter key and value with which to filter your <code>ListImages</code>
2115
- * results.</p>
2116
- */
2117
- filter?: ListImagesFilter;
2118
- }
2119
- export declare namespace ListImagesRequest {
2120
- /**
2121
- * @internal
2122
- */
2123
- const filterSensitiveLog: (obj: ListImagesRequest) => any;
2124
- }
2125
- export interface ListImagesResponse {
2126
- /**
2127
- * <p>The list of image IDs for the requested repository.</p>
2128
- */
2129
- imageIds?: ImageIdentifier[];
2130
- /**
2131
- * <p>The <code>nextToken</code> value to include in a future <code>ListImages</code>
2132
- * request. When the results of a <code>ListImages</code> request exceed
2133
- * <code>maxResults</code>, this value can be used to retrieve the next page of
2134
- * results. This value is <code>null</code> when there are no more results to
2135
- * return.</p>
2136
- */
2137
- nextToken?: string;
2138
- }
2139
- export declare namespace ListImagesResponse {
2140
- /**
2141
- * @internal
2142
- */
2143
- const filterSensitiveLog: (obj: ListImagesResponse) => any;
2144
- }
2145
- export interface ListTagsForResourceRequest {
2146
- /**
2147
- * <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
2148
- * only supported resource is an Amazon ECR repository.</p>
2149
- */
2150
- resourceArn: string | undefined;
2151
- }
2152
- export declare namespace ListTagsForResourceRequest {
2153
- /**
2154
- * @internal
2155
- */
2156
- const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2157
- }
2158
- export interface ListTagsForResourceResponse {
2159
- /**
2160
- * <p>The tags for the resource.</p>
2161
- */
2162
- tags?: Tag[];
2163
- }
2164
- export declare namespace ListTagsForResourceResponse {
2165
- /**
2166
- * @internal
2167
- */
2168
- const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2169
- }
2170
- /**
2171
- * <p>The specified image has already been pushed, and there were no changes to the manifest
2172
- * or image tag after the last push.</p>
2173
- */
2174
- export interface ImageAlreadyExistsException extends __SmithyException, $MetadataBearer {
2175
- name: "ImageAlreadyExistsException";
2176
- $fault: "client";
2177
- /**
2178
- * <p>The error message associated with the exception.</p>
2179
- */
2180
- message?: string;
2181
- }
2182
- export declare namespace ImageAlreadyExistsException {
2183
- /**
2184
- * @internal
2185
- */
2186
- const filterSensitiveLog: (obj: ImageAlreadyExistsException) => any;
2187
- }
2188
- /**
2189
- * <p>The specified image digest does not match the digest that Amazon ECR calculated for the
2190
- * image.</p>
2191
- */
2192
- export interface ImageDigestDoesNotMatchException extends __SmithyException, $MetadataBearer {
2193
- name: "ImageDigestDoesNotMatchException";
2194
- $fault: "client";
2195
- message?: string;
2196
- }
2197
- export declare namespace ImageDigestDoesNotMatchException {
2198
- /**
2199
- * @internal
2200
- */
2201
- const filterSensitiveLog: (obj: ImageDigestDoesNotMatchException) => any;
2202
- }
2203
- /**
2204
- * <p>The specified image is tagged with a tag that already exists. The repository is
2205
- * configured for tag immutability.</p>
2206
- */
2207
- export interface ImageTagAlreadyExistsException extends __SmithyException, $MetadataBearer {
2208
- name: "ImageTagAlreadyExistsException";
2209
- $fault: "client";
2210
- message?: string;
2211
- }
2212
- export declare namespace ImageTagAlreadyExistsException {
2213
- /**
2214
- * @internal
2215
- */
2216
- const filterSensitiveLog: (obj: ImageTagAlreadyExistsException) => any;
2217
- }
2218
- export interface PutImageRequest {
2219
- /**
2220
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
2221
- * which to put the image. If you do not specify a registry, the default registry is assumed.</p>
2222
- */
2223
- registryId?: string;
2224
- /**
2225
- * <p>The name of the repository in which to put the image.</p>
2226
- */
2227
- repositoryName: string | undefined;
2228
- /**
2229
- * <p>The image manifest corresponding to the image to be uploaded.</p>
2230
- */
2231
- imageManifest: string | undefined;
2232
- /**
2233
- * <p>The media type of the image manifest. If you push an image manifest that does not
2234
- * contain the <code>mediaType</code> field, you must specify the
2235
- * <code>imageManifestMediaType</code> in the request.</p>
2236
- */
2237
- imageManifestMediaType?: string;
2238
- /**
2239
- * <p>The tag to associate with the image. This parameter is required for images that use
2240
- * the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</p>
2241
- */
2242
- imageTag?: string;
2243
- /**
2244
- * <p>The image digest of the image manifest corresponding to the image.</p>
2245
- */
2246
- imageDigest?: string;
2247
- }
2248
- export declare namespace PutImageRequest {
2249
- /**
2250
- * @internal
2251
- */
2252
- const filterSensitiveLog: (obj: PutImageRequest) => any;
2253
- }
2254
- export interface PutImageResponse {
2255
- /**
2256
- * <p>Details of the image uploaded.</p>
2257
- */
2258
- image?: Image;
2259
- }
2260
- export declare namespace PutImageResponse {
2261
- /**
2262
- * @internal
2263
- */
2264
- const filterSensitiveLog: (obj: PutImageResponse) => any;
2265
- }
2266
- /**
2267
- * <p>The manifest list is referencing an image that does not exist.</p>
2268
- */
2269
- export interface ReferencedImagesNotFoundException extends __SmithyException, $MetadataBearer {
2270
- name: "ReferencedImagesNotFoundException";
2271
- $fault: "client";
2272
- message?: string;
2273
- }
2274
- export declare namespace ReferencedImagesNotFoundException {
2275
- /**
2276
- * @internal
2277
- */
2278
- const filterSensitiveLog: (obj: ReferencedImagesNotFoundException) => any;
2279
- }
2280
- export interface PutImageScanningConfigurationRequest {
2281
- /**
2282
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
2283
- * which to update the image scanning configuration setting.
2284
- * If you do not specify a registry, the default registry is assumed.</p>
2285
- */
2286
- registryId?: string;
2287
- /**
2288
- * <p>The name of the repository in which to update the image scanning configuration
2289
- * setting.</p>
2290
- */
2291
- repositoryName: string | undefined;
2292
- /**
2293
- * <p>The image scanning configuration for the repository. This setting determines whether
2294
- * images are scanned for known vulnerabilities after being pushed to the
2295
- * repository.</p>
2296
- */
2297
- imageScanningConfiguration: ImageScanningConfiguration | undefined;
2298
- }
2299
- export declare namespace PutImageScanningConfigurationRequest {
2300
- /**
2301
- * @internal
2302
- */
2303
- const filterSensitiveLog: (obj: PutImageScanningConfigurationRequest) => any;
2304
- }
2305
- export interface PutImageScanningConfigurationResponse {
2306
- /**
2307
- * <p>The registry ID associated with the request.</p>
2308
- */
2309
- registryId?: string;
2310
- /**
2311
- * <p>The repository name associated with the request.</p>
2312
- */
2313
- repositoryName?: string;
2314
- /**
2315
- * <p>The image scanning configuration setting for the repository.</p>
2316
- */
2317
- imageScanningConfiguration?: ImageScanningConfiguration;
2318
- }
2319
- export declare namespace PutImageScanningConfigurationResponse {
2320
- /**
2321
- * @internal
2322
- */
2323
- const filterSensitiveLog: (obj: PutImageScanningConfigurationResponse) => any;
2324
- }
2325
- export interface PutImageTagMutabilityRequest {
2326
- /**
2327
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
2328
- * which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.</p>
2329
- */
2330
- registryId?: string;
2331
- /**
2332
- * <p>The name of the repository in which to update the image tag mutability
2333
- * settings.</p>
2334
- */
2335
- repositoryName: string | undefined;
2336
- /**
2337
- * <p>The tag mutability setting for the repository. If <code>MUTABLE</code> is specified,
2338
- * image tags can be overwritten. If <code>IMMUTABLE</code> is specified, all image tags
2339
- * within the repository will be immutable which will prevent them from being
2340
- * overwritten.</p>
2341
- */
2342
- imageTagMutability: ImageTagMutability | string | undefined;
2343
- }
2344
- export declare namespace PutImageTagMutabilityRequest {
2345
- /**
2346
- * @internal
2347
- */
2348
- const filterSensitiveLog: (obj: PutImageTagMutabilityRequest) => any;
2349
- }
2350
- export interface PutImageTagMutabilityResponse {
2351
- /**
2352
- * <p>The registry ID associated with the request.</p>
2353
- */
2354
- registryId?: string;
2355
- /**
2356
- * <p>The repository name associated with the request.</p>
2357
- */
2358
- repositoryName?: string;
2359
- /**
2360
- * <p>The image tag mutability setting for the repository.</p>
2361
- */
2362
- imageTagMutability?: ImageTagMutability | string;
2363
- }
2364
- export declare namespace PutImageTagMutabilityResponse {
2365
- /**
2366
- * @internal
2367
- */
2368
- const filterSensitiveLog: (obj: PutImageTagMutabilityResponse) => any;
2369
- }
2370
- export interface PutLifecyclePolicyRequest {
2371
- /**
2372
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository. If you
2373
- * do
2374
- not specify a registry, the default registry is assumed.</p>
2375
- */
2376
- registryId?: string;
2377
- /**
2378
- * <p>The name of the repository to receive the policy.</p>
2379
- */
2380
- repositoryName: string | undefined;
2381
- /**
2382
- * <p>The JSON repository policy text to apply to the repository.</p>
2383
- */
2384
- lifecyclePolicyText: string | undefined;
2385
- }
2386
- export declare namespace PutLifecyclePolicyRequest {
2387
- /**
2388
- * @internal
2389
- */
2390
- const filterSensitiveLog: (obj: PutLifecyclePolicyRequest) => any;
2391
- }
2392
- export interface PutLifecyclePolicyResponse {
2393
- /**
2394
- * <p>The registry ID associated with the request.</p>
2395
- */
2396
- registryId?: string;
2397
- /**
2398
- * <p>The repository name associated with the request.</p>
2399
- */
2400
- repositoryName?: string;
2401
- /**
2402
- * <p>The JSON repository policy text.</p>
2403
- */
2404
- lifecyclePolicyText?: string;
2405
- }
2406
- export declare namespace PutLifecyclePolicyResponse {
2407
- /**
2408
- * @internal
2409
- */
2410
- const filterSensitiveLog: (obj: PutLifecyclePolicyResponse) => any;
2411
- }
2412
- export interface PutRegistryPolicyRequest {
2413
- /**
2414
- * <p>The JSON policy text to apply to your registry. The policy text follows the same
2415
- * format as IAM policy text. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry
2416
- * permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
2417
- */
2418
- policyText: string | undefined;
2419
- }
2420
- export declare namespace PutRegistryPolicyRequest {
2421
- /**
2422
- * @internal
2423
- */
2424
- const filterSensitiveLog: (obj: PutRegistryPolicyRequest) => any;
2425
- }
2426
- export interface PutRegistryPolicyResponse {
2427
- /**
2428
- * <p>The registry ID.</p>
2429
- */
2430
- registryId?: string;
2431
- /**
2432
- * <p>The JSON policy text for your registry.</p>
2433
- */
2434
- policyText?: string;
2435
- }
2436
- export declare namespace PutRegistryPolicyResponse {
2437
- /**
2438
- * @internal
2439
- */
2440
- const filterSensitiveLog: (obj: PutRegistryPolicyResponse) => any;
2441
- }
2442
- export interface PutReplicationConfigurationRequest {
2443
- /**
2444
- * <p>An object representing the replication configuration for a registry.</p>
2445
- */
2446
- replicationConfiguration: ReplicationConfiguration | undefined;
2447
- }
2448
- export declare namespace PutReplicationConfigurationRequest {
2449
- /**
2450
- * @internal
2451
- */
2452
- const filterSensitiveLog: (obj: PutReplicationConfigurationRequest) => any;
2453
- }
2454
- export interface PutReplicationConfigurationResponse {
2455
- /**
2456
- * <p>The contents of the replication configuration for the registry.</p>
2457
- */
2458
- replicationConfiguration?: ReplicationConfiguration;
2459
- }
2460
- export declare namespace PutReplicationConfigurationResponse {
2461
- /**
2462
- * @internal
2463
- */
2464
- const filterSensitiveLog: (obj: PutReplicationConfigurationResponse) => any;
2465
- }
2466
- export interface SetRepositoryPolicyRequest {
2467
- /**
2468
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository.
2469
- * If you do not specify a registry, the default registry is assumed.</p>
2470
- */
2471
- registryId?: string;
2472
- /**
2473
- * <p>The name of the repository to receive the policy.</p>
2474
- */
2475
- repositoryName: string | undefined;
2476
- /**
2477
- * <p>The JSON repository policy text to apply to the repository. For more information, see
2478
- * <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR repository
2479
- * policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
2480
- */
2481
- policyText: string | undefined;
2482
- /**
2483
- * <p>If the policy you are attempting to set on a repository policy would prevent you from
2484
- * setting another policy in the future, you must force the <a>SetRepositoryPolicy</a> operation. This is intended to prevent accidental
2485
- * repository lock outs.</p>
2486
- */
2487
- force?: boolean;
2488
- }
2489
- export declare namespace SetRepositoryPolicyRequest {
2490
- /**
2491
- * @internal
2492
- */
2493
- const filterSensitiveLog: (obj: SetRepositoryPolicyRequest) => any;
2494
- }
2495
- export interface SetRepositoryPolicyResponse {
2496
- /**
2497
- * <p>The registry ID associated with the request.</p>
2498
- */
2499
- registryId?: string;
2500
- /**
2501
- * <p>The repository name associated with the request.</p>
2502
- */
2503
- repositoryName?: string;
2504
- /**
2505
- * <p>The JSON repository policy text applied to the repository.</p>
2506
- */
2507
- policyText?: string;
2508
- }
2509
- export declare namespace SetRepositoryPolicyResponse {
2510
- /**
2511
- * @internal
2512
- */
2513
- const filterSensitiveLog: (obj: SetRepositoryPolicyResponse) => any;
2514
- }
2515
- export interface StartImageScanRequest {
2516
- /**
2517
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
2518
- * which to start an image scan request. If you do not specify a registry, the default registry is assumed.</p>
2519
- */
2520
- registryId?: string;
2521
- /**
2522
- * <p>The name of the repository that contains the images to scan.</p>
2523
- */
2524
- repositoryName: string | undefined;
2525
- /**
2526
- * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
2527
- */
2528
- imageId: ImageIdentifier | undefined;
2529
- }
2530
- export declare namespace StartImageScanRequest {
2531
- /**
2532
- * @internal
2533
- */
2534
- const filterSensitiveLog: (obj: StartImageScanRequest) => any;
2535
- }
2536
- export interface StartImageScanResponse {
2537
- /**
2538
- * <p>The registry ID associated with the request.</p>
2539
- */
2540
- registryId?: string;
2541
- /**
2542
- * <p>The repository name associated with the request.</p>
2543
- */
2544
- repositoryName?: string;
2545
- /**
2546
- * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
2547
- */
2548
- imageId?: ImageIdentifier;
2549
- /**
2550
- * <p>The current state of the scan.</p>
2551
- */
2552
- imageScanStatus?: ImageScanStatus;
2553
- }
2554
- export declare namespace StartImageScanResponse {
2555
- /**
2556
- * @internal
2557
- */
2558
- const filterSensitiveLog: (obj: StartImageScanResponse) => any;
2559
- }
2560
- /**
2561
- * <p>The image is of a type that cannot be scanned.</p>
2562
- */
2563
- export interface UnsupportedImageTypeException extends __SmithyException, $MetadataBearer {
2564
- name: "UnsupportedImageTypeException";
2565
- $fault: "client";
2566
- message?: string;
2567
- }
2568
- export declare namespace UnsupportedImageTypeException {
2569
- /**
2570
- * @internal
2571
- */
2572
- const filterSensitiveLog: (obj: UnsupportedImageTypeException) => any;
2573
- }
2574
- /**
2575
- * <p>The previous lifecycle policy preview request has not completed. Wait and try
2576
- * again.</p>
2577
- */
2578
- export interface LifecyclePolicyPreviewInProgressException extends __SmithyException, $MetadataBearer {
2579
- name: "LifecyclePolicyPreviewInProgressException";
2580
- $fault: "client";
2581
- message?: string;
2582
- }
2583
- export declare namespace LifecyclePolicyPreviewInProgressException {
2584
- /**
2585
- * @internal
2586
- */
2587
- const filterSensitiveLog: (obj: LifecyclePolicyPreviewInProgressException) => any;
2588
- }
2589
- export interface StartLifecyclePolicyPreviewRequest {
2590
- /**
2591
- * <p>The Amazon Web Services account ID associated with the registry that contains the repository.
2592
- * If you do not specify a registry, the default registry is assumed.</p>
2593
- */
2594
- registryId?: string;
2595
- /**
2596
- * <p>The name of the repository to be evaluated.</p>
2597
- */
2598
- repositoryName: string | undefined;
2599
- /**
2600
- * <p>The policy to be evaluated against. If you do not specify a policy, the current policy
2601
- * for the repository is used.</p>
2602
- */
2603
- lifecyclePolicyText?: string;
2604
- }
2605
- export declare namespace StartLifecyclePolicyPreviewRequest {
2606
- /**
2607
- * @internal
2608
- */
2609
- const filterSensitiveLog: (obj: StartLifecyclePolicyPreviewRequest) => any;
2610
- }
2611
- export interface StartLifecyclePolicyPreviewResponse {
2612
- /**
2613
- * <p>The registry ID associated with the request.</p>
2614
- */
2615
- registryId?: string;
2616
- /**
2617
- * <p>The repository name associated with the request.</p>
2618
- */
2619
- repositoryName?: string;
2620
- /**
2621
- * <p>The JSON repository policy text.</p>
2622
- */
2623
- lifecyclePolicyText?: string;
2624
- /**
2625
- * <p>The status of the lifecycle policy preview request.</p>
2626
- */
2627
- status?: LifecyclePolicyPreviewStatus | string;
2628
- }
2629
- export declare namespace StartLifecyclePolicyPreviewResponse {
2630
- /**
2631
- * @internal
2632
- */
2633
- const filterSensitiveLog: (obj: StartLifecyclePolicyPreviewResponse) => any;
2634
- }
2635
- export interface TagResourceRequest {
2636
- /**
2637
- * <p>The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported
2638
- * resource is an Amazon ECR repository.</p>
2639
- */
2640
- resourceArn: string | undefined;
2641
- /**
2642
- * <p>The tags to add to the resource. A tag is an array of key-value pairs.
2643
- * Tag keys can have a maximum character length of 128 characters, and tag values can have
2644
- * a maximum length of 256 characters.</p>
2645
- */
2646
- tags: Tag[] | undefined;
2647
- }
2648
- export declare namespace TagResourceRequest {
2649
- /**
2650
- * @internal
2651
- */
2652
- const filterSensitiveLog: (obj: TagResourceRequest) => any;
2653
- }
2654
- export interface TagResourceResponse {
2655
- }
2656
- export declare namespace TagResourceResponse {
2657
- /**
2658
- * @internal
2659
- */
2660
- const filterSensitiveLog: (obj: TagResourceResponse) => any;
2661
- }
2662
- export interface UntagResourceRequest {
2663
- /**
2664
- * <p>The Amazon Resource Name (ARN) of the resource from which to remove tags. Currently, the only supported
2665
- * resource is an Amazon ECR repository.</p>
2666
- */
2667
- resourceArn: string | undefined;
2668
- /**
2669
- * <p>The keys of the tags to be removed.</p>
2670
- */
2671
- tagKeys: string[] | undefined;
2672
- }
2673
- export declare namespace UntagResourceRequest {
2674
- /**
2675
- * @internal
2676
- */
2677
- const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2678
- }
2679
- export interface UntagResourceResponse {
2680
- }
2681
- export declare namespace UntagResourceResponse {
2682
- /**
2683
- * @internal
2684
- */
2685
- const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2686
- }
2687
- /**
2688
- * <p>The layer part size is not valid, or the first byte specified is not consecutive to
2689
- * the last byte of a previous layer part upload.</p>
2690
- */
2691
- export interface InvalidLayerPartException extends __SmithyException, $MetadataBearer {
2692
- name: "InvalidLayerPartException";
2693
- $fault: "client";
2694
- /**
2695
- * <p>The registry ID associated with the exception.</p>
2696
- */
2697
- registryId?: string;
2698
- /**
2699
- * <p>The repository name associated with the exception.</p>
2700
- */
2701
- repositoryName?: string;
2702
- /**
2703
- * <p>The upload ID associated with the exception.</p>
2704
- */
2705
- uploadId?: string;
2706
- /**
2707
- * <p>The last valid byte received from the layer part upload that is associated with the
2708
- * exception.</p>
2709
- */
2710
- lastValidByteReceived?: number;
2711
- /**
2712
- * <p>The error message associated with the exception.</p>
2713
- */
2714
- message?: string;
2715
- }
2716
- export declare namespace InvalidLayerPartException {
2717
- /**
2718
- * @internal
2719
- */
2720
- const filterSensitiveLog: (obj: InvalidLayerPartException) => any;
2721
- }
2722
- export interface UploadLayerPartRequest {
2723
- /**
2724
- * <p>The Amazon Web Services account ID associated with the registry to which you are uploading layer
2725
- * parts. If you do not specify a registry, the default registry is assumed.</p>
2726
- */
2727
- registryId?: string;
2728
- /**
2729
- * <p>The name of the repository to which you are uploading layer parts.</p>
2730
- */
2731
- repositoryName: string | undefined;
2732
- /**
2733
- * <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
2734
- * associate with the layer part upload.</p>
2735
- */
2736
- uploadId: string | undefined;
2737
- /**
2738
- * <p>The position of the first byte of the layer part witin the overall image layer.</p>
2739
- */
2740
- partFirstByte: number | undefined;
2741
- /**
2742
- * <p>The position of the last byte of the layer part within the overall image layer.</p>
2743
- */
2744
- partLastByte: number | undefined;
2745
- /**
2746
- * <p>The base64-encoded layer part payload.</p>
2747
- */
2748
- layerPartBlob: Uint8Array | undefined;
2749
- }
2750
- export declare namespace UploadLayerPartRequest {
2751
- /**
2752
- * @internal
2753
- */
2754
- const filterSensitiveLog: (obj: UploadLayerPartRequest) => any;
2755
- }
2756
- export interface UploadLayerPartResponse {
2757
- /**
2758
- * <p>The registry ID associated with the request.</p>
2759
- */
2760
- registryId?: string;
2761
- /**
2762
- * <p>The repository name associated with the request.</p>
2763
- */
2764
- repositoryName?: string;
2765
- /**
2766
- * <p>The upload ID associated with the request.</p>
2767
- */
2768
- uploadId?: string;
2769
- /**
2770
- * <p>The integer value of the last byte received in the request.</p>
2771
- */
2772
- lastByteReceived?: number;
2773
- }
2774
- export declare namespace UploadLayerPartResponse {
2775
- /**
2776
- * @internal
2777
- */
2778
- const filterSensitiveLog: (obj: UploadLayerPartResponse) => any;
2779
- }