@aws-sdk/client-ecr-public 3.295.0 → 3.297.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/dist-types/ECRPUBLIC.d.ts +24 -0
- package/dist-types/ECRPUBLICClient.d.ts +24 -4
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +16 -0
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +16 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImageTagsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRegistriesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +16 -0
- package/dist-types/commands/GetRegistryCatalogDataCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryCatalogDataCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutImageCommand.d.ts +16 -0
- package/dist-types/commands/PutRegistryCatalogDataCommand.d.ts +16 -0
- package/dist-types/commands/PutRepositoryCatalogDataCommand.d.ts +16 -0
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UploadLayerPartCommand.d.ts +16 -0
- package/dist-types/models/ECRPUBLICServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +190 -0
- package/dist-types/pagination/DescribeImageTagsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeImagesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeRegistriesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeRepositoriesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/package.json +29 -29
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>An authorization token data object that corresponds to a public registry.</p>
|
|
5
6
|
*/
|
|
6
7
|
export interface AuthorizationData {
|
|
@@ -16,6 +17,9 @@ export interface AuthorizationData {
|
|
|
16
17
|
*/
|
|
17
18
|
expiresAt?: Date;
|
|
18
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
19
23
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
20
24
|
/**
|
|
21
25
|
* <p>The Amazon Web Services account ID, or registry alias, associated with the public registry that
|
|
@@ -31,11 +35,15 @@ export interface BatchCheckLayerAvailabilityRequest {
|
|
|
31
35
|
*/
|
|
32
36
|
layerDigests: string[] | undefined;
|
|
33
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
34
41
|
export declare enum LayerFailureCode {
|
|
35
42
|
InvalidLayerDigest = "InvalidLayerDigest",
|
|
36
43
|
MissingLayerDigest = "MissingLayerDigest"
|
|
37
44
|
}
|
|
38
45
|
/**
|
|
46
|
+
* @public
|
|
39
47
|
* <p>An object that represents an Amazon ECR image layer failure.</p>
|
|
40
48
|
*/
|
|
41
49
|
export interface LayerFailure {
|
|
@@ -52,11 +60,15 @@ export interface LayerFailure {
|
|
|
52
60
|
*/
|
|
53
61
|
failureReason?: string;
|
|
54
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
55
66
|
export declare enum LayerAvailability {
|
|
56
67
|
AVAILABLE = "AVAILABLE",
|
|
57
68
|
UNAVAILABLE = "UNAVAILABLE"
|
|
58
69
|
}
|
|
59
70
|
/**
|
|
71
|
+
* @public
|
|
60
72
|
* <p>An object that represents an Amazon ECR image layer.</p>
|
|
61
73
|
*/
|
|
62
74
|
export interface Layer {
|
|
@@ -79,6 +91,9 @@ export interface Layer {
|
|
|
79
91
|
*/
|
|
80
92
|
mediaType?: string;
|
|
81
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
82
97
|
export interface BatchCheckLayerAvailabilityResponse {
|
|
83
98
|
/**
|
|
84
99
|
* <p>A list of image layer objects that correspond to the image layer references in the
|
|
@@ -91,6 +106,7 @@ export interface BatchCheckLayerAvailabilityResponse {
|
|
|
91
106
|
failures?: LayerFailure[];
|
|
92
107
|
}
|
|
93
108
|
/**
|
|
109
|
+
* @public
|
|
94
110
|
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
95
111
|
* request.</p>
|
|
96
112
|
*/
|
|
@@ -103,6 +119,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
103
119
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
104
120
|
}
|
|
105
121
|
/**
|
|
122
|
+
* @public
|
|
106
123
|
* <p>The registry doesn't exist.</p>
|
|
107
124
|
*/
|
|
108
125
|
export declare class RegistryNotFoundException extends __BaseException {
|
|
@@ -114,6 +131,7 @@ export declare class RegistryNotFoundException extends __BaseException {
|
|
|
114
131
|
constructor(opts: __ExceptionOptionType<RegistryNotFoundException, __BaseException>);
|
|
115
132
|
}
|
|
116
133
|
/**
|
|
134
|
+
* @public
|
|
117
135
|
* <p>The specified repository can't be found. Check the spelling of the specified repository
|
|
118
136
|
* and ensure that you're performing operations on the correct registry.</p>
|
|
119
137
|
*/
|
|
@@ -126,6 +144,7 @@ export declare class RepositoryNotFoundException extends __BaseException {
|
|
|
126
144
|
constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
|
|
127
145
|
}
|
|
128
146
|
/**
|
|
147
|
+
* @public
|
|
129
148
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
130
149
|
*/
|
|
131
150
|
export declare class ServerException extends __BaseException {
|
|
@@ -137,6 +156,7 @@ export declare class ServerException extends __BaseException {
|
|
|
137
156
|
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
138
157
|
}
|
|
139
158
|
/**
|
|
159
|
+
* @public
|
|
140
160
|
* <p>The action isn't supported in this Region.</p>
|
|
141
161
|
*/
|
|
142
162
|
export declare class UnsupportedCommandException extends __BaseException {
|
|
@@ -148,6 +168,7 @@ export declare class UnsupportedCommandException extends __BaseException {
|
|
|
148
168
|
constructor(opts: __ExceptionOptionType<UnsupportedCommandException, __BaseException>);
|
|
149
169
|
}
|
|
150
170
|
/**
|
|
171
|
+
* @public
|
|
151
172
|
* <p>An object with identifying information for an Amazon ECR image.</p>
|
|
152
173
|
*/
|
|
153
174
|
export interface ImageIdentifier {
|
|
@@ -160,6 +181,9 @@ export interface ImageIdentifier {
|
|
|
160
181
|
*/
|
|
161
182
|
imageTag?: string;
|
|
162
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
163
187
|
export interface BatchDeleteImageRequest {
|
|
164
188
|
/**
|
|
165
189
|
* <p>The Amazon Web Services account ID that's associated with the registry that contains the image to
|
|
@@ -177,6 +201,9 @@ export interface BatchDeleteImageRequest {
|
|
|
177
201
|
*/
|
|
178
202
|
imageIds: ImageIdentifier[] | undefined;
|
|
179
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
180
207
|
export declare enum ImageFailureCode {
|
|
181
208
|
ImageNotFound = "ImageNotFound",
|
|
182
209
|
ImageReferencedByManifestList = "ImageReferencedByManifestList",
|
|
@@ -187,6 +214,7 @@ export declare enum ImageFailureCode {
|
|
|
187
214
|
MissingDigestAndTag = "MissingDigestAndTag"
|
|
188
215
|
}
|
|
189
216
|
/**
|
|
217
|
+
* @public
|
|
190
218
|
* <p>An object that represents an Amazon ECR image failure.</p>
|
|
191
219
|
*/
|
|
192
220
|
export interface ImageFailure {
|
|
@@ -203,6 +231,9 @@ export interface ImageFailure {
|
|
|
203
231
|
*/
|
|
204
232
|
failureReason?: string;
|
|
205
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
206
237
|
export interface BatchDeleteImageResponse {
|
|
207
238
|
/**
|
|
208
239
|
* <p>The image IDs of the deleted images.</p>
|
|
@@ -213,6 +244,9 @@ export interface BatchDeleteImageResponse {
|
|
|
213
244
|
*/
|
|
214
245
|
failures?: ImageFailure[];
|
|
215
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
216
250
|
export interface CompleteLayerUploadRequest {
|
|
217
251
|
/**
|
|
218
252
|
* <p>The Amazon Web Services account ID, or registry alias, associated with the registry where layers are
|
|
@@ -234,6 +268,9 @@ export interface CompleteLayerUploadRequest {
|
|
|
234
268
|
*/
|
|
235
269
|
layerDigests: string[] | undefined;
|
|
236
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
237
274
|
export interface CompleteLayerUploadResponse {
|
|
238
275
|
/**
|
|
239
276
|
* <p>The public registry ID that's associated with the request.</p>
|
|
@@ -253,6 +290,7 @@ export interface CompleteLayerUploadResponse {
|
|
|
253
290
|
layerDigest?: string;
|
|
254
291
|
}
|
|
255
292
|
/**
|
|
293
|
+
* @public
|
|
256
294
|
* <p>The specified layer upload doesn't contain any layer parts.</p>
|
|
257
295
|
*/
|
|
258
296
|
export declare class EmptyUploadException extends __BaseException {
|
|
@@ -264,6 +302,7 @@ export declare class EmptyUploadException extends __BaseException {
|
|
|
264
302
|
constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
|
|
265
303
|
}
|
|
266
304
|
/**
|
|
305
|
+
* @public
|
|
267
306
|
* <p>The layer digest calculation performed by Amazon ECR when the image layer doesn't match the
|
|
268
307
|
* digest specified.</p>
|
|
269
308
|
*/
|
|
@@ -276,6 +315,7 @@ export declare class InvalidLayerException extends __BaseException {
|
|
|
276
315
|
constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
|
|
277
316
|
}
|
|
278
317
|
/**
|
|
318
|
+
* @public
|
|
279
319
|
* <p>The image layer already exists in the associated repository.</p>
|
|
280
320
|
*/
|
|
281
321
|
export declare class LayerAlreadyExistsException extends __BaseException {
|
|
@@ -287,6 +327,7 @@ export declare class LayerAlreadyExistsException extends __BaseException {
|
|
|
287
327
|
constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
|
|
288
328
|
}
|
|
289
329
|
/**
|
|
330
|
+
* @public
|
|
290
331
|
* <p>Layer parts must be at least 5 MiB in size.</p>
|
|
291
332
|
*/
|
|
292
333
|
export declare class LayerPartTooSmallException extends __BaseException {
|
|
@@ -298,6 +339,7 @@ export declare class LayerPartTooSmallException extends __BaseException {
|
|
|
298
339
|
constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
|
|
299
340
|
}
|
|
300
341
|
/**
|
|
342
|
+
* @public
|
|
301
343
|
* <p>The upload can't be found, or the specified upload ID isn't valid for this
|
|
302
344
|
* repository.</p>
|
|
303
345
|
*/
|
|
@@ -310,6 +352,7 @@ export declare class UploadNotFoundException extends __BaseException {
|
|
|
310
352
|
constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
|
|
311
353
|
}
|
|
312
354
|
/**
|
|
355
|
+
* @public
|
|
313
356
|
* <p>An object that contains the catalog data for a repository. This data is publicly visible
|
|
314
357
|
* in the Amazon ECR Public Gallery.</p>
|
|
315
358
|
*/
|
|
@@ -397,6 +440,7 @@ export interface RepositoryCatalogDataInput {
|
|
|
397
440
|
usageText?: string;
|
|
398
441
|
}
|
|
399
442
|
/**
|
|
443
|
+
* @public
|
|
400
444
|
* <p>The metadata that you apply to a resource to help you categorize and organize them. Each
|
|
401
445
|
* 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
446
|
*/
|
|
@@ -412,6 +456,9 @@ export interface Tag {
|
|
|
412
456
|
*/
|
|
413
457
|
Value?: string;
|
|
414
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
415
462
|
export interface CreateRepositoryRequest {
|
|
416
463
|
/**
|
|
417
464
|
* <p>The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery.
|
|
@@ -433,6 +480,7 @@ export interface CreateRepositoryRequest {
|
|
|
433
480
|
tags?: Tag[];
|
|
434
481
|
}
|
|
435
482
|
/**
|
|
483
|
+
* @public
|
|
436
484
|
* <p>The catalog data for a repository. This data is publicly visible in the
|
|
437
485
|
* Amazon ECR Public Gallery.</p>
|
|
438
486
|
*/
|
|
@@ -477,6 +525,7 @@ export interface RepositoryCatalogData {
|
|
|
477
525
|
marketplaceCertified?: boolean;
|
|
478
526
|
}
|
|
479
527
|
/**
|
|
528
|
+
* @public
|
|
480
529
|
* <p>An object representing a repository.</p>
|
|
481
530
|
*/
|
|
482
531
|
export interface Repository {
|
|
@@ -503,6 +552,9 @@ export interface Repository {
|
|
|
503
552
|
*/
|
|
504
553
|
createdAt?: Date;
|
|
505
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* @public
|
|
557
|
+
*/
|
|
506
558
|
export interface CreateRepositoryResponse {
|
|
507
559
|
/**
|
|
508
560
|
* <p>The repository that was created.</p>
|
|
@@ -515,6 +567,7 @@ export interface CreateRepositoryResponse {
|
|
|
515
567
|
catalogData?: RepositoryCatalogData;
|
|
516
568
|
}
|
|
517
569
|
/**
|
|
570
|
+
* @public
|
|
518
571
|
* <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>
|
|
519
572
|
*/
|
|
520
573
|
export declare class InvalidTagParameterException extends __BaseException {
|
|
@@ -526,6 +579,7 @@ export declare class InvalidTagParameterException extends __BaseException {
|
|
|
526
579
|
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
527
580
|
}
|
|
528
581
|
/**
|
|
582
|
+
* @public
|
|
529
583
|
* <p>The operation didn't succeed because it would have exceeded a service limit for your
|
|
530
584
|
* 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
585
|
* Amazon Elastic Container Registry User Guide.</p>
|
|
@@ -539,6 +593,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
539
593
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
540
594
|
}
|
|
541
595
|
/**
|
|
596
|
+
* @public
|
|
542
597
|
* <p>The specified repository already exists in the specified registry.</p>
|
|
543
598
|
*/
|
|
544
599
|
export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
@@ -550,6 +605,7 @@ export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
|
550
605
|
constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
|
|
551
606
|
}
|
|
552
607
|
/**
|
|
608
|
+
* @public
|
|
553
609
|
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
554
610
|
* can be applied to a repository is 50.</p>
|
|
555
611
|
*/
|
|
@@ -561,6 +617,9 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
561
617
|
*/
|
|
562
618
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
563
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
564
623
|
export interface DeleteRepositoryRequest {
|
|
565
624
|
/**
|
|
566
625
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
@@ -577,6 +636,9 @@ export interface DeleteRepositoryRequest {
|
|
|
577
636
|
*/
|
|
578
637
|
force?: boolean;
|
|
579
638
|
}
|
|
639
|
+
/**
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
580
642
|
export interface DeleteRepositoryResponse {
|
|
581
643
|
/**
|
|
582
644
|
* <p>The repository that was deleted.</p>
|
|
@@ -584,6 +646,7 @@ export interface DeleteRepositoryResponse {
|
|
|
584
646
|
repository?: Repository;
|
|
585
647
|
}
|
|
586
648
|
/**
|
|
649
|
+
* @public
|
|
587
650
|
* <p>The specified repository contains images. To delete a repository that contains images,
|
|
588
651
|
* you must force the deletion with the <code>force</code> parameter.</p>
|
|
589
652
|
*/
|
|
@@ -595,6 +658,9 @@ export declare class RepositoryNotEmptyException extends __BaseException {
|
|
|
595
658
|
*/
|
|
596
659
|
constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
|
|
597
660
|
}
|
|
661
|
+
/**
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
598
664
|
export interface DeleteRepositoryPolicyRequest {
|
|
599
665
|
/**
|
|
600
666
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
@@ -607,6 +673,9 @@ export interface DeleteRepositoryPolicyRequest {
|
|
|
607
673
|
*/
|
|
608
674
|
repositoryName: string | undefined;
|
|
609
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* @public
|
|
678
|
+
*/
|
|
610
679
|
export interface DeleteRepositoryPolicyResponse {
|
|
611
680
|
/**
|
|
612
681
|
* <p>The registry ID that's associated with the request.</p>
|
|
@@ -622,6 +691,7 @@ export interface DeleteRepositoryPolicyResponse {
|
|
|
622
691
|
policyText?: string;
|
|
623
692
|
}
|
|
624
693
|
/**
|
|
694
|
+
* @public
|
|
625
695
|
* <p>The specified repository and registry combination doesn't have an associated repository
|
|
626
696
|
* policy.</p>
|
|
627
697
|
*/
|
|
@@ -633,6 +703,9 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
|
633
703
|
*/
|
|
634
704
|
constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
|
|
635
705
|
}
|
|
706
|
+
/**
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
636
709
|
export interface DescribeImagesRequest {
|
|
637
710
|
/**
|
|
638
711
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
@@ -670,6 +743,7 @@ export interface DescribeImagesRequest {
|
|
|
670
743
|
maxResults?: number;
|
|
671
744
|
}
|
|
672
745
|
/**
|
|
746
|
+
* @public
|
|
673
747
|
* <p>An object that describes an image that's returned by a <a>DescribeImages</a>
|
|
674
748
|
* operation.</p>
|
|
675
749
|
*/
|
|
@@ -717,6 +791,9 @@ export interface ImageDetail {
|
|
|
717
791
|
*/
|
|
718
792
|
artifactMediaType?: string;
|
|
719
793
|
}
|
|
794
|
+
/**
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
720
797
|
export interface DescribeImagesResponse {
|
|
721
798
|
/**
|
|
722
799
|
* <p>A list of <a>ImageDetail</a> objects that contain data about the
|
|
@@ -732,6 +809,7 @@ export interface DescribeImagesResponse {
|
|
|
732
809
|
nextToken?: string;
|
|
733
810
|
}
|
|
734
811
|
/**
|
|
812
|
+
* @public
|
|
735
813
|
* <p>The image requested doesn't exist in the specified repository.</p>
|
|
736
814
|
*/
|
|
737
815
|
export declare class ImageNotFoundException extends __BaseException {
|
|
@@ -742,6 +820,9 @@ export declare class ImageNotFoundException extends __BaseException {
|
|
|
742
820
|
*/
|
|
743
821
|
constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
|
|
744
822
|
}
|
|
823
|
+
/**
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
745
826
|
export interface DescribeImageTagsRequest {
|
|
746
827
|
/**
|
|
747
828
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
@@ -776,6 +857,7 @@ export interface DescribeImageTagsRequest {
|
|
|
776
857
|
maxResults?: number;
|
|
777
858
|
}
|
|
778
859
|
/**
|
|
860
|
+
* @public
|
|
779
861
|
* <p>An object that describes the image tag details that are returned by a <a>DescribeImageTags</a> action.</p>
|
|
780
862
|
*/
|
|
781
863
|
export interface ReferencedImageDetail {
|
|
@@ -810,6 +892,7 @@ export interface ReferencedImageDetail {
|
|
|
810
892
|
artifactMediaType?: string;
|
|
811
893
|
}
|
|
812
894
|
/**
|
|
895
|
+
* @public
|
|
813
896
|
* <p>An object that represents the image tag details for an image.</p>
|
|
814
897
|
*/
|
|
815
898
|
export interface ImageTagDetail {
|
|
@@ -826,6 +909,9 @@ export interface ImageTagDetail {
|
|
|
826
909
|
*/
|
|
827
910
|
imageDetail?: ReferencedImageDetail;
|
|
828
911
|
}
|
|
912
|
+
/**
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
829
915
|
export interface DescribeImageTagsResponse {
|
|
830
916
|
/**
|
|
831
917
|
* <p>The image tag details for the images in the requested repository.</p>
|
|
@@ -839,6 +925,9 @@ export interface DescribeImageTagsResponse {
|
|
|
839
925
|
*/
|
|
840
926
|
nextToken?: string;
|
|
841
927
|
}
|
|
928
|
+
/**
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
842
931
|
export interface DescribeRegistriesRequest {
|
|
843
932
|
/**
|
|
844
933
|
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
@@ -864,12 +953,16 @@ export interface DescribeRegistriesRequest {
|
|
|
864
953
|
*/
|
|
865
954
|
maxResults?: number;
|
|
866
955
|
}
|
|
956
|
+
/**
|
|
957
|
+
* @public
|
|
958
|
+
*/
|
|
867
959
|
export declare enum RegistryAliasStatus {
|
|
868
960
|
ACTIVE = "ACTIVE",
|
|
869
961
|
PENDING = "PENDING",
|
|
870
962
|
REJECTED = "REJECTED"
|
|
871
963
|
}
|
|
872
964
|
/**
|
|
965
|
+
* @public
|
|
873
966
|
* <p>An object representing the aliases for a public registry. A public registry is given an
|
|
874
967
|
* alias when it's created. However, a custom alias can be set using the Amazon ECR console. For
|
|
875
968
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html">Registries</a> in the
|
|
@@ -902,6 +995,7 @@ export interface RegistryAlias {
|
|
|
902
995
|
defaultRegistryAlias: boolean | undefined;
|
|
903
996
|
}
|
|
904
997
|
/**
|
|
998
|
+
* @public
|
|
905
999
|
* <p>The details of a public registry.</p>
|
|
906
1000
|
*/
|
|
907
1001
|
export interface Registry {
|
|
@@ -930,6 +1024,9 @@ export interface Registry {
|
|
|
930
1024
|
*/
|
|
931
1025
|
aliases: RegistryAlias[] | undefined;
|
|
932
1026
|
}
|
|
1027
|
+
/**
|
|
1028
|
+
* @public
|
|
1029
|
+
*/
|
|
933
1030
|
export interface DescribeRegistriesResponse {
|
|
934
1031
|
/**
|
|
935
1032
|
* <p>An object that contains the details for a public registry.</p>
|
|
@@ -944,6 +1041,9 @@ export interface DescribeRegistriesResponse {
|
|
|
944
1041
|
*/
|
|
945
1042
|
nextToken?: string;
|
|
946
1043
|
}
|
|
1044
|
+
/**
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
947
1047
|
export interface DescribeRepositoriesRequest {
|
|
948
1048
|
/**
|
|
949
1049
|
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repositories
|
|
@@ -981,6 +1081,9 @@ export interface DescribeRepositoriesRequest {
|
|
|
981
1081
|
*/
|
|
982
1082
|
maxResults?: number;
|
|
983
1083
|
}
|
|
1084
|
+
/**
|
|
1085
|
+
* @public
|
|
1086
|
+
*/
|
|
984
1087
|
export interface DescribeRepositoriesResponse {
|
|
985
1088
|
/**
|
|
986
1089
|
* <p>A list of repository objects corresponding to valid repositories.</p>
|
|
@@ -995,17 +1098,27 @@ export interface DescribeRepositoriesResponse {
|
|
|
995
1098
|
*/
|
|
996
1099
|
nextToken?: string;
|
|
997
1100
|
}
|
|
1101
|
+
/**
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
998
1104
|
export interface GetAuthorizationTokenRequest {
|
|
999
1105
|
}
|
|
1106
|
+
/**
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1000
1109
|
export interface GetAuthorizationTokenResponse {
|
|
1001
1110
|
/**
|
|
1002
1111
|
* <p>An authorization token data object that corresponds to a public registry.</p>
|
|
1003
1112
|
*/
|
|
1004
1113
|
authorizationData?: AuthorizationData;
|
|
1005
1114
|
}
|
|
1115
|
+
/**
|
|
1116
|
+
* @public
|
|
1117
|
+
*/
|
|
1006
1118
|
export interface GetRegistryCatalogDataRequest {
|
|
1007
1119
|
}
|
|
1008
1120
|
/**
|
|
1121
|
+
* @public
|
|
1009
1122
|
* <p>The metadata for a public registry.</p>
|
|
1010
1123
|
*/
|
|
1011
1124
|
export interface RegistryCatalogData {
|
|
@@ -1018,12 +1131,18 @@ export interface RegistryCatalogData {
|
|
|
1018
1131
|
*/
|
|
1019
1132
|
displayName?: string;
|
|
1020
1133
|
}
|
|
1134
|
+
/**
|
|
1135
|
+
* @public
|
|
1136
|
+
*/
|
|
1021
1137
|
export interface GetRegistryCatalogDataResponse {
|
|
1022
1138
|
/**
|
|
1023
1139
|
* <p>The catalog metadata for the public registry.</p>
|
|
1024
1140
|
*/
|
|
1025
1141
|
registryCatalogData: RegistryCatalogData | undefined;
|
|
1026
1142
|
}
|
|
1143
|
+
/**
|
|
1144
|
+
* @public
|
|
1145
|
+
*/
|
|
1027
1146
|
export interface GetRepositoryCatalogDataRequest {
|
|
1028
1147
|
/**
|
|
1029
1148
|
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repositories
|
|
@@ -1035,6 +1154,9 @@ export interface GetRepositoryCatalogDataRequest {
|
|
|
1035
1154
|
*/
|
|
1036
1155
|
repositoryName: string | undefined;
|
|
1037
1156
|
}
|
|
1157
|
+
/**
|
|
1158
|
+
* @public
|
|
1159
|
+
*/
|
|
1038
1160
|
export interface GetRepositoryCatalogDataResponse {
|
|
1039
1161
|
/**
|
|
1040
1162
|
* <p>The catalog metadata for the repository.</p>
|
|
@@ -1042,6 +1164,7 @@ export interface GetRepositoryCatalogDataResponse {
|
|
|
1042
1164
|
catalogData?: RepositoryCatalogData;
|
|
1043
1165
|
}
|
|
1044
1166
|
/**
|
|
1167
|
+
* @public
|
|
1045
1168
|
* <p>The repository catalog data doesn't exist.</p>
|
|
1046
1169
|
*/
|
|
1047
1170
|
export declare class RepositoryCatalogDataNotFoundException extends __BaseException {
|
|
@@ -1052,6 +1175,9 @@ export declare class RepositoryCatalogDataNotFoundException extends __BaseExcept
|
|
|
1052
1175
|
*/
|
|
1053
1176
|
constructor(opts: __ExceptionOptionType<RepositoryCatalogDataNotFoundException, __BaseException>);
|
|
1054
1177
|
}
|
|
1178
|
+
/**
|
|
1179
|
+
* @public
|
|
1180
|
+
*/
|
|
1055
1181
|
export interface GetRepositoryPolicyRequest {
|
|
1056
1182
|
/**
|
|
1057
1183
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
@@ -1063,6 +1189,9 @@ export interface GetRepositoryPolicyRequest {
|
|
|
1063
1189
|
*/
|
|
1064
1190
|
repositoryName: string | undefined;
|
|
1065
1191
|
}
|
|
1192
|
+
/**
|
|
1193
|
+
* @public
|
|
1194
|
+
*/
|
|
1066
1195
|
export interface GetRepositoryPolicyResponse {
|
|
1067
1196
|
/**
|
|
1068
1197
|
* <p>The registry ID that's associated with the request.</p>
|
|
@@ -1079,6 +1208,7 @@ export interface GetRepositoryPolicyResponse {
|
|
|
1079
1208
|
policyText?: string;
|
|
1080
1209
|
}
|
|
1081
1210
|
/**
|
|
1211
|
+
* @public
|
|
1082
1212
|
* <p>An object that represents an Amazon ECR image.</p>
|
|
1083
1213
|
*/
|
|
1084
1214
|
export interface Image {
|
|
@@ -1104,6 +1234,7 @@ export interface Image {
|
|
|
1104
1234
|
imageManifestMediaType?: string;
|
|
1105
1235
|
}
|
|
1106
1236
|
/**
|
|
1237
|
+
* @public
|
|
1107
1238
|
* <p>The specified image has already been pushed, and there were no changes to the manifest
|
|
1108
1239
|
* or image tag after the last push.</p>
|
|
1109
1240
|
*/
|
|
@@ -1116,6 +1247,7 @@ export declare class ImageAlreadyExistsException extends __BaseException {
|
|
|
1116
1247
|
constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
|
|
1117
1248
|
}
|
|
1118
1249
|
/**
|
|
1250
|
+
* @public
|
|
1119
1251
|
* <p>The specified image digest doesn't match the digest that Amazon ECR calculated for the
|
|
1120
1252
|
* image.</p>
|
|
1121
1253
|
*/
|
|
@@ -1128,6 +1260,7 @@ export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
|
1128
1260
|
constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
|
|
1129
1261
|
}
|
|
1130
1262
|
/**
|
|
1263
|
+
* @public
|
|
1131
1264
|
* <p>The specified image is tagged with a tag that already exists. The repository is
|
|
1132
1265
|
* configured for tag immutability.</p>
|
|
1133
1266
|
*/
|
|
@@ -1139,6 +1272,9 @@ export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
|
1139
1272
|
*/
|
|
1140
1273
|
constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
|
|
1141
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
* @public
|
|
1277
|
+
*/
|
|
1142
1278
|
export interface InitiateLayerUploadRequest {
|
|
1143
1279
|
/**
|
|
1144
1280
|
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the registry to which
|
|
@@ -1150,6 +1286,9 @@ export interface InitiateLayerUploadRequest {
|
|
|
1150
1286
|
*/
|
|
1151
1287
|
repositoryName: string | undefined;
|
|
1152
1288
|
}
|
|
1289
|
+
/**
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1153
1292
|
export interface InitiateLayerUploadResponse {
|
|
1154
1293
|
/**
|
|
1155
1294
|
* <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a> operations.</p>
|
|
@@ -1161,6 +1300,7 @@ export interface InitiateLayerUploadResponse {
|
|
|
1161
1300
|
partSize?: number;
|
|
1162
1301
|
}
|
|
1163
1302
|
/**
|
|
1303
|
+
* @public
|
|
1164
1304
|
* <p>The layer part size isn't valid, or the first byte specified isn't consecutive to the
|
|
1165
1305
|
* last byte of a previous layer part upload.</p>
|
|
1166
1306
|
*/
|
|
@@ -1189,6 +1329,7 @@ export declare class InvalidLayerPartException extends __BaseException {
|
|
|
1189
1329
|
constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
|
|
1190
1330
|
}
|
|
1191
1331
|
/**
|
|
1332
|
+
* @public
|
|
1192
1333
|
* <p>The specified layers can't be found, or the specified layer isn't valid for this
|
|
1193
1334
|
* repository.</p>
|
|
1194
1335
|
*/
|
|
@@ -1200,6 +1341,9 @@ export declare class LayersNotFoundException extends __BaseException {
|
|
|
1200
1341
|
*/
|
|
1201
1342
|
constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
|
|
1202
1343
|
}
|
|
1344
|
+
/**
|
|
1345
|
+
* @public
|
|
1346
|
+
*/
|
|
1203
1347
|
export interface ListTagsForResourceRequest {
|
|
1204
1348
|
/**
|
|
1205
1349
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the
|
|
@@ -1207,12 +1351,18 @@ export interface ListTagsForResourceRequest {
|
|
|
1207
1351
|
*/
|
|
1208
1352
|
resourceArn: string | undefined;
|
|
1209
1353
|
}
|
|
1354
|
+
/**
|
|
1355
|
+
* @public
|
|
1356
|
+
*/
|
|
1210
1357
|
export interface ListTagsForResourceResponse {
|
|
1211
1358
|
/**
|
|
1212
1359
|
* <p>The tags for the resource.</p>
|
|
1213
1360
|
*/
|
|
1214
1361
|
tags?: Tag[];
|
|
1215
1362
|
}
|
|
1363
|
+
/**
|
|
1364
|
+
* @public
|
|
1365
|
+
*/
|
|
1216
1366
|
export interface PutImageRequest {
|
|
1217
1367
|
/**
|
|
1218
1368
|
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the public registry that
|
|
@@ -1243,6 +1393,9 @@ export interface PutImageRequest {
|
|
|
1243
1393
|
*/
|
|
1244
1394
|
imageDigest?: string;
|
|
1245
1395
|
}
|
|
1396
|
+
/**
|
|
1397
|
+
* @public
|
|
1398
|
+
*/
|
|
1246
1399
|
export interface PutImageResponse {
|
|
1247
1400
|
/**
|
|
1248
1401
|
* <p>Details of the image uploaded.</p>
|
|
@@ -1250,6 +1403,7 @@ export interface PutImageResponse {
|
|
|
1250
1403
|
image?: Image;
|
|
1251
1404
|
}
|
|
1252
1405
|
/**
|
|
1406
|
+
* @public
|
|
1253
1407
|
* <p>The manifest list is referencing an image that doesn't exist.</p>
|
|
1254
1408
|
*/
|
|
1255
1409
|
export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
@@ -1260,6 +1414,9 @@ export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
|
1260
1414
|
*/
|
|
1261
1415
|
constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
|
|
1262
1416
|
}
|
|
1417
|
+
/**
|
|
1418
|
+
* @public
|
|
1419
|
+
*/
|
|
1263
1420
|
export interface PutRegistryCatalogDataRequest {
|
|
1264
1421
|
/**
|
|
1265
1422
|
* <p>The display name for a public registry. The display name is shown as the repository
|
|
@@ -1271,12 +1428,18 @@ export interface PutRegistryCatalogDataRequest {
|
|
|
1271
1428
|
*/
|
|
1272
1429
|
displayName?: string;
|
|
1273
1430
|
}
|
|
1431
|
+
/**
|
|
1432
|
+
* @public
|
|
1433
|
+
*/
|
|
1274
1434
|
export interface PutRegistryCatalogDataResponse {
|
|
1275
1435
|
/**
|
|
1276
1436
|
* <p>The catalog data for the public registry.</p>
|
|
1277
1437
|
*/
|
|
1278
1438
|
registryCatalogData: RegistryCatalogData | undefined;
|
|
1279
1439
|
}
|
|
1440
|
+
/**
|
|
1441
|
+
* @public
|
|
1442
|
+
*/
|
|
1280
1443
|
export interface PutRepositoryCatalogDataRequest {
|
|
1281
1444
|
/**
|
|
1282
1445
|
* <p>The Amazon Web Services account ID that's associated with the public registry the repository is in.
|
|
@@ -1293,12 +1456,18 @@ export interface PutRepositoryCatalogDataRequest {
|
|
|
1293
1456
|
*/
|
|
1294
1457
|
catalogData: RepositoryCatalogDataInput | undefined;
|
|
1295
1458
|
}
|
|
1459
|
+
/**
|
|
1460
|
+
* @public
|
|
1461
|
+
*/
|
|
1296
1462
|
export interface PutRepositoryCatalogDataResponse {
|
|
1297
1463
|
/**
|
|
1298
1464
|
* <p>The catalog data for the repository.</p>
|
|
1299
1465
|
*/
|
|
1300
1466
|
catalogData?: RepositoryCatalogData;
|
|
1301
1467
|
}
|
|
1468
|
+
/**
|
|
1469
|
+
* @public
|
|
1470
|
+
*/
|
|
1302
1471
|
export interface SetRepositoryPolicyRequest {
|
|
1303
1472
|
/**
|
|
1304
1473
|
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repository.
|
|
@@ -1322,6 +1491,9 @@ export interface SetRepositoryPolicyRequest {
|
|
|
1322
1491
|
*/
|
|
1323
1492
|
force?: boolean;
|
|
1324
1493
|
}
|
|
1494
|
+
/**
|
|
1495
|
+
* @public
|
|
1496
|
+
*/
|
|
1325
1497
|
export interface SetRepositoryPolicyResponse {
|
|
1326
1498
|
/**
|
|
1327
1499
|
* <p>The registry ID that's associated with the request.</p>
|
|
@@ -1336,6 +1508,9 @@ export interface SetRepositoryPolicyResponse {
|
|
|
1336
1508
|
*/
|
|
1337
1509
|
policyText?: string;
|
|
1338
1510
|
}
|
|
1511
|
+
/**
|
|
1512
|
+
* @public
|
|
1513
|
+
*/
|
|
1339
1514
|
export interface TagResourceRequest {
|
|
1340
1515
|
/**
|
|
1341
1516
|
* <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported
|
|
@@ -1348,8 +1523,14 @@ export interface TagResourceRequest {
|
|
|
1348
1523
|
*/
|
|
1349
1524
|
tags: Tag[] | undefined;
|
|
1350
1525
|
}
|
|
1526
|
+
/**
|
|
1527
|
+
* @public
|
|
1528
|
+
*/
|
|
1351
1529
|
export interface TagResourceResponse {
|
|
1352
1530
|
}
|
|
1531
|
+
/**
|
|
1532
|
+
* @public
|
|
1533
|
+
*/
|
|
1353
1534
|
export interface UntagResourceRequest {
|
|
1354
1535
|
/**
|
|
1355
1536
|
* <p>The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resource is
|
|
@@ -1361,8 +1542,14 @@ export interface UntagResourceRequest {
|
|
|
1361
1542
|
*/
|
|
1362
1543
|
tagKeys: string[] | undefined;
|
|
1363
1544
|
}
|
|
1545
|
+
/**
|
|
1546
|
+
* @public
|
|
1547
|
+
*/
|
|
1364
1548
|
export interface UntagResourceResponse {
|
|
1365
1549
|
}
|
|
1550
|
+
/**
|
|
1551
|
+
* @public
|
|
1552
|
+
*/
|
|
1366
1553
|
export interface UploadLayerPartRequest {
|
|
1367
1554
|
/**
|
|
1368
1555
|
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're
|
|
@@ -1391,6 +1578,9 @@ export interface UploadLayerPartRequest {
|
|
|
1391
1578
|
*/
|
|
1392
1579
|
layerPartBlob: Uint8Array | undefined;
|
|
1393
1580
|
}
|
|
1581
|
+
/**
|
|
1582
|
+
* @public
|
|
1583
|
+
*/
|
|
1394
1584
|
export interface UploadLayerPartResponse {
|
|
1395
1585
|
/**
|
|
1396
1586
|
* <p>The registry ID that's associated with the request.</p>
|