@aws-sdk/client-ecr-public 3.378.0 → 3.382.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.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -6,12 +6,14 @@ import { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICService
|
|
|
6
6
|
*/
|
|
7
7
|
export interface AuthorizationData {
|
|
8
8
|
/**
|
|
9
|
+
* @public
|
|
9
10
|
* <p>A base64-encoded string that contains authorization data for a public Amazon ECR registry.
|
|
10
11
|
* When the string is decoded, it's presented in the format <code>user:password</code> for
|
|
11
12
|
* public registry authentication using <code>docker login</code>.</p>
|
|
12
13
|
*/
|
|
13
14
|
authorizationToken?: string;
|
|
14
15
|
/**
|
|
16
|
+
* @public
|
|
15
17
|
* <p>The Unix time in seconds and milliseconds when the authorization token expires.
|
|
16
18
|
* Authorization tokens are valid for 12 hours.</p>
|
|
17
19
|
*/
|
|
@@ -22,15 +24,18 @@ export interface AuthorizationData {
|
|
|
22
24
|
*/
|
|
23
25
|
export interface BatchCheckLayerAvailabilityRequest {
|
|
24
26
|
/**
|
|
27
|
+
* @public
|
|
25
28
|
* <p>The Amazon Web Services account ID, or registry alias, associated with the public registry that
|
|
26
29
|
* contains the image layers to check. If you do not specify a registry, the default public registry is assumed.</p>
|
|
27
30
|
*/
|
|
28
31
|
registryId?: string;
|
|
29
32
|
/**
|
|
33
|
+
* @public
|
|
30
34
|
* <p>The name of the repository that's associated with the image layers to check.</p>
|
|
31
35
|
*/
|
|
32
36
|
repositoryName: string | undefined;
|
|
33
37
|
/**
|
|
38
|
+
* @public
|
|
34
39
|
* <p>The digests of the image layers to check.</p>
|
|
35
40
|
*/
|
|
36
41
|
layerDigests: string[] | undefined;
|
|
@@ -53,14 +58,17 @@ export type LayerFailureCode = (typeof LayerFailureCode)[keyof typeof LayerFailu
|
|
|
53
58
|
*/
|
|
54
59
|
export interface LayerFailure {
|
|
55
60
|
/**
|
|
61
|
+
* @public
|
|
56
62
|
* <p>The layer digest that's associated with the failure.</p>
|
|
57
63
|
*/
|
|
58
64
|
layerDigest?: string;
|
|
59
65
|
/**
|
|
66
|
+
* @public
|
|
60
67
|
* <p>The failure code that's associated with the failure.</p>
|
|
61
68
|
*/
|
|
62
69
|
failureCode?: LayerFailureCode | string;
|
|
63
70
|
/**
|
|
71
|
+
* @public
|
|
64
72
|
* <p>The reason for the failure.</p>
|
|
65
73
|
*/
|
|
66
74
|
failureReason?: string;
|
|
@@ -83,18 +91,22 @@ export type LayerAvailability = (typeof LayerAvailability)[keyof typeof LayerAva
|
|
|
83
91
|
*/
|
|
84
92
|
export interface Layer {
|
|
85
93
|
/**
|
|
94
|
+
* @public
|
|
86
95
|
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
87
96
|
*/
|
|
88
97
|
layerDigest?: string;
|
|
89
98
|
/**
|
|
99
|
+
* @public
|
|
90
100
|
* <p>The availability status of the image layer.</p>
|
|
91
101
|
*/
|
|
92
102
|
layerAvailability?: LayerAvailability | string;
|
|
93
103
|
/**
|
|
104
|
+
* @public
|
|
94
105
|
* <p>The size, in bytes, of the image layer.</p>
|
|
95
106
|
*/
|
|
96
107
|
layerSize?: number;
|
|
97
108
|
/**
|
|
109
|
+
* @public
|
|
98
110
|
* <p>The media type of the layer, such as
|
|
99
111
|
* <code>application/vnd.docker.image.rootfs.diff.tar.gzip</code> or
|
|
100
112
|
* <code>application/vnd.oci.image.layer.v1.tar+gzip</code>.</p>
|
|
@@ -106,11 +118,13 @@ export interface Layer {
|
|
|
106
118
|
*/
|
|
107
119
|
export interface BatchCheckLayerAvailabilityResponse {
|
|
108
120
|
/**
|
|
121
|
+
* @public
|
|
109
122
|
* <p>A list of image layer objects that correspond to the image layer references in the
|
|
110
123
|
* request.</p>
|
|
111
124
|
*/
|
|
112
125
|
layers?: Layer[];
|
|
113
126
|
/**
|
|
127
|
+
* @public
|
|
114
128
|
* <p>Any failures associated with the call.</p>
|
|
115
129
|
*/
|
|
116
130
|
failures?: LayerFailure[];
|
|
@@ -183,10 +197,12 @@ export declare class UnsupportedCommandException extends __BaseException {
|
|
|
183
197
|
*/
|
|
184
198
|
export interface ImageIdentifier {
|
|
185
199
|
/**
|
|
200
|
+
* @public
|
|
186
201
|
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
187
202
|
*/
|
|
188
203
|
imageDigest?: string;
|
|
189
204
|
/**
|
|
205
|
+
* @public
|
|
190
206
|
* <p>The tag that's used for the image.</p>
|
|
191
207
|
*/
|
|
192
208
|
imageTag?: string;
|
|
@@ -196,15 +212,18 @@ export interface ImageIdentifier {
|
|
|
196
212
|
*/
|
|
197
213
|
export interface BatchDeleteImageRequest {
|
|
198
214
|
/**
|
|
215
|
+
* @public
|
|
199
216
|
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the registry that
|
|
200
217
|
* contains the image to delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
201
218
|
*/
|
|
202
219
|
registryId?: string;
|
|
203
220
|
/**
|
|
221
|
+
* @public
|
|
204
222
|
* <p>The repository in a public registry that contains the image to delete.</p>
|
|
205
223
|
*/
|
|
206
224
|
repositoryName: string | undefined;
|
|
207
225
|
/**
|
|
226
|
+
* @public
|
|
208
227
|
* <p>A list of image ID references that correspond to images to delete. The format of the
|
|
209
228
|
* <code>imageIds</code> reference is <code>imageTag=tag</code> or
|
|
210
229
|
* <code>imageDigest=digest</code>.</p>
|
|
@@ -234,14 +253,17 @@ export type ImageFailureCode = (typeof ImageFailureCode)[keyof typeof ImageFailu
|
|
|
234
253
|
*/
|
|
235
254
|
export interface ImageFailure {
|
|
236
255
|
/**
|
|
256
|
+
* @public
|
|
237
257
|
* <p>The image ID that's associated with the failure.</p>
|
|
238
258
|
*/
|
|
239
259
|
imageId?: ImageIdentifier;
|
|
240
260
|
/**
|
|
261
|
+
* @public
|
|
241
262
|
* <p>The code that's associated with the failure.</p>
|
|
242
263
|
*/
|
|
243
264
|
failureCode?: ImageFailureCode | string;
|
|
244
265
|
/**
|
|
266
|
+
* @public
|
|
245
267
|
* <p>The reason for the failure.</p>
|
|
246
268
|
*/
|
|
247
269
|
failureReason?: string;
|
|
@@ -251,10 +273,12 @@ export interface ImageFailure {
|
|
|
251
273
|
*/
|
|
252
274
|
export interface BatchDeleteImageResponse {
|
|
253
275
|
/**
|
|
276
|
+
* @public
|
|
254
277
|
* <p>The image IDs of the deleted images.</p>
|
|
255
278
|
*/
|
|
256
279
|
imageIds?: ImageIdentifier[];
|
|
257
280
|
/**
|
|
281
|
+
* @public
|
|
258
282
|
* <p>Any failures associated with the call.</p>
|
|
259
283
|
*/
|
|
260
284
|
failures?: ImageFailure[];
|
|
@@ -264,21 +288,25 @@ export interface BatchDeleteImageResponse {
|
|
|
264
288
|
*/
|
|
265
289
|
export interface CompleteLayerUploadRequest {
|
|
266
290
|
/**
|
|
291
|
+
* @public
|
|
267
292
|
* <p>The Amazon Web Services account ID, or registry alias, associated with the registry where layers are
|
|
268
293
|
* uploaded. If you do not specify a registry, the default public registry is assumed.</p>
|
|
269
294
|
*/
|
|
270
295
|
registryId?: string;
|
|
271
296
|
/**
|
|
297
|
+
* @public
|
|
272
298
|
* <p>The name of the repository in a public registry to associate with the image
|
|
273
299
|
* layer.</p>
|
|
274
300
|
*/
|
|
275
301
|
repositoryName: string | undefined;
|
|
276
302
|
/**
|
|
303
|
+
* @public
|
|
277
304
|
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
278
305
|
* associate with the image layer.</p>
|
|
279
306
|
*/
|
|
280
307
|
uploadId: string | undefined;
|
|
281
308
|
/**
|
|
309
|
+
* @public
|
|
282
310
|
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
283
311
|
*/
|
|
284
312
|
layerDigests: string[] | undefined;
|
|
@@ -288,18 +316,22 @@ export interface CompleteLayerUploadRequest {
|
|
|
288
316
|
*/
|
|
289
317
|
export interface CompleteLayerUploadResponse {
|
|
290
318
|
/**
|
|
319
|
+
* @public
|
|
291
320
|
* <p>The public registry ID that's associated with the request.</p>
|
|
292
321
|
*/
|
|
293
322
|
registryId?: string;
|
|
294
323
|
/**
|
|
324
|
+
* @public
|
|
295
325
|
* <p>The repository name that's associated with the request.</p>
|
|
296
326
|
*/
|
|
297
327
|
repositoryName?: string;
|
|
298
328
|
/**
|
|
329
|
+
* @public
|
|
299
330
|
* <p>The upload ID that's associated with the layer.</p>
|
|
300
331
|
*/
|
|
301
332
|
uploadId?: string;
|
|
302
333
|
/**
|
|
334
|
+
* @public
|
|
303
335
|
* <p>The <code>sha256</code> digest of the image layer.</p>
|
|
304
336
|
*/
|
|
305
337
|
layerDigest?: string;
|
|
@@ -373,11 +405,13 @@ export declare class UploadNotFoundException extends __BaseException {
|
|
|
373
405
|
*/
|
|
374
406
|
export interface RepositoryCatalogDataInput {
|
|
375
407
|
/**
|
|
408
|
+
* @public
|
|
376
409
|
* <p>A short description of the contents of the repository. This text appears in both the
|
|
377
410
|
* image details and also when searching for repositories on the Amazon ECR Public Gallery.</p>
|
|
378
411
|
*/
|
|
379
412
|
description?: string;
|
|
380
413
|
/**
|
|
414
|
+
* @public
|
|
381
415
|
* <p>The system architecture that the images in the repository are compatible with. On the
|
|
382
416
|
* Amazon ECR Public Gallery, the following supported architectures appear as badges on the
|
|
383
417
|
* repository and are used as search filters.</p>
|
|
@@ -411,6 +445,7 @@ export interface RepositoryCatalogDataInput {
|
|
|
411
445
|
*/
|
|
412
446
|
architectures?: string[];
|
|
413
447
|
/**
|
|
448
|
+
* @public
|
|
414
449
|
* <p>The operating systems that the images in the repository are compatible with. On the
|
|
415
450
|
* Amazon ECR Public Gallery, the following supported operating systems appear as badges on the
|
|
416
451
|
* repository and are used as search filters.</p>
|
|
@@ -434,6 +469,7 @@ export interface RepositoryCatalogDataInput {
|
|
|
434
469
|
*/
|
|
435
470
|
operatingSystems?: string[];
|
|
436
471
|
/**
|
|
472
|
+
* @public
|
|
437
473
|
* <p>The base64-encoded repository logo payload.</p>
|
|
438
474
|
* <note>
|
|
439
475
|
* <p>The repository logo is only publicly visible in the Amazon ECR Public Gallery for verified
|
|
@@ -442,11 +478,13 @@ export interface RepositoryCatalogDataInput {
|
|
|
442
478
|
*/
|
|
443
479
|
logoImageBlob?: Uint8Array;
|
|
444
480
|
/**
|
|
481
|
+
* @public
|
|
445
482
|
* <p>A detailed description of the contents of the repository. It's publicly visible in the
|
|
446
483
|
* Amazon ECR Public Gallery. The text must be in markdown format.</p>
|
|
447
484
|
*/
|
|
448
485
|
aboutText?: string;
|
|
449
486
|
/**
|
|
487
|
+
* @public
|
|
450
488
|
* <p>Detailed information about how to use the contents of the repository. It's publicly
|
|
451
489
|
* visible in the Amazon ECR Public Gallery. The usage text provides context, support information,
|
|
452
490
|
* and additional usage details for users of the repository. The text must be in markdown
|
|
@@ -461,11 +499,13 @@ export interface RepositoryCatalogDataInput {
|
|
|
461
499
|
*/
|
|
462
500
|
export interface Tag {
|
|
463
501
|
/**
|
|
502
|
+
* @public
|
|
464
503
|
* <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
|
|
465
504
|
* that acts like a category for more specific tag values.</p>
|
|
466
505
|
*/
|
|
467
506
|
Key?: string;
|
|
468
507
|
/**
|
|
508
|
+
* @public
|
|
469
509
|
* <p>The optional part of a key-value pair that make up a tag. A <code>value</code> acts as a
|
|
470
510
|
* descriptor within a tag category (key).</p>
|
|
471
511
|
*/
|
|
@@ -476,6 +516,7 @@ export interface Tag {
|
|
|
476
516
|
*/
|
|
477
517
|
export interface CreateRepositoryRequest {
|
|
478
518
|
/**
|
|
519
|
+
* @public
|
|
479
520
|
* <p>The name to use for the repository. This appears publicly in the Amazon ECR Public Gallery.
|
|
480
521
|
* The repository name can be specified on its own (for example <code>nginx-web-app</code>) or
|
|
481
522
|
* prepended with a namespace to group the repository into a category (for example
|
|
@@ -483,11 +524,13 @@ export interface CreateRepositoryRequest {
|
|
|
483
524
|
*/
|
|
484
525
|
repositoryName: string | undefined;
|
|
485
526
|
/**
|
|
527
|
+
* @public
|
|
486
528
|
* <p>The details about the repository that are publicly visible in the
|
|
487
529
|
* Amazon ECR Public Gallery.</p>
|
|
488
530
|
*/
|
|
489
531
|
catalogData?: RepositoryCatalogDataInput;
|
|
490
532
|
/**
|
|
533
|
+
* @public
|
|
491
534
|
* <p>The metadata that you apply to each repository to help categorize and organize your
|
|
492
535
|
* repositories. Each tag consists of a key and an optional value. You define both of them.
|
|
493
536
|
* Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
@@ -501,10 +544,12 @@ export interface CreateRepositoryRequest {
|
|
|
501
544
|
*/
|
|
502
545
|
export interface RepositoryCatalogData {
|
|
503
546
|
/**
|
|
547
|
+
* @public
|
|
504
548
|
* <p>The short description of the repository.</p>
|
|
505
549
|
*/
|
|
506
550
|
description?: string;
|
|
507
551
|
/**
|
|
552
|
+
* @public
|
|
508
553
|
* <p>The architecture tags that are associated with the repository.</p>
|
|
509
554
|
* <note>
|
|
510
555
|
* <p>Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For
|
|
@@ -513,6 +558,7 @@ export interface RepositoryCatalogData {
|
|
|
513
558
|
*/
|
|
514
559
|
architectures?: string[];
|
|
515
560
|
/**
|
|
561
|
+
* @public
|
|
516
562
|
* <p>The operating system tags that are associated with the repository.</p>
|
|
517
563
|
* <note>
|
|
518
564
|
* <p>Only supported operating system tags appear publicly in the Amazon ECR Public Gallery. For
|
|
@@ -521,20 +567,24 @@ export interface RepositoryCatalogData {
|
|
|
521
567
|
*/
|
|
522
568
|
operatingSystems?: string[];
|
|
523
569
|
/**
|
|
570
|
+
* @public
|
|
524
571
|
* <p>The URL that contains the logo that's associated with the repository.</p>
|
|
525
572
|
*/
|
|
526
573
|
logoUrl?: string;
|
|
527
574
|
/**
|
|
575
|
+
* @public
|
|
528
576
|
* <p>The longform description of the contents of the repository. This text appears in the
|
|
529
577
|
* repository details on the Amazon ECR Public Gallery.</p>
|
|
530
578
|
*/
|
|
531
579
|
aboutText?: string;
|
|
532
580
|
/**
|
|
581
|
+
* @public
|
|
533
582
|
* <p>The longform usage details of the contents of the repository. The usage text provides
|
|
534
583
|
* context for users of the repository.</p>
|
|
535
584
|
*/
|
|
536
585
|
usageText?: string;
|
|
537
586
|
/**
|
|
587
|
+
* @public
|
|
538
588
|
* <p>Indicates whether the repository is certified by Amazon Web Services Marketplace.</p>
|
|
539
589
|
*/
|
|
540
590
|
marketplaceCertified?: boolean;
|
|
@@ -545,24 +595,29 @@ export interface RepositoryCatalogData {
|
|
|
545
595
|
*/
|
|
546
596
|
export interface Repository {
|
|
547
597
|
/**
|
|
598
|
+
* @public
|
|
548
599
|
* <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>
|
|
549
600
|
*/
|
|
550
601
|
repositoryArn?: string;
|
|
551
602
|
/**
|
|
603
|
+
* @public
|
|
552
604
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
553
605
|
* repository.</p>
|
|
554
606
|
*/
|
|
555
607
|
registryId?: string;
|
|
556
608
|
/**
|
|
609
|
+
* @public
|
|
557
610
|
* <p>The name of the repository.</p>
|
|
558
611
|
*/
|
|
559
612
|
repositoryName?: string;
|
|
560
613
|
/**
|
|
614
|
+
* @public
|
|
561
615
|
* <p>The URI for the repository. You can use this URI for container image <code>push</code>
|
|
562
616
|
* and <code>pull</code> operations.</p>
|
|
563
617
|
*/
|
|
564
618
|
repositoryUri?: string;
|
|
565
619
|
/**
|
|
620
|
+
* @public
|
|
566
621
|
* <p>The date and time, in JavaScript date format, when the repository was created.</p>
|
|
567
622
|
*/
|
|
568
623
|
createdAt?: Date;
|
|
@@ -572,10 +627,12 @@ export interface Repository {
|
|
|
572
627
|
*/
|
|
573
628
|
export interface CreateRepositoryResponse {
|
|
574
629
|
/**
|
|
630
|
+
* @public
|
|
575
631
|
* <p>The repository that was created.</p>
|
|
576
632
|
*/
|
|
577
633
|
repository?: Repository;
|
|
578
634
|
/**
|
|
635
|
+
* @public
|
|
579
636
|
* <p>The catalog data for a repository. This data is publicly visible in the
|
|
580
637
|
* Amazon ECR Public Gallery.</p>
|
|
581
638
|
*/
|
|
@@ -637,15 +694,18 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
637
694
|
*/
|
|
638
695
|
export interface DeleteRepositoryRequest {
|
|
639
696
|
/**
|
|
697
|
+
* @public
|
|
640
698
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
641
699
|
* repository to delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
642
700
|
*/
|
|
643
701
|
registryId?: string;
|
|
644
702
|
/**
|
|
703
|
+
* @public
|
|
645
704
|
* <p>The name of the repository to delete.</p>
|
|
646
705
|
*/
|
|
647
706
|
repositoryName: string | undefined;
|
|
648
707
|
/**
|
|
708
|
+
* @public
|
|
649
709
|
* <p> The force option can be used to delete a repository that contains images. If the force
|
|
650
710
|
* option is not used, the repository must be empty prior to deletion.</p>
|
|
651
711
|
*/
|
|
@@ -656,6 +716,7 @@ export interface DeleteRepositoryRequest {
|
|
|
656
716
|
*/
|
|
657
717
|
export interface DeleteRepositoryResponse {
|
|
658
718
|
/**
|
|
719
|
+
* @public
|
|
659
720
|
* <p>The repository that was deleted.</p>
|
|
660
721
|
*/
|
|
661
722
|
repository?: Repository;
|
|
@@ -678,11 +739,13 @@ export declare class RepositoryNotEmptyException extends __BaseException {
|
|
|
678
739
|
*/
|
|
679
740
|
export interface DeleteRepositoryPolicyRequest {
|
|
680
741
|
/**
|
|
742
|
+
* @public
|
|
681
743
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
682
744
|
* repository policy to delete. If you do not specify a registry, the default public registry is assumed.</p>
|
|
683
745
|
*/
|
|
684
746
|
registryId?: string;
|
|
685
747
|
/**
|
|
748
|
+
* @public
|
|
686
749
|
* <p>The name of the repository that's associated with the repository policy to
|
|
687
750
|
* delete.</p>
|
|
688
751
|
*/
|
|
@@ -693,14 +756,17 @@ export interface DeleteRepositoryPolicyRequest {
|
|
|
693
756
|
*/
|
|
694
757
|
export interface DeleteRepositoryPolicyResponse {
|
|
695
758
|
/**
|
|
759
|
+
* @public
|
|
696
760
|
* <p>The registry ID that's associated with the request.</p>
|
|
697
761
|
*/
|
|
698
762
|
registryId?: string;
|
|
699
763
|
/**
|
|
764
|
+
* @public
|
|
700
765
|
* <p>The repository name that's associated with the request.</p>
|
|
701
766
|
*/
|
|
702
767
|
repositoryName?: string;
|
|
703
768
|
/**
|
|
769
|
+
* @public
|
|
704
770
|
* <p>The JSON repository policy that was deleted from the repository.</p>
|
|
705
771
|
*/
|
|
706
772
|
policyText?: string;
|
|
@@ -723,19 +789,23 @@ export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
|
723
789
|
*/
|
|
724
790
|
export interface DescribeImagesRequest {
|
|
725
791
|
/**
|
|
792
|
+
* @public
|
|
726
793
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
727
794
|
* repository where images are described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
728
795
|
*/
|
|
729
796
|
registryId?: string;
|
|
730
797
|
/**
|
|
798
|
+
* @public
|
|
731
799
|
* <p>The repository that contains the images to describe.</p>
|
|
732
800
|
*/
|
|
733
801
|
repositoryName: string | undefined;
|
|
734
802
|
/**
|
|
803
|
+
* @public
|
|
735
804
|
* <p>The list of image IDs for the requested repository.</p>
|
|
736
805
|
*/
|
|
737
806
|
imageIds?: ImageIdentifier[];
|
|
738
807
|
/**
|
|
808
|
+
* @public
|
|
739
809
|
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
740
810
|
* <code>DescribeImages</code> request where <code>maxResults</code> was used and the
|
|
741
811
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
@@ -745,6 +815,7 @@ export interface DescribeImagesRequest {
|
|
|
745
815
|
*/
|
|
746
816
|
nextToken?: string;
|
|
747
817
|
/**
|
|
818
|
+
* @public
|
|
748
819
|
* <p>The maximum number of repository results that's returned by <code>DescribeImages</code>
|
|
749
820
|
* in paginated output. When this parameter is used, <code>DescribeImages</code> only returns
|
|
750
821
|
* <code>maxResults</code> results in a single page along with a <code>nextToken</code>
|
|
@@ -764,23 +835,28 @@ export interface DescribeImagesRequest {
|
|
|
764
835
|
*/
|
|
765
836
|
export interface ImageDetail {
|
|
766
837
|
/**
|
|
838
|
+
* @public
|
|
767
839
|
* <p>The Amazon Web Services account ID that's associated with the public registry where this image
|
|
768
840
|
* belongs.</p>
|
|
769
841
|
*/
|
|
770
842
|
registryId?: string;
|
|
771
843
|
/**
|
|
844
|
+
* @public
|
|
772
845
|
* <p>The name of the repository where this image belongs.</p>
|
|
773
846
|
*/
|
|
774
847
|
repositoryName?: string;
|
|
775
848
|
/**
|
|
849
|
+
* @public
|
|
776
850
|
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
777
851
|
*/
|
|
778
852
|
imageDigest?: string;
|
|
779
853
|
/**
|
|
854
|
+
* @public
|
|
780
855
|
* <p>The list of tags that's associated with this image.</p>
|
|
781
856
|
*/
|
|
782
857
|
imageTags?: string[];
|
|
783
858
|
/**
|
|
859
|
+
* @public
|
|
784
860
|
* <p>The size, in bytes, of the image in the repository.</p>
|
|
785
861
|
* <p>If the image is a manifest list, this is the max size of all manifests in the
|
|
786
862
|
* list.</p>
|
|
@@ -793,15 +869,18 @@ export interface ImageDetail {
|
|
|
793
869
|
*/
|
|
794
870
|
imageSizeInBytes?: number;
|
|
795
871
|
/**
|
|
872
|
+
* @public
|
|
796
873
|
* <p>The date and time, expressed in standard JavaScript date format, that the current image
|
|
797
874
|
* was pushed to the repository at. </p>
|
|
798
875
|
*/
|
|
799
876
|
imagePushedAt?: Date;
|
|
800
877
|
/**
|
|
878
|
+
* @public
|
|
801
879
|
* <p>The media type of the image manifest.</p>
|
|
802
880
|
*/
|
|
803
881
|
imageManifestMediaType?: string;
|
|
804
882
|
/**
|
|
883
|
+
* @public
|
|
805
884
|
* <p>The artifact media type of the image.</p>
|
|
806
885
|
*/
|
|
807
886
|
artifactMediaType?: string;
|
|
@@ -811,11 +890,13 @@ export interface ImageDetail {
|
|
|
811
890
|
*/
|
|
812
891
|
export interface DescribeImagesResponse {
|
|
813
892
|
/**
|
|
893
|
+
* @public
|
|
814
894
|
* <p>A list of <a>ImageDetail</a> objects that contain data about the
|
|
815
895
|
* image.</p>
|
|
816
896
|
*/
|
|
817
897
|
imageDetails?: ImageDetail[];
|
|
818
898
|
/**
|
|
899
|
+
* @public
|
|
819
900
|
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImages</code>
|
|
820
901
|
* request. When the results of a <code>DescribeImages</code> request exceed
|
|
821
902
|
* <code>maxResults</code>, you can use this value to retrieve the next page of results. If
|
|
@@ -840,15 +921,18 @@ export declare class ImageNotFoundException extends __BaseException {
|
|
|
840
921
|
*/
|
|
841
922
|
export interface DescribeImageTagsRequest {
|
|
842
923
|
/**
|
|
924
|
+
* @public
|
|
843
925
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
844
926
|
* repository where images are described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
845
927
|
*/
|
|
846
928
|
registryId?: string;
|
|
847
929
|
/**
|
|
930
|
+
* @public
|
|
848
931
|
* <p>The name of the repository that contains the image tag details to describe.</p>
|
|
849
932
|
*/
|
|
850
933
|
repositoryName: string | undefined;
|
|
851
934
|
/**
|
|
935
|
+
* @public
|
|
852
936
|
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
853
937
|
* <code>DescribeImageTags</code> request where <code>maxResults</code> was used and the
|
|
854
938
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
@@ -858,6 +942,7 @@ export interface DescribeImageTagsRequest {
|
|
|
858
942
|
*/
|
|
859
943
|
nextToken?: string;
|
|
860
944
|
/**
|
|
945
|
+
* @public
|
|
861
946
|
* <p>The maximum number of repository results that's returned by
|
|
862
947
|
* <code>DescribeImageTags</code> in paginated output. When this parameter is used,
|
|
863
948
|
* <code>DescribeImageTags</code> only returns <code>maxResults</code> results in a single
|
|
@@ -877,10 +962,12 @@ export interface DescribeImageTagsRequest {
|
|
|
877
962
|
*/
|
|
878
963
|
export interface ReferencedImageDetail {
|
|
879
964
|
/**
|
|
965
|
+
* @public
|
|
880
966
|
* <p>The <code>sha256</code> digest of the image manifest.</p>
|
|
881
967
|
*/
|
|
882
968
|
imageDigest?: string;
|
|
883
969
|
/**
|
|
970
|
+
* @public
|
|
884
971
|
* <p>The size, in bytes, of the image in the repository.</p>
|
|
885
972
|
* <p>If the image is a manifest list, this is the max size of all manifests in the
|
|
886
973
|
* list.</p>
|
|
@@ -893,15 +980,18 @@ export interface ReferencedImageDetail {
|
|
|
893
980
|
*/
|
|
894
981
|
imageSizeInBytes?: number;
|
|
895
982
|
/**
|
|
983
|
+
* @public
|
|
896
984
|
* <p>The date and time, expressed in standard JavaScript date format, which the current image
|
|
897
985
|
* tag was pushed to the repository at.</p>
|
|
898
986
|
*/
|
|
899
987
|
imagePushedAt?: Date;
|
|
900
988
|
/**
|
|
989
|
+
* @public
|
|
901
990
|
* <p>The media type of the image manifest.</p>
|
|
902
991
|
*/
|
|
903
992
|
imageManifestMediaType?: string;
|
|
904
993
|
/**
|
|
994
|
+
* @public
|
|
905
995
|
* <p>The artifact media type of the image.</p>
|
|
906
996
|
*/
|
|
907
997
|
artifactMediaType?: string;
|
|
@@ -912,14 +1002,17 @@ export interface ReferencedImageDetail {
|
|
|
912
1002
|
*/
|
|
913
1003
|
export interface ImageTagDetail {
|
|
914
1004
|
/**
|
|
1005
|
+
* @public
|
|
915
1006
|
* <p>The tag that's associated with the image.</p>
|
|
916
1007
|
*/
|
|
917
1008
|
imageTag?: string;
|
|
918
1009
|
/**
|
|
1010
|
+
* @public
|
|
919
1011
|
* <p>The time stamp that indicates when the image tag was created.</p>
|
|
920
1012
|
*/
|
|
921
1013
|
createdAt?: Date;
|
|
922
1014
|
/**
|
|
1015
|
+
* @public
|
|
923
1016
|
* <p>An object that describes the details of an image.</p>
|
|
924
1017
|
*/
|
|
925
1018
|
imageDetail?: ReferencedImageDetail;
|
|
@@ -929,10 +1022,12 @@ export interface ImageTagDetail {
|
|
|
929
1022
|
*/
|
|
930
1023
|
export interface DescribeImageTagsResponse {
|
|
931
1024
|
/**
|
|
1025
|
+
* @public
|
|
932
1026
|
* <p>The image tag details for the images in the requested repository.</p>
|
|
933
1027
|
*/
|
|
934
1028
|
imageTagDetails?: ImageTagDetail[];
|
|
935
1029
|
/**
|
|
1030
|
+
* @public
|
|
936
1031
|
* <p>The <code>nextToken</code> value to include in a future <code>DescribeImageTags</code>
|
|
937
1032
|
* request. When the results of a <code>DescribeImageTags</code> request exceed
|
|
938
1033
|
* <code>maxResults</code>, you can use this value to retrieve the next page of results. If
|
|
@@ -945,6 +1040,7 @@ export interface DescribeImageTagsResponse {
|
|
|
945
1040
|
*/
|
|
946
1041
|
export interface DescribeRegistriesRequest {
|
|
947
1042
|
/**
|
|
1043
|
+
* @public
|
|
948
1044
|
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
949
1045
|
* <code>DescribeRegistries</code> request where <code>maxResults</code> was used and the
|
|
950
1046
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
@@ -956,6 +1052,7 @@ export interface DescribeRegistriesRequest {
|
|
|
956
1052
|
*/
|
|
957
1053
|
nextToken?: string;
|
|
958
1054
|
/**
|
|
1055
|
+
* @public
|
|
959
1056
|
* <p>The maximum number of repository results that's returned by
|
|
960
1057
|
* <code>DescribeRegistries</code> in paginated output. When this parameter is used,
|
|
961
1058
|
* <code>DescribeRegistries</code> only returns <code>maxResults</code> results in a single
|
|
@@ -990,14 +1087,17 @@ export type RegistryAliasStatus = (typeof RegistryAliasStatus)[keyof typeof Regi
|
|
|
990
1087
|
*/
|
|
991
1088
|
export interface RegistryAlias {
|
|
992
1089
|
/**
|
|
1090
|
+
* @public
|
|
993
1091
|
* <p>The name of the registry alias.</p>
|
|
994
1092
|
*/
|
|
995
1093
|
name: string | undefined;
|
|
996
1094
|
/**
|
|
1095
|
+
* @public
|
|
997
1096
|
* <p>The status of the registry alias.</p>
|
|
998
1097
|
*/
|
|
999
1098
|
status: RegistryAliasStatus | string | undefined;
|
|
1000
1099
|
/**
|
|
1100
|
+
* @public
|
|
1001
1101
|
* <p>Indicates whether the registry alias is the primary alias for the registry. If true, the
|
|
1002
1102
|
* alias is the primary registry alias and is displayed in both the repository URL and the
|
|
1003
1103
|
* image URI used in the <code>docker pull</code> commands on the Amazon ECR Public Gallery.</p>
|
|
@@ -1008,6 +1108,7 @@ export interface RegistryAlias {
|
|
|
1008
1108
|
*/
|
|
1009
1109
|
primaryRegistryAlias: boolean | undefined;
|
|
1010
1110
|
/**
|
|
1111
|
+
* @public
|
|
1011
1112
|
* <p>Indicates whether the registry alias is the default alias for the registry. When the
|
|
1012
1113
|
* first public repository is created, your public registry is assigned a default registry
|
|
1013
1114
|
* alias.</p>
|
|
@@ -1020,26 +1121,31 @@ export interface RegistryAlias {
|
|
|
1020
1121
|
*/
|
|
1021
1122
|
export interface Registry {
|
|
1022
1123
|
/**
|
|
1124
|
+
* @public
|
|
1023
1125
|
* <p>The Amazon Web Services account ID that's associated with the registry.
|
|
1024
1126
|
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1025
1127
|
*/
|
|
1026
1128
|
registryId: string | undefined;
|
|
1027
1129
|
/**
|
|
1130
|
+
* @public
|
|
1028
1131
|
* <p>The Amazon Resource Name (ARN) of the public registry.</p>
|
|
1029
1132
|
*/
|
|
1030
1133
|
registryArn: string | undefined;
|
|
1031
1134
|
/**
|
|
1135
|
+
* @public
|
|
1032
1136
|
* <p>The URI of a public registry. The URI contains a universal prefix and the registry
|
|
1033
1137
|
* alias.</p>
|
|
1034
1138
|
*/
|
|
1035
1139
|
registryUri: string | undefined;
|
|
1036
1140
|
/**
|
|
1141
|
+
* @public
|
|
1037
1142
|
* <p>Indicates whether the account is a verified Amazon Web Services Marketplace vendor. If an account is verified,
|
|
1038
1143
|
* each public repository receives a verified account badge on the
|
|
1039
1144
|
* Amazon ECR Public Gallery.</p>
|
|
1040
1145
|
*/
|
|
1041
1146
|
verified: boolean | undefined;
|
|
1042
1147
|
/**
|
|
1148
|
+
* @public
|
|
1043
1149
|
* <p>An array of objects that represents the aliases for a public registry.</p>
|
|
1044
1150
|
*/
|
|
1045
1151
|
aliases: RegistryAlias[] | undefined;
|
|
@@ -1049,10 +1155,12 @@ export interface Registry {
|
|
|
1049
1155
|
*/
|
|
1050
1156
|
export interface DescribeRegistriesResponse {
|
|
1051
1157
|
/**
|
|
1158
|
+
* @public
|
|
1052
1159
|
* <p>An object that contains the details for a public registry.</p>
|
|
1053
1160
|
*/
|
|
1054
1161
|
registries: Registry[] | undefined;
|
|
1055
1162
|
/**
|
|
1163
|
+
* @public
|
|
1056
1164
|
* <p>The <code>nextToken</code> value to include in a future
|
|
1057
1165
|
* <code>DescribeRepositories</code> request. If the results of a
|
|
1058
1166
|
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, you can use
|
|
@@ -1066,16 +1174,19 @@ export interface DescribeRegistriesResponse {
|
|
|
1066
1174
|
*/
|
|
1067
1175
|
export interface DescribeRepositoriesRequest {
|
|
1068
1176
|
/**
|
|
1177
|
+
* @public
|
|
1069
1178
|
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repositories
|
|
1070
1179
|
* to be described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1071
1180
|
*/
|
|
1072
1181
|
registryId?: string;
|
|
1073
1182
|
/**
|
|
1183
|
+
* @public
|
|
1074
1184
|
* <p>A list of repositories to describe. If this parameter is omitted, then all repositories
|
|
1075
1185
|
* in a registry are described.</p>
|
|
1076
1186
|
*/
|
|
1077
1187
|
repositoryNames?: string[];
|
|
1078
1188
|
/**
|
|
1189
|
+
* @public
|
|
1079
1190
|
* <p>The <code>nextToken</code> value that's returned from a previous paginated
|
|
1080
1191
|
* <code>DescribeRepositories</code> request where <code>maxResults</code> was used and the
|
|
1081
1192
|
* results exceeded the value of that parameter. Pagination continues from the end of the
|
|
@@ -1088,6 +1199,7 @@ export interface DescribeRepositoriesRequest {
|
|
|
1088
1199
|
*/
|
|
1089
1200
|
nextToken?: string;
|
|
1090
1201
|
/**
|
|
1202
|
+
* @public
|
|
1091
1203
|
* <p>The maximum number of repository results that's returned by
|
|
1092
1204
|
* <code>DescribeRepositories</code> in paginated output. When this parameter is used,
|
|
1093
1205
|
* <code>DescribeRepositories</code> only returns <code>maxResults</code> results in a
|
|
@@ -1106,10 +1218,12 @@ export interface DescribeRepositoriesRequest {
|
|
|
1106
1218
|
*/
|
|
1107
1219
|
export interface DescribeRepositoriesResponse {
|
|
1108
1220
|
/**
|
|
1221
|
+
* @public
|
|
1109
1222
|
* <p>A list of repository objects corresponding to valid repositories.</p>
|
|
1110
1223
|
*/
|
|
1111
1224
|
repositories?: Repository[];
|
|
1112
1225
|
/**
|
|
1226
|
+
* @public
|
|
1113
1227
|
* <p>The <code>nextToken</code> value to include in a future
|
|
1114
1228
|
* <code>DescribeRepositories</code> request. When the results of a
|
|
1115
1229
|
* <code>DescribeRepositories</code> request exceed <code>maxResults</code>, this value can
|
|
@@ -1128,6 +1242,7 @@ export interface GetAuthorizationTokenRequest {
|
|
|
1128
1242
|
*/
|
|
1129
1243
|
export interface GetAuthorizationTokenResponse {
|
|
1130
1244
|
/**
|
|
1245
|
+
* @public
|
|
1131
1246
|
* <p>An authorization token data object that corresponds to a public registry.</p>
|
|
1132
1247
|
*/
|
|
1133
1248
|
authorizationData?: AuthorizationData;
|
|
@@ -1143,6 +1258,7 @@ export interface GetRegistryCatalogDataRequest {
|
|
|
1143
1258
|
*/
|
|
1144
1259
|
export interface RegistryCatalogData {
|
|
1145
1260
|
/**
|
|
1261
|
+
* @public
|
|
1146
1262
|
* <p>The display name for a public registry. This appears on the Amazon ECR Public Gallery.</p>
|
|
1147
1263
|
* <important>
|
|
1148
1264
|
* <p>Only accounts that have the verified account badge can have a registry display
|
|
@@ -1156,6 +1272,7 @@ export interface RegistryCatalogData {
|
|
|
1156
1272
|
*/
|
|
1157
1273
|
export interface GetRegistryCatalogDataResponse {
|
|
1158
1274
|
/**
|
|
1275
|
+
* @public
|
|
1159
1276
|
* <p>The catalog metadata for the public registry.</p>
|
|
1160
1277
|
*/
|
|
1161
1278
|
registryCatalogData: RegistryCatalogData | undefined;
|
|
@@ -1165,11 +1282,13 @@ export interface GetRegistryCatalogDataResponse {
|
|
|
1165
1282
|
*/
|
|
1166
1283
|
export interface GetRepositoryCatalogDataRequest {
|
|
1167
1284
|
/**
|
|
1285
|
+
* @public
|
|
1168
1286
|
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repositories
|
|
1169
1287
|
* to be described. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1170
1288
|
*/
|
|
1171
1289
|
registryId?: string;
|
|
1172
1290
|
/**
|
|
1291
|
+
* @public
|
|
1173
1292
|
* <p>The name of the repository to retrieve the catalog metadata for.</p>
|
|
1174
1293
|
*/
|
|
1175
1294
|
repositoryName: string | undefined;
|
|
@@ -1179,6 +1298,7 @@ export interface GetRepositoryCatalogDataRequest {
|
|
|
1179
1298
|
*/
|
|
1180
1299
|
export interface GetRepositoryCatalogDataResponse {
|
|
1181
1300
|
/**
|
|
1301
|
+
* @public
|
|
1182
1302
|
* <p>The catalog metadata for the repository.</p>
|
|
1183
1303
|
*/
|
|
1184
1304
|
catalogData?: RepositoryCatalogData;
|
|
@@ -1200,11 +1320,13 @@ export declare class RepositoryCatalogDataNotFoundException extends __BaseExcept
|
|
|
1200
1320
|
*/
|
|
1201
1321
|
export interface GetRepositoryPolicyRequest {
|
|
1202
1322
|
/**
|
|
1323
|
+
* @public
|
|
1203
1324
|
* <p>The Amazon Web Services account ID that's associated with the public registry that contains the
|
|
1204
1325
|
* repository. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1205
1326
|
*/
|
|
1206
1327
|
registryId?: string;
|
|
1207
1328
|
/**
|
|
1329
|
+
* @public
|
|
1208
1330
|
* <p>The name of the repository with the policy to retrieve.</p>
|
|
1209
1331
|
*/
|
|
1210
1332
|
repositoryName: string | undefined;
|
|
@@ -1214,14 +1336,17 @@ export interface GetRepositoryPolicyRequest {
|
|
|
1214
1336
|
*/
|
|
1215
1337
|
export interface GetRepositoryPolicyResponse {
|
|
1216
1338
|
/**
|
|
1339
|
+
* @public
|
|
1217
1340
|
* <p>The registry ID that's associated with the request.</p>
|
|
1218
1341
|
*/
|
|
1219
1342
|
registryId?: string;
|
|
1220
1343
|
/**
|
|
1344
|
+
* @public
|
|
1221
1345
|
* <p>The repository name that's associated with the request.</p>
|
|
1222
1346
|
*/
|
|
1223
1347
|
repositoryName?: string;
|
|
1224
1348
|
/**
|
|
1349
|
+
* @public
|
|
1225
1350
|
* <p>The repository policy text that's associated with the repository. The policy text will
|
|
1226
1351
|
* be in JSON format.</p>
|
|
1227
1352
|
*/
|
|
@@ -1233,22 +1358,27 @@ export interface GetRepositoryPolicyResponse {
|
|
|
1233
1358
|
*/
|
|
1234
1359
|
export interface Image {
|
|
1235
1360
|
/**
|
|
1361
|
+
* @public
|
|
1236
1362
|
* <p>The Amazon Web Services account ID that's associated with the registry containing the image.</p>
|
|
1237
1363
|
*/
|
|
1238
1364
|
registryId?: string;
|
|
1239
1365
|
/**
|
|
1366
|
+
* @public
|
|
1240
1367
|
* <p>The name of the repository that's associated with the image.</p>
|
|
1241
1368
|
*/
|
|
1242
1369
|
repositoryName?: string;
|
|
1243
1370
|
/**
|
|
1371
|
+
* @public
|
|
1244
1372
|
* <p>An object that contains the image tag and image digest associated with an image.</p>
|
|
1245
1373
|
*/
|
|
1246
1374
|
imageId?: ImageIdentifier;
|
|
1247
1375
|
/**
|
|
1376
|
+
* @public
|
|
1248
1377
|
* <p>The image manifest that's associated with the image.</p>
|
|
1249
1378
|
*/
|
|
1250
1379
|
imageManifest?: string;
|
|
1251
1380
|
/**
|
|
1381
|
+
* @public
|
|
1252
1382
|
* <p>The manifest media type of the image.</p>
|
|
1253
1383
|
*/
|
|
1254
1384
|
imageManifestMediaType?: string;
|
|
@@ -1297,11 +1427,13 @@ export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
|
1297
1427
|
*/
|
|
1298
1428
|
export interface InitiateLayerUploadRequest {
|
|
1299
1429
|
/**
|
|
1430
|
+
* @public
|
|
1300
1431
|
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the registry to which
|
|
1301
1432
|
* you intend to upload layers. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1302
1433
|
*/
|
|
1303
1434
|
registryId?: string;
|
|
1304
1435
|
/**
|
|
1436
|
+
* @public
|
|
1305
1437
|
* <p>The name of the repository that you want to upload layers to.</p>
|
|
1306
1438
|
*/
|
|
1307
1439
|
repositoryName: string | undefined;
|
|
@@ -1311,10 +1443,12 @@ export interface InitiateLayerUploadRequest {
|
|
|
1311
1443
|
*/
|
|
1312
1444
|
export interface InitiateLayerUploadResponse {
|
|
1313
1445
|
/**
|
|
1446
|
+
* @public
|
|
1314
1447
|
* <p>The upload ID for the layer upload. This parameter is passed to further <a>UploadLayerPart</a> and <a>CompleteLayerUpload</a> operations.</p>
|
|
1315
1448
|
*/
|
|
1316
1449
|
uploadId?: string;
|
|
1317
1450
|
/**
|
|
1451
|
+
* @public
|
|
1318
1452
|
* <p>The size, in bytes, that Amazon ECR expects future layer part uploads to be.</p>
|
|
1319
1453
|
*/
|
|
1320
1454
|
partSize?: number;
|
|
@@ -1328,18 +1462,22 @@ export declare class InvalidLayerPartException extends __BaseException {
|
|
|
1328
1462
|
readonly name: "InvalidLayerPartException";
|
|
1329
1463
|
readonly $fault: "client";
|
|
1330
1464
|
/**
|
|
1465
|
+
* @public
|
|
1331
1466
|
* <p>The Amazon Web Services account ID that's associated with the layer part.</p>
|
|
1332
1467
|
*/
|
|
1333
1468
|
registryId?: string;
|
|
1334
1469
|
/**
|
|
1470
|
+
* @public
|
|
1335
1471
|
* <p>The name of the repository.</p>
|
|
1336
1472
|
*/
|
|
1337
1473
|
repositoryName?: string;
|
|
1338
1474
|
/**
|
|
1475
|
+
* @public
|
|
1339
1476
|
* <p>The upload ID that's associated with the layer part.</p>
|
|
1340
1477
|
*/
|
|
1341
1478
|
uploadId?: string;
|
|
1342
1479
|
/**
|
|
1480
|
+
* @public
|
|
1343
1481
|
* <p>The position of the last byte of the layer part.</p>
|
|
1344
1482
|
*/
|
|
1345
1483
|
lastValidByteReceived?: number;
|
|
@@ -1366,6 +1504,7 @@ export declare class LayersNotFoundException extends __BaseException {
|
|
|
1366
1504
|
*/
|
|
1367
1505
|
export interface ListTagsForResourceRequest {
|
|
1368
1506
|
/**
|
|
1507
|
+
* @public
|
|
1369
1508
|
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the
|
|
1370
1509
|
* supported resource is an Amazon ECR Public repository.</p>
|
|
1371
1510
|
*/
|
|
@@ -1376,6 +1515,7 @@ export interface ListTagsForResourceRequest {
|
|
|
1376
1515
|
*/
|
|
1377
1516
|
export interface ListTagsForResourceResponse {
|
|
1378
1517
|
/**
|
|
1518
|
+
* @public
|
|
1379
1519
|
* <p>The tags for the resource.</p>
|
|
1380
1520
|
*/
|
|
1381
1521
|
tags?: Tag[];
|
|
@@ -1385,30 +1525,36 @@ export interface ListTagsForResourceResponse {
|
|
|
1385
1525
|
*/
|
|
1386
1526
|
export interface PutImageRequest {
|
|
1387
1527
|
/**
|
|
1528
|
+
* @public
|
|
1388
1529
|
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the public registry that
|
|
1389
1530
|
* contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1390
1531
|
*/
|
|
1391
1532
|
registryId?: string;
|
|
1392
1533
|
/**
|
|
1534
|
+
* @public
|
|
1393
1535
|
* <p>The name of the repository where the image is put.</p>
|
|
1394
1536
|
*/
|
|
1395
1537
|
repositoryName: string | undefined;
|
|
1396
1538
|
/**
|
|
1539
|
+
* @public
|
|
1397
1540
|
* <p>The image manifest that corresponds to the image to be uploaded.</p>
|
|
1398
1541
|
*/
|
|
1399
1542
|
imageManifest: string | undefined;
|
|
1400
1543
|
/**
|
|
1544
|
+
* @public
|
|
1401
1545
|
* <p>The media type of the image manifest. If you push an image manifest that doesn't contain
|
|
1402
1546
|
* the <code>mediaType</code> field, you must specify the <code>imageManifestMediaType</code>
|
|
1403
1547
|
* in the request.</p>
|
|
1404
1548
|
*/
|
|
1405
1549
|
imageManifestMediaType?: string;
|
|
1406
1550
|
/**
|
|
1551
|
+
* @public
|
|
1407
1552
|
* <p>The tag to associate with the image. This parameter is required for images that use the
|
|
1408
1553
|
* Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</p>
|
|
1409
1554
|
*/
|
|
1410
1555
|
imageTag?: string;
|
|
1411
1556
|
/**
|
|
1557
|
+
* @public
|
|
1412
1558
|
* <p>The image digest of the image manifest that corresponds to the image.</p>
|
|
1413
1559
|
*/
|
|
1414
1560
|
imageDigest?: string;
|
|
@@ -1418,6 +1564,7 @@ export interface PutImageRequest {
|
|
|
1418
1564
|
*/
|
|
1419
1565
|
export interface PutImageResponse {
|
|
1420
1566
|
/**
|
|
1567
|
+
* @public
|
|
1421
1568
|
* <p>Details of the image uploaded.</p>
|
|
1422
1569
|
*/
|
|
1423
1570
|
image?: Image;
|
|
@@ -1439,6 +1586,7 @@ export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
|
1439
1586
|
*/
|
|
1440
1587
|
export interface PutRegistryCatalogDataRequest {
|
|
1441
1588
|
/**
|
|
1589
|
+
* @public
|
|
1442
1590
|
* <p>The display name for a public registry. The display name is shown as the repository
|
|
1443
1591
|
* author in the Amazon ECR Public Gallery.</p>
|
|
1444
1592
|
* <note>
|
|
@@ -1453,6 +1601,7 @@ export interface PutRegistryCatalogDataRequest {
|
|
|
1453
1601
|
*/
|
|
1454
1602
|
export interface PutRegistryCatalogDataResponse {
|
|
1455
1603
|
/**
|
|
1604
|
+
* @public
|
|
1456
1605
|
* <p>The catalog data for the public registry.</p>
|
|
1457
1606
|
*/
|
|
1458
1607
|
registryCatalogData: RegistryCatalogData | undefined;
|
|
@@ -1462,15 +1611,18 @@ export interface PutRegistryCatalogDataResponse {
|
|
|
1462
1611
|
*/
|
|
1463
1612
|
export interface PutRepositoryCatalogDataRequest {
|
|
1464
1613
|
/**
|
|
1614
|
+
* @public
|
|
1465
1615
|
* <p>The Amazon Web Services account ID that's associated with the public registry the repository is in.
|
|
1466
1616
|
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1467
1617
|
*/
|
|
1468
1618
|
registryId?: string;
|
|
1469
1619
|
/**
|
|
1620
|
+
* @public
|
|
1470
1621
|
* <p>The name of the repository to create or update the catalog data for.</p>
|
|
1471
1622
|
*/
|
|
1472
1623
|
repositoryName: string | undefined;
|
|
1473
1624
|
/**
|
|
1625
|
+
* @public
|
|
1474
1626
|
* <p>An object containing the catalog data for a repository. This data is publicly visible in
|
|
1475
1627
|
* the Amazon ECR Public Gallery.</p>
|
|
1476
1628
|
*/
|
|
@@ -1481,6 +1633,7 @@ export interface PutRepositoryCatalogDataRequest {
|
|
|
1481
1633
|
*/
|
|
1482
1634
|
export interface PutRepositoryCatalogDataResponse {
|
|
1483
1635
|
/**
|
|
1636
|
+
* @public
|
|
1484
1637
|
* <p>The catalog data for the repository.</p>
|
|
1485
1638
|
*/
|
|
1486
1639
|
catalogData?: RepositoryCatalogData;
|
|
@@ -1490,21 +1643,25 @@ export interface PutRepositoryCatalogDataResponse {
|
|
|
1490
1643
|
*/
|
|
1491
1644
|
export interface SetRepositoryPolicyRequest {
|
|
1492
1645
|
/**
|
|
1646
|
+
* @public
|
|
1493
1647
|
* <p>The Amazon Web Services account ID that's associated with the registry that contains the repository.
|
|
1494
1648
|
* If you do not specify a registry, the default public registry is assumed.</p>
|
|
1495
1649
|
*/
|
|
1496
1650
|
registryId?: string;
|
|
1497
1651
|
/**
|
|
1652
|
+
* @public
|
|
1498
1653
|
* <p>The name of the repository to receive the policy.</p>
|
|
1499
1654
|
*/
|
|
1500
1655
|
repositoryName: string | undefined;
|
|
1501
1656
|
/**
|
|
1657
|
+
* @public
|
|
1502
1658
|
* <p>The JSON repository policy text to apply to the repository. For more information, see
|
|
1503
1659
|
* <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html">Amazon ECR Repository
|
|
1504
1660
|
* Policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
1505
1661
|
*/
|
|
1506
1662
|
policyText: string | undefined;
|
|
1507
1663
|
/**
|
|
1664
|
+
* @public
|
|
1508
1665
|
* <p>If the policy that you want to set on a repository policy would prevent you from setting
|
|
1509
1666
|
* another policy in the future, you must force the <a>SetRepositoryPolicy</a>
|
|
1510
1667
|
* operation. This prevents accidental repository lockouts.</p>
|
|
@@ -1516,14 +1673,17 @@ export interface SetRepositoryPolicyRequest {
|
|
|
1516
1673
|
*/
|
|
1517
1674
|
export interface SetRepositoryPolicyResponse {
|
|
1518
1675
|
/**
|
|
1676
|
+
* @public
|
|
1519
1677
|
* <p>The registry ID that's associated with the request.</p>
|
|
1520
1678
|
*/
|
|
1521
1679
|
registryId?: string;
|
|
1522
1680
|
/**
|
|
1681
|
+
* @public
|
|
1523
1682
|
* <p>The repository name that's associated with the request.</p>
|
|
1524
1683
|
*/
|
|
1525
1684
|
repositoryName?: string;
|
|
1526
1685
|
/**
|
|
1686
|
+
* @public
|
|
1527
1687
|
* <p>The JSON repository policy text that's applied to the repository.</p>
|
|
1528
1688
|
*/
|
|
1529
1689
|
policyText?: string;
|
|
@@ -1533,11 +1693,13 @@ export interface SetRepositoryPolicyResponse {
|
|
|
1533
1693
|
*/
|
|
1534
1694
|
export interface TagResourceRequest {
|
|
1535
1695
|
/**
|
|
1696
|
+
* @public
|
|
1536
1697
|
* <p>The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported
|
|
1537
1698
|
* resource is an Amazon ECR Public repository.</p>
|
|
1538
1699
|
*/
|
|
1539
1700
|
resourceArn: string | undefined;
|
|
1540
1701
|
/**
|
|
1702
|
+
* @public
|
|
1541
1703
|
* <p>The tags to add to the resource. A tag is an array of key-value pairs.
|
|
1542
1704
|
* Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>
|
|
1543
1705
|
*/
|
|
@@ -1553,11 +1715,13 @@ export interface TagResourceResponse {
|
|
|
1553
1715
|
*/
|
|
1554
1716
|
export interface UntagResourceRequest {
|
|
1555
1717
|
/**
|
|
1718
|
+
* @public
|
|
1556
1719
|
* <p>The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resource is
|
|
1557
1720
|
* an Amazon ECR Public repository.</p>
|
|
1558
1721
|
*/
|
|
1559
1722
|
resourceArn: string | undefined;
|
|
1560
1723
|
/**
|
|
1724
|
+
* @public
|
|
1561
1725
|
* <p>The keys of the tags to be removed.</p>
|
|
1562
1726
|
*/
|
|
1563
1727
|
tagKeys: string[] | undefined;
|
|
@@ -1572,28 +1736,34 @@ export interface UntagResourceResponse {
|
|
|
1572
1736
|
*/
|
|
1573
1737
|
export interface UploadLayerPartRequest {
|
|
1574
1738
|
/**
|
|
1739
|
+
* @public
|
|
1575
1740
|
* <p>The Amazon Web Services account ID, or registry alias, that's associated with the registry that you're
|
|
1576
1741
|
* uploading layer parts to. If you do not specify a registry, the default public registry is assumed.</p>
|
|
1577
1742
|
*/
|
|
1578
1743
|
registryId?: string;
|
|
1579
1744
|
/**
|
|
1745
|
+
* @public
|
|
1580
1746
|
* <p>The name of the repository that you're uploading layer parts to.</p>
|
|
1581
1747
|
*/
|
|
1582
1748
|
repositoryName: string | undefined;
|
|
1583
1749
|
/**
|
|
1750
|
+
* @public
|
|
1584
1751
|
* <p>The upload ID from a previous <a>InitiateLayerUpload</a> operation to
|
|
1585
1752
|
* associate with the layer part upload.</p>
|
|
1586
1753
|
*/
|
|
1587
1754
|
uploadId: string | undefined;
|
|
1588
1755
|
/**
|
|
1756
|
+
* @public
|
|
1589
1757
|
* <p>The position of the first byte of the layer part witin the overall image layer.</p>
|
|
1590
1758
|
*/
|
|
1591
1759
|
partFirstByte: number | undefined;
|
|
1592
1760
|
/**
|
|
1761
|
+
* @public
|
|
1593
1762
|
* <p>The position of the last byte of the layer part within the overall image layer.</p>
|
|
1594
1763
|
*/
|
|
1595
1764
|
partLastByte: number | undefined;
|
|
1596
1765
|
/**
|
|
1766
|
+
* @public
|
|
1597
1767
|
* <p>The base64-encoded layer part payload.</p>
|
|
1598
1768
|
*/
|
|
1599
1769
|
layerPartBlob: Uint8Array | undefined;
|
|
@@ -1603,18 +1773,22 @@ export interface UploadLayerPartRequest {
|
|
|
1603
1773
|
*/
|
|
1604
1774
|
export interface UploadLayerPartResponse {
|
|
1605
1775
|
/**
|
|
1776
|
+
* @public
|
|
1606
1777
|
* <p>The registry ID that's associated with the request.</p>
|
|
1607
1778
|
*/
|
|
1608
1779
|
registryId?: string;
|
|
1609
1780
|
/**
|
|
1781
|
+
* @public
|
|
1610
1782
|
* <p>The repository name that's associated with the request.</p>
|
|
1611
1783
|
*/
|
|
1612
1784
|
repositoryName?: string;
|
|
1613
1785
|
/**
|
|
1786
|
+
* @public
|
|
1614
1787
|
* <p>The upload ID that's associated with the request.</p>
|
|
1615
1788
|
*/
|
|
1616
1789
|
uploadId?: string;
|
|
1617
1790
|
/**
|
|
1791
|
+
* @public
|
|
1618
1792
|
* <p>The integer value of the last byte that's received in the request.</p>
|
|
1619
1793
|
*/
|
|
1620
1794
|
lastByteReceived?: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr-public",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecr Public Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.382.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|