@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,97 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { BatchGetImageRequest, BatchGetImageResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1BatchGetImageCommand,
5
- serializeAws_json1_1BatchGetImageCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface BatchGetImageCommandInput extends BatchGetImageRequest {}
21
- export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets detailed information for an image. Images are specified with either an
25
- * <code>imageTag</code> or <code>imageDigest</code>.</p>
26
- * <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
27
- * manifest.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { ECRClient, BatchGetImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
32
- * // const { ECRClient, BatchGetImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
33
- * const client = new ECRClient(config);
34
- * const command = new BatchGetImageCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link BatchGetImageCommandInput} for command's `input` shape.
39
- * @see {@link BatchGetImageCommandOutput} for command's `response` shape.
40
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class BatchGetImageCommand extends $Command<
44
- BatchGetImageCommandInput,
45
- BatchGetImageCommandOutput,
46
- ECRClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: BatchGetImageCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: ECRClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<BatchGetImageCommandInput, BatchGetImageCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "ECRClient";
71
- const commandName = "BatchGetImageCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: BatchGetImageRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: BatchGetImageResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: BatchGetImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1BatchGetImageCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchGetImageCommandOutput> {
92
- return deserializeAws_json1_1BatchGetImageCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,102 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { CompleteLayerUploadRequest, CompleteLayerUploadResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CompleteLayerUploadCommand,
5
- serializeAws_json1_1CompleteLayerUploadCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CompleteLayerUploadCommandInput extends CompleteLayerUploadRequest {}
21
- export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
25
- * repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
26
- * of the image layer for data validation purposes.</p>
27
- * <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
28
- * layer to verify that the upload has completed.</p>
29
- * <note>
30
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by
31
- * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
32
- * </note>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { ECRClient, CompleteLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
37
- * // const { ECRClient, CompleteLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
38
- * const client = new ECRClient(config);
39
- * const command = new CompleteLayerUploadCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link CompleteLayerUploadCommandInput} for command's `input` shape.
44
- * @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
45
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class CompleteLayerUploadCommand extends $Command<
49
- CompleteLayerUploadCommandInput,
50
- CompleteLayerUploadCommandOutput,
51
- ECRClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: CompleteLayerUploadCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: ECRClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "ECRClient";
76
- const commandName = "CompleteLayerUploadCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: CompleteLayerUploadRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: CompleteLayerUploadResponse.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: CompleteLayerUploadCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_json1_1CompleteLayerUploadCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CompleteLayerUploadCommandOutput> {
97
- return deserializeAws_json1_1CompleteLayerUploadCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,95 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { CreateRepositoryRequest, CreateRepositoryResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateRepositoryCommand,
5
- serializeAws_json1_1CreateRepositoryCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateRepositoryCommandInput extends CreateRepositoryRequest {}
21
- export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the
25
- * <i>Amazon Elastic Container Registry User Guide</i>.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ECRClient, CreateRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
30
- * // const { ECRClient, CreateRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
31
- * const client = new ECRClient(config);
32
- * const command = new CreateRepositoryCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateRepositoryCommandInput} for command's `input` shape.
37
- * @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
38
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateRepositoryCommand extends $Command<
42
- CreateRepositoryCommandInput,
43
- CreateRepositoryCommandOutput,
44
- ECRClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateRepositoryCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ECRClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateRepositoryCommandInput, CreateRepositoryCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ECRClient";
69
- const commandName = "CreateRepositoryCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateRepositoryRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateRepositoryResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateRepositoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1CreateRepositoryCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRepositoryCommandOutput> {
90
- return deserializeAws_json1_1CreateRepositoryCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { DeleteLifecyclePolicyRequest, DeleteLifecyclePolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteLifecyclePolicyCommand,
5
- serializeAws_json1_1DeleteLifecyclePolicyCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteLifecyclePolicyCommandInput extends DeleteLifecyclePolicyRequest {}
21
- export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the lifecycle policy associated with the specified repository.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ECRClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
29
- * // const { ECRClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
30
- * const client = new ECRClient(config);
31
- * const command = new DeleteLifecyclePolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteLifecyclePolicyCommandInput} for command's `input` shape.
36
- * @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
37
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteLifecyclePolicyCommand extends $Command<
41
- DeleteLifecyclePolicyCommandInput,
42
- DeleteLifecyclePolicyCommandOutput,
43
- ECRClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteLifecyclePolicyCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: ECRClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "ECRClient";
68
- const commandName = "DeleteLifecyclePolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteLifecyclePolicyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteLifecyclePolicyResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DeleteLifecyclePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DeleteLifecyclePolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteLifecyclePolicyCommandOutput> {
89
- return deserializeAws_json1_1DeleteLifecyclePolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { DeleteRegistryPolicyRequest, DeleteRegistryPolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteRegistryPolicyCommand,
5
- serializeAws_json1_1DeleteRegistryPolicyCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteRegistryPolicyCommandInput extends DeleteRegistryPolicyRequest {}
21
- export interface DeleteRegistryPolicyCommandOutput extends DeleteRegistryPolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the registry permissions policy.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ECRClient, DeleteRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
29
- * // const { ECRClient, DeleteRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
30
- * const client = new ECRClient(config);
31
- * const command = new DeleteRegistryPolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteRegistryPolicyCommandInput} for command's `input` shape.
36
- * @see {@link DeleteRegistryPolicyCommandOutput} for command's `response` shape.
37
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteRegistryPolicyCommand extends $Command<
41
- DeleteRegistryPolicyCommandInput,
42
- DeleteRegistryPolicyCommandOutput,
43
- ECRClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteRegistryPolicyCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: ECRClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "ECRClient";
68
- const commandName = "DeleteRegistryPolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteRegistryPolicyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteRegistryPolicyResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DeleteRegistryPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DeleteRegistryPolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRegistryPolicyCommandOutput> {
89
- return deserializeAws_json1_1DeleteRegistryPolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,96 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { DeleteRepositoryRequest, DeleteRepositoryResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteRepositoryCommand,
5
- serializeAws_json1_1DeleteRepositoryCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteRepositoryCommandInput extends DeleteRepositoryRequest {}
21
- export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a repository. If the repository contains images, you must either delete all
25
- * images in the repository or use the <code>force</code> option to delete the
26
- * repository.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { ECRClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
31
- * // const { ECRClient, DeleteRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
32
- * const client = new ECRClient(config);
33
- * const command = new DeleteRepositoryCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
38
- * @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
39
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteRepositoryCommand extends $Command<
43
- DeleteRepositoryCommandInput,
44
- DeleteRepositoryCommandOutput,
45
- ECRClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteRepositoryCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: ECRClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "ECRClient";
70
- const commandName = "DeleteRepositoryCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteRepositoryRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteRepositoryResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DeleteRepositoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DeleteRepositoryCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRepositoryCommandOutput> {
91
- return deserializeAws_json1_1DeleteRepositoryCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,94 +0,0 @@
1
- import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
2
- import { DeleteRepositoryPolicyRequest, DeleteRepositoryPolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteRepositoryPolicyCommand,
5
- serializeAws_json1_1DeleteRepositoryPolicyCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteRepositoryPolicyCommandInput extends DeleteRepositoryPolicyRequest {}
21
- export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the repository policy associated with the specified repository.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { ECRClient, DeleteRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
29
- * // const { ECRClient, DeleteRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
30
- * const client = new ECRClient(config);
31
- * const command = new DeleteRepositoryPolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteRepositoryPolicyCommandInput} for command's `input` shape.
36
- * @see {@link DeleteRepositoryPolicyCommandOutput} for command's `response` shape.
37
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteRepositoryPolicyCommand extends $Command<
41
- DeleteRepositoryPolicyCommandInput,
42
- DeleteRepositoryPolicyCommandOutput,
43
- ECRClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteRepositoryPolicyCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: ECRClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "ECRClient";
68
- const commandName = "DeleteRepositoryPolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteRepositoryPolicyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteRepositoryPolicyResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DeleteRepositoryPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1DeleteRepositoryPolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRepositoryPolicyCommandOutput> {
89
- return deserializeAws_json1_1DeleteRepositoryPolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }