@aws-sdk/client-ecr-public 3.241.0 → 3.247.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.
- package/README.md +6 -6
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +28 -15
- package/dist-cjs/protocols/Aws_json1_1.js +65 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +24 -12
- package/dist-es/protocols/Aws_json1_1.js +66 -1
- package/dist-types/ECRPUBLIC.d.ts +38 -36
- package/dist-types/ECRPUBLICClient.d.ts +6 -6
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +5 -4
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +4 -3
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +3 -3
- package/dist-types/commands/PutImageCommand.d.ts +3 -3
- package/dist-types/commands/PutRegistryCatalogDataCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UploadLayerPartCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +245 -230
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +17 -7
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ import { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICService
|
|
|
6
6
|
export interface AuthorizationData {
|
|
7
7
|
/**
|
|
8
8
|
* <p>A base64-encoded string that contains authorization data for a public Amazon ECR registry.
|
|
9
|
-
* When the string is decoded, it
|
|
9
|
+
* When the string is decoded, it's presented in the format <code>user:password</code> for
|
|
10
10
|
* public registry authentication using <code>docker login</code>.</p>
|
|
11
11
|
*/
|
|
12
12
|
authorizationToken?: string;
|
|
@@ -18,12 +18,12 @@ export interface AuthorizationData {
|
|
|
18
18
|
}
|
|
19
19
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
20
20
|
/**
|
|
21
|
-
* <p>The
|
|
22
|
-
* check. If you do not specify a registry, the default public registry is assumed.</p>
|
|
21
|
+
* <p>The Amazon Web Services account ID, or registry alias, associated with the public registry that
|
|
22
|
+
* contains the image layers to check. If you do not specify a registry, the default public registry is assumed.</p>
|
|
23
23
|
*/
|
|
24
24
|
registryId?: string;
|
|
25
25
|
/**
|
|
26
|
-
* <p>The name of the repository that
|
|
26
|
+
* <p>The name of the repository that's associated with the image layers to check.</p>
|
|
27
27
|
*/
|
|
28
28
|
repositoryName: string | undefined;
|
|
29
29
|
/**
|
|
@@ -36,15 +36,15 @@ export declare enum LayerFailureCode {
|
|
|
36
36
|
MissingLayerDigest = "MissingLayerDigest"
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
-
* <p>An object
|
|
39
|
+
* <p>An object that represents an Amazon ECR image layer failure.</p>
|
|
40
40
|
*/
|
|
41
41
|
export interface LayerFailure {
|
|
42
42
|
/**
|
|
43
|
-
* <p>The layer digest associated with the failure.</p>
|
|
43
|
+
* <p>The layer digest that's associated with the failure.</p>
|
|
44
44
|
*/
|
|
45
45
|
layerDigest?: string;
|
|
46
46
|
/**
|
|
47
|
-
* <p>The failure code associated with the failure.</p>
|
|
47
|
+
* <p>The failure code that's associated with the failure.</p>
|
|
48
48
|
*/
|
|
49
49
|
failureCode?: LayerFailureCode | string;
|
|
50
50
|
/**
|
|
@@ -57,7 +57,7 @@ export declare enum LayerAvailability {
|
|
|
57
57
|
UNAVAILABLE = "UNAVAILABLE"
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* <p>An object
|
|
60
|
+
* <p>An object that represents an Amazon ECR image layer.</p>
|
|
61
61
|
*/
|
|
62
62
|
export interface Layer {
|
|
63
63
|
/**
|
|
@@ -81,7 +81,7 @@ export interface Layer {
|
|
|
81
81
|
}
|
|
82
82
|
export interface BatchCheckLayerAvailabilityResponse {
|
|
83
83
|
/**
|
|
84
|
-
* <p>A list of image layer objects
|
|
84
|
+
* <p>A list of image layer objects that correspond to the image layer references in the
|
|
85
85
|
* request.</p>
|
|
86
86
|
*/
|
|
87
87
|
layers?: Layer[];
|
|
@@ -103,7 +103,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
103
103
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
* <p>The registry
|
|
106
|
+
* <p>The registry doesn't exist.</p>
|
|
107
107
|
*/
|
|
108
108
|
export declare class RegistryNotFoundException extends __BaseException {
|
|
109
109
|
readonly name: "RegistryNotFoundException";
|
|
@@ -114,8 +114,8 @@ export declare class RegistryNotFoundException extends __BaseException {
|
|
|
114
114
|
constructor(opts: __ExceptionOptionType<RegistryNotFoundException, __BaseException>);
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
* <p>The specified repository
|
|
118
|
-
*
|
|
117
|
+
* <p>The specified repository can't be found. Check the spelling of the specified repository
|
|
118
|
+
* and ensure that you're performing operations on the correct registry.</p>
|
|
119
119
|
*/
|
|
120
120
|
export declare class RepositoryNotFoundException extends __BaseException {
|
|
121
121
|
readonly name: "RepositoryNotFoundException";
|
|
@@ -136,6 +136,17 @@ export declare class ServerException extends __BaseException {
|
|
|
136
136
|
*/
|
|
137
137
|
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
138
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* <p>The action isn't supported in this Region.</p>
|
|
141
|
+
*/
|
|
142
|
+
export declare class UnsupportedCommandException extends __BaseException {
|
|
143
|
+
readonly name: "UnsupportedCommandException";
|
|
144
|
+
readonly $fault: "client";
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
constructor(opts: __ExceptionOptionType<UnsupportedCommandException, __BaseException>);
|
|
149
|
+
}
|
|
139
150
|
/**
|
|
140
151
|
* <p>An object with identifying information for an Amazon ECR image.</p>
|
|
141
152
|
*/
|
|
@@ -145,14 +156,14 @@ export interface ImageIdentifier {
|
|
|
145
156
|
*/
|
|
146
157
|
imageDigest?: string;
|
|
147
158
|
/**
|
|
148
|
-
* <p>The tag used for the image.</p>
|
|
159
|
+
* <p>The tag that's used for the image.</p>
|
|
149
160
|
*/
|
|
150
161
|
imageTag?: string;
|
|
151
162
|
}
|
|
152
163
|
export interface BatchDeleteImageRequest {
|
|
153
164
|
/**
|
|
154
|
-
* <p>The
|
|
155
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
165
|
+
* <p>The Amazon Web Services account ID that's associated with the registry that contains the image to
|
|
166
|
+
* delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
156
167
|
*/
|
|
157
168
|
registryId?: string;
|
|
158
169
|
/**
|
|
@@ -176,15 +187,15 @@ export declare enum ImageFailureCode {
|
|
|
176
187
|
MissingDigestAndTag = "MissingDigestAndTag"
|
|
177
188
|
}
|
|
178
189
|
/**
|
|
179
|
-
* <p>An object
|
|
190
|
+
* <p>An object that represents an Amazon ECR image failure.</p>
|
|
180
191
|
*/
|
|
181
192
|
export interface ImageFailure {
|
|
182
193
|
/**
|
|
183
|
-
* <p>The image ID associated with the failure.</p>
|
|
194
|
+
* <p>The image ID that's associated with the failure.</p>
|
|
184
195
|
*/
|
|
185
196
|
imageId?: ImageIdentifier;
|
|
186
197
|
/**
|
|
187
|
-
* <p>The code associated with the failure.</p>
|
|
198
|
+
* <p>The code that's associated with the failure.</p>
|
|
188
199
|
*/
|
|
189
200
|
failureCode?: ImageFailureCode | string;
|
|
190
201
|
/**
|
|
@@ -204,8 +215,8 @@ export interface BatchDeleteImageResponse {
|
|
|
204
215
|
}
|
|
205
216
|
export interface CompleteLayerUploadRequest {
|
|
206
217
|
/**
|
|
207
|
-
* <p>The
|
|
208
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
218
|
+
* <p>The Amazon Web Services account ID, or registry alias, associated with the registry where layers are
|
|
219
|
+
* uploaded. If you do not specify a registry, the default public registry is assumed.</p>
|
|
209
220
|
*/
|
|
210
221
|
registryId?: string;
|
|
211
222
|
/**
|
|
@@ -225,15 +236,15 @@ export interface CompleteLayerUploadRequest {
|
|
|
225
236
|
}
|
|
226
237
|
export interface CompleteLayerUploadResponse {
|
|
227
238
|
/**
|
|
228
|
-
* <p>The public registry ID associated with the request.</p>
|
|
239
|
+
* <p>The public registry ID that's associated with the request.</p>
|
|
229
240
|
*/
|
|
230
241
|
registryId?: string;
|
|
231
242
|
/**
|
|
232
|
-
* <p>The repository name associated with the request.</p>
|
|
243
|
+
* <p>The repository name that's associated with the request.</p>
|
|
233
244
|
*/
|
|
234
245
|
repositoryName?: string;
|
|
235
246
|
/**
|
|
236
|
-
* <p>The upload ID associated with the layer.</p>
|
|
247
|
+
* <p>The upload ID that's associated with the layer.</p>
|
|
237
248
|
*/
|
|
238
249
|
uploadId?: string;
|
|
239
250
|
/**
|
|
@@ -242,7 +253,7 @@ export interface CompleteLayerUploadResponse {
|
|
|
242
253
|
layerDigest?: string;
|
|
243
254
|
}
|
|
244
255
|
/**
|
|
245
|
-
* <p>The specified layer upload
|
|
256
|
+
* <p>The specified layer upload doesn't contain any layer parts.</p>
|
|
246
257
|
*/
|
|
247
258
|
export declare class EmptyUploadException extends __BaseException {
|
|
248
259
|
readonly name: "EmptyUploadException";
|
|
@@ -253,8 +264,8 @@ export declare class EmptyUploadException extends __BaseException {
|
|
|
253
264
|
constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
|
|
254
265
|
}
|
|
255
266
|
/**
|
|
256
|
-
* <p>The layer digest calculation performed by Amazon ECR
|
|
257
|
-
*
|
|
267
|
+
* <p>The layer digest calculation performed by Amazon ECR when the image layer doesn't match the
|
|
268
|
+
* digest specified.</p>
|
|
258
269
|
*/
|
|
259
270
|
export declare class InvalidLayerException extends __BaseException {
|
|
260
271
|
readonly name: "InvalidLayerException";
|
|
@@ -287,18 +298,7 @@ export declare class LayerPartTooSmallException extends __BaseException {
|
|
|
287
298
|
constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
|
|
288
299
|
}
|
|
289
300
|
/**
|
|
290
|
-
* <p>The
|
|
291
|
-
*/
|
|
292
|
-
export declare class UnsupportedCommandException extends __BaseException {
|
|
293
|
-
readonly name: "UnsupportedCommandException";
|
|
294
|
-
readonly $fault: "client";
|
|
295
|
-
/**
|
|
296
|
-
* @internal
|
|
297
|
-
*/
|
|
298
|
-
constructor(opts: __ExceptionOptionType<UnsupportedCommandException, __BaseException>);
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* <p>The upload could not be found, or the specified upload ID is not valid for this
|
|
301
|
+
* <p>The upload can't be found, or the specified upload ID isn't valid for this
|
|
302
302
|
* repository.</p>
|
|
303
303
|
*/
|
|
304
304
|
export declare class UploadNotFoundException extends __BaseException {
|
|
@@ -310,8 +310,8 @@ export declare class UploadNotFoundException extends __BaseException {
|
|
|
310
310
|
constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
* <p>An object
|
|
314
|
-
* the Amazon ECR Public Gallery.</p>
|
|
313
|
+
* <p>An object that contains the catalog data for a repository. This data is publicly visible
|
|
314
|
+
* in the Amazon ECR Public Gallery.</p>
|
|
315
315
|
*/
|
|
316
316
|
export interface RepositoryCatalogDataInput {
|
|
317
317
|
/**
|
|
@@ -321,31 +321,13 @@ export interface RepositoryCatalogDataInput {
|
|
|
321
321
|
description?: string;
|
|
322
322
|
/**
|
|
323
323
|
* <p>The system architecture that the images in the repository are compatible with. On the
|
|
324
|
-
* Amazon ECR Public Gallery, the following supported architectures
|
|
324
|
+
* Amazon ECR Public Gallery, the following supported architectures appear as badges on the
|
|
325
325
|
* repository and are used as search filters.</p>
|
|
326
|
-
* <ul>
|
|
327
|
-
* <li>
|
|
328
|
-
* <p>
|
|
329
|
-
* <code>Linux</code>
|
|
330
|
-
* </p>
|
|
331
|
-
* </li>
|
|
332
|
-
* <li>
|
|
333
|
-
* <p>
|
|
334
|
-
* <code>Windows</code>
|
|
335
|
-
* </p>
|
|
336
|
-
* </li>
|
|
337
|
-
* </ul>
|
|
338
326
|
* <note>
|
|
339
|
-
* <p>If an unsupported tag is added to your repository catalog data, it
|
|
340
|
-
*
|
|
341
|
-
*
|
|
327
|
+
* <p>If an unsupported tag is added to your repository catalog data, it's associated with
|
|
328
|
+
* the repository and can be retrieved using the API but isn't discoverable in the
|
|
329
|
+
* Amazon ECR Public Gallery.</p>
|
|
342
330
|
* </note>
|
|
343
|
-
*/
|
|
344
|
-
architectures?: string[];
|
|
345
|
-
/**
|
|
346
|
-
* <p>The operating systems that the images in the repository are compatible with. On the
|
|
347
|
-
* Amazon ECR Public Gallery, the following supported operating systems will appear as badges on
|
|
348
|
-
* the repository and are used as search filters.</p>
|
|
349
331
|
* <ul>
|
|
350
332
|
* <li>
|
|
351
333
|
* <p>
|
|
@@ -368,11 +350,29 @@ export interface RepositoryCatalogDataInput {
|
|
|
368
350
|
* </p>
|
|
369
351
|
* </li>
|
|
370
352
|
* </ul>
|
|
353
|
+
*/
|
|
354
|
+
architectures?: string[];
|
|
355
|
+
/**
|
|
356
|
+
* <p>The operating systems that the images in the repository are compatible with. On the
|
|
357
|
+
* Amazon ECR Public Gallery, the following supported operating systems appear as badges on the
|
|
358
|
+
* repository and are used as search filters.</p>
|
|
371
359
|
* <note>
|
|
372
|
-
* <p>If an unsupported tag is added to your repository catalog data, it
|
|
373
|
-
*
|
|
374
|
-
*
|
|
360
|
+
* <p>If an unsupported tag is added to your repository catalog data, it's associated with
|
|
361
|
+
* the repository and can be retrieved using the API but isn't discoverable in the
|
|
362
|
+
* Amazon ECR Public Gallery.</p>
|
|
375
363
|
* </note>
|
|
364
|
+
* <ul>
|
|
365
|
+
* <li>
|
|
366
|
+
* <p>
|
|
367
|
+
* <code>Linux</code>
|
|
368
|
+
* </p>
|
|
369
|
+
* </li>
|
|
370
|
+
* <li>
|
|
371
|
+
* <p>
|
|
372
|
+
* <code>Windows</code>
|
|
373
|
+
* </p>
|
|
374
|
+
* </li>
|
|
375
|
+
* </ul>
|
|
376
376
|
*/
|
|
377
377
|
operatingSystems?: string[];
|
|
378
378
|
/**
|
|
@@ -384,12 +384,12 @@ export interface RepositoryCatalogDataInput {
|
|
|
384
384
|
*/
|
|
385
385
|
logoImageBlob?: Uint8Array;
|
|
386
386
|
/**
|
|
387
|
-
* <p>A detailed description of the contents of the repository. It
|
|
387
|
+
* <p>A detailed description of the contents of the repository. It's publicly visible in the
|
|
388
388
|
* Amazon ECR Public Gallery. The text must be in markdown format.</p>
|
|
389
389
|
*/
|
|
390
390
|
aboutText?: string;
|
|
391
391
|
/**
|
|
392
|
-
* <p>Detailed information
|
|
392
|
+
* <p>Detailed information about how to use the contents of the repository. It's publicly
|
|
393
393
|
* visible in the Amazon ECR Public Gallery. The usage text provides context, support information,
|
|
394
394
|
* and additional usage details for users of the repository. The text must be in markdown
|
|
395
395
|
* format.</p>
|
|
@@ -398,7 +398,7 @@ export interface RepositoryCatalogDataInput {
|
|
|
398
398
|
}
|
|
399
399
|
/**
|
|
400
400
|
* <p>The metadata that you apply to a resource to help you categorize and organize them. Each
|
|
401
|
-
* tag consists of a key and an optional value
|
|
401
|
+
* tag consists of a key and an optional value. You define both. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
402
402
|
*/
|
|
403
403
|
export interface Tag {
|
|
404
404
|
/**
|
|
@@ -415,8 +415,8 @@ export interface Tag {
|
|
|
415
415
|
export interface CreateRepositoryRequest {
|
|
416
416
|
/**
|
|
417
417
|
* <p>The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery.
|
|
418
|
-
* The repository name
|
|
419
|
-
*
|
|
418
|
+
* The repository name can be specified on its own (for example <code>nginx-web-app</code>) or
|
|
419
|
+
* prepended with a namespace to group the repository into a category (for example
|
|
420
420
|
* <code>project-a/nginx-web-app</code>).</p>
|
|
421
421
|
*/
|
|
422
422
|
repositoryName: string | undefined;
|
|
@@ -426,8 +426,8 @@ export interface CreateRepositoryRequest {
|
|
|
426
426
|
*/
|
|
427
427
|
catalogData?: RepositoryCatalogDataInput;
|
|
428
428
|
/**
|
|
429
|
-
* <p>The metadata that you apply to
|
|
430
|
-
* Each tag consists of a key and an optional value
|
|
429
|
+
* <p>The metadata that you apply to each repository to help categorize and organize your
|
|
430
|
+
* repositories. Each tag consists of a key and an optional value. You define both of them.
|
|
431
431
|
* Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
432
432
|
*/
|
|
433
433
|
tags?: Tag[];
|
|
@@ -458,7 +458,7 @@ export interface RepositoryCatalogData {
|
|
|
458
458
|
*/
|
|
459
459
|
operatingSystems?: string[];
|
|
460
460
|
/**
|
|
461
|
-
* <p>The URL
|
|
461
|
+
* <p>The URL that contains the logo that's associated with the repository.</p>
|
|
462
462
|
*/
|
|
463
463
|
logoUrl?: string;
|
|
464
464
|
/**
|
|
@@ -472,7 +472,7 @@ export interface RepositoryCatalogData {
|
|
|
472
472
|
*/
|
|
473
473
|
usageText?: string;
|
|
474
474
|
/**
|
|
475
|
-
* <p>
|
|
475
|
+
* <p>Indicates whether the repository is certified by Amazon Web Services Marketplace.</p>
|
|
476
476
|
*/
|
|
477
477
|
marketplaceCertified?: boolean;
|
|
478
478
|
}
|
|
@@ -481,11 +481,11 @@ export interface RepositoryCatalogData {
|
|
|
481
481
|
*/
|
|
482
482
|
export interface Repository {
|
|
483
483
|
/**
|
|
484
|
-
* <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,
|
|
484
|
+
* <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, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, <code>arn:aws:ecr:region:012345678910:repository/test</code>.</p>
|
|
485
485
|
*/
|
|
486
486
|
repositoryArn?: string;
|
|
487
487
|
/**
|
|
488
|
-
* <p>The
|
|
488
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
489
489
|
* repository.</p>
|
|
490
490
|
*/
|
|
491
491
|
registryId?: string;
|
|
@@ -526,7 +526,7 @@ export declare class InvalidTagParameterException extends __BaseException {
|
|
|
526
526
|
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
527
527
|
}
|
|
528
528
|
/**
|
|
529
|
-
* <p>The operation
|
|
529
|
+
* <p>The operation didn't succeed because it would have exceeded a service limit for your
|
|
530
530
|
* 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
|
|
531
531
|
* Amazon Elastic Container Registry User Guide.</p>
|
|
532
532
|
*/
|
|
@@ -563,8 +563,8 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
563
563
|
}
|
|
564
564
|
export interface DeleteRepositoryRequest {
|
|
565
565
|
/**
|
|
566
|
-
* <p>The
|
|
567
|
-
* delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
566
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
567
|
+
* repository to delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
568
568
|
*/
|
|
569
569
|
registryId?: string;
|
|
570
570
|
/**
|
|
@@ -572,7 +572,8 @@ export interface DeleteRepositoryRequest {
|
|
|
572
572
|
*/
|
|
573
573
|
repositoryName: string | undefined;
|
|
574
574
|
/**
|
|
575
|
-
* <p>
|
|
575
|
+
* <p> The force option can be used to delete a repository that contains images. If the force
|
|
576
|
+
* option is not used, the repository must be empty prior to deletion.</p>
|
|
576
577
|
*/
|
|
577
578
|
force?: boolean;
|
|
578
579
|
}
|
|
@@ -596,23 +597,23 @@ export declare class RepositoryNotEmptyException extends __BaseException {
|
|
|
596
597
|
}
|
|
597
598
|
export interface DeleteRepositoryPolicyRequest {
|
|
598
599
|
/**
|
|
599
|
-
* <p>The
|
|
600
|
-
* policy to delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
600
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
601
|
+
* repository policy to delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
601
602
|
*/
|
|
602
603
|
registryId?: string;
|
|
603
604
|
/**
|
|
604
|
-
* <p>The name of the repository that
|
|
605
|
+
* <p>The name of the repository that's associated with the repository policy to
|
|
605
606
|
* delete.</p>
|
|
606
607
|
*/
|
|
607
608
|
repositoryName: string | undefined;
|
|
608
609
|
}
|
|
609
610
|
export interface DeleteRepositoryPolicyResponse {
|
|
610
611
|
/**
|
|
611
|
-
* <p>The registry ID associated with the request.</p>
|
|
612
|
+
* <p>The registry ID that's associated with the request.</p>
|
|
612
613
|
*/
|
|
613
614
|
registryId?: string;
|
|
614
615
|
/**
|
|
615
|
-
* <p>The repository name associated with the request.</p>
|
|
616
|
+
* <p>The repository name that's associated with the request.</p>
|
|
616
617
|
*/
|
|
617
618
|
repositoryName?: string;
|
|
618
619
|
/**
|
|
@@ -621,7 +622,7 @@ export interface DeleteRepositoryPolicyResponse {
|
|
|
621
622
|
policyText?: string;
|
|
622
623
|
}
|
|
623
624
|
/**
|
|
624
|
-
* <p>The specified repository and registry combination
|
|
625
|
+
* <p>The specified repository and registry combination doesn't have an associated repository
|
|
625
626
|
* policy.</p>
|
|
626
627
|
*/
|
|
627
628
|
export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
@@ -634,8 +635,8 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
|
634
635
|
}
|
|
635
636
|
export interface DescribeImagesRequest {
|
|
636
637
|
/**
|
|
637
|
-
* <p>The
|
|
638
|
-
*
|
|
638
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
639
|
+
* repository where images are described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
639
640
|
*/
|
|
640
641
|
registryId?: string;
|
|
641
642
|
/**
|
|
@@ -647,39 +648,39 @@ export interface DescribeImagesRequest {
|
|
|
647
648
|
*/
|
|
648
649
|
imageIds?: ImageIdentifier[];
|
|
649
650
|
/**
|
|
650
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
651
|
+
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
651
652
|
* <code>DescribeImages</code> request where <code>maxResults</code> was used and the
|
|
652
653
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
653
|
-
* previous results that returned the <code>nextToken</code> value.
|
|
654
|
-
*
|
|
655
|
-
*
|
|
654
|
+
* previous results that returned the <code>nextToken</code> value. If there are no more
|
|
655
|
+
* results to return, this value is <code>null</code>. If you specify images with
|
|
656
|
+
* <code>imageIds</code>, you can't use this option.</p>
|
|
656
657
|
*/
|
|
657
658
|
nextToken?: string;
|
|
658
659
|
/**
|
|
659
|
-
* <p>The maximum number of repository results returned by <code>DescribeImages</code>
|
|
660
|
-
* paginated output. When this parameter is used, <code>DescribeImages</code> only returns
|
|
660
|
+
* <p>The maximum number of repository results that's returned by <code>DescribeImages</code>
|
|
661
|
+
* in paginated output. When this parameter is used, <code>DescribeImages</code> only returns
|
|
661
662
|
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
662
|
-
* response element.
|
|
663
|
+
* response element. You can see the remaining results of the initial request by sending
|
|
663
664
|
* another <code>DescribeImages</code> request with the returned <code>nextToken</code> value.
|
|
664
|
-
* This value can be between 1 and 1000. If this parameter
|
|
665
|
+
* This value can be between 1 and 1000. If this parameter isn't
|
|
665
666
|
* used, then <code>DescribeImages</code> returns up to 100 results and a
|
|
666
|
-
* <code>nextToken</code> value, if applicable.
|
|
667
|
-
*
|
|
667
|
+
* <code>nextToken</code> value, if applicable. If you specify images with
|
|
668
|
+
* <code>imageIds</code>, you can't use this option.</p>
|
|
668
669
|
*/
|
|
669
670
|
maxResults?: number;
|
|
670
671
|
}
|
|
671
672
|
/**
|
|
672
|
-
* <p>An object that describes an image returned by a <a>DescribeImages</a>
|
|
673
|
+
* <p>An object that describes an image that's returned by a <a>DescribeImages</a>
|
|
673
674
|
* operation.</p>
|
|
674
675
|
*/
|
|
675
676
|
export interface ImageDetail {
|
|
676
677
|
/**
|
|
677
|
-
* <p>The
|
|
678
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry where this image
|
|
678
679
|
* belongs.</p>
|
|
679
680
|
*/
|
|
680
681
|
registryId?: string;
|
|
681
682
|
/**
|
|
682
|
-
* <p>The name of the repository
|
|
683
|
+
* <p>The name of the repository where this image belongs.</p>
|
|
683
684
|
*/
|
|
684
685
|
repositoryName?: string;
|
|
685
686
|
/**
|
|
@@ -687,24 +688,24 @@ export interface ImageDetail {
|
|
|
687
688
|
*/
|
|
688
689
|
imageDigest?: string;
|
|
689
690
|
/**
|
|
690
|
-
* <p>The list of tags associated with this image.</p>
|
|
691
|
+
* <p>The list of tags that's associated with this image.</p>
|
|
691
692
|
*/
|
|
692
693
|
imageTags?: string[];
|
|
693
694
|
/**
|
|
694
695
|
* <p>The size, in bytes, of the image in the repository.</p>
|
|
695
|
-
* <p>If the image is a manifest list, this
|
|
696
|
+
* <p>If the image is a manifest list, this is the max size of all manifests in the
|
|
696
697
|
* list.</p>
|
|
697
698
|
* <note>
|
|
698
699
|
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
699
700
|
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
700
|
-
* command shows the uncompressed image size, so it
|
|
701
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
701
|
+
* command shows the uncompressed image size, so it might return a larger image size than
|
|
702
|
+
* the image sizes that are returned by <a>DescribeImages</a>.</p>
|
|
702
703
|
* </note>
|
|
703
704
|
*/
|
|
704
705
|
imageSizeInBytes?: number;
|
|
705
706
|
/**
|
|
706
|
-
* <p>The date and time, expressed in standard JavaScript date format,
|
|
707
|
-
*
|
|
707
|
+
* <p>The date and time, expressed in standard JavaScript date format, that the current image
|
|
708
|
+
* was pushed to the repository at. </p>
|
|
708
709
|
*/
|
|
709
710
|
imagePushedAt?: Date;
|
|
710
711
|
/**
|
|
@@ -725,13 +726,13 @@ export interface DescribeImagesResponse {
|
|
|
725
726
|
/**
|
|
726
727
|
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
|
|
727
728
|
* request. When the results of a <code>DescribeImages</code> request exceed
|
|
728
|
-
* <code>maxResults</code>,
|
|
729
|
-
*
|
|
729
|
+
* <code>maxResults</code>, you can use this value to retrieve the next page of results. If
|
|
730
|
+
* there are no more results to return, this value is <code>null</code>.</p>
|
|
730
731
|
*/
|
|
731
732
|
nextToken?: string;
|
|
732
733
|
}
|
|
733
734
|
/**
|
|
734
|
-
* <p>The image requested
|
|
735
|
+
* <p>The image requested doesn't exist in the specified repository.</p>
|
|
735
736
|
*/
|
|
736
737
|
export declare class ImageNotFoundException extends __BaseException {
|
|
737
738
|
readonly name: "ImageNotFoundException";
|
|
@@ -743,8 +744,8 @@ export declare class ImageNotFoundException extends __BaseException {
|
|
|
743
744
|
}
|
|
744
745
|
export interface DescribeImageTagsRequest {
|
|
745
746
|
/**
|
|
746
|
-
* <p>The
|
|
747
|
-
*
|
|
747
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
748
|
+
* repository where images are described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
748
749
|
*/
|
|
749
750
|
registryId?: string;
|
|
750
751
|
/**
|
|
@@ -752,29 +753,30 @@ export interface DescribeImageTagsRequest {
|
|
|
752
753
|
*/
|
|
753
754
|
repositoryName: string | undefined;
|
|
754
755
|
/**
|
|
755
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
756
|
+
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
756
757
|
* <code>DescribeImageTags</code> request where <code>maxResults</code> was used and the
|
|
757
758
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
758
|
-
* previous results that returned the <code>nextToken</code> value.
|
|
759
|
-
*
|
|
760
|
-
*
|
|
759
|
+
* previous results that returned the <code>nextToken</code> value. If there are no more
|
|
760
|
+
* results to return, this value is <code>null</code>. If you specify images with
|
|
761
|
+
* <code>imageIds</code>, you can't use this option.</p>
|
|
761
762
|
*/
|
|
762
763
|
nextToken?: string;
|
|
763
764
|
/**
|
|
764
|
-
* <p>The maximum number of repository results returned by
|
|
765
|
-
*
|
|
766
|
-
* <code>maxResults</code> results in a single
|
|
767
|
-
*
|
|
768
|
-
*
|
|
769
|
-
* value. This value can be between 1
|
|
770
|
-
*
|
|
771
|
-
* results and a <code>nextToken</code> value, if
|
|
772
|
-
* you specify images with <code>imageIds</code
|
|
765
|
+
* <p>The maximum number of repository results that's returned by
|
|
766
|
+
* <code>DescribeImageTags</code> in paginated output. When this parameter is used,
|
|
767
|
+
* <code>DescribeImageTags</code> only returns <code>maxResults</code> results in a single
|
|
768
|
+
* page along with a <code>nextToken</code> response element. You can see the remaining
|
|
769
|
+
* results of the initial request by sending another <code>DescribeImageTags</code> request
|
|
770
|
+
* with the returned <code>nextToken</code> value. This value can be between 1
|
|
771
|
+
* and 1000. If this parameter isn't used, then <code>DescribeImageTags</code>
|
|
772
|
+
* returns up to 100 results and a <code>nextToken</code> value, if
|
|
773
|
+
* applicable. If you specify images with <code>imageIds</code>, you can't use this
|
|
774
|
+
* option.</p>
|
|
773
775
|
*/
|
|
774
776
|
maxResults?: number;
|
|
775
777
|
}
|
|
776
778
|
/**
|
|
777
|
-
* <p>An object that describes the image tag details returned by a <a>DescribeImageTags</a> action.</p>
|
|
779
|
+
* <p>An object that describes the image tag details that are returned by a <a>DescribeImageTags</a> action.</p>
|
|
778
780
|
*/
|
|
779
781
|
export interface ReferencedImageDetail {
|
|
780
782
|
/**
|
|
@@ -783,19 +785,19 @@ export interface ReferencedImageDetail {
|
|
|
783
785
|
imageDigest?: string;
|
|
784
786
|
/**
|
|
785
787
|
* <p>The size, in bytes, of the image in the repository.</p>
|
|
786
|
-
* <p>If the image is a manifest list, this
|
|
788
|
+
* <p>If the image is a manifest list, this is the max size of all manifests in the
|
|
787
789
|
* list.</p>
|
|
788
790
|
* <note>
|
|
789
791
|
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
790
792
|
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
791
|
-
* command shows the uncompressed image size, so it
|
|
792
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
793
|
+
* command shows the uncompressed image size, so it might return a larger image size than
|
|
794
|
+
* the image sizes that are returned by <a>DescribeImages</a>.</p>
|
|
793
795
|
* </note>
|
|
794
796
|
*/
|
|
795
797
|
imageSizeInBytes?: number;
|
|
796
798
|
/**
|
|
797
|
-
* <p>The date and time, expressed in standard JavaScript date format,
|
|
798
|
-
*
|
|
799
|
+
* <p>The date and time, expressed in standard JavaScript date format, which the current image
|
|
800
|
+
* tag was pushed to the repository at.</p>
|
|
799
801
|
*/
|
|
800
802
|
imagePushedAt?: Date;
|
|
801
803
|
/**
|
|
@@ -808,15 +810,15 @@ export interface ReferencedImageDetail {
|
|
|
808
810
|
artifactMediaType?: string;
|
|
809
811
|
}
|
|
810
812
|
/**
|
|
811
|
-
* <p>An object
|
|
813
|
+
* <p>An object that represents the image tag details for an image.</p>
|
|
812
814
|
*/
|
|
813
815
|
export interface ImageTagDetail {
|
|
814
816
|
/**
|
|
815
|
-
* <p>The tag associated with the image.</p>
|
|
817
|
+
* <p>The tag that's associated with the image.</p>
|
|
816
818
|
*/
|
|
817
819
|
imageTag?: string;
|
|
818
820
|
/**
|
|
819
|
-
* <p>The time stamp
|
|
821
|
+
* <p>The time stamp that indicates when the image tag was created.</p>
|
|
820
822
|
*/
|
|
821
823
|
createdAt?: Date;
|
|
822
824
|
/**
|
|
@@ -832,32 +834,33 @@ export interface DescribeImageTagsResponse {
|
|
|
832
834
|
/**
|
|
833
835
|
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImageTags</code>
|
|
834
836
|
* request. When the results of a <code>DescribeImageTags</code> request exceed
|
|
835
|
-
* <code>maxResults</code>,
|
|
836
|
-
*
|
|
837
|
+
* <code>maxResults</code>, you can use this value to retrieve the next page of results. If
|
|
838
|
+
* there are no more results to return, this value is <code>null</code>.</p>
|
|
837
839
|
*/
|
|
838
840
|
nextToken?: string;
|
|
839
841
|
}
|
|
840
842
|
export interface DescribeRegistriesRequest {
|
|
841
843
|
/**
|
|
842
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
844
|
+
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
843
845
|
* <code>DescribeRegistries</code> request where <code>maxResults</code> was used and the
|
|
844
846
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
845
|
-
* previous results that returned the <code>nextToken</code> value.
|
|
846
|
-
*
|
|
847
|
+
* previous results that returned the <code>nextToken</code> value. If there are no more
|
|
848
|
+
* results to return, this value is <code>null</code>.</p>
|
|
847
849
|
* <note>
|
|
848
850
|
* <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>
|
|
849
851
|
* </note>
|
|
850
852
|
*/
|
|
851
853
|
nextToken?: string;
|
|
852
854
|
/**
|
|
853
|
-
* <p>The maximum number of repository results returned by
|
|
854
|
-
*
|
|
855
|
-
* <code>maxResults</code> results in a single
|
|
856
|
-
* response element. The remaining results of the
|
|
857
|
-
* another <code>DescribeRegistries</code> request with
|
|
858
|
-
* value. This value can be between 1 and
|
|
859
|
-
*
|
|
860
|
-
* results and a <code>nextToken</code> value, if
|
|
855
|
+
* <p>The maximum number of repository results that's returned by
|
|
856
|
+
* <code>DescribeRegistries</code> in paginated output. When this parameter is used,
|
|
857
|
+
* <code>DescribeRegistries</code> only returns <code>maxResults</code> results in a single
|
|
858
|
+
* page along with a <code>nextToken</code> response element. The remaining results of the
|
|
859
|
+
* initial request can be seen by sending another <code>DescribeRegistries</code> request with
|
|
860
|
+
* the returned <code>nextToken</code> value. This value can be between 1 and
|
|
861
|
+
* 1000. If this parameter isn't used, then <code>DescribeRegistries</code>
|
|
862
|
+
* returns up to 100 results and a <code>nextToken</code> value, if
|
|
863
|
+
* applicable.</p>
|
|
861
864
|
*/
|
|
862
865
|
maxResults?: number;
|
|
863
866
|
}
|
|
@@ -868,8 +871,8 @@ export declare enum RegistryAliasStatus {
|
|
|
868
871
|
}
|
|
869
872
|
/**
|
|
870
873
|
* <p>An object representing the aliases for a public registry. A public registry is given an
|
|
871
|
-
* alias
|
|
872
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html">Registries</a> in the
|
|
874
|
+
* alias when it's created. However, a custom alias can be set using the Amazon ECR console. For
|
|
875
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html">Registries</a> in the
|
|
873
876
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
874
877
|
*/
|
|
875
878
|
export interface RegistryAlias {
|
|
@@ -882,18 +885,18 @@ export interface RegistryAlias {
|
|
|
882
885
|
*/
|
|
883
886
|
status: RegistryAliasStatus | string | undefined;
|
|
884
887
|
/**
|
|
885
|
-
* <p>
|
|
888
|
+
* <p>Indicates whether the registry alias is the primary alias for the registry. If true, the
|
|
886
889
|
* alias is the primary registry alias and is displayed in both the repository URL and the
|
|
887
890
|
* image URI used in the <code>docker pull</code> commands on the Amazon ECR Public Gallery.</p>
|
|
888
891
|
* <note>
|
|
889
|
-
* <p>A registry alias that
|
|
892
|
+
* <p>A registry alias that isn't the primary registry alias can be used in the repository
|
|
890
893
|
* URI in a <code>docker pull</code> command.</p>
|
|
891
894
|
* </note>
|
|
892
895
|
*/
|
|
893
896
|
primaryRegistryAlias: boolean | undefined;
|
|
894
897
|
/**
|
|
895
|
-
* <p>
|
|
896
|
-
* public repository is created, your public registry is assigned a default registry
|
|
898
|
+
* <p>Indicates whether the registry alias is the default alias for the registry. When the
|
|
899
|
+
* first public repository is created, your public registry is assigned a default registry
|
|
897
900
|
* alias.</p>
|
|
898
901
|
*/
|
|
899
902
|
defaultRegistryAlias: boolean | undefined;
|
|
@@ -903,7 +906,8 @@ export interface RegistryAlias {
|
|
|
903
906
|
*/
|
|
904
907
|
export interface Registry {
|
|
905
908
|
/**
|
|
906
|
-
* <p>The
|
|
909
|
+
* <p>The Amazon Web Services account ID that's associated with the registry.
|
|
910
|
+
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
907
911
|
*/
|
|
908
912
|
registryId: string | undefined;
|
|
909
913
|
/**
|
|
@@ -916,34 +920,34 @@ export interface Registry {
|
|
|
916
920
|
*/
|
|
917
921
|
registryUri: string | undefined;
|
|
918
922
|
/**
|
|
919
|
-
* <p>
|
|
920
|
-
*
|
|
921
|
-
*
|
|
923
|
+
* <p>Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified,
|
|
924
|
+
* each public repository receives a verified account badge on the
|
|
925
|
+
* Amazon ECR Public Gallery.</p>
|
|
922
926
|
*/
|
|
923
927
|
verified: boolean | undefined;
|
|
924
928
|
/**
|
|
925
|
-
* <p>An array of objects
|
|
929
|
+
* <p>An array of objects that represents the aliases for a public registry.</p>
|
|
926
930
|
*/
|
|
927
931
|
aliases: RegistryAlias[] | undefined;
|
|
928
932
|
}
|
|
929
933
|
export interface DescribeRegistriesResponse {
|
|
930
934
|
/**
|
|
931
|
-
* <p>An object
|
|
935
|
+
* <p>An object that contains the details for a public registry.</p>
|
|
932
936
|
*/
|
|
933
937
|
registries: Registry[] | undefined;
|
|
934
938
|
/**
|
|
935
939
|
* <p>The <code>nextToken</code> value to include in a future
|
|
936
|
-
* <code>DescribeRepositories</code> request.
|
|
937
|
-
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>,
|
|
938
|
-
*
|
|
939
|
-
*
|
|
940
|
+
* <code>DescribeRepositories</code> request. If the results of a
|
|
941
|
+
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, you can use
|
|
942
|
+
* this value to retrieve the next page of results. If there are no more results, this value
|
|
943
|
+
* is <code>null</code>.</p>
|
|
940
944
|
*/
|
|
941
945
|
nextToken?: string;
|
|
942
946
|
}
|
|
943
947
|
export interface DescribeRepositoriesRequest {
|
|
944
948
|
/**
|
|
945
|
-
* <p>The
|
|
946
|
-
* described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
949
|
+
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repositories
|
|
950
|
+
* to be described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
947
951
|
*/
|
|
948
952
|
registryId?: string;
|
|
949
953
|
/**
|
|
@@ -952,28 +956,28 @@ export interface DescribeRepositoriesRequest {
|
|
|
952
956
|
*/
|
|
953
957
|
repositoryNames?: string[];
|
|
954
958
|
/**
|
|
955
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
959
|
+
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
956
960
|
* <code>DescribeRepositories</code> request where <code>maxResults</code> was used and the
|
|
957
961
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
958
|
-
* previous results that returned the <code>nextToken</code> value.
|
|
959
|
-
*
|
|
960
|
-
*
|
|
962
|
+
* previous results that returned the <code>nextToken</code> value. If there are no more
|
|
963
|
+
* results to return, this value is <code>null</code>. If you specify repositories with
|
|
964
|
+
* <code>repositoryNames</code>, you can't use this option.</p>
|
|
961
965
|
* <note>
|
|
962
966
|
* <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>
|
|
963
967
|
* </note>
|
|
964
968
|
*/
|
|
965
969
|
nextToken?: string;
|
|
966
970
|
/**
|
|
967
|
-
* <p>The maximum number of repository results returned by
|
|
968
|
-
*
|
|
969
|
-
*
|
|
970
|
-
*
|
|
971
|
-
*
|
|
972
|
-
*
|
|
973
|
-
* 1000. If this parameter
|
|
971
|
+
* <p>The maximum number of repository results that's returned by
|
|
972
|
+
* <code>DescribeRepositories</code> in paginated output. When this parameter is used,
|
|
973
|
+
* <code>DescribeRepositories</code> only returns <code>maxResults</code> results in a
|
|
974
|
+
* single page along with a <code>nextToken</code> response element. You can see the remaining
|
|
975
|
+
* results of the initial request by sending another <code>DescribeRepositories</code> request
|
|
976
|
+
* with the returned <code>nextToken</code> value. This value can be between 1
|
|
977
|
+
* and 1000. If this parameter isn't used, then <code>DescribeRepositories</code>
|
|
974
978
|
* returns up to 100 results and a <code>nextToken</code> value, if
|
|
975
|
-
* applicable.
|
|
976
|
-
*
|
|
979
|
+
* applicable. If you specify repositories with <code>repositoryNames</code>, you can't use
|
|
980
|
+
* this option.</p>
|
|
977
981
|
*/
|
|
978
982
|
maxResults?: number;
|
|
979
983
|
}
|
|
@@ -986,8 +990,8 @@ export interface DescribeRepositoriesResponse {
|
|
|
986
990
|
* <p>The <code>nextToken</code> value to include in a future
|
|
987
991
|
* <code>DescribeRepositories</code> request. When the results of a
|
|
988
992
|
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can
|
|
989
|
-
* be used to retrieve the next page of results.
|
|
990
|
-
*
|
|
993
|
+
* be used to retrieve the next page of results. If there are no more results to return, this
|
|
994
|
+
* value is <code>null</code>.</p>
|
|
991
995
|
*/
|
|
992
996
|
nextToken?: string;
|
|
993
997
|
}
|
|
@@ -1022,8 +1026,8 @@ export interface GetRegistryCatalogDataResponse {
|
|
|
1022
1026
|
}
|
|
1023
1027
|
export interface GetRepositoryCatalogDataRequest {
|
|
1024
1028
|
/**
|
|
1025
|
-
* <p>The
|
|
1026
|
-
* described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1029
|
+
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repositories
|
|
1030
|
+
* to be described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1027
1031
|
*/
|
|
1028
1032
|
registryId?: string;
|
|
1029
1033
|
/**
|
|
@@ -1037,10 +1041,21 @@ export interface GetRepositoryCatalogDataResponse {
|
|
|
1037
1041
|
*/
|
|
1038
1042
|
catalogData?: RepositoryCatalogData;
|
|
1039
1043
|
}
|
|
1044
|
+
/**
|
|
1045
|
+
* <p>The repository catalog data doesn't exist.</p>
|
|
1046
|
+
*/
|
|
1047
|
+
export declare class RepositoryCatalogDataNotFoundException extends __BaseException {
|
|
1048
|
+
readonly name: "RepositoryCatalogDataNotFoundException";
|
|
1049
|
+
readonly $fault: "client";
|
|
1050
|
+
/**
|
|
1051
|
+
* @internal
|
|
1052
|
+
*/
|
|
1053
|
+
constructor(opts: __ExceptionOptionType<RepositoryCatalogDataNotFoundException, __BaseException>);
|
|
1054
|
+
}
|
|
1040
1055
|
export interface GetRepositoryPolicyRequest {
|
|
1041
1056
|
/**
|
|
1042
|
-
* <p>The
|
|
1043
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1057
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
1058
|
+
* repository. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1044
1059
|
*/
|
|
1045
1060
|
registryId?: string;
|
|
1046
1061
|
/**
|
|
@@ -1050,37 +1065,37 @@ export interface GetRepositoryPolicyRequest {
|
|
|
1050
1065
|
}
|
|
1051
1066
|
export interface GetRepositoryPolicyResponse {
|
|
1052
1067
|
/**
|
|
1053
|
-
* <p>The registry ID associated with the request.</p>
|
|
1068
|
+
* <p>The registry ID that's associated with the request.</p>
|
|
1054
1069
|
*/
|
|
1055
1070
|
registryId?: string;
|
|
1056
1071
|
/**
|
|
1057
|
-
* <p>The repository name associated with the request.</p>
|
|
1072
|
+
* <p>The repository name that's associated with the request.</p>
|
|
1058
1073
|
*/
|
|
1059
1074
|
repositoryName?: string;
|
|
1060
1075
|
/**
|
|
1061
|
-
* <p>The repository policy text associated with the repository. The policy text will
|
|
1062
|
-
* JSON format.</p>
|
|
1076
|
+
* <p>The repository policy text that's associated with the repository. The policy text will
|
|
1077
|
+
* be in JSON format.</p>
|
|
1063
1078
|
*/
|
|
1064
1079
|
policyText?: string;
|
|
1065
1080
|
}
|
|
1066
1081
|
/**
|
|
1067
|
-
* <p>An object
|
|
1082
|
+
* <p>An object that represents an Amazon ECR image.</p>
|
|
1068
1083
|
*/
|
|
1069
1084
|
export interface Image {
|
|
1070
1085
|
/**
|
|
1071
|
-
* <p>The
|
|
1086
|
+
* <p>The Amazon Web Services account ID that's associated with the registry containing the image.</p>
|
|
1072
1087
|
*/
|
|
1073
1088
|
registryId?: string;
|
|
1074
1089
|
/**
|
|
1075
|
-
* <p>The name of the repository associated with the image.</p>
|
|
1090
|
+
* <p>The name of the repository that's associated with the image.</p>
|
|
1076
1091
|
*/
|
|
1077
1092
|
repositoryName?: string;
|
|
1078
1093
|
/**
|
|
1079
|
-
* <p>An object
|
|
1094
|
+
* <p>An object that contains the image tag and image digest associated with an image.</p>
|
|
1080
1095
|
*/
|
|
1081
1096
|
imageId?: ImageIdentifier;
|
|
1082
1097
|
/**
|
|
1083
|
-
* <p>The image manifest associated with the image.</p>
|
|
1098
|
+
* <p>The image manifest that's associated with the image.</p>
|
|
1084
1099
|
*/
|
|
1085
1100
|
imageManifest?: string;
|
|
1086
1101
|
/**
|
|
@@ -1101,7 +1116,7 @@ export declare class ImageAlreadyExistsException extends __BaseException {
|
|
|
1101
1116
|
constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
|
|
1102
1117
|
}
|
|
1103
1118
|
/**
|
|
1104
|
-
* <p>The specified image digest
|
|
1119
|
+
* <p>The specified image digest doesn't match the digest that Amazon ECR calculated for the
|
|
1105
1120
|
* image.</p>
|
|
1106
1121
|
*/
|
|
1107
1122
|
export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
@@ -1126,12 +1141,12 @@ export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
|
1126
1141
|
}
|
|
1127
1142
|
export interface InitiateLayerUploadRequest {
|
|
1128
1143
|
/**
|
|
1129
|
-
* <p>The
|
|
1130
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1144
|
+
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the registry to which
|
|
1145
|
+
* you intend to upload layers. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1131
1146
|
*/
|
|
1132
1147
|
registryId?: string;
|
|
1133
1148
|
/**
|
|
1134
|
-
* <p>The name of the repository
|
|
1149
|
+
* <p>The name of the repository that you want to upload layers to.</p>
|
|
1135
1150
|
*/
|
|
1136
1151
|
repositoryName: string | undefined;
|
|
1137
1152
|
}
|
|
@@ -1146,14 +1161,14 @@ export interface InitiateLayerUploadResponse {
|
|
|
1146
1161
|
partSize?: number;
|
|
1147
1162
|
}
|
|
1148
1163
|
/**
|
|
1149
|
-
* <p>The layer part size
|
|
1164
|
+
* <p>The layer part size isn't valid, or the first byte specified isn't consecutive to the
|
|
1150
1165
|
* last byte of a previous layer part upload.</p>
|
|
1151
1166
|
*/
|
|
1152
1167
|
export declare class InvalidLayerPartException extends __BaseException {
|
|
1153
1168
|
readonly name: "InvalidLayerPartException";
|
|
1154
1169
|
readonly $fault: "client";
|
|
1155
1170
|
/**
|
|
1156
|
-
* <p>The
|
|
1171
|
+
* <p>The Amazon Web Services account ID that's associated with the layer part.</p>
|
|
1157
1172
|
*/
|
|
1158
1173
|
registryId?: string;
|
|
1159
1174
|
/**
|
|
@@ -1161,7 +1176,7 @@ export declare class InvalidLayerPartException extends __BaseException {
|
|
|
1161
1176
|
*/
|
|
1162
1177
|
repositoryName?: string;
|
|
1163
1178
|
/**
|
|
1164
|
-
* <p>The upload ID associated with the layer part.</p>
|
|
1179
|
+
* <p>The upload ID that's associated with the layer part.</p>
|
|
1165
1180
|
*/
|
|
1166
1181
|
uploadId?: string;
|
|
1167
1182
|
/**
|
|
@@ -1174,7 +1189,7 @@ export declare class InvalidLayerPartException extends __BaseException {
|
|
|
1174
1189
|
constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
|
|
1175
1190
|
}
|
|
1176
1191
|
/**
|
|
1177
|
-
* <p>The specified layers
|
|
1192
|
+
* <p>The specified layers can't be found, or the specified layer isn't valid for this
|
|
1178
1193
|
* repository.</p>
|
|
1179
1194
|
*/
|
|
1180
1195
|
export declare class LayersNotFoundException extends __BaseException {
|
|
@@ -1187,7 +1202,7 @@ export declare class LayersNotFoundException extends __BaseException {
|
|
|
1187
1202
|
}
|
|
1188
1203
|
export interface ListTagsForResourceRequest {
|
|
1189
1204
|
/**
|
|
1190
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource
|
|
1205
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the
|
|
1191
1206
|
* supported resource is an Amazon ECR Public repository.</p>
|
|
1192
1207
|
*/
|
|
1193
1208
|
resourceArn: string | undefined;
|
|
@@ -1200,22 +1215,22 @@ export interface ListTagsForResourceResponse {
|
|
|
1200
1215
|
}
|
|
1201
1216
|
export interface PutImageRequest {
|
|
1202
1217
|
/**
|
|
1203
|
-
* <p>The
|
|
1204
|
-
*
|
|
1218
|
+
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the public registry that
|
|
1219
|
+
* contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1205
1220
|
*/
|
|
1206
1221
|
registryId?: string;
|
|
1207
1222
|
/**
|
|
1208
|
-
* <p>The name of the repository
|
|
1223
|
+
* <p>The name of the repository where the image is put.</p>
|
|
1209
1224
|
*/
|
|
1210
1225
|
repositoryName: string | undefined;
|
|
1211
1226
|
/**
|
|
1212
|
-
* <p>The image manifest
|
|
1227
|
+
* <p>The image manifest that corresponds to the image to be uploaded.</p>
|
|
1213
1228
|
*/
|
|
1214
1229
|
imageManifest: string | undefined;
|
|
1215
1230
|
/**
|
|
1216
|
-
* <p>The media type of the image manifest. If you push an image manifest that
|
|
1217
|
-
*
|
|
1218
|
-
*
|
|
1231
|
+
* <p>The media type of the image manifest. If you push an image manifest that doesn't contain
|
|
1232
|
+
* the <code>mediaType</code> field, you must specify the <code>imageManifestMediaType</code>
|
|
1233
|
+
* in the request.</p>
|
|
1219
1234
|
*/
|
|
1220
1235
|
imageManifestMediaType?: string;
|
|
1221
1236
|
/**
|
|
@@ -1224,7 +1239,7 @@ export interface PutImageRequest {
|
|
|
1224
1239
|
*/
|
|
1225
1240
|
imageTag?: string;
|
|
1226
1241
|
/**
|
|
1227
|
-
* <p>The image digest of the image manifest
|
|
1242
|
+
* <p>The image digest of the image manifest that corresponds to the image.</p>
|
|
1228
1243
|
*/
|
|
1229
1244
|
imageDigest?: string;
|
|
1230
1245
|
}
|
|
@@ -1235,7 +1250,7 @@ export interface PutImageResponse {
|
|
|
1235
1250
|
image?: Image;
|
|
1236
1251
|
}
|
|
1237
1252
|
/**
|
|
1238
|
-
* <p>The manifest list is referencing an image that
|
|
1253
|
+
* <p>The manifest list is referencing an image that doesn't exist.</p>
|
|
1239
1254
|
*/
|
|
1240
1255
|
export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
1241
1256
|
readonly name: "ReferencedImagesNotFoundException";
|
|
@@ -1264,7 +1279,7 @@ export interface PutRegistryCatalogDataResponse {
|
|
|
1264
1279
|
}
|
|
1265
1280
|
export interface PutRepositoryCatalogDataRequest {
|
|
1266
1281
|
/**
|
|
1267
|
-
* <p>The
|
|
1282
|
+
* <p>The Amazon Web Services account ID that's associated with the public registry the repository is in.
|
|
1268
1283
|
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1269
1284
|
*/
|
|
1270
1285
|
registryId?: string;
|
|
@@ -1286,7 +1301,7 @@ export interface PutRepositoryCatalogDataResponse {
|
|
|
1286
1301
|
}
|
|
1287
1302
|
export interface SetRepositoryPolicyRequest {
|
|
1288
1303
|
/**
|
|
1289
|
-
* <p>The
|
|
1304
|
+
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repository.
|
|
1290
1305
|
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1291
1306
|
*/
|
|
1292
1307
|
registryId?: string;
|
|
@@ -1301,30 +1316,30 @@ export interface SetRepositoryPolicyRequest {
|
|
|
1301
1316
|
*/
|
|
1302
1317
|
policyText: string | undefined;
|
|
1303
1318
|
/**
|
|
1304
|
-
* <p>If the policy you
|
|
1305
|
-
*
|
|
1306
|
-
* repository
|
|
1319
|
+
* <p>If the policy that you want to set on a repository policy would prevent you from setting
|
|
1320
|
+
* another policy in the future, you must force the <a>SetRepositoryPolicy</a>
|
|
1321
|
+
* operation. This prevents accidental repository lockouts.</p>
|
|
1307
1322
|
*/
|
|
1308
1323
|
force?: boolean;
|
|
1309
1324
|
}
|
|
1310
1325
|
export interface SetRepositoryPolicyResponse {
|
|
1311
1326
|
/**
|
|
1312
|
-
* <p>The registry ID associated with the request.</p>
|
|
1327
|
+
* <p>The registry ID that's associated with the request.</p>
|
|
1313
1328
|
*/
|
|
1314
1329
|
registryId?: string;
|
|
1315
1330
|
/**
|
|
1316
|
-
* <p>The repository name associated with the request.</p>
|
|
1331
|
+
* <p>The repository name that's associated with the request.</p>
|
|
1317
1332
|
*/
|
|
1318
1333
|
repositoryName?: string;
|
|
1319
1334
|
/**
|
|
1320
|
-
* <p>The JSON repository policy text applied to the repository.</p>
|
|
1335
|
+
* <p>The JSON repository policy text that's applied to the repository.</p>
|
|
1321
1336
|
*/
|
|
1322
1337
|
policyText?: string;
|
|
1323
1338
|
}
|
|
1324
1339
|
export interface TagResourceRequest {
|
|
1325
1340
|
/**
|
|
1326
|
-
* <p>The Amazon Resource Name (ARN) of the resource to
|
|
1327
|
-
*
|
|
1341
|
+
* <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported
|
|
1342
|
+
* resource is an Amazon ECR Public repository.</p>
|
|
1328
1343
|
*/
|
|
1329
1344
|
resourceArn: string | undefined;
|
|
1330
1345
|
/**
|
|
@@ -1337,8 +1352,8 @@ export interface TagResourceResponse {
|
|
|
1337
1352
|
}
|
|
1338
1353
|
export interface UntagResourceRequest {
|
|
1339
1354
|
/**
|
|
1340
|
-
* <p>The Amazon Resource Name (ARN) of the resource
|
|
1341
|
-
*
|
|
1355
|
+
* <p>The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resource is
|
|
1356
|
+
* an Amazon ECR Public repository.</p>
|
|
1342
1357
|
*/
|
|
1343
1358
|
resourceArn: string | undefined;
|
|
1344
1359
|
/**
|
|
@@ -1350,12 +1365,12 @@ export interface UntagResourceResponse {
|
|
|
1350
1365
|
}
|
|
1351
1366
|
export interface UploadLayerPartRequest {
|
|
1352
1367
|
/**
|
|
1353
|
-
* <p>The
|
|
1354
|
-
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1368
|
+
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're
|
|
1369
|
+
* uploading layer parts to. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1355
1370
|
*/
|
|
1356
1371
|
registryId?: string;
|
|
1357
1372
|
/**
|
|
1358
|
-
* <p>The name of the repository
|
|
1373
|
+
* <p>The name of the repository that you're uploading layer parts to.</p>
|
|
1359
1374
|
*/
|
|
1360
1375
|
repositoryName: string | undefined;
|
|
1361
1376
|
/**
|
|
@@ -1378,19 +1393,19 @@ export interface UploadLayerPartRequest {
|
|
|
1378
1393
|
}
|
|
1379
1394
|
export interface UploadLayerPartResponse {
|
|
1380
1395
|
/**
|
|
1381
|
-
* <p>The registry ID associated with the request.</p>
|
|
1396
|
+
* <p>The registry ID that's associated with the request.</p>
|
|
1382
1397
|
*/
|
|
1383
1398
|
registryId?: string;
|
|
1384
1399
|
/**
|
|
1385
|
-
* <p>The repository name associated with the request.</p>
|
|
1400
|
+
* <p>The repository name that's associated with the request.</p>
|
|
1386
1401
|
*/
|
|
1387
1402
|
repositoryName?: string;
|
|
1388
1403
|
/**
|
|
1389
|
-
* <p>The upload ID associated with the request.</p>
|
|
1404
|
+
* <p>The upload ID that's associated with the request.</p>
|
|
1390
1405
|
*/
|
|
1391
1406
|
uploadId?: string;
|
|
1392
1407
|
/**
|
|
1393
|
-
* <p>The integer value of the last byte received in the request.</p>
|
|
1408
|
+
* <p>The integer value of the last byte that's received in the request.</p>
|
|
1394
1409
|
*/
|
|
1395
1410
|
lastByteReceived?: number;
|
|
1396
1411
|
}
|