@aws-sdk/client-ecr-public 3.35.0 → 3.38.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 (241) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ECRPUBLIC.js +0 -10
  3. package/dist-cjs/ECRPUBLICClient.js +0 -15
  4. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
  5. package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -30
  6. package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
  7. package/dist-cjs/commands/CreateRepositoryCommand.js +0 -26
  8. package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -27
  9. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -25
  10. package/dist-cjs/commands/DescribeImageTagsCommand.js +0 -25
  11. package/dist-cjs/commands/DescribeImagesCommand.js +0 -31
  12. package/dist-cjs/commands/DescribeRegistriesCommand.js +0 -25
  13. package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -25
  14. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -29
  15. package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +0 -25
  16. package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +0 -26
  17. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -25
  18. package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  20. package/dist-cjs/commands/PutImageCommand.js +0 -32
  21. package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +0 -25
  22. package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +0 -25
  23. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -27
  24. package/dist-cjs/commands/TagResourceCommand.js +0 -28
  25. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  26. package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
  27. package/dist-cjs/commands/index.js +26 -0
  28. package/dist-cjs/endpoints.js +1 -2
  29. package/dist-cjs/index.js +4 -31
  30. package/dist-cjs/models/index.js +0 -1
  31. package/dist-cjs/models/models_0.js +0 -256
  32. package/dist-cjs/pagination/DescribeImageTagsPaginator.js +0 -11
  33. package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -11
  34. package/dist-cjs/pagination/DescribeRegistriesPaginator.js +0 -11
  35. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -11
  36. package/dist-cjs/pagination/Interfaces.js +0 -1
  37. package/dist-cjs/pagination/index.js +8 -0
  38. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  39. package/dist-cjs/runtimeConfig.browser.js +1 -6
  40. package/dist-cjs/runtimeConfig.js +2 -7
  41. package/dist-cjs/runtimeConfig.native.js +0 -4
  42. package/dist-cjs/runtimeConfig.shared.js +0 -4
  43. package/dist-es/ECRPUBLIC.js +0 -1
  44. package/dist-es/ECRPUBLICClient.js +0 -1
  45. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +0 -1
  46. package/dist-es/commands/BatchDeleteImageCommand.js +0 -1
  47. package/dist-es/commands/CompleteLayerUploadCommand.js +0 -1
  48. package/dist-es/commands/CreateRepositoryCommand.js +0 -1
  49. package/dist-es/commands/DeleteRepositoryCommand.js +0 -1
  50. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +0 -1
  51. package/dist-es/commands/DescribeImageTagsCommand.js +0 -1
  52. package/dist-es/commands/DescribeImagesCommand.js +0 -1
  53. package/dist-es/commands/DescribeRegistriesCommand.js +0 -1
  54. package/dist-es/commands/DescribeRepositoriesCommand.js +0 -1
  55. package/dist-es/commands/GetAuthorizationTokenCommand.js +0 -1
  56. package/dist-es/commands/GetRegistryCatalogDataCommand.js +0 -1
  57. package/dist-es/commands/GetRepositoryCatalogDataCommand.js +0 -1
  58. package/dist-es/commands/GetRepositoryPolicyCommand.js +0 -1
  59. package/dist-es/commands/InitiateLayerUploadCommand.js +0 -1
  60. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  61. package/dist-es/commands/PutImageCommand.js +0 -1
  62. package/dist-es/commands/PutRegistryCatalogDataCommand.js +0 -1
  63. package/dist-es/commands/PutRepositoryCatalogDataCommand.js +0 -1
  64. package/dist-es/commands/SetRepositoryPolicyCommand.js +0 -1
  65. package/dist-es/commands/TagResourceCommand.js +0 -1
  66. package/dist-es/commands/UntagResourceCommand.js +0 -1
  67. package/dist-es/commands/UploadLayerPartCommand.js +0 -1
  68. package/dist-es/commands/index.js +23 -0
  69. package/dist-es/endpoints.js +1 -2
  70. package/dist-es/index.js +4 -31
  71. package/dist-es/models/index.js +0 -1
  72. package/dist-es/models/models_0.js +0 -1
  73. package/dist-es/pagination/DescribeImageTagsPaginator.js +0 -1
  74. package/dist-es/pagination/DescribeImagesPaginator.js +0 -1
  75. package/dist-es/pagination/DescribeRegistriesPaginator.js +0 -1
  76. package/dist-es/pagination/DescribeRepositoriesPaginator.js +0 -1
  77. package/dist-es/pagination/Interfaces.js +0 -1
  78. package/dist-es/pagination/index.js +5 -0
  79. package/dist-es/protocols/Aws_json1_1.js +0 -1
  80. package/dist-es/runtimeConfig.browser.js +1 -2
  81. package/dist-es/runtimeConfig.js +2 -3
  82. package/dist-es/runtimeConfig.native.js +0 -1
  83. package/dist-es/runtimeConfig.shared.js +0 -1
  84. package/dist-types/commands/index.d.ts +23 -0
  85. package/dist-types/index.d.ts +4 -30
  86. package/dist-types/pagination/index.d.ts +5 -0
  87. package/dist-types/ts3.4/ECRPUBLIC.d.ts +24 -134
  88. package/dist-types/ts3.4/ECRPUBLICClient.d.ts +24 -95
  89. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -26
  90. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
  91. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -27
  92. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
  93. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
  97. package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -24
  100. package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +2 -21
  102. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -26
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -27
  106. package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -26
  112. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  113. package/dist-types/ts3.4/index.d.ts +4 -30
  114. package/dist-types/ts3.4/models/models_0.d.ts +298 -1145
  115. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  116. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  117. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  118. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  119. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  120. package/package.json +33 -30
  121. package/dist-cjs/ECRPUBLIC.js.map +0 -1
  122. package/dist-cjs/ECRPUBLICClient.js.map +0 -1
  123. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  124. package/dist-cjs/commands/BatchDeleteImageCommand.js.map +0 -1
  125. package/dist-cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
  126. package/dist-cjs/commands/CreateRepositoryCommand.js.map +0 -1
  127. package/dist-cjs/commands/DeleteRepositoryCommand.js.map +0 -1
  128. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  129. package/dist-cjs/commands/DescribeImageTagsCommand.js.map +0 -1
  130. package/dist-cjs/commands/DescribeImagesCommand.js.map +0 -1
  131. package/dist-cjs/commands/DescribeRegistriesCommand.js.map +0 -1
  132. package/dist-cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
  133. package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
  134. package/dist-cjs/commands/GetRegistryCatalogDataCommand.js.map +0 -1
  135. package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
  136. package/dist-cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
  137. package/dist-cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
  138. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  139. package/dist-cjs/commands/PutImageCommand.js.map +0 -1
  140. package/dist-cjs/commands/PutRegistryCatalogDataCommand.js.map +0 -1
  141. package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
  142. package/dist-cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
  143. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  144. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  145. package/dist-cjs/commands/UploadLayerPartCommand.js.map +0 -1
  146. package/dist-cjs/endpoints.js.map +0 -1
  147. package/dist-cjs/index.js.map +0 -1
  148. package/dist-cjs/models/index.js.map +0 -1
  149. package/dist-cjs/models/models_0.js.map +0 -1
  150. package/dist-cjs/pagination/DescribeImageTagsPaginator.js.map +0 -1
  151. package/dist-cjs/pagination/DescribeImagesPaginator.js.map +0 -1
  152. package/dist-cjs/pagination/DescribeRegistriesPaginator.js.map +0 -1
  153. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  154. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  155. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  156. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  157. package/dist-cjs/runtimeConfig.js.map +0 -1
  158. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  159. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  160. package/dist-es/ECRPUBLIC.js.map +0 -1
  161. package/dist-es/ECRPUBLICClient.js.map +0 -1
  162. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  163. package/dist-es/commands/BatchDeleteImageCommand.js.map +0 -1
  164. package/dist-es/commands/CompleteLayerUploadCommand.js.map +0 -1
  165. package/dist-es/commands/CreateRepositoryCommand.js.map +0 -1
  166. package/dist-es/commands/DeleteRepositoryCommand.js.map +0 -1
  167. package/dist-es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  168. package/dist-es/commands/DescribeImageTagsCommand.js.map +0 -1
  169. package/dist-es/commands/DescribeImagesCommand.js.map +0 -1
  170. package/dist-es/commands/DescribeRegistriesCommand.js.map +0 -1
  171. package/dist-es/commands/DescribeRepositoriesCommand.js.map +0 -1
  172. package/dist-es/commands/GetAuthorizationTokenCommand.js.map +0 -1
  173. package/dist-es/commands/GetRegistryCatalogDataCommand.js.map +0 -1
  174. package/dist-es/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
  175. package/dist-es/commands/GetRepositoryPolicyCommand.js.map +0 -1
  176. package/dist-es/commands/InitiateLayerUploadCommand.js.map +0 -1
  177. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  178. package/dist-es/commands/PutImageCommand.js.map +0 -1
  179. package/dist-es/commands/PutRegistryCatalogDataCommand.js.map +0 -1
  180. package/dist-es/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
  181. package/dist-es/commands/SetRepositoryPolicyCommand.js.map +0 -1
  182. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  183. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  184. package/dist-es/commands/UploadLayerPartCommand.js.map +0 -1
  185. package/dist-es/endpoints.js.map +0 -1
  186. package/dist-es/index.js.map +0 -1
  187. package/dist-es/models/index.js.map +0 -1
  188. package/dist-es/models/models_0.js.map +0 -1
  189. package/dist-es/pagination/DescribeImageTagsPaginator.js.map +0 -1
  190. package/dist-es/pagination/DescribeImagesPaginator.js.map +0 -1
  191. package/dist-es/pagination/DescribeRegistriesPaginator.js.map +0 -1
  192. package/dist-es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  193. package/dist-es/pagination/Interfaces.js.map +0 -1
  194. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  195. package/dist-es/runtimeConfig.browser.js.map +0 -1
  196. package/dist-es/runtimeConfig.js.map +0 -1
  197. package/dist-es/runtimeConfig.native.js.map +0 -1
  198. package/dist-es/runtimeConfig.shared.js.map +0 -1
  199. package/jest.config.js +0 -4
  200. package/src/ECRPUBLIC.ts +0 -901
  201. package/src/ECRPUBLICClient.ts +0 -350
  202. package/src/commands/BatchCheckLayerAvailabilityCommand.ts +0 -106
  203. package/src/commands/BatchDeleteImageCommand.ts +0 -100
  204. package/src/commands/CompleteLayerUploadCommand.ts +0 -102
  205. package/src/commands/CreateRepositoryCommand.ts +0 -96
  206. package/src/commands/DeleteRepositoryCommand.ts +0 -97
  207. package/src/commands/DeleteRepositoryPolicyCommand.ts +0 -95
  208. package/src/commands/DescribeImageTagsCommand.ts +0 -95
  209. package/src/commands/DescribeImagesCommand.ts +0 -101
  210. package/src/commands/DescribeRegistriesCommand.ts +0 -95
  211. package/src/commands/DescribeRepositoriesCommand.ts +0 -95
  212. package/src/commands/GetAuthorizationTokenCommand.ts +0 -99
  213. package/src/commands/GetRegistryCatalogDataCommand.ts +0 -95
  214. package/src/commands/GetRepositoryCatalogDataCommand.ts +0 -96
  215. package/src/commands/GetRepositoryPolicyCommand.ts +0 -95
  216. package/src/commands/InitiateLayerUploadCommand.ts +0 -101
  217. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  218. package/src/commands/PutImageCommand.ts +0 -99
  219. package/src/commands/PutRegistryCatalogDataCommand.ts +0 -95
  220. package/src/commands/PutRepositoryCatalogDataCommand.ts +0 -95
  221. package/src/commands/SetRepositoryPolicyCommand.ts +0 -97
  222. package/src/commands/TagResourceCommand.ts +0 -98
  223. package/src/commands/UntagResourceCommand.ts +0 -95
  224. package/src/commands/UploadLayerPartCommand.ts +0 -101
  225. package/src/endpoints.ts +0 -57
  226. package/src/index.ts +0 -31
  227. package/src/models/index.ts +0 -1
  228. package/src/models/models_0.ts +0 -2292
  229. package/src/pagination/DescribeImageTagsPaginator.ts +0 -59
  230. package/src/pagination/DescribeImagesPaginator.ts +0 -59
  231. package/src/pagination/DescribeRegistriesPaginator.ts +0 -59
  232. package/src/pagination/DescribeRepositoriesPaginator.ts +0 -59
  233. package/src/pagination/Interfaces.ts +0 -8
  234. package/src/protocols/Aws_json1_1.ts +0 -3913
  235. package/src/runtimeConfig.browser.ts +0 -41
  236. package/src/runtimeConfig.native.ts +0 -17
  237. package/src/runtimeConfig.shared.ts +0 -17
  238. package/src/runtimeConfig.ts +0 -46
  239. package/tsconfig.es.json +0 -10
  240. package/tsconfig.json +0 -33
  241. package/tsconfig.types.json +0 -9
