@aws-sdk/client-ecr-public 3.934.0 → 3.935.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-cjs/index.js +23 -22
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +22 -0
- package/dist-es/models/errors.js +297 -0
- package/dist-es/models/models_0.js +1 -319
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +54 -0
- package/dist-types/models/errors.d.ts +324 -0
- package/dist-types/models/models_0.d.ts +1 -378
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/errors.d.ts +187 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -217
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICServiceException";
|
|
1
|
+
import { ImageFailureCode, LayerAvailability, LayerFailureCode, RegistryAliasStatus } from "./enums";
|
|
3
2
|
/**
|
|
4
3
|
* <p>An authorization token data object that corresponds to a public registry.</p>
|
|
5
4
|
* @public
|
|
@@ -40,18 +39,6 @@ export interface BatchCheckLayerAvailabilityRequest {
|
|
|
40
39
|
*/
|
|
41
40
|
layerDigests: string[] | undefined;
|
|
42
41
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
45
|
-
* @enum
|
|
46
|
-
*/
|
|
47
|
-
export declare const LayerFailureCode: {
|
|
48
|
-
readonly InvalidLayerDigest: "InvalidLayerDigest";
|
|
49
|
-
readonly MissingLayerDigest: "MissingLayerDigest";
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
export type LayerFailureCode = (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
55
42
|
/**
|
|
56
43
|
* <p>An object that represents an Amazon ECR image layer failure.</p>
|
|
57
44
|
* @public
|
|
@@ -73,18 +60,6 @@ export interface LayerFailure {
|
|
|
73
60
|
*/
|
|
74
61
|
failureReason?: string | undefined;
|
|
75
62
|
}
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
* @enum
|
|
79
|
-
*/
|
|
80
|
-
export declare const LayerAvailability: {
|
|
81
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
82
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* @public
|
|
86
|
-
*/
|
|
87
|
-
export type LayerAvailability = (typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
88
63
|
/**
|
|
89
64
|
* <p>An object that represents an Amazon ECR image layer.</p>
|
|
90
65
|
* @public
|
|
@@ -129,68 +104,6 @@ export interface BatchCheckLayerAvailabilityResponse {
|
|
|
129
104
|
*/
|
|
130
105
|
failures?: LayerFailure[] | undefined;
|
|
131
106
|
}
|
|
132
|
-
/**
|
|
133
|
-
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
134
|
-
* request.</p>
|
|
135
|
-
* @public
|
|
136
|
-
*/
|
|
137
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
138
|
-
readonly name: "InvalidParameterException";
|
|
139
|
-
readonly $fault: "client";
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* <p>The registry doesn't exist.</p>
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
export declare class RegistryNotFoundException extends __BaseException {
|
|
150
|
-
readonly name: "RegistryNotFoundException";
|
|
151
|
-
readonly $fault: "client";
|
|
152
|
-
/**
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
constructor(opts: __ExceptionOptionType<RegistryNotFoundException, __BaseException>);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* <p>The specified repository can't be found. Check the spelling of the specified repository
|
|
159
|
-
* and ensure that you're performing operations on the correct registry.</p>
|
|
160
|
-
* @public
|
|
161
|
-
*/
|
|
162
|
-
export declare class RepositoryNotFoundException extends __BaseException {
|
|
163
|
-
readonly name: "RepositoryNotFoundException";
|
|
164
|
-
readonly $fault: "client";
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* <p>These errors are usually caused by a server-side issue.</p>
|
|
172
|
-
* @public
|
|
173
|
-
*/
|
|
174
|
-
export declare class ServerException extends __BaseException {
|
|
175
|
-
readonly name: "ServerException";
|
|
176
|
-
readonly $fault: "server";
|
|
177
|
-
/**
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
|
-
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* <p>The action isn't supported in this Region.</p>
|
|
184
|
-
* @public
|
|
185
|
-
*/
|
|
186
|
-
export declare class UnsupportedCommandException extends __BaseException {
|
|
187
|
-
readonly name: "UnsupportedCommandException";
|
|
188
|
-
readonly $fault: "client";
|
|
189
|
-
/**
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
constructor(opts: __ExceptionOptionType<UnsupportedCommandException, __BaseException>);
|
|
193
|
-
}
|
|
194
107
|
/**
|
|
195
108
|
* <p>An object with identifying information for an Amazon ECR image.</p>
|
|
196
109
|
* @public
|
|
@@ -230,23 +143,6 @@ export interface BatchDeleteImageRequest {
|
|
|
230
143
|
*/
|
|
231
144
|
imageIds: ImageIdentifier[] | undefined;
|
|
232
145
|
}
|
|
233
|
-
/**
|
|
234
|
-
* @public
|
|
235
|
-
* @enum
|
|
236
|
-
*/
|
|
237
|
-
export declare const ImageFailureCode: {
|
|
238
|
-
readonly ImageNotFound: "ImageNotFound";
|
|
239
|
-
readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
|
|
240
|
-
readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
|
|
241
|
-
readonly InvalidImageDigest: "InvalidImageDigest";
|
|
242
|
-
readonly InvalidImageTag: "InvalidImageTag";
|
|
243
|
-
readonly KmsError: "KmsError";
|
|
244
|
-
readonly MissingDigestAndTag: "MissingDigestAndTag";
|
|
245
|
-
};
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
*/
|
|
249
|
-
export type ImageFailureCode = (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
250
146
|
/**
|
|
251
147
|
* <p>An object that represents an Amazon ECR image failure.</p>
|
|
252
148
|
* @public
|
|
@@ -336,68 +232,6 @@ export interface CompleteLayerUploadResponse {
|
|
|
336
232
|
*/
|
|
337
233
|
layerDigest?: string | undefined;
|
|
338
234
|
}
|
|
339
|
-
/**
|
|
340
|
-
* <p>The specified layer upload doesn't contain any layer parts.</p>
|
|
341
|
-
* @public
|
|
342
|
-
*/
|
|
343
|
-
export declare class EmptyUploadException extends __BaseException {
|
|
344
|
-
readonly name: "EmptyUploadException";
|
|
345
|
-
readonly $fault: "client";
|
|
346
|
-
/**
|
|
347
|
-
* @internal
|
|
348
|
-
*/
|
|
349
|
-
constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* <p>The layer digest calculation performed by Amazon ECR when the image layer doesn't match the
|
|
353
|
-
* digest specified.</p>
|
|
354
|
-
* @public
|
|
355
|
-
*/
|
|
356
|
-
export declare class InvalidLayerException extends __BaseException {
|
|
357
|
-
readonly name: "InvalidLayerException";
|
|
358
|
-
readonly $fault: "client";
|
|
359
|
-
/**
|
|
360
|
-
* @internal
|
|
361
|
-
*/
|
|
362
|
-
constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* <p>The image layer already exists in the associated repository.</p>
|
|
366
|
-
* @public
|
|
367
|
-
*/
|
|
368
|
-
export declare class LayerAlreadyExistsException extends __BaseException {
|
|
369
|
-
readonly name: "LayerAlreadyExistsException";
|
|
370
|
-
readonly $fault: "client";
|
|
371
|
-
/**
|
|
372
|
-
* @internal
|
|
373
|
-
*/
|
|
374
|
-
constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
|
|
375
|
-
}
|
|
376
|
-
/**
|
|
377
|
-
* <p>Layer parts must be at least 5 MiB in size.</p>
|
|
378
|
-
* @public
|
|
379
|
-
*/
|
|
380
|
-
export declare class LayerPartTooSmallException extends __BaseException {
|
|
381
|
-
readonly name: "LayerPartTooSmallException";
|
|
382
|
-
readonly $fault: "client";
|
|
383
|
-
/**
|
|
384
|
-
* @internal
|
|
385
|
-
*/
|
|
386
|
-
constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* <p>The upload can't be found, or the specified upload ID isn't valid for this
|
|
390
|
-
* repository.</p>
|
|
391
|
-
* @public
|
|
392
|
-
*/
|
|
393
|
-
export declare class UploadNotFoundException extends __BaseException {
|
|
394
|
-
readonly name: "UploadNotFoundException";
|
|
395
|
-
readonly $fault: "client";
|
|
396
|
-
/**
|
|
397
|
-
* @internal
|
|
398
|
-
*/
|
|
399
|
-
constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
|
|
400
|
-
}
|
|
401
235
|
/**
|
|
402
236
|
* <p>An object that contains the catalog data for a repository. This data is publicly visible
|
|
403
237
|
* in the Amazon ECR Public Gallery.</p>
|
|
@@ -638,57 +472,6 @@ export interface CreateRepositoryResponse {
|
|
|
638
472
|
*/
|
|
639
473
|
catalogData?: RepositoryCatalogData | undefined;
|
|
640
474
|
}
|
|
641
|
-
/**
|
|
642
|
-
* <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>
|
|
643
|
-
* @public
|
|
644
|
-
*/
|
|
645
|
-
export declare class InvalidTagParameterException extends __BaseException {
|
|
646
|
-
readonly name: "InvalidTagParameterException";
|
|
647
|
-
readonly $fault: "client";
|
|
648
|
-
/**
|
|
649
|
-
* @internal
|
|
650
|
-
*/
|
|
651
|
-
constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
|
|
652
|
-
}
|
|
653
|
-
/**
|
|
654
|
-
* <p>The operation didn't succeed because it would have exceeded a service limit for your
|
|
655
|
-
* 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
|
|
656
|
-
* Amazon Elastic Container Registry User Guide.</p>
|
|
657
|
-
* @public
|
|
658
|
-
*/
|
|
659
|
-
export declare class LimitExceededException extends __BaseException {
|
|
660
|
-
readonly name: "LimitExceededException";
|
|
661
|
-
readonly $fault: "client";
|
|
662
|
-
/**
|
|
663
|
-
* @internal
|
|
664
|
-
*/
|
|
665
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
666
|
-
}
|
|
667
|
-
/**
|
|
668
|
-
* <p>The specified repository already exists in the specified registry.</p>
|
|
669
|
-
* @public
|
|
670
|
-
*/
|
|
671
|
-
export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
672
|
-
readonly name: "RepositoryAlreadyExistsException";
|
|
673
|
-
readonly $fault: "client";
|
|
674
|
-
/**
|
|
675
|
-
* @internal
|
|
676
|
-
*/
|
|
677
|
-
constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
|
|
678
|
-
}
|
|
679
|
-
/**
|
|
680
|
-
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
681
|
-
* can be applied to a repository is 50.</p>
|
|
682
|
-
* @public
|
|
683
|
-
*/
|
|
684
|
-
export declare class TooManyTagsException extends __BaseException {
|
|
685
|
-
readonly name: "TooManyTagsException";
|
|
686
|
-
readonly $fault: "client";
|
|
687
|
-
/**
|
|
688
|
-
* @internal
|
|
689
|
-
*/
|
|
690
|
-
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
691
|
-
}
|
|
692
475
|
/**
|
|
693
476
|
* @public
|
|
694
477
|
*/
|
|
@@ -721,19 +504,6 @@ export interface DeleteRepositoryResponse {
|
|
|
721
504
|
*/
|
|
722
505
|
repository?: Repository | undefined;
|
|
723
506
|
}
|
|
724
|
-
/**
|
|
725
|
-
* <p>The specified repository contains images. To delete a repository that contains images,
|
|
726
|
-
* you must force the deletion with the <code>force</code> parameter.</p>
|
|
727
|
-
* @public
|
|
728
|
-
*/
|
|
729
|
-
export declare class RepositoryNotEmptyException extends __BaseException {
|
|
730
|
-
readonly name: "RepositoryNotEmptyException";
|
|
731
|
-
readonly $fault: "client";
|
|
732
|
-
/**
|
|
733
|
-
* @internal
|
|
734
|
-
*/
|
|
735
|
-
constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
|
|
736
|
-
}
|
|
737
507
|
/**
|
|
738
508
|
* @public
|
|
739
509
|
*/
|
|
@@ -771,19 +541,6 @@ export interface DeleteRepositoryPolicyResponse {
|
|
|
771
541
|
*/
|
|
772
542
|
policyText?: string | undefined;
|
|
773
543
|
}
|
|
774
|
-
/**
|
|
775
|
-
* <p>The specified repository and registry combination doesn't have an associated repository
|
|
776
|
-
* policy.</p>
|
|
777
|
-
* @public
|
|
778
|
-
*/
|
|
779
|
-
export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
780
|
-
readonly name: "RepositoryPolicyNotFoundException";
|
|
781
|
-
readonly $fault: "client";
|
|
782
|
-
/**
|
|
783
|
-
* @internal
|
|
784
|
-
*/
|
|
785
|
-
constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
|
|
786
|
-
}
|
|
787
544
|
/**
|
|
788
545
|
* @public
|
|
789
546
|
*/
|
|
@@ -904,18 +661,6 @@ export interface DescribeImagesResponse {
|
|
|
904
661
|
*/
|
|
905
662
|
nextToken?: string | undefined;
|
|
906
663
|
}
|
|
907
|
-
/**
|
|
908
|
-
* <p>The image requested doesn't exist in the specified repository.</p>
|
|
909
|
-
* @public
|
|
910
|
-
*/
|
|
911
|
-
export declare class ImageNotFoundException extends __BaseException {
|
|
912
|
-
readonly name: "ImageNotFoundException";
|
|
913
|
-
readonly $fault: "client";
|
|
914
|
-
/**
|
|
915
|
-
* @internal
|
|
916
|
-
*/
|
|
917
|
-
constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
|
|
918
|
-
}
|
|
919
664
|
/**
|
|
920
665
|
* @public
|
|
921
666
|
*/
|
|
@@ -1065,19 +810,6 @@ export interface DescribeRegistriesRequest {
|
|
|
1065
810
|
*/
|
|
1066
811
|
maxResults?: number | undefined;
|
|
1067
812
|
}
|
|
1068
|
-
/**
|
|
1069
|
-
* @public
|
|
1070
|
-
* @enum
|
|
1071
|
-
*/
|
|
1072
|
-
export declare const RegistryAliasStatus: {
|
|
1073
|
-
readonly ACTIVE: "ACTIVE";
|
|
1074
|
-
readonly PENDING: "PENDING";
|
|
1075
|
-
readonly REJECTED: "REJECTED";
|
|
1076
|
-
};
|
|
1077
|
-
/**
|
|
1078
|
-
* @public
|
|
1079
|
-
*/
|
|
1080
|
-
export type RegistryAliasStatus = (typeof RegistryAliasStatus)[keyof typeof RegistryAliasStatus];
|
|
1081
813
|
/**
|
|
1082
814
|
* <p>An object representing the aliases for a public registry. A public registry is given an
|
|
1083
815
|
* alias when it's created. However, a custom alias can be set using the Amazon ECR console. For
|
|
@@ -1303,18 +1035,6 @@ export interface GetRepositoryCatalogDataResponse {
|
|
|
1303
1035
|
*/
|
|
1304
1036
|
catalogData?: RepositoryCatalogData | undefined;
|
|
1305
1037
|
}
|
|
1306
|
-
/**
|
|
1307
|
-
* <p>The repository catalog data doesn't exist.</p>
|
|
1308
|
-
* @public
|
|
1309
|
-
*/
|
|
1310
|
-
export declare class RepositoryCatalogDataNotFoundException extends __BaseException {
|
|
1311
|
-
readonly name: "RepositoryCatalogDataNotFoundException";
|
|
1312
|
-
readonly $fault: "client";
|
|
1313
|
-
/**
|
|
1314
|
-
* @internal
|
|
1315
|
-
*/
|
|
1316
|
-
constructor(opts: __ExceptionOptionType<RepositoryCatalogDataNotFoundException, __BaseException>);
|
|
1317
|
-
}
|
|
1318
1038
|
/**
|
|
1319
1039
|
* @public
|
|
1320
1040
|
*/
|
|
@@ -1383,45 +1103,6 @@ export interface Image {
|
|
|
1383
1103
|
*/
|
|
1384
1104
|
imageManifestMediaType?: string | undefined;
|
|
1385
1105
|
}
|
|
1386
|
-
/**
|
|
1387
|
-
* <p>The specified image has already been pushed, and there were no changes to the manifest
|
|
1388
|
-
* or image tag after the last push.</p>
|
|
1389
|
-
* @public
|
|
1390
|
-
*/
|
|
1391
|
-
export declare class ImageAlreadyExistsException extends __BaseException {
|
|
1392
|
-
readonly name: "ImageAlreadyExistsException";
|
|
1393
|
-
readonly $fault: "client";
|
|
1394
|
-
/**
|
|
1395
|
-
* @internal
|
|
1396
|
-
*/
|
|
1397
|
-
constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
|
|
1398
|
-
}
|
|
1399
|
-
/**
|
|
1400
|
-
* <p>The specified image digest doesn't match the digest that Amazon ECR calculated for the
|
|
1401
|
-
* image.</p>
|
|
1402
|
-
* @public
|
|
1403
|
-
*/
|
|
1404
|
-
export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
1405
|
-
readonly name: "ImageDigestDoesNotMatchException";
|
|
1406
|
-
readonly $fault: "client";
|
|
1407
|
-
/**
|
|
1408
|
-
* @internal
|
|
1409
|
-
*/
|
|
1410
|
-
constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
|
|
1411
|
-
}
|
|
1412
|
-
/**
|
|
1413
|
-
* <p>The specified image is tagged with a tag that already exists. The repository is
|
|
1414
|
-
* configured for tag immutability.</p>
|
|
1415
|
-
* @public
|
|
1416
|
-
*/
|
|
1417
|
-
export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
1418
|
-
readonly name: "ImageTagAlreadyExistsException";
|
|
1419
|
-
readonly $fault: "client";
|
|
1420
|
-
/**
|
|
1421
|
-
* @internal
|
|
1422
|
-
*/
|
|
1423
|
-
constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
|
|
1424
|
-
}
|
|
1425
1106
|
/**
|
|
1426
1107
|
* @public
|
|
1427
1108
|
*/
|
|
@@ -1453,52 +1134,6 @@ export interface InitiateLayerUploadResponse {
|
|
|
1453
1134
|
*/
|
|
1454
1135
|
partSize?: number | undefined;
|
|
1455
1136
|
}
|
|
1456
|
-
/**
|
|
1457
|
-
* <p>The layer part size isn't valid, or the first byte specified isn't consecutive to the
|
|
1458
|
-
* last byte of a previous layer part upload.</p>
|
|
1459
|
-
* @public
|
|
1460
|
-
*/
|
|
1461
|
-
export declare class InvalidLayerPartException extends __BaseException {
|
|
1462
|
-
readonly name: "InvalidLayerPartException";
|
|
1463
|
-
readonly $fault: "client";
|
|
1464
|
-
/**
|
|
1465
|
-
* <p>The Amazon Web Services account ID that's associated with the layer part.</p>
|
|
1466
|
-
* @public
|
|
1467
|
-
*/
|
|
1468
|
-
registryId?: string | undefined;
|
|
1469
|
-
/**
|
|
1470
|
-
* <p>The name of the repository.</p>
|
|
1471
|
-
* @public
|
|
1472
|
-
*/
|
|
1473
|
-
repositoryName?: string | undefined;
|
|
1474
|
-
/**
|
|
1475
|
-
* <p>The upload ID that's associated with the layer part.</p>
|
|
1476
|
-
* @public
|
|
1477
|
-
*/
|
|
1478
|
-
uploadId?: string | undefined;
|
|
1479
|
-
/**
|
|
1480
|
-
* <p>The position of the last byte of the layer part.</p>
|
|
1481
|
-
* @public
|
|
1482
|
-
*/
|
|
1483
|
-
lastValidByteReceived?: number | undefined;
|
|
1484
|
-
/**
|
|
1485
|
-
* @internal
|
|
1486
|
-
*/
|
|
1487
|
-
constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
|
|
1488
|
-
}
|
|
1489
|
-
/**
|
|
1490
|
-
* <p>The specified layers can't be found, or the specified layer isn't valid for this
|
|
1491
|
-
* repository.</p>
|
|
1492
|
-
* @public
|
|
1493
|
-
*/
|
|
1494
|
-
export declare class LayersNotFoundException extends __BaseException {
|
|
1495
|
-
readonly name: "LayersNotFoundException";
|
|
1496
|
-
readonly $fault: "client";
|
|
1497
|
-
/**
|
|
1498
|
-
* @internal
|
|
1499
|
-
*/
|
|
1500
|
-
constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
|
|
1501
|
-
}
|
|
1502
1137
|
/**
|
|
1503
1138
|
* @public
|
|
1504
1139
|
*/
|
|
@@ -1569,18 +1204,6 @@ export interface PutImageResponse {
|
|
|
1569
1204
|
*/
|
|
1570
1205
|
image?: Image | undefined;
|
|
1571
1206
|
}
|
|
1572
|
-
/**
|
|
1573
|
-
* <p>The manifest list is referencing an image that doesn't exist.</p>
|
|
1574
|
-
* @public
|
|
1575
|
-
*/
|
|
1576
|
-
export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
1577
|
-
readonly name: "ReferencedImagesNotFoundException";
|
|
1578
|
-
readonly $fault: "client";
|
|
1579
|
-
/**
|
|
1580
|
-
* @internal
|
|
1581
|
-
*/
|
|
1582
|
-
constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
|
|
1583
|
-
}
|
|
1584
1207
|
/**
|
|
1585
1208
|
* @public
|
|
1586
1209
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ECRPUBLICExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ECRPUBLICServiceException } from "./models/ECRPUBLICServiceException";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const LayerFailureCode: {
|
|
2
|
+
readonly InvalidLayerDigest: "InvalidLayerDigest";
|
|
3
|
+
readonly MissingLayerDigest: "MissingLayerDigest";
|
|
4
|
+
};
|
|
5
|
+
export type LayerFailureCode =
|
|
6
|
+
(typeof LayerFailureCode)[keyof typeof LayerFailureCode];
|
|
7
|
+
export declare const LayerAvailability: {
|
|
8
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
9
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
10
|
+
};
|
|
11
|
+
export type LayerAvailability =
|
|
12
|
+
(typeof LayerAvailability)[keyof typeof LayerAvailability];
|
|
13
|
+
export declare const ImageFailureCode: {
|
|
14
|
+
readonly ImageNotFound: "ImageNotFound";
|
|
15
|
+
readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
|
|
16
|
+
readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
|
|
17
|
+
readonly InvalidImageDigest: "InvalidImageDigest";
|
|
18
|
+
readonly InvalidImageTag: "InvalidImageTag";
|
|
19
|
+
readonly KmsError: "KmsError";
|
|
20
|
+
readonly MissingDigestAndTag: "MissingDigestAndTag";
|
|
21
|
+
};
|
|
22
|
+
export type ImageFailureCode =
|
|
23
|
+
(typeof ImageFailureCode)[keyof typeof ImageFailureCode];
|
|
24
|
+
export declare const RegistryAliasStatus: {
|
|
25
|
+
readonly ACTIVE: "ACTIVE";
|
|
26
|
+
readonly PENDING: "PENDING";
|
|
27
|
+
readonly REJECTED: "REJECTED";
|
|
28
|
+
};
|
|
29
|
+
export type RegistryAliasStatus =
|
|
30
|
+
(typeof RegistryAliasStatus)[keyof typeof RegistryAliasStatus];
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICServiceException";
|
|
3
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
4
|
+
readonly name: "InvalidParameterException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class RegistryNotFoundException extends __BaseException {
|
|
11
|
+
readonly name: "RegistryNotFoundException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<RegistryNotFoundException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class RepositoryNotFoundException extends __BaseException {
|
|
18
|
+
readonly name: "RepositoryNotFoundException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class ServerException extends __BaseException {
|
|
25
|
+
readonly name: "ServerException";
|
|
26
|
+
readonly $fault: "server";
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
export declare class UnsupportedCommandException extends __BaseException {
|
|
30
|
+
readonly name: "UnsupportedCommandException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<UnsupportedCommandException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare class EmptyUploadException extends __BaseException {
|
|
37
|
+
readonly name: "EmptyUploadException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<EmptyUploadException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class InvalidLayerException extends __BaseException {
|
|
44
|
+
readonly name: "InvalidLayerException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<InvalidLayerException, __BaseException>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export declare class LayerAlreadyExistsException extends __BaseException {
|
|
51
|
+
readonly name: "LayerAlreadyExistsException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
constructor(
|
|
54
|
+
opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export declare class LayerPartTooSmallException extends __BaseException {
|
|
58
|
+
readonly name: "LayerPartTooSmallException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
constructor(
|
|
61
|
+
opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
export declare class UploadNotFoundException extends __BaseException {
|
|
65
|
+
readonly name: "UploadNotFoundException";
|
|
66
|
+
readonly $fault: "client";
|
|
67
|
+
constructor(
|
|
68
|
+
opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
export declare class InvalidTagParameterException extends __BaseException {
|
|
72
|
+
readonly name: "InvalidTagParameterException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
constructor(
|
|
75
|
+
opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
export declare class LimitExceededException extends __BaseException {
|
|
79
|
+
readonly name: "LimitExceededException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
constructor(
|
|
82
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
export declare class RepositoryAlreadyExistsException extends __BaseException {
|
|
86
|
+
readonly name: "RepositoryAlreadyExistsException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
constructor(
|
|
89
|
+
opts: __ExceptionOptionType<
|
|
90
|
+
RepositoryAlreadyExistsException,
|
|
91
|
+
__BaseException
|
|
92
|
+
>
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
96
|
+
readonly name: "TooManyTagsException";
|
|
97
|
+
readonly $fault: "client";
|
|
98
|
+
constructor(
|
|
99
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
export declare class RepositoryNotEmptyException extends __BaseException {
|
|
103
|
+
readonly name: "RepositoryNotEmptyException";
|
|
104
|
+
readonly $fault: "client";
|
|
105
|
+
constructor(
|
|
106
|
+
opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
export declare class RepositoryPolicyNotFoundException extends __BaseException {
|
|
110
|
+
readonly name: "RepositoryPolicyNotFoundException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
constructor(
|
|
113
|
+
opts: __ExceptionOptionType<
|
|
114
|
+
RepositoryPolicyNotFoundException,
|
|
115
|
+
__BaseException
|
|
116
|
+
>
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
export declare class ImageNotFoundException extends __BaseException {
|
|
120
|
+
readonly name: "ImageNotFoundException";
|
|
121
|
+
readonly $fault: "client";
|
|
122
|
+
constructor(
|
|
123
|
+
opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
export declare class RepositoryCatalogDataNotFoundException extends __BaseException {
|
|
127
|
+
readonly name: "RepositoryCatalogDataNotFoundException";
|
|
128
|
+
readonly $fault: "client";
|
|
129
|
+
constructor(
|
|
130
|
+
opts: __ExceptionOptionType<
|
|
131
|
+
RepositoryCatalogDataNotFoundException,
|
|
132
|
+
__BaseException
|
|
133
|
+
>
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
export declare class ImageAlreadyExistsException extends __BaseException {
|
|
137
|
+
readonly name: "ImageAlreadyExistsException";
|
|
138
|
+
readonly $fault: "client";
|
|
139
|
+
constructor(
|
|
140
|
+
opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
export declare class ImageDigestDoesNotMatchException extends __BaseException {
|
|
144
|
+
readonly name: "ImageDigestDoesNotMatchException";
|
|
145
|
+
readonly $fault: "client";
|
|
146
|
+
constructor(
|
|
147
|
+
opts: __ExceptionOptionType<
|
|
148
|
+
ImageDigestDoesNotMatchException,
|
|
149
|
+
__BaseException
|
|
150
|
+
>
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
export declare class ImageTagAlreadyExistsException extends __BaseException {
|
|
154
|
+
readonly name: "ImageTagAlreadyExistsException";
|
|
155
|
+
readonly $fault: "client";
|
|
156
|
+
constructor(
|
|
157
|
+
opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
export declare class InvalidLayerPartException extends __BaseException {
|
|
161
|
+
readonly name: "InvalidLayerPartException";
|
|
162
|
+
readonly $fault: "client";
|
|
163
|
+
registryId?: string | undefined;
|
|
164
|
+
repositoryName?: string | undefined;
|
|
165
|
+
uploadId?: string | undefined;
|
|
166
|
+
lastValidByteReceived?: number | undefined;
|
|
167
|
+
constructor(
|
|
168
|
+
opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
export declare class LayersNotFoundException extends __BaseException {
|
|
172
|
+
readonly name: "LayersNotFoundException";
|
|
173
|
+
readonly $fault: "client";
|
|
174
|
+
constructor(
|
|
175
|
+
opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
export declare class ReferencedImagesNotFoundException extends __BaseException {
|
|
179
|
+
readonly name: "ReferencedImagesNotFoundException";
|
|
180
|
+
readonly $fault: "client";
|
|
181
|
+
constructor(
|
|
182
|
+
opts: __ExceptionOptionType<
|
|
183
|
+
ReferencedImagesNotFoundException,
|
|
184
|
+
__BaseException
|
|
185
|
+
>
|
|
186
|
+
);
|
|
187
|
+
}
|