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