@@ -1,2292 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>An authorization token data object that corresponds to a public registry.</p>
5
- */
6
- export interface AuthorizationData {
7
- /**
8
- * <p>A base64-encoded string that contains authorization data for a public Amazon ECR registry.
9
- * When the string is decoded, it is presented in the format <code>user:password</code> for
10
- * public registry authentication using <code>docker login</code>.</p>
11
- */
12
- authorizationToken?: string;
13
-
14
- /**
15
- * <p>The Unix time in seconds and milliseconds when the authorization token expires.
16
- * Authorization tokens are valid for 12 hours.</p>
17
- */
18
- expiresAt?: Date;
19
- }
20
-
21
- export namespace AuthorizationData {
22
- /**
23
- * @internal
24
- */
25
- export const filterSensitiveLog = (obj: AuthorizationData): any => ({
26
- ...obj,
27
- });
28
- }
29
-
30
- export interface BatchCheckLayerAvailabilityRequest {
31
- /**
32
- * <p>The AWS account ID associated with the public registry that contains the image layers to
33
- * check. If you do not specify a registry, the default public registry is assumed.</p>
34
- */
35
- registryId?: string;
36
-
37
- /**
38
- * <p>The name of the repository that is associated with the image layers to check.</p>
39
- */
40
- repositoryName: string | undefined;
41
-
42
- /**
43
- * <p>The digests of the image layers to check.</p>
44
- */
45
- layerDigests: string[] | undefined;
46
- }
47
-
48
- export namespace BatchCheckLayerAvailabilityRequest {
49
- /**
50
- * @internal
51
- */
52
- export const filterSensitiveLog = (obj: BatchCheckLayerAvailabilityRequest): any => ({
53
- ...obj,
54
- });
55
- }
56
-
57
- export enum LayerFailureCode {
58
- InvalidLayerDigest = "InvalidLayerDigest",
59
- MissingLayerDigest = "MissingLayerDigest",
60
- }
61
-
62
- /**
63
- * <p>An object representing an Amazon ECR image layer failure.</p>
64
- */
65
- export interface LayerFailure {
66
- /**
67
- * <p>The layer digest associated with the failure.</p>
68
- */
69
- layerDigest?: string;
70
-
71
- /**
72
- * <p>The failure code associated with the failure.</p>
73
- */
74
- failureCode?: LayerFailureCode | string;
75
-
76
- /**
77
- * <p>The reason for the failure.</p>
78
- */
79
- failureReason?: string;
80
- }
81
-
82
- export namespace LayerFailure {
83
- /**
84
- * @internal
85
- */
86
- export const filterSensitiveLog = (obj: LayerFailure): any => ({
87
- ...obj,
88
- });
89
- }
90
-
91
- export enum LayerAvailability {
92
- AVAILABLE = "AVAILABLE",
93
- UNAVAILABLE = "UNAVAILABLE",
94
- }
95
-
96
- /**
97
- * <p>An object representing an Amazon ECR image layer.</p>
98
- */
99
- export interface Layer {
100
- /**
101
- * <p>The <code>sha256</code> digest of the image layer.</p>
102
- */
103
- layerDigest?: string;
104
-
105
- /**
106
- * <p>The availability status of the image layer.</p>
107
- */
108
- layerAvailability?: LayerAvailability | string;
109
-
110
- /**
111
- * <p>The size, in bytes, of the image layer.</p>
112
- */
113
- layerSize?: number;
114
-
115
- /**
116
- * <p>The media type of the layer, such as
117
- * <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or
118
- * <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>
119
- */
120
- mediaType?: string;
121
- }
122
-
123
- export namespace Layer {
124
- /**
125
- * @internal
126
- */
127
- export const filterSensitiveLog = (obj: Layer): any => ({
128
- ...obj,
129
- });
130
- }
131
-
132
- export interface BatchCheckLayerAvailabilityResponse {
133
- /**
134
- * <p>A list of image layer objects corresponding to the image layer references in the
135
- * request.</p>
136
- */
137
- layers?: Layer[];
138
-
139
- /**
140
- * <p>Any failures associated with the call.</p>
141
- */
142
- failures?: LayerFailure[];
143
- }
144
-
145
- export namespace BatchCheckLayerAvailabilityResponse {
146
- /**
147
- * @internal
148
- */
149
- export const filterSensitiveLog = (obj: BatchCheckLayerAvailabilityResponse): any => ({
150
- ...obj,
151
- });
152
- }
153
-
154
- /**
155
- * <p>The specified parameter is invalid. Review the available parameters for the API
156
- * request.</p>
157
- */
158
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
159
- name: "InvalidParameterException";
160
- $fault: "client";
161
- message?: string;
162
- }
163
-
164
- export namespace InvalidParameterException {
165
- /**
166
- * @internal
167
- */
168
- export const filterSensitiveLog = (obj: InvalidParameterException): any => ({
169
- ...obj,
170
- });
171
- }
172
-
173
- /**
174
- * <p>The registry does not exist.</p>
175
- */
176
- export interface RegistryNotFoundException extends __SmithyException, $MetadataBearer {
177
- name: "RegistryNotFoundException";
178
- $fault: "client";
179
- message?: string;
180
- }
181
-
182
- export namespace RegistryNotFoundException {
183
- /**
184
- * @internal
185
- */
186
- export const filterSensitiveLog = (obj: RegistryNotFoundException): any => ({
187
- ...obj,
188
- });
189
- }
190
-
191
- /**
192
- * <p>The specified repository could not be found. Check the spelling of the specified
193
- * repository and ensure that you are performing operations on the correct registry.</p>
194
- */
195
- export interface RepositoryNotFoundException extends __SmithyException, $MetadataBearer {
196
- name: "RepositoryNotFoundException";
197
- $fault: "client";
198
- message?: string;
199
- }
200
-
201
- export namespace RepositoryNotFoundException {
202
- /**
203
- * @internal
204
- */
205
- export const filterSensitiveLog = (obj: RepositoryNotFoundException): any => ({
206
- ...obj,
207
- });
208
- }
209
-
210
- /**
211
- * <p>These errors are usually caused by a server-side issue.</p>
212
- */
213
- export interface ServerException extends __SmithyException, $MetadataBearer {
214
- name: "ServerException";
215
- $fault: "server";
216
- message?: string;
217
- }
218
-
219
- export namespace ServerException {
220
- /**
221
- * @internal
222
- */
223
- export const filterSensitiveLog = (obj: ServerException): any => ({
224
- ...obj,
225
- });
226
- }
227
-
228
- /**
229
- * <p>An object with identifying information for an Amazon ECR image.</p>
230
- */
231
- export interface ImageIdentifier {
232
- /**
233
- * <p>The <code>sha256</code> digest of the image manifest.</p>
234
- */
235
- imageDigest?: string;
236
-
237
- /**
238
- * <p>The tag used for the image.</p>
239
- */
240
- imageTag?: string;
241
- }
242
-
243
- export namespace ImageIdentifier {
244
- /**
245
- * @internal
246
- */
247
- export const filterSensitiveLog = (obj: ImageIdentifier): any => ({
248
- ...obj,
249
- });
250
- }
251
-
252
- export interface BatchDeleteImageRequest {
253
- /**
254
- * <p>The AWS account ID associated with the registry that contains the image to delete.
255
- * If you do not specify a registry, the default public registry is assumed.</p>
256
- */
257
- registryId?: string;
258
-
259
- /**
260
- * <p>The repository in a public registry that contains the image to delete.</p>
261
- */
262
- repositoryName: string | undefined;
263
-
264
- /**
265
- * <p>A list of image ID references that correspond to images to delete. The format of the
266
- * <code>imageIds</code> reference is <code>imageTag=tag</code> or
267
- * <code>imageDigest=digest</code>.</p>
268
- */
269
- imageIds: ImageIdentifier[] | undefined;
270
- }
271
-
272
- export namespace BatchDeleteImageRequest {
273
- /**
274
- * @internal
275
- */
276
- export const filterSensitiveLog = (obj: BatchDeleteImageRequest): any => ({
277
- ...obj,
278
- });
279
- }
280
-
281
- export enum ImageFailureCode {
282
- ImageNotFound = "ImageNotFound",
283
- ImageReferencedByManifestList = "ImageReferencedByManifestList",
284
- ImageTagDoesNotMatchDigest = "ImageTagDoesNotMatchDigest",
285
- InvalidImageDigest = "InvalidImageDigest",
286
- InvalidImageTag = "InvalidImageTag",
287
- KmsError = "KmsError",
288
- MissingDigestAndTag = "MissingDigestAndTag",
289
- }
290
-
291
- /**
292
- * <p>An object representing an Amazon ECR image failure.</p>
293
- */
294
- export interface ImageFailure {
295
- /**
296
- * <p>The image ID associated with the failure.</p>
297
- */
298
- imageId?: ImageIdentifier;
299
-
300
- /**
301
- * <p>The code associated with the failure.</p>
302
- */
303
- failureCode?: ImageFailureCode | string;
304
-
305
- /**
306
- * <p>The reason for the failure.</p>
307
- */
308
- failureReason?: string;
309
- }
310
-
311
- export namespace ImageFailure {
312
- /**
313
- * @internal
314
- */
315
- export const filterSensitiveLog = (obj: ImageFailure): any => ({
316
- ...obj,
317
- });
318
- }
319
-
320
- export interface BatchDeleteImageResponse {
321
- /**
322
- * <p>The image IDs of the deleted images.</p>
323
- */
324
- imageIds?: ImageIdentifier[];
325
-
326
- /**
327
- * <p>Any failures associated with the call.</p>
328
- */
329
- failures?: ImageFailure[];
330
- }
331
-
332
- export namespace BatchDeleteImageResponse {
333
- /**
334
- * @internal
335
- */
336
- export const filterSensitiveLog = (obj: BatchDeleteImageResponse): any => ({
337
- ...obj,
338
- });
339
- }
340
-
341
- export interface CompleteLayerUploadRequest {
342
- /**
343
- * <p>The AWS account ID associated with the registry to which to upload layers.
344
- * If you do not specify a registry, the default public registry is assumed.</p>
345
- */
346
- registryId?: string;
347
-
348
- /**
349
- * <p>The name of the repository in a public registry to associate with the image
350
- * layer.</p>
351
- */
352
- repositoryName: string | undefined;
353
-
354
- /**
355
- * <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
356
- * associate with the image layer.</p>
357
- */
358
- uploadId: string | undefined;
359
-
360
- /**
361
- * <p>The <code>sha256</code> digest of the image layer.</p>
362
- */
363
- layerDigests: string[] | undefined;
364
- }
365
-
366
- export namespace CompleteLayerUploadRequest {
367
- /**
368
- * @internal
369
- */
370
- export const filterSensitiveLog = (obj: CompleteLayerUploadRequest): any => ({
371
- ...obj,
372
- });
373
- }
374
-
375
- export interface CompleteLayerUploadResponse {
376
- /**
377
- * <p>The public registry ID associated with the request.</p>
378
- */
379
- registryId?: string;
380
-
381
- /**
382
- * <p>The repository name associated with the request.</p>
383
- */
384
- repositoryName?: string;
385
-
386
- /**
387
- * <p>The upload ID associated with the layer.</p>
388
- */
389
- uploadId?: string;
390
-
391
- /**
392
- * <p>The <code>sha256</code> digest of the image layer.</p>
393
- */
394
- layerDigest?: string;
395
- }
396
-
397
- export namespace CompleteLayerUploadResponse {
398
- /**
399
- * @internal
400
- */
401
- export const filterSensitiveLog = (obj: CompleteLayerUploadResponse): any => ({
402
- ...obj,
403
- });
404
- }
405
-
406
- /**
407
- * <p>The specified layer upload does not contain any layer parts.</p>
408
- */
409
- export interface EmptyUploadException extends __SmithyException, $MetadataBearer {
410
- name: "EmptyUploadException";
411
- $fault: "client";
412
- message?: string;
413
- }
414
-
415
- export namespace EmptyUploadException {
416
- /**
417
- * @internal
418
- */
419
- export const filterSensitiveLog = (obj: EmptyUploadException): any => ({
420
- ...obj,
421
- });
422
- }
423
-
424
- /**
425
- * <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not
426
- * match the digest specified.</p>
427
- */
428
- export interface InvalidLayerException extends __SmithyException, $MetadataBearer {
429
- name: "InvalidLayerException";
430
- $fault: "client";
431
- message?: string;
432
- }
433
-
434
- export namespace InvalidLayerException {
435
- /**
436
- * @internal
437
- */
438
- export const filterSensitiveLog = (obj: InvalidLayerException): any => ({
439
- ...obj,
440
- });
441
- }
442
-
443
- /**
444
- * <p>The image layer already exists in the associated repository.</p>
445
- */
446
- export interface LayerAlreadyExistsException extends __SmithyException, $MetadataBearer {
447
- name: "LayerAlreadyExistsException";
448
- $fault: "client";
449
- message?: string;
450
- }
451
-
452
- export namespace LayerAlreadyExistsException {
453
- /**
454
- * @internal
455
- */
456
- export const filterSensitiveLog = (obj: LayerAlreadyExistsException): any => ({
457
- ...obj,
458
- });
459
- }
460
-
461
- /**
462
- * <p>Layer parts must be at least 5 MiB in size.</p>
463
- */
464
- export interface LayerPartTooSmallException extends __SmithyException, $MetadataBearer {
465
- name: "LayerPartTooSmallException";
466
- $fault: "client";
467
- message?: string;
468
- }
469
-
470
- export namespace LayerPartTooSmallException {
471
- /**
472
- * @internal
473
- */
474
- export const filterSensitiveLog = (obj: LayerPartTooSmallException): any => ({
475
- ...obj,
476
- });
477
- }
478
-
479
- /**
480
- * <p>The action is not supported in this Region.</p>
481
- */
482
- export interface UnsupportedCommandException extends __SmithyException, $MetadataBearer {
483
- name: "UnsupportedCommandException";
484
- $fault: "client";
485
- message?: string;
486
- }
487
-
488
- export namespace UnsupportedCommandException {
489
- /**
490
- * @internal
491
- */
492
- export const filterSensitiveLog = (obj: UnsupportedCommandException): any => ({
493
- ...obj,
494
- });
495
- }
496
-
497
- /**
498
- * <p>The upload could not be found, or the specified upload ID is not valid for this
499
- * repository.</p>
500
- */
501
- export interface UploadNotFoundException extends __SmithyException, $MetadataBearer {
502
- name: "UploadNotFoundException";
503
- $fault: "client";
504
- message?: string;
505
- }
506
-
507
- export namespace UploadNotFoundException {
508
- /**
509
- * @internal
510
- */
511
- export const filterSensitiveLog = (obj: UploadNotFoundException): any => ({
512
- ...obj,
513
- });
514
- }
515
-
516
- /**
517
- * <p>An object containing the catalog data for a repository. This data is publicly visible in
518
- * the Amazon ECR Public Gallery.</p>
519
- */
520
- export interface RepositoryCatalogDataInput {
521
- /**
522
- * <p>A short description of the contents of the repository. This text appears in both the
523
- * image details and also when searching for repositories on the Amazon ECR Public Gallery.</p>
524
- */
525
- description?: string;
526
-
527
- /**
528
- * <p>The system architecture that the images in the repository are compatible with. On the
529
- * Amazon ECR Public Gallery, the following supported architectures will appear as badges on the
530
- * repository and are used as search filters.</p>
531
- * <ul>
532
- * <li>
533
- * <p>
534
- * <code>Linux</code>
535
- * </p>
536
- * </li>
537
- * <li>
538
- * <p>
539
- * <code>Windows</code>
540
- * </p>
541
- * </li>
542
- * </ul>
543
- * <note>
544
- * <p>If an unsupported tag is added to your repository catalog data, it will be associated
545
- * with the repository and can be retrieved using the API but will not be discoverable in
546
- * the Amazon ECR Public Gallery.</p>
547
- * </note>
548
- */
549
- architectures?: string[];
550
-
551
- /**
552
- * <p>The operating systems that the images in the repository are compatible with. On the
553
- * Amazon ECR Public Gallery, the following supported operating systems will appear as badges on
554
- * the repository and are used as search filters.</p>
555
- * <ul>
556
- * <li>
557
- * <p>
558
- * <code>ARM</code>
559
- * </p>
560
- * </li>
561
- * <li>
562
- * <p>
563
- * <code>ARM 64</code>
564
- * </p>
565
- * </li>
566
- * <li>
567
- * <p>
568
- * <code>x86</code>
569
- * </p>
570
- * </li>
571
- * <li>
572
- * <p>
573
- * <code>x86-64</code>
574
- * </p>
575
- * </li>
576
- * </ul>
577
- * <note>
578
- * <p>If an unsupported tag is added to your repository catalog data, it will be associated
579
- * with the repository and can be retrieved using the API but will not be discoverable in
580
- * the Amazon ECR Public Gallery.</p>
581
- * </note>
582
- */
583
- operatingSystems?: string[];
584
-
585
- /**
586
- * <p>The base64-encoded repository logo payload.</p>
587
- * <note>
588
- * <p>The repository logo is only publicly visible in the Amazon ECR Public Gallery for verified
589
- * accounts.</p>
590
- * </note>
591
- */
592
- logoImageBlob?: Uint8Array;
593
-
594
- /**
595
- * <p>A detailed description of the contents of the repository. It is publicly visible in the
596
- * Amazon ECR Public Gallery. The text must be in markdown format.</p>
597
- */
598
- aboutText?: string;
599
-
600
- /**
601
- * <p>Detailed information on how to use the contents of the repository. It is publicly
602
- * visible in the Amazon ECR Public Gallery. The usage text provides context, support information,
603
- * and additional usage details for users of the repository. The text must be in markdown
604
- * format.</p>
605
- */
606
- usageText?: string;
607
- }
608
-
609
- export namespace RepositoryCatalogDataInput {
610
- /**
611
- * @internal
612
- */
613
- export const filterSensitiveLog = (obj: RepositoryCatalogDataInput): any => ({
614
- ...obj,
615
- });
616
- }
617
-
618
- /**
619
- * <p>The metadata that you apply to a resource to help you categorize and organize them. Each
620
- * tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
621
- */
622
- export interface Tag {
623
- /**
624
- * <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
625
- * that acts like a category for more specific tag values.</p>
626
- */
627
- Key?: string;
628
-
629
- /**
630
- * <p>The optional part of a key-value pair that make up a tag. A <code>value</code> acts as a
631
- * descriptor within a tag category (key).</p>
632
- */
633
- Value?: string;
634
- }
635
-
636
- export namespace Tag {
637
- /**
638
- * @internal
639
- */
640
- export const filterSensitiveLog = (obj: Tag): any => ({
641
- ...obj,
642
- });
643
- }
644
-
645
- export interface CreateRepositoryRequest {
646
- /**
647
- * <p>The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery.
648
- * The repository name may be specified on its own (such as <code>nginx-web-app</code>) or it
649
- * can be prepended with a namespace to group the repository into a category (such as
650
- * <code>project-a/nginx-web-app</code>).</p>
651
- */
652
- repositoryName: string | undefined;
653
-
654
- /**
655
- * <p>The details about the repository that are publicly visible in the
656
- * Amazon ECR Public Gallery.</p>
657
- */
658
- catalogData?: RepositoryCatalogDataInput;
659
-
660
- /**
661
- * <p>The metadata that you apply to the repository to help you categorize and organize them.
662
- * Each tag consists of a key and an optional value, both of which you define.
663
- * Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
664
- */
665
- tags?: Tag[];
666
- }
667
-
668
- export namespace CreateRepositoryRequest {
669
- /**
670
- * @internal
671
- */
672
- export const filterSensitiveLog = (obj: CreateRepositoryRequest): any => ({
673
- ...obj,
674
- });
675
- }
676
-
677
- /**
678
- * <p>The catalog data for a repository. This data is publicly visible in the
679
- * Amazon ECR Public Gallery.</p>
680
- */
681
- export interface RepositoryCatalogData {
682
- /**
683
- * <p>The short description of the repository.</p>
684
- */
685
- description?: string;
686
-
687
- /**
688
- * <p>The architecture tags that are associated with the repository.</p>
689
- * <note>
690
- * <p>Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For
691
- * more information, see <a>RepositoryCatalogDataInput</a>.</p>
692
- * </note>
693
- */
694
- architectures?: string[];
695
-
696
- /**
697
- * <p>The operating system tags that are associated with the repository.</p>
698
- * <note>
699
- * <p>Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For
700
- * more information, see <a>RepositoryCatalogDataInput</a>.</p>
701
- * </note>
702
- */
703
- operatingSystems?: string[];
704
-
705
- /**
706
- * <p>The URL containing the logo associated with the repository.</p>
707
- */
708
- logoUrl?: string;
709
-
710
- /**
711
- * <p>The longform description of the contents of the repository. This text appears in the
712
- * repository details on the Amazon ECR Public Gallery.</p>
713
- */
714
- aboutText?: string;
715
-
716
- /**
717
- * <p>The longform usage details of the contents of the repository. The usage text provides
718
- * context for users of the repository.</p>
719
- */
720
- usageText?: string;
721
-
722
- /**
723
- * <p>Whether or not the repository is certified by AWS Marketplace.</p>
724
- */
725
- marketplaceCertified?: boolean;
726
- }
727
-
728
- export namespace RepositoryCatalogData {
729
- /**
730
- * @internal
731
- */
732
- export const filterSensitiveLog = (obj: RepositoryCatalogData): any => ({
733
- ...obj,
734
- });
735
- }
736
-
737
- /**
738
- * <p>An object representing a repository.</p>
739
- */
740
- export interface Repository {
741
- /**
742
- * <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 repository, AWS account ID of the repository owner, repository namespace, and repository name. For example, <code>arn:aws:ecr:region:012345678910:repository/test</code>.</p>
743
- */
744
- repositoryArn?: string;
745
-
746
- /**
747
- * <p>The AWS account ID associated with the public registry that contains the
748
- * repository.</p>
749
- */
750
- registryId?: string;
751
-
752
- /**
753
- * <p>The name of the repository.</p>
754
- */
755
- repositoryName?: string;
756
-
757
- /**
758
- * <p>The URI for the repository. You can use this URI for container image <code>push</code>
759
- * and <code>pull</code> operations.</p>
760
- */
761
- repositoryUri?: string;
762
-
763
- /**
764
- * <p>The date and time, in JavaScript date format, when the repository was created.</p>
765
- */
766
- createdAt?: Date;
767
- }
768
-
769
- export namespace Repository {
770
- /**
771
- * @internal
772
- */
773
- export const filterSensitiveLog = (obj: Repository): any => ({
774
- ...obj,
775
- });
776
- }
777
-
778
- export interface CreateRepositoryResponse {
779
- /**
780
- * <p>The repository that was created.</p>
781
- */
782
- repository?: Repository;
783
-
784
- /**
785
- * <p>The catalog data for a repository. This data is publicly visible in the
786
- * Amazon ECR Public Gallery.</p>
787
- */
788
- catalogData?: RepositoryCatalogData;
789
- }
790
-
791
- export namespace CreateRepositoryResponse {
792
- /**
793
- * @internal
794
- */
795
- export const filterSensitiveLog = (obj: CreateRepositoryResponse): any => ({
796
- ...obj,
797
- });
798
- }
799
-
800
- /**
801
- * <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
802
- */
803
- export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
804
- name: "InvalidTagParameterException";
805
- $fault: "client";
806
- message?: string;
807
- }
808
-
809
- export namespace InvalidTagParameterException {
810
- /**
811
- * @internal
812
- */
813
- export const filterSensitiveLog = (obj: InvalidTagParameterException): any => ({
814
- ...obj,
815
- });
816
- }
817
-
818
- /**
819
- * <p>The operation did not succeed because it would have exceeded a service limit for your
820
- * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR Service Quotas</a> in the
821
- * Amazon Elastic Container Registry User Guide.</p>
822
- */
823
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
824
- name: "LimitExceededException";
825
- $fault: "client";
826
- message?: string;
827
- }
828
-
829
- export namespace LimitExceededException {
830
- /**
831
- * @internal
832
- */
833
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
834
- ...obj,
835
- });
836
- }
837
-
838
- /**
839
- * <p>The specified repository already exists in the specified registry.</p>
840
- */
841
- export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
842
- name: "RepositoryAlreadyExistsException";
843
- $fault: "client";
844
- message?: string;
845
- }
846
-
847
- export namespace RepositoryAlreadyExistsException {
848
- /**
849
- * @internal
850
- */
851
- export const filterSensitiveLog = (obj: RepositoryAlreadyExistsException): any => ({
852
- ...obj,
853
- });
854
- }
855
-
856
- /**
857
- * <p>The list of tags on the repository is over the limit. The maximum number of tags that
858
- * can be applied to a repository is 50.</p>
859
- */
860
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
861
- name: "TooManyTagsException";
862
- $fault: "client";
863
- message?: string;
864
- }
865
-
866
- export namespace TooManyTagsException {
867
- /**
868
- * @internal
869
- */
870
- export const filterSensitiveLog = (obj: TooManyTagsException): any => ({
871
- ...obj,
872
- });
873
- }
874
-
875
- export interface DeleteRepositoryRequest {
876
- /**
877
- * <p>The AWS account ID associated with the public registry that contains the repository to
878
- * delete. If you do not specify a registry, the default public registry is assumed.</p>
879
- */
880
- registryId?: string;
881
-
882
- /**
883
- * <p>The name of the repository to delete.</p>
884
- */
885
- repositoryName: string | undefined;
886
-
887
- /**
888
- * <p> If a repository contains images, forces the deletion.</p>
889
- */
890
- force?: boolean;
891
- }
892
-
893
- export namespace DeleteRepositoryRequest {
894
- /**
895
- * @internal
896
- */
897
- export const filterSensitiveLog = (obj: DeleteRepositoryRequest): any => ({
898
- ...obj,
899
- });
900
- }
901
-
902
- export interface DeleteRepositoryResponse {
903
- /**
904
- * <p>The repository that was deleted.</p>
905
- */
906
- repository?: Repository;
907
- }
908
-
909
- export namespace DeleteRepositoryResponse {
910
- /**
911
- * @internal
912
- */
913
- export const filterSensitiveLog = (obj: DeleteRepositoryResponse): any => ({
914
- ...obj,
915
- });
916
- }
917
-
918
- /**
919
- * <p>The specified repository contains images. To delete a repository that contains images,
920
- * you must force the deletion with the <code>force</code> parameter.</p>
921
- */
922
- export interface RepositoryNotEmptyException extends __SmithyException, $MetadataBearer {
923
- name: "RepositoryNotEmptyException";
924
- $fault: "client";
925
- message?: string;
926
- }
927
-
928
- export namespace RepositoryNotEmptyException {
929
- /**
930
- * @internal
931
- */
932
- export const filterSensitiveLog = (obj: RepositoryNotEmptyException): any => ({
933
- ...obj,
934
- });
935
- }
936
-
937
- export interface DeleteRepositoryPolicyRequest {
938
- /**
939
- * <p>The AWS account ID associated with the public registry that contains the repository
940
- * policy to delete. If you do not specify a registry, the default public registry is assumed.</p>
941
- */
942
- registryId?: string;
943
-
944
- /**
945
- * <p>The name of the repository that is associated with the repository policy to
946
- * delete.</p>
947
- */
948
- repositoryName: string | undefined;
949
- }
950
-
951
- export namespace DeleteRepositoryPolicyRequest {
952
- /**
953
- * @internal
954
- */
955
- export const filterSensitiveLog = (obj: DeleteRepositoryPolicyRequest): any => ({
956
- ...obj,
957
- });
958
- }
959
-
960
- export interface DeleteRepositoryPolicyResponse {
961
- /**
962
- * <p>The registry ID associated with the request.</p>
963
- */
964
- registryId?: string;
965
-
966
- /**
967
- * <p>The repository name associated with the request.</p>
968
- */
969
- repositoryName?: string;
970
-
971
- /**
972
- * <p>The JSON repository policy that was deleted from the repository.</p>
973
- */
974
- policyText?: string;
975
- }
976
-
977
- export namespace DeleteRepositoryPolicyResponse {
978
- /**
979
- * @internal
980
- */
981
- export const filterSensitiveLog = (obj: DeleteRepositoryPolicyResponse): any => ({
982
- ...obj,
983
- });
984
- }
985
-
986
- /**
987
- * <p>The specified repository and registry combination does not have an associated repository
988
- * policy.</p>
989
- */
990
- export interface RepositoryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
991
- name: "RepositoryPolicyNotFoundException";
992
- $fault: "client";
993
- message?: string;
994
- }
995
-
996
- export namespace RepositoryPolicyNotFoundException {
997
- /**
998
- * @internal
999
- */
1000
- export const filterSensitiveLog = (obj: RepositoryPolicyNotFoundException): any => ({
1001
- ...obj,
1002
- });
1003
- }
1004
-
1005
- export interface DescribeImagesRequest {
1006
- /**
1007
- * <p>The AWS account ID associated with the public registry that contains the repository in
1008
- * which to describe images. If you do not specify a registry, the default public registry is assumed.</p>
1009
- */
1010
- registryId?: string;
1011
-
1012
- /**
1013
- * <p>The repository that contains the images to describe.</p>
1014
- */
1015
- repositoryName: string | undefined;
1016
-
1017
- /**
1018
- * <p>The list of image IDs for the requested repository.</p>
1019
- */
1020
- imageIds?: ImageIdentifier[];
1021
-
1022
- /**
1023
- * <p>The <code>nextToken</code> value returned from a previous paginated
1024
- * <code>DescribeImages</code> request where <code>maxResults</code> was used and the
1025
- * results exceeded the value of that parameter. Pagination continues from the end of the
1026
- * previous results that returned the <code>nextToken</code> value. This value is
1027
- * <code>null</code> when there are no more results to return. This option cannot be used
1028
- * when you specify images with <code>imageIds</code>.</p>
1029
- */
1030
- nextToken?: string;
1031
-
1032
- /**
1033
- * <p>The maximum number of repository results returned by <code>DescribeImages</code> in
1034
- * paginated output. When this parameter is used, <code>DescribeImages</code> only returns
1035
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
1036
- * response element. The remaining results of the initial request can be seen by sending
1037
- * another <code>DescribeImages</code> request with the returned <code>nextToken</code> value.
1038
- * This value can be between 1 and 1000. If this parameter is not
1039
- * used, then <code>DescribeImages</code> returns up to 100 results and a
1040
- * <code>nextToken</code> value, if applicable. This option cannot be used when you specify
1041
- * images with <code>imageIds</code>.</p>
1042
- */
1043
- maxResults?: number;
1044
- }
1045
-
1046
- export namespace DescribeImagesRequest {
1047
- /**
1048
- * @internal
1049
- */
1050
- export const filterSensitiveLog = (obj: DescribeImagesRequest): any => ({
1051
- ...obj,
1052
- });
1053
- }
1054
-
1055
- /**
1056
- * <p>An object that describes an image returned by a <a>DescribeImages</a>
1057
- * operation.</p>
1058
- */
1059
- export interface ImageDetail {
1060
- /**
1061
- * <p>The AWS account ID associated with the public registry to which this image
1062
- * belongs.</p>
1063
- */
1064
- registryId?: string;
1065
-
1066
- /**
1067
- * <p>The name of the repository to which this image belongs.</p>
1068
- */
1069
- repositoryName?: string;
1070
-
1071
- /**
1072
- * <p>The <code>sha256</code> digest of the image manifest.</p>
1073
- */
1074
- imageDigest?: string;
1075
-
1076
- /**
1077
- * <p>The list of tags associated with this image.</p>
1078
- */
1079
- imageTags?: string[];
1080
-
1081
- /**
1082
- * <p>The size, in bytes, of the image in the repository.</p>
1083
- * <p>If the image is a manifest list, this will be the max size of all manifests in the
1084
- * list.</p>
1085
- * <note>
1086
- * <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
1087
- * pushing them to a V2 Docker registry. The output of the <code>docker images</code>
1088
- * command shows the uncompressed image size, so it may return a larger image size than the
1089
- * image sizes returned by <a>DescribeImages</a>.</p>
1090
- * </note>
1091
- */
1092
- imageSizeInBytes?: number;
1093
-
1094
- /**
1095
- * <p>The date and time, expressed in standard JavaScript date format, at which the current
1096
- * image was pushed to the repository. </p>
1097
- */
1098
- imagePushedAt?: Date;
1099
-
1100
- /**
1101
- * <p>The media type of the image manifest.</p>
1102
- */
1103
- imageManifestMediaType?: string;
1104
-
1105
- /**
1106
- * <p>The artifact media type of the image.</p>
1107
- */
1108
- artifactMediaType?: string;
1109
- }
1110
-
1111
- export namespace ImageDetail {
1112
- /**
1113
- * @internal
1114
- */
1115
- export const filterSensitiveLog = (obj: ImageDetail): any => ({
1116
- ...obj,
1117
- });
1118
- }
1119
-
1120
- export interface DescribeImagesResponse {
1121
- /**
1122
- * <p>A list of <a>ImageDetail</a> objects that contain data about the
1123
- * image.</p>
1124
- */
1125
- imageDetails?: ImageDetail[];
1126
-
1127
- /**
1128
- * <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
1129
- * request. When the results of a <code>DescribeImages</code> request exceed
1130
- * <code>maxResults</code>, this value can be used to retrieve the next page of results.
1131
- * This value is <code>null</code> when there are no more results to return.</p>
1132
- */
1133
- nextToken?: string;
1134
- }
1135
-
1136
- export namespace DescribeImagesResponse {
1137
- /**
1138
- * @internal
1139
- */
1140
- export const filterSensitiveLog = (obj: DescribeImagesResponse): any => ({
1141
- ...obj,
1142
- });
1143
- }
1144
-
1145
- /**
1146
- * <p>The image requested does not exist in the specified repository.</p>
1147
- */
1148
- export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
1149
- name: "ImageNotFoundException";
1150
- $fault: "client";
1151
- message?: string;
1152
- }
1153
-
1154
- export namespace ImageNotFoundException {
1155
- /**
1156
- * @internal
1157
- */
1158
- export const filterSensitiveLog = (obj: ImageNotFoundException): any => ({
1159
- ...obj,
1160
- });
1161
- }
1162
-
1163
- export interface DescribeImageTagsRequest {
1164
- /**
1165
- * <p>The AWS account ID associated with the public registry that contains the repository in
1166
- * which to describe images. If you do not specify a registry, the default public registry is assumed.</p>
1167
- */
1168
- registryId?: string;
1169
-
1170
- /**
1171
- * <p>The name of the repository that contains the image tag details to describe.</p>
1172
- */
1173
- repositoryName: string | undefined;
1174
-
1175
- /**
1176
- * <p>The <code>nextToken</code> value returned from a previous paginated
1177
- * <code>DescribeImageTags</code> request where <code>maxResults</code> was used and the
1178
- * results exceeded the value of that parameter. Pagination continues from the end of the
1179
- * previous results that returned the <code>nextToken</code> value. This value is
1180
- * <code>null</code> when there are no more results to return. This option cannot be used
1181
- * when you specify images with <code>imageIds</code>.</p>
1182
- */
1183
- nextToken?: string;
1184
-
1185
- /**
1186
- * <p>The maximum number of repository results returned by <code>DescribeImageTags</code> in
1187
- * paginated output. When this parameter is used, <code>DescribeImageTags</code> only returns
1188
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
1189
- * response element. The remaining results of the initial request can be seen by sending
1190
- * another <code>DescribeImageTags</code> request with the returned <code>nextToken</code>
1191
- * value. This value can be between 1 and 1000. If this parameter
1192
- * is not used, then <code>DescribeImageTags</code> returns up to 100
1193
- * results and a <code>nextToken</code> value, if applicable. This option cannot be used when
1194
- * you specify images with <code>imageIds</code>.</p>
1195
- */
1196
- maxResults?: number;
1197
- }
1198
-
1199
- export namespace DescribeImageTagsRequest {
1200
- /**
1201
- * @internal
1202
- */
1203
- export const filterSensitiveLog = (obj: DescribeImageTagsRequest): any => ({
1204
- ...obj,
1205
- });
1206
- }
1207
-
1208
- /**
1209
- * <p>An object that describes the image tag details returned by a <a>DescribeImageTags</a> action.</p>
1210
- */
1211
- export interface ReferencedImageDetail {
1212
- /**
1213
- * <p>The <code>sha256</code> digest of the image manifest.</p>
1214
- */
1215
- imageDigest?: string;
1216
-
1217
- /**
1218
- * <p>The size, in bytes, of the image in the repository.</p>
1219
- * <p>If the image is a manifest list, this will be the max size of all manifests in the
1220
- * list.</p>
1221
- * <note>
1222
- * <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
1223
- * pushing them to a V2 Docker registry. The output of the <code>docker images</code>
1224
- * command shows the uncompressed image size, so it may return a larger image size than the
1225
- * image sizes returned by <a>DescribeImages</a>.</p>
1226
- * </note>
1227
- */
1228
- imageSizeInBytes?: number;
1229
-
1230
- /**
1231
- * <p>The date and time, expressed in standard JavaScript date format, at which the current
1232
- * image tag was pushed to the repository.</p>
1233
- */
1234
- imagePushedAt?: Date;
1235
-
1236
- /**
1237
- * <p>The media type of the image manifest.</p>
1238
- */
1239
- imageManifestMediaType?: string;
1240
-
1241
- /**
1242
- * <p>The artifact media type of the image.</p>
1243
- */
1244
- artifactMediaType?: string;
1245
- }
1246
-
1247
- export namespace ReferencedImageDetail {
1248
- /**
1249
- * @internal
1250
- */
1251
- export const filterSensitiveLog = (obj: ReferencedImageDetail): any => ({
1252
- ...obj,
1253
- });
1254
- }
1255
-
1256
- /**
1257
- * <p>An object representing the image tag details for an image.</p>
1258
- */
1259
- export interface ImageTagDetail {
1260
- /**
1261
- * <p>The tag associated with the image.</p>
1262
- */
1263
- imageTag?: string;
1264
-
1265
- /**
1266
- * <p>The time stamp indicating when the image tag was created.</p>
1267
- */
1268
- createdAt?: Date;
1269
-
1270
- /**
1271
- * <p>An object that describes the details of an image.</p>
1272
- */
1273
- imageDetail?: ReferencedImageDetail;
1274
- }
1275
-
1276
- export namespace ImageTagDetail {
1277
- /**
1278
- * @internal
1279
- */
1280
- export const filterSensitiveLog = (obj: ImageTagDetail): any => ({
1281
- ...obj,
1282
- });
1283
- }
1284
-
1285
- export interface DescribeImageTagsResponse {
1286
- /**
1287
- * <p>The image tag details for the images in the requested repository.</p>
1288
- */
1289
- imageTagDetails?: ImageTagDetail[];
1290
-
1291
- /**
1292
- * <p>The <code>nextToken</code> value to include in a future <code>DescribeImageTags</code>
1293
- * request. When the results of a <code>DescribeImageTags</code> request exceed
1294
- * <code>maxResults</code>, this value can be used to retrieve the next page of results.
1295
- * This value is <code>null</code> when there are no more results to return.</p>
1296
- */
1297
- nextToken?: string;
1298
- }
1299
-
1300
- export namespace DescribeImageTagsResponse {
1301
- /**
1302
- * @internal
1303
- */
1304
- export const filterSensitiveLog = (obj: DescribeImageTagsResponse): any => ({
1305
- ...obj,
1306
- });
1307
- }
1308
-
1309
- export interface DescribeRegistriesRequest {
1310
- /**
1311
- * <p>The <code>nextToken</code> value returned from a previous paginated
1312
- * <code>DescribeRegistries</code> request where <code>maxResults</code> was used and the
1313
- * results exceeded the value of that parameter. Pagination continues from the end of the
1314
- * previous results that returned the <code>nextToken</code> value. This value is
1315
- * <code>null</code> when there are no more results to return.</p>
1316
- * <note>
1317
- * <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p>
1318
- * </note>
1319
- */
1320
- nextToken?: string;
1321
-
1322
- /**
1323
- * <p>The maximum number of repository results returned by <code>DescribeRegistries</code> in
1324
- * paginated output. When this parameter is used, <code>DescribeRegistries</code> only returns
1325
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
1326
- * response element. The remaining results of the initial request can be seen by sending
1327
- * another <code>DescribeRegistries</code> request with the returned <code>nextToken</code>
1328
- * value. This value can be between 1 and 1000. If this parameter
1329
- * is not used, then <code>DescribeRegistries</code> returns up to 100
1330
- * results and a <code>nextToken</code> value, if applicable.</p>
1331
- */
1332
- maxResults?: number;
1333
- }
1334
-
1335
- export namespace DescribeRegistriesRequest {
1336
- /**
1337
- * @internal
1338
- */
1339
- export const filterSensitiveLog = (obj: DescribeRegistriesRequest): any => ({
1340
- ...obj,
1341
- });
1342
- }
1343
-
1344
- export enum RegistryAliasStatus {
1345
- ACTIVE = "ACTIVE",
1346
- PENDING = "PENDING",
1347
- REJECTED = "REJECTED",
1348
- }
1349
-
1350
- /**
1351
- * <p>An object representing the aliases for a public registry. A public registry is given an
1352
- * alias upon creation but a custom alias can be set using the Amazon ECR console. For more
1353
- * information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html">Registries</a> in the
1354
- * <i>Amazon Elastic Container Registry User Guide</i>.</p>
1355
- */
1356
- export interface RegistryAlias {
1357
- /**
1358
- * <p>The name of the registry alias.</p>
1359
- */
1360
- name: string | undefined;
1361
-
1362
- /**
1363
- * <p>The status of the registry alias.</p>
1364
- */
1365
- status: RegistryAliasStatus | string | undefined;
1366
-
1367
- /**
1368
- * <p>Whether or not the registry alias is the primary alias for the registry. If true, the
1369
- * alias is the primary registry alias and is displayed in both the repository URL and the
1370
- * image URI used in the <code>docker pull</code> commands on the Amazon ECR Public Gallery.</p>
1371
- * <note>
1372
- * <p>A registry alias that is not the primary registry alias can be used in the repository
1373
- * URI in a <code>docker pull</code> command.</p>
1374
- * </note>
1375
- */
1376
- primaryRegistryAlias: boolean | undefined;
1377
-
1378
- /**
1379
- * <p>Whether or not the registry alias is the default alias for the registry. When the first
1380
- * public repository is created, your public registry is assigned a default registry
1381
- * alias.</p>
1382
- */
1383
- defaultRegistryAlias: boolean | undefined;
1384
- }
1385
-
1386
- export namespace RegistryAlias {
1387
- /**
1388
- * @internal
1389
- */
1390
- export const filterSensitiveLog = (obj: RegistryAlias): any => ({
1391
- ...obj,
1392
- });
1393
- }
1394
-
1395
- /**
1396
- * <p>The details of a public registry.</p>
1397
- */
1398
- export interface Registry {
1399
- /**
1400
- * <p>The AWS account ID associated with the registry. If you do not specify a registry, the default public registry is assumed.</p>
1401
- */
1402
- registryId: string | undefined;
1403
-
1404
- /**
1405
- * <p>The Amazon Resource Name (ARN) of the public registry.</p>
1406
- */
1407
- registryArn: string | undefined;
1408
-
1409
- /**
1410
- * <p>The URI of a public registry. The URI contains a universal prefix and the registry
1411
- * alias.</p>
1412
- */
1413
- registryUri: string | undefined;
1414
-
1415
- /**
1416
- * <p>Whether the account is verified. This indicates whether the account is an AWS
1417
- * Marketplace vendor. If an account is verified, each public repository will received a
1418
- * verified account badge on the Amazon ECR Public Gallery.</p>
1419
- */
1420
- verified: boolean | undefined;
1421
-
1422
- /**
1423
- * <p>An array of objects representing the aliases for a public registry.</p>
1424
- */
1425
- aliases: RegistryAlias[] | undefined;
1426
- }
1427
-
1428
- export namespace Registry {
1429
- /**
1430
- * @internal
1431
- */
1432
- export const filterSensitiveLog = (obj: Registry): any => ({
1433
- ...obj,
1434
- });
1435
- }
1436
-
1437
- export interface DescribeRegistriesResponse {
1438
- /**
1439
- * <p>An object containing the details for a public registry.</p>
1440
- */
1441
- registries: Registry[] | undefined;
1442
-
1443
- /**
1444
- * <p>The <code>nextToken</code> value to include in a future
1445
- * <code>DescribeRepositories</code> request. When the results of a
1446
- * <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can
1447
- * be used to retrieve the next page of results. This value is <code>null</code> when there
1448
- * are no more results to return.</p>
1449
- */
1450
- nextToken?: string;
1451
- }
1452
-
1453
- export namespace DescribeRegistriesResponse {
1454
- /**
1455
- * @internal
1456
- */
1457
- export const filterSensitiveLog = (obj: DescribeRegistriesResponse): any => ({
1458
- ...obj,
1459
- });
1460
- }
1461
-
1462
- export interface DescribeRepositoriesRequest {
1463
- /**
1464
- * <p>The AWS account ID associated with the registry that contains the repositories to be
1465
- * described. If you do not specify a registry, the default public registry is assumed.</p>
1466
- */
1467
- registryId?: string;
1468
-
1469
- /**
1470
- * <p>A list of repositories to describe. If this parameter is omitted, then all repositories
1471
- * in a registry are described.</p>
1472
- */
1473
- repositoryNames?: string[];
1474
-
1475
- /**
1476
- * <p>The <code>nextToken</code> value returned from a previous paginated
1477
- * <code>DescribeRepositories</code> request where <code>maxResults</code> was used and the
1478
- * results exceeded the value of that parameter. Pagination continues from the end of the
1479
- * previous results that returned the <code>nextToken</code> value. This value is
1480
- * <code>null</code> when there are no more results to return. This option cannot be used
1481
- * when you specify repositories with <code>repositoryNames</code>.</p>
1482
- * <note>
1483
- * <p>This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.</p>
1484
- * </note>
1485
- */
1486
- nextToken?: string;
1487
-
1488
- /**
1489
- * <p>The maximum number of repository results returned by <code>DescribeRepositories</code>
1490
- * in paginated output. When this parameter is used, <code>DescribeRepositories</code> only
1491
- * returns <code>maxResults</code> results in a single page along with a
1492
- * <code>nextToken</code> response element. The remaining results of the initial request
1493
- * can be seen by sending another <code>DescribeRepositories</code> request with the returned
1494
- * <code>nextToken</code> value. This value can be between 1 and
1495
- * 1000. If this parameter is not used, then <code>DescribeRepositories</code>
1496
- * returns up to 100 results and a <code>nextToken</code> value, if
1497
- * applicable. This option cannot be used when you specify repositories with
1498
- * <code>repositoryNames</code>.</p>
1499
- */
1500
- maxResults?: number;
1501
- }
1502
-
1503
- export namespace DescribeRepositoriesRequest {
1504
- /**
1505
- * @internal
1506
- */
1507
- export const filterSensitiveLog = (obj: DescribeRepositoriesRequest): any => ({
1508
- ...obj,
1509
- });
1510
- }
1511
-
1512
- export interface DescribeRepositoriesResponse {
1513
- /**
1514
- * <p>A list of repository objects corresponding to valid repositories.</p>
1515
- */
1516
- repositories?: Repository[];
1517
-
1518
- /**
1519
- * <p>The <code>nextToken</code> value to include in a future
1520
- * <code>DescribeRepositories</code> request. When the results of a
1521
- * <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can
1522
- * be used to retrieve the next page of results. This value is <code>null</code> when there
1523
- * are no more results to return.</p>
1524
- */
1525
- nextToken?: string;
1526
- }
1527
-
1528
- export namespace DescribeRepositoriesResponse {
1529
- /**
1530
- * @internal
1531
- */
1532
- export const filterSensitiveLog = (obj: DescribeRepositoriesResponse): any => ({
1533
- ...obj,
1534
- });
1535
- }
1536
-
1537
- export interface GetAuthorizationTokenRequest {}
1538
-
1539
- export namespace GetAuthorizationTokenRequest {
1540
- /**
1541
- * @internal
1542
- */
1543
- export const filterSensitiveLog = (obj: GetAuthorizationTokenRequest): any => ({
1544
- ...obj,
1545
- });
1546
- }
1547
-
1548
- export interface GetAuthorizationTokenResponse {
1549
- /**
1550
- * <p>An authorization token data object that corresponds to a public registry.</p>
1551
- */
1552
- authorizationData?: AuthorizationData;
1553
- }
1554
-
1555
- export namespace GetAuthorizationTokenResponse {
1556
- /**
1557
- * @internal
1558
- */
1559
- export const filterSensitiveLog = (obj: GetAuthorizationTokenResponse): any => ({
1560
- ...obj,
1561
- });
1562
- }
1563
-
1564
- export interface GetRegistryCatalogDataRequest {}
1565
-
1566
- export namespace GetRegistryCatalogDataRequest {
1567
- /**
1568
- * @internal
1569
- */
1570
- export const filterSensitiveLog = (obj: GetRegistryCatalogDataRequest): any => ({
1571
- ...obj,
1572
- });
1573
- }
1574
-
1575
- /**
1576
- * <p>The metadata for a public registry.</p>
1577
- */
1578
- export interface RegistryCatalogData {
1579
- /**
1580
- * <p>The display name for a public registry. This appears on the Amazon ECR Public Gallery.</p>
1581
- * <important>
1582
- * <p>Only accounts that have the verified account badge can have a registry display
1583
- * name.</p>
1584
- * </important>
1585
- */
1586
- displayName?: string;
1587
- }
1588
-
1589
- export namespace RegistryCatalogData {
1590
- /**
1591
- * @internal
1592
- */
1593
- export const filterSensitiveLog = (obj: RegistryCatalogData): any => ({
1594
- ...obj,
1595
- });
1596
- }
1597
-
1598
- export interface GetRegistryCatalogDataResponse {
1599
- /**
1600
- * <p>The catalog metadata for the public registry.</p>
1601
- */
1602
- registryCatalogData: RegistryCatalogData | undefined;
1603
- }
1604
-
1605
- export namespace GetRegistryCatalogDataResponse {
1606
- /**
1607
- * @internal
1608
- */
1609
- export const filterSensitiveLog = (obj: GetRegistryCatalogDataResponse): any => ({
1610
- ...obj,
1611
- });
1612
- }
1613
-
1614
- export interface GetRepositoryCatalogDataRequest {
1615
- /**
1616
- * <p>The AWS account ID associated with the registry that contains the repositories to be
1617
- * described. If you do not specify a registry, the default public registry is assumed.</p>
1618
- */
1619
- registryId?: string;
1620
-
1621
- /**
1622
- * <p>The name of the repository to retrieve the catalog metadata for.</p>
1623
- */
1624
- repositoryName: string | undefined;
1625
- }
1626
-
1627
- export namespace GetRepositoryCatalogDataRequest {
1628
- /**
1629
- * @internal
1630
- */
1631
- export const filterSensitiveLog = (obj: GetRepositoryCatalogDataRequest): any => ({
1632
- ...obj,
1633
- });
1634
- }
1635
-
1636
- export interface GetRepositoryCatalogDataResponse {
1637
- /**
1638
- * <p>The catalog metadata for the repository.</p>
1639
- */
1640
- catalogData?: RepositoryCatalogData;
1641
- }
1642
-
1643
- export namespace GetRepositoryCatalogDataResponse {
1644
- /**
1645
- * @internal
1646
- */
1647
- export const filterSensitiveLog = (obj: GetRepositoryCatalogDataResponse): any => ({
1648
- ...obj,
1649
- });
1650
- }
1651
-
1652
- export interface GetRepositoryPolicyRequest {
1653
- /**
1654
- * <p>The AWS account ID associated with the public registry that contains the repository.
1655
- * If you do not specify a registry, the default public registry is assumed.</p>
1656
- */
1657
- registryId?: string;
1658
-
1659
- /**
1660
- * <p>The name of the repository with the policy to retrieve.</p>
1661
- */
1662
- repositoryName: string | undefined;
1663
- }
1664
-
1665
- export namespace GetRepositoryPolicyRequest {
1666
- /**
1667
- * @internal
1668
- */
1669
- export const filterSensitiveLog = (obj: GetRepositoryPolicyRequest): any => ({
1670
- ...obj,
1671
- });
1672
- }
1673
-
1674
- export interface GetRepositoryPolicyResponse {
1675
- /**
1676
- * <p>The registry ID associated with the request.</p>
1677
- */
1678
- registryId?: string;
1679
-
1680
- /**
1681
- * <p>The repository name associated with the request.</p>
1682
- */
1683
- repositoryName?: string;
1684
-
1685
- /**
1686
- * <p>The repository policy text associated with the repository. The policy text will be in
1687
- * JSON format.</p>
1688
- */
1689
- policyText?: string;
1690
- }
1691
-
1692
- export namespace GetRepositoryPolicyResponse {
1693
- /**
1694
- * @internal
1695
- */
1696
- export const filterSensitiveLog = (obj: GetRepositoryPolicyResponse): any => ({
1697
- ...obj,
1698
- });
1699
- }
1700
-
1701
- /**
1702
- * <p>An object representing an Amazon ECR image.</p>
1703
- */
1704
- export interface Image {
1705
- /**
1706
- * <p>The AWS account ID associated with the registry containing the image.</p>
1707
- */
1708
- registryId?: string;
1709
-
1710
- /**
1711
- * <p>The name of the repository associated with the image.</p>
1712
- */
1713
- repositoryName?: string;
1714
-
1715
- /**
1716
- * <p>An object containing the image tag and image digest associated with an image.</p>
1717
- */
1718
- imageId?: ImageIdentifier;
1719
-
1720
- /**
1721
- * <p>The image manifest associated with the image.</p>
1722
- */
1723
- imageManifest?: string;
1724
-
1725
- /**
1726
- * <p>The manifest media type of the image.</p>
1727
- */
1728
- imageManifestMediaType?: string;
1729
- }
1730
-
1731
- export namespace Image {
1732
- /**
1733
- * @internal
1734
- */
1735
- export const filterSensitiveLog = (obj: Image): any => ({
1736
- ...obj,
1737
- });
1738
- }
1739
-
1740
- /**
1741
- * <p>The specified image has already been pushed, and there were no changes to the manifest
1742
- * or image tag after the last push.</p>
1743
- */
1744
- export interface ImageAlreadyExistsException extends __SmithyException, $MetadataBearer {
1745
- name: "ImageAlreadyExistsException";
1746
- $fault: "client";
1747
- message?: string;
1748
- }
1749
-
1750
- export namespace ImageAlreadyExistsException {
1751
- /**
1752
- * @internal
1753
- */
1754
- export const filterSensitiveLog = (obj: ImageAlreadyExistsException): any => ({
1755
- ...obj,
1756
- });
1757
- }
1758
-
1759
- /**
1760
- * <p>The specified image digest does not match the digest that Amazon ECR calculated for the
1761
- * image.</p>
1762
- */
1763
- export interface ImageDigestDoesNotMatchException extends __SmithyException, $MetadataBearer {
1764
- name: "ImageDigestDoesNotMatchException";
1765
- $fault: "client";
1766
- message?: string;
1767
- }
1768
-
1769
- export namespace ImageDigestDoesNotMatchException {
1770
- /**
1771
- * @internal
1772
- */
1773
- export const filterSensitiveLog = (obj: ImageDigestDoesNotMatchException): any => ({
1774
- ...obj,
1775
- });
1776
- }
1777
-
1778
- /**
1779
- * <p>The specified image is tagged with a tag that already exists. The repository is
1780
- * configured for tag immutability.</p>
1781
- */
1782
- export interface ImageTagAlreadyExistsException extends __SmithyException, $MetadataBearer {
1783
- name: "ImageTagAlreadyExistsException";
1784
- $fault: "client";
1785
- message?: string;
1786
- }
1787
-
1788
- export namespace ImageTagAlreadyExistsException {
1789
- /**
1790
- * @internal
1791
- */
1792
- export const filterSensitiveLog = (obj: ImageTagAlreadyExistsException): any => ({
1793
- ...obj,
1794
- });
1795
- }
1796
-
1797
- export interface InitiateLayerUploadRequest {
1798
- /**
1799
- * <p>The AWS account ID associated with the registry to which you intend to upload layers.
1800
- * If you do not specify a registry, the default public registry is assumed.</p>
1801
- */
1802
- registryId?: string;
1803
-
1804
- /**
1805
- * <p>The name of the repository to which you intend to upload layers.</p>
1806
- */
1807
- repositoryName: string | undefined;
1808
- }
1809
-
1810
- export namespace InitiateLayerUploadRequest {
1811
- /**
1812
- * @internal
1813
- */
1814
- export const filterSensitiveLog = (obj: InitiateLayerUploadRequest): any => ({
1815
- ...obj,
1816
- });
1817
- }
1818
-
1819
- export interface InitiateLayerUploadResponse {
1820
- /**
1821
- * <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a> operations.</p>
1822
- */
1823
- uploadId?: string;
1824
-
1825
- /**
1826
- * <p>The size, in bytes, that Amazon ECR expects future layer part uploads to be.</p>
1827
- */
1828
- partSize?: number;
1829
- }
1830
-
1831
- export namespace InitiateLayerUploadResponse {
1832
- /**
1833
- * @internal
1834
- */
1835
- export const filterSensitiveLog = (obj: InitiateLayerUploadResponse): any => ({
1836
- ...obj,
1837
- });
1838
- }
1839
-
1840
- /**
1841
- * <p>The layer part size is not valid, or the first byte specified is not consecutive to the
1842
- * last byte of a previous layer part upload.</p>
1843
- */
1844
- export interface InvalidLayerPartException extends __SmithyException, $MetadataBearer {
1845
- name: "InvalidLayerPartException";
1846
- $fault: "client";
1847
- /**
1848
- * <p>The AWS account ID associated with the layer part.</p>
1849
- */
1850
- registryId?: string;
1851
-
1852
- /**
1853
- * <p>The name of the repository.</p>
1854
- */
1855
- repositoryName?: string;
1856
-
1857
- /**
1858
- * <p>The upload ID associated with the layer part.</p>
1859
- */
1860
- uploadId?: string;
1861
-
1862
- /**
1863
- * <p>The position of the last byte of the layer part.</p>
1864
- */
1865
- lastValidByteReceived?: number;
1866
-
1867
- message?: string;
1868
- }
1869
-
1870
- export namespace InvalidLayerPartException {
1871
- /**
1872
- * @internal
1873
- */
1874
- export const filterSensitiveLog = (obj: InvalidLayerPartException): any => ({
1875
- ...obj,
1876
- });
1877
- }
1878
-
1879
- /**
1880
- * <p>The specified layers could not be found, or the specified layer is not valid for this
1881
- * repository.</p>
1882
- */
1883
- export interface LayersNotFoundException extends __SmithyException, $MetadataBearer {
1884
- name: "LayersNotFoundException";
1885
- $fault: "client";
1886
- message?: string;
1887
- }
1888
-
1889
- export namespace LayersNotFoundException {
1890
- /**
1891
- * @internal
1892
- */
1893
- export const filterSensitiveLog = (obj: LayersNotFoundException): any => ({
1894
- ...obj,
1895
- });
1896
- }
1897
-
1898
- export interface ListTagsForResourceRequest {
1899
- /**
1900
- * <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
1901
- * supported resource is an Amazon ECR Public repository.</p>
1902
- */
1903
- resourceArn: string | undefined;
1904
- }
1905
-
1906
- export namespace ListTagsForResourceRequest {
1907
- /**
1908
- * @internal
1909
- */
1910
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
1911
- ...obj,
1912
- });
1913
- }
1914
-
1915
- export interface ListTagsForResourceResponse {
1916
- /**
1917
- * <p>The tags for the resource.</p>
1918
- */
1919
- tags?: Tag[];
1920
- }
1921
-
1922
- export namespace ListTagsForResourceResponse {
1923
- /**
1924
- * @internal
1925
- */
1926
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
1927
- ...obj,
1928
- });
1929
- }
1930
-
1931
- export interface PutImageRequest {
1932
- /**
1933
- * <p>The AWS account ID associated with the public registry that contains the repository in
1934
- * which to put the image. If you do not specify a registry, the default public registry is assumed.</p>
1935
- */
1936
- registryId?: string;
1937
-
1938
- /**
1939
- * <p>The name of the repository in which to put the image.</p>
1940
- */
1941
- repositoryName: string | undefined;
1942
-
1943
- /**
1944
- * <p>The image manifest corresponding to the image to be uploaded.</p>
1945
- */
1946
- imageManifest: string | undefined;
1947
-
1948
- /**
1949
- * <p>The media type of the image manifest. If you push an image manifest that does not
1950
- * contain the <code>mediaType</code> field, you must specify the
1951
- * <code>imageManifestMediaType</code> in the request.</p>
1952
- */
1953
- imageManifestMediaType?: string;
1954
-
1955
- /**
1956
- * <p>The tag to associate with the image. This parameter is required for images that use the
1957
- * Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</p>
1958
- */
1959
- imageTag?: string;
1960
-
1961
- /**
1962
- * <p>The image digest of the image manifest corresponding to the image.</p>
1963
- */
1964
- imageDigest?: string;
1965
- }
1966
-
1967
- export namespace PutImageRequest {
1968
- /**
1969
- * @internal
1970
- */
1971
- export const filterSensitiveLog = (obj: PutImageRequest): any => ({
1972
- ...obj,
1973
- });
1974
- }
1975
-
1976
- export interface PutImageResponse {
1977
- /**
1978
- * <p>Details of the image uploaded.</p>
1979
- */
1980
- image?: Image;
1981
- }
1982
-
1983
- export namespace PutImageResponse {
1984
- /**
1985
- * @internal
1986
- */
1987
- export const filterSensitiveLog = (obj: PutImageResponse): any => ({
1988
- ...obj,
1989
- });
1990
- }
1991
-
1992
- /**
1993
- * <p>The manifest list is referencing an image that does not exist.</p>
1994
- */
1995
- export interface ReferencedImagesNotFoundException extends __SmithyException, $MetadataBearer {
1996
- name: "ReferencedImagesNotFoundException";
1997
- $fault: "client";
1998
- message?: string;
1999
- }
2000
-
2001
- export namespace ReferencedImagesNotFoundException {
2002
- /**
2003
- * @internal
2004
- */
2005
- export const filterSensitiveLog = (obj: ReferencedImagesNotFoundException): any => ({
2006
- ...obj,
2007
- });
2008
- }
2009
-
2010
- export interface PutRegistryCatalogDataRequest {
2011
- /**
2012
- * <p>The display name for a public registry. The display name is shown as the repository
2013
- * author in the Amazon ECR Public Gallery.</p>
2014
- * <note>
2015
- * <p>The registry display name is only publicly visible in the Amazon ECR Public Gallery for
2016
- * verified accounts.</p>
2017
- * </note>
2018
- */
2019
- displayName?: string;
2020
- }
2021
-
2022
- export namespace PutRegistryCatalogDataRequest {
2023
- /**
2024
- * @internal
2025
- */
2026
- export const filterSensitiveLog = (obj: PutRegistryCatalogDataRequest): any => ({
2027
- ...obj,
2028
- });
2029
- }
2030
-
2031
- export interface PutRegistryCatalogDataResponse {
2032
- /**
2033
- * <p>The catalog data for the public registry.</p>
2034
- */
2035
- registryCatalogData: RegistryCatalogData | undefined;
2036
- }
2037
-
2038
- export namespace PutRegistryCatalogDataResponse {
2039
- /**
2040
- * @internal
2041
- */
2042
- export const filterSensitiveLog = (obj: PutRegistryCatalogDataResponse): any => ({
2043
- ...obj,
2044
- });
2045
- }
2046
-
2047
- export interface PutRepositoryCatalogDataRequest {
2048
- /**
2049
- * <p>The AWS account ID associated with the public registry the repository is in.
2050
- * If you do not specify a registry, the default public registry is assumed.</p>
2051
- */
2052
- registryId?: string;
2053
-
2054
- /**
2055
- * <p>The name of the repository to create or update the catalog data for.</p>
2056
- */
2057
- repositoryName: string | undefined;
2058
-
2059
- /**
2060
- * <p>An object containing the catalog data for a repository. This data is publicly visible in
2061
- * the Amazon ECR Public Gallery.</p>
2062
- */
2063
- catalogData: RepositoryCatalogDataInput | undefined;
2064
- }
2065
-
2066
- export namespace PutRepositoryCatalogDataRequest {
2067
- /**
2068
- * @internal
2069
- */
2070
- export const filterSensitiveLog = (obj: PutRepositoryCatalogDataRequest): any => ({
2071
- ...obj,
2072
- });
2073
- }
2074
-
2075
- export interface PutRepositoryCatalogDataResponse {
2076
- /**
2077
- * <p>The catalog data for the repository.</p>
2078
- */
2079
- catalogData?: RepositoryCatalogData;
2080
- }
2081
-
2082
- export namespace PutRepositoryCatalogDataResponse {
2083
- /**
2084
- * @internal
2085
- */
2086
- export const filterSensitiveLog = (obj: PutRepositoryCatalogDataResponse): any => ({
2087
- ...obj,
2088
- });
2089
- }
2090
-
2091
- export interface SetRepositoryPolicyRequest {
2092
- /**
2093
- * <p>The AWS account ID associated with the registry that contains the repository.
2094
- * If you do not specify a registry, the default public registry is assumed.</p>
2095
- */
2096
- registryId?: string;
2097
-
2098
- /**
2099
- * <p>The name of the repository to receive the policy.</p>
2100
- */
2101
- repositoryName: string | undefined;
2102
-
2103
- /**
2104
- * <p>The JSON repository policy text to apply to the repository. For more information, see
2105
- * <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR Repository
2106
- * Policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
2107
- */
2108
- policyText: string | undefined;
2109
-
2110
- /**
2111
- * <p>If the policy you are attempting to set on a repository policy would prevent you from
2112
- * setting another policy in the future, you must force the <a>SetRepositoryPolicy</a> operation. This is intended to prevent accidental
2113
- * repository lock outs.</p>
2114
- */
2115
- force?: boolean;
2116
- }
2117
-
2118
- export namespace SetRepositoryPolicyRequest {
2119
- /**
2120
- * @internal
2121
- */
2122
- export const filterSensitiveLog = (obj: SetRepositoryPolicyRequest): any => ({
2123
- ...obj,
2124
- });
2125
- }
2126
-
2127
- export interface SetRepositoryPolicyResponse {
2128
- /**
2129
- * <p>The registry ID associated with the request.</p>
2130
- */
2131
- registryId?: string;
2132
-
2133
- /**
2134
- * <p>The repository name associated with the request.</p>
2135
- */
2136
- repositoryName?: string;
2137
-
2138
- /**
2139
- * <p>The JSON repository policy text applied to the repository.</p>
2140
- */
2141
- policyText?: string;
2142
- }
2143
-
2144
- export namespace SetRepositoryPolicyResponse {
2145
- /**
2146
- * @internal
2147
- */
2148
- export const filterSensitiveLog = (obj: SetRepositoryPolicyResponse): any => ({
2149
- ...obj,
2150
- });
2151
- }
2152
-
2153
- export interface TagResourceRequest {
2154
- /**
2155
- * <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the
2156
- * supported resource is an Amazon ECR Public repository.</p>
2157
- */
2158
- resourceArn: string | undefined;
2159
-
2160
- /**
2161
- * <p>The tags to add to the resource. A tag is an array of key-value pairs.
2162
- * Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
2163
- */
2164
- tags: Tag[] | undefined;
2165
- }
2166
-
2167
- export namespace TagResourceRequest {
2168
- /**
2169
- * @internal
2170
- */
2171
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
2172
- ...obj,
2173
- });
2174
- }
2175
-
2176
- export interface TagResourceResponse {}
2177
-
2178
- export namespace TagResourceResponse {
2179
- /**
2180
- * @internal
2181
- */
2182
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
2183
- ...obj,
2184
- });
2185
- }
2186
-
2187
- export interface UntagResourceRequest {
2188
- /**
2189
- * <p>The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported
2190
- * resource is an Amazon ECR Public repository.</p>
2191
- */
2192
- resourceArn: string | undefined;
2193
-
2194
- /**
2195
- * <p>The keys of the tags to be removed.</p>
2196
- */
2197
- tagKeys: string[] | undefined;
2198
- }
2199
-
2200
- export namespace UntagResourceRequest {
2201
- /**
2202
- * @internal
2203
- */
2204
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
2205
- ...obj,
2206
- });
2207
- }
2208
-
2209
- export interface UntagResourceResponse {}
2210
-
2211
- export namespace UntagResourceResponse {
2212
- /**
2213
- * @internal
2214
- */
2215
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
2216
- ...obj,
2217
- });
2218
- }
2219
-
2220
- export interface UploadLayerPartRequest {
2221
- /**
2222
- * <p>The AWS account ID associated with the registry to which you are uploading layer parts.
2223
- * If you do not specify a registry, the default public registry is assumed.</p>
2224
- */
2225
- registryId?: string;
2226
-
2227
- /**
2228
- * <p>The name of the repository to which you are uploading layer parts.</p>
2229
- */
2230
- repositoryName: string | undefined;
2231
-
2232
- /**
2233
- * <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
2234
- * associate with the layer part upload.</p>
2235
- */
2236
- uploadId: string | undefined;
2237
-
2238
- /**
2239
- * <p>The position of the first byte of the layer part witin the overall image layer.</p>
2240
- */
2241
- partFirstByte: number | undefined;
2242
-
2243
- /**
2244
- * <p>The position of the last byte of the layer part within the overall image layer.</p>
2245
- */
2246
- partLastByte: number | undefined;
2247
-
2248
- /**
2249
- * <p>The base64-encoded layer part payload.</p>
2250
- */
2251
- layerPartBlob: Uint8Array | undefined;
2252
- }
2253
-
2254
- export namespace UploadLayerPartRequest {
2255
- /**
2256
- * @internal
2257
- */
2258
- export const filterSensitiveLog = (obj: UploadLayerPartRequest): any => ({
2259
- ...obj,
2260
- });
2261
- }
2262
-
2263
- export interface UploadLayerPartResponse {
2264
- /**
2265
- * <p>The registry ID associated with the request.</p>
2266
- */
2267
- registryId?: string;
2268
-
2269
- /**
2270
- * <p>The repository name associated with the request.</p>
2271
- */
2272
- repositoryName?: string;
2273
-
2274
- /**
2275
- * <p>The upload ID associated with the request.</p>
2276
- */
2277
- uploadId?: string;
2278
-
2279
- /**
2280
- * <p>The integer value of the last byte received in the request.</p>
2281
- */
2282
- lastByteReceived?: number;
2283
- }
2284
-
2285
- export namespace UploadLayerPartResponse {
2286
- /**
2287
- * @internal
2288
- */
2289
- export const filterSensitiveLog = (obj: UploadLayerPartResponse): any => ({
2290
- ...obj,
2291
- });
2292
- }