@aws-sdk/client-ecr 3.52.0 → 3.53.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.
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { ECRServiceException } from "./models/ECRServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from ECR service.
4
+ */
5
+ export declare class ECRServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ECRServiceException as __BaseException } from "./ECRServiceException";
2
3
  export interface BatchCheckLayerAvailabilityRequest {
3
4
  /**
4
5
  * <p>The Amazon Web Services account ID associated with the registry that contains the image layers to
@@ -101,36 +102,36 @@ export declare namespace BatchCheckLayerAvailabilityResponse {
101
102
  * <p>The specified parameter is invalid. Review the available parameters for the API
102
103
  * request.</p>
103
104
  */
104
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
105
- name: "InvalidParameterException";
106
- $fault: "client";
105
+ export declare class InvalidParameterException extends __BaseException {
106
+ readonly name: "InvalidParameterException";
107
+ readonly $fault: "client";
107
108
  /**
108
- * <p>The error message associated with the exception.</p>
109
+ * @internal
109
110
  */
110
- message?: string;
111
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
111
112
  }
112
113
  /**
113
114
  * <p>The specified repository could not be found. Check the spelling of the specified
114
115
  * repository and ensure that you are performing operations on the correct registry.</p>
115
116
  */
116
- export interface RepositoryNotFoundException extends __SmithyException, $MetadataBearer {
117
- name: "RepositoryNotFoundException";
118
- $fault: "client";
117
+ export declare class RepositoryNotFoundException extends __BaseException {
118
+ readonly name: "RepositoryNotFoundException";
119
+ readonly $fault: "client";
119
120
  /**
120
- * <p>The error message associated with the exception.</p>
121
+ * @internal
121
122
  */
122
- message?: string;
123
+ constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
123
124
  }
124
125
  /**
125
126
  * <p>These errors are usually caused by a server-side issue.</p>
126
127
  */
127
- export interface ServerException extends __SmithyException, $MetadataBearer {
128
- name: "ServerException";
129
- $fault: "server";
128
+ export declare class ServerException extends __BaseException {
129
+ readonly name: "ServerException";
130
+ readonly $fault: "server";
130
131
  /**
131
- * <p>The error message associated with the exception.</p>
132
+ * @internal
132
133
  */
133
- message?: string;
134
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
134
135
  }
135
136
  /**
136
137
  * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
@@ -420,10 +421,13 @@ export declare namespace BatchGetRepositoryScanningConfigurationResponse {
420
421
  /**
421
422
  * <p>There was an exception validating this request.</p>
422
423
  */
423
- export interface ValidationException extends __SmithyException, $MetadataBearer {
424
- name: "ValidationException";
425
- $fault: "client";
426
- message?: string;
424
+ export declare class ValidationException extends __BaseException {
425
+ readonly name: "ValidationException";
426
+ readonly $fault: "client";
427
+ /**
428
+ * @internal
429
+ */
430
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
427
431
  }
428
432
  export interface CompleteLayerUploadRequest {
429
433
  /**
@@ -478,71 +482,74 @@ export declare namespace CompleteLayerUploadResponse {
478
482
  /**
479
483
  * <p>The specified layer upload does not contain any layer parts.</p>
480
484
  */
481
- export interface EmptyUploadException extends __SmithyException, $MetadataBearer {
482
- name: "EmptyUploadException";
483
- $fault: "client";
485
+ export declare class EmptyUploadException extends __BaseException {
486
+ readonly name: "EmptyUploadException";
487
+ readonly $fault: "client";
484
488
  /**
485
- * <p>The error message associated with the exception.</p>
489
+ * @internal
486
490
  */
487
- message?: string;
491
+ constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
488
492
  }
489
493
  /**
490
494
  * <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
491
495
  * not match the digest specified.</p>
492
496
  */
493
- export interface InvalidLayerException extends __SmithyException, $MetadataBearer {
494
- name: "InvalidLayerException";
495
- $fault: "client";
497
+ export declare class InvalidLayerException extends __BaseException {
498
+ readonly name: "InvalidLayerException";
499
+ readonly $fault: "client";
496
500
  /**
497
- * <p>The error message associated with the exception.</p>
501
+ * @internal
498
502
  */
499
- message?: string;
503
+ constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
500
504
  }
501
505
  /**
502
506
  * <p>The operation failed due to a KMS exception.</p>
503
507
  */
504
- export interface KmsException extends __SmithyException, $MetadataBearer {
505
- name: "KmsException";
506
- $fault: "client";
507
- message?: string;
508
+ export declare class KmsException extends __BaseException {
509
+ readonly name: "KmsException";
510
+ readonly $fault: "client";
508
511
  /**
509
512
  * <p>The error code returned by KMS.</p>
510
513
  */
511
514
  kmsError?: string;
515
+ /**
516
+ * @internal
517
+ */
518
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
512
519
  }
513
520
  /**
514
521
  * <p>The image layer already exists in the associated repository.</p>
515
522
  */
516
- export interface LayerAlreadyExistsException extends __SmithyException, $MetadataBearer {
517
- name: "LayerAlreadyExistsException";
518
- $fault: "client";
523
+ export declare class LayerAlreadyExistsException extends __BaseException {
524
+ readonly name: "LayerAlreadyExistsException";
525
+ readonly $fault: "client";
519
526
  /**
520
- * <p>The error message associated with the exception.</p>
527
+ * @internal
521
528
  */
522
- message?: string;
529
+ constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
523
530
  }
524
531
  /**
525
532
  * <p>Layer parts must be at least 5 MiB in size.</p>
526
533
  */
527
- export interface LayerPartTooSmallException extends __SmithyException, $MetadataBearer {
528
- name: "LayerPartTooSmallException";
529
- $fault: "client";
534
+ export declare class LayerPartTooSmallException extends __BaseException {
535
+ readonly name: "LayerPartTooSmallException";
536
+ readonly $fault: "client";
530
537
  /**
531
- * <p>The error message associated with the exception.</p>
538
+ * @internal
532
539
  */
533
- message?: string;
540
+ constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
534
541
  }
535
542
  /**
536
543
  * <p>The upload could not be found, or the specified upload ID is not valid for this
537
544
  * repository.</p>
538
545
  */
539
- export interface UploadNotFoundException extends __SmithyException, $MetadataBearer {
540
- name: "UploadNotFoundException";
541
- $fault: "client";
546
+ export declare class UploadNotFoundException extends __BaseException {
547
+ readonly name: "UploadNotFoundException";
548
+ readonly $fault: "client";
542
549
  /**
543
- * <p>The error message associated with the exception.</p>
550
+ * @internal
544
551
  */
545
- message?: string;
552
+ constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
546
553
  }
547
554
  export interface CreatePullThroughCacheRuleRequest {
548
555
  /**
@@ -596,30 +603,36 @@ export declare namespace CreatePullThroughCacheRuleResponse {
596
603
  * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
597
604
  * the Amazon Elastic Container Registry User Guide.</p>
598
605
  */
599
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
600
- name: "LimitExceededException";
601
- $fault: "client";
606
+ export declare class LimitExceededException extends __BaseException {
607
+ readonly name: "LimitExceededException";
608
+ readonly $fault: "client";
602
609
  /**
603
- * <p>The error message associated with the exception.</p>
610
+ * @internal
604
611
  */
605
- message?: string;
612
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
606
613
  }
607
614
  /**
608
615
  * <p>A pull through cache rule with these settings already exists for the private
609
616
  * registry.</p>
610
617
  */
611
- export interface PullThroughCacheRuleAlreadyExistsException extends __SmithyException, $MetadataBearer {
612
- name: "PullThroughCacheRuleAlreadyExistsException";
613
- $fault: "client";
614
- message?: string;
618
+ export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
619
+ readonly name: "PullThroughCacheRuleAlreadyExistsException";
620
+ readonly $fault: "client";
621
+ /**
622
+ * @internal
623
+ */
624
+ constructor(opts: __ExceptionOptionType<PullThroughCacheRuleAlreadyExistsException, __BaseException>);
615
625
  }
616
626
  /**
617
627
  * <p>The specified upstream registry isn't supported.</p>
618
628
  */
619
- export interface UnsupportedUpstreamRegistryException extends __SmithyException, $MetadataBearer {
620
- name: "UnsupportedUpstreamRegistryException";
621
- $fault: "client";
622
- message?: string;
629
+ export declare class UnsupportedUpstreamRegistryException extends __BaseException {
630
+ readonly name: "UnsupportedUpstreamRegistryException";
631
+ readonly $fault: "client";
632
+ /**
633
+ * @internal
634
+ */
635
+ constructor(opts: __ExceptionOptionType<UnsupportedUpstreamRegistryException, __BaseException>);
623
636
  }
624
637
  export declare enum EncryptionType {
625
638
  AES256 = "AES256",
@@ -820,30 +833,36 @@ export declare namespace CreateRepositoryResponse {
820
833
  * <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
821
834
  * a maximum length of 256 characters.</p>
822
835
  */
823
- export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
824
- name: "InvalidTagParameterException";
825
- $fault: "client";
826
- message?: string;
836
+ export declare class InvalidTagParameterException extends __BaseException {
837
+ readonly name: "InvalidTagParameterException";
838
+ readonly $fault: "client";
839
+ /**
840
+ * @internal
841
+ */
842
+ constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
827
843
  }
828
844
  /**
829
845
  * <p>The specified repository already exists in the specified registry.</p>
830
846
  */
831
- export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
832
- name: "RepositoryAlreadyExistsException";
833
- $fault: "client";
847
+ export declare class RepositoryAlreadyExistsException extends __BaseException {
848
+ readonly name: "RepositoryAlreadyExistsException";
849
+ readonly $fault: "client";
834
850
  /**
835
- * <p>The error message associated with the exception.</p>
851
+ * @internal
836
852
  */
837
- message?: string;
853
+ constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
838
854
  }
839
855
  /**
840
856
  * <p>The list of tags on the repository is over the limit. The maximum number of tags that
841
857
  * can be applied to a repository is 50.</p>
842
858
  */
843
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
844
- name: "TooManyTagsException";
845
- $fault: "client";
846
- message?: string;
859
+ export declare class TooManyTagsException extends __BaseException {
860
+ readonly name: "TooManyTagsException";
861
+ readonly $fault: "client";
862
+ /**
863
+ * @internal
864
+ */
865
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
847
866
  }
848
867
  export interface DeleteLifecyclePolicyRequest {
849
868
  /**
@@ -890,10 +909,13 @@ export declare namespace DeleteLifecyclePolicyResponse {
890
909
  * <p>The lifecycle policy could not be found, and no policy is set to the
891
910
  * repository.</p>
892
911
  */
893
- export interface LifecyclePolicyNotFoundException extends __SmithyException, $MetadataBearer {
894
- name: "LifecyclePolicyNotFoundException";
895
- $fault: "client";
896
- message?: string;
912
+ export declare class LifecyclePolicyNotFoundException extends __BaseException {
913
+ readonly name: "LifecyclePolicyNotFoundException";
914
+ readonly $fault: "client";
915
+ /**
916
+ * @internal
917
+ */
918
+ constructor(opts: __ExceptionOptionType<LifecyclePolicyNotFoundException, __BaseException>);
897
919
  }
898
920
  export interface DeletePullThroughCacheRuleRequest {
899
921
  /**
@@ -941,10 +963,13 @@ export declare namespace DeletePullThroughCacheRuleResponse {
941
963
  * <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
942
964
  * try again.</p>
943
965
  */
944
- export interface PullThroughCacheRuleNotFoundException extends __SmithyException, $MetadataBearer {
945
- name: "PullThroughCacheRuleNotFoundException";
946
- $fault: "client";
947
- message?: string;
966
+ export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
967
+ readonly name: "PullThroughCacheRuleNotFoundException";
968
+ readonly $fault: "client";
969
+ /**
970
+ * @internal
971
+ */
972
+ constructor(opts: __ExceptionOptionType<PullThroughCacheRuleNotFoundException, __BaseException>);
948
973
  }
949
974
  export interface DeleteRegistryPolicyRequest {
950
975
  }
@@ -973,10 +998,13 @@ export declare namespace DeleteRegistryPolicyResponse {
973
998
  /**
974
999
  * <p>The registry doesn't have an associated registry policy.</p>
975
1000
  */
976
- export interface RegistryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
977
- name: "RegistryPolicyNotFoundException";
978
- $fault: "client";
979
- message?: string;
1001
+ export declare class RegistryPolicyNotFoundException extends __BaseException {
1002
+ readonly name: "RegistryPolicyNotFoundException";
1003
+ readonly $fault: "client";
1004
+ /**
1005
+ * @internal
1006
+ */
1007
+ constructor(opts: __ExceptionOptionType<RegistryPolicyNotFoundException, __BaseException>);
980
1008
  }
981
1009
  export interface DeleteRepositoryRequest {
982
1010
  /**
@@ -1015,13 +1043,13 @@ export declare namespace DeleteRepositoryResponse {
1015
1043
  * <p>The specified repository contains images. To delete a repository that contains images,
1016
1044
  * you must force the deletion with the <code>force</code> parameter.</p>
1017
1045
  */
1018
- export interface RepositoryNotEmptyException extends __SmithyException, $MetadataBearer {
1019
- name: "RepositoryNotEmptyException";
1020
- $fault: "client";
1046
+ export declare class RepositoryNotEmptyException extends __BaseException {
1047
+ readonly name: "RepositoryNotEmptyException";
1048
+ readonly $fault: "client";
1021
1049
  /**
1022
- * <p>The error message associated with the exception.</p>
1050
+ * @internal
1023
1051
  */
1024
- message?: string;
1052
+ constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
1025
1053
  }
1026
1054
  export interface DeleteRepositoryPolicyRequest {
1027
1055
  /**
@@ -1065,13 +1093,13 @@ export declare namespace DeleteRepositoryPolicyResponse {
1065
1093
  * <p>The specified repository and registry combination does not have an associated
1066
1094
  * repository policy.</p>
1067
1095
  */
1068
- export interface RepositoryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
1069
- name: "RepositoryPolicyNotFoundException";
1070
- $fault: "client";
1096
+ export declare class RepositoryPolicyNotFoundException extends __BaseException {
1097
+ readonly name: "RepositoryPolicyNotFoundException";
1098
+ readonly $fault: "client";
1071
1099
  /**
1072
- * <p>The error message associated with the exception.</p>
1100
+ * @internal
1073
1101
  */
1074
- message?: string;
1102
+ constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
1075
1103
  }
1076
1104
  export interface DescribeImageReplicationStatusRequest {
1077
1105
  /**
@@ -1148,10 +1176,13 @@ export declare namespace DescribeImageReplicationStatusResponse {
1148
1176
  /**
1149
1177
  * <p>The image requested does not exist in the specified repository.</p>
1150
1178
  */
1151
- export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
1152
- name: "ImageNotFoundException";
1153
- $fault: "client";
1154
- message?: string;
1179
+ export declare class ImageNotFoundException extends __BaseException {
1180
+ readonly name: "ImageNotFoundException";
1181
+ readonly $fault: "client";
1182
+ /**
1183
+ * @internal
1184
+ */
1185
+ constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
1155
1186
  }
1156
1187
  export declare enum TagStatus {
1157
1188
  ANY = "ANY",
@@ -1913,10 +1944,13 @@ export declare namespace DescribeImageScanFindingsResponse {
1913
1944
  * <p>The specified image scan could not be found. Ensure that image scanning is enabled on
1914
1945
  * the repository and try again.</p>
1915
1946
  */
1916
- export interface ScanNotFoundException extends __SmithyException, $MetadataBearer {
1917
- name: "ScanNotFoundException";
1918
- $fault: "client";
1919
- message?: string;
1947
+ export declare class ScanNotFoundException extends __BaseException {
1948
+ readonly name: "ScanNotFoundException";
1949
+ readonly $fault: "client";
1950
+ /**
1951
+ * @internal
1952
+ */
1953
+ constructor(opts: __ExceptionOptionType<ScanNotFoundException, __BaseException>);
1920
1954
  }
1921
1955
  export interface DescribePullThroughCacheRulesRequest {
1922
1956
  /**
@@ -2280,25 +2314,25 @@ export declare namespace GetDownloadUrlForLayerResponse {
2280
2314
  * <p>The specified layer is not available because it is not associated with an image.
2281
2315
  * Unassociated image layers may be cleaned up at any time.</p>
2282
2316
  */
2283
- export interface LayerInaccessibleException extends __SmithyException, $MetadataBearer {
2284
- name: "LayerInaccessibleException";
2285
- $fault: "client";
2317
+ export declare class LayerInaccessibleException extends __BaseException {
2318
+ readonly name: "LayerInaccessibleException";
2319
+ readonly $fault: "client";
2286
2320
  /**
2287
- * <p>The error message associated with the exception.</p>
2321
+ * @internal
2288
2322
  */
2289
- message?: string;
2323
+ constructor(opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>);
2290
2324
  }
2291
2325
  /**
2292
2326
  * <p>The specified layers could not be found, or the specified layer is not valid for this
2293
2327
  * repository.</p>
2294
2328
  */
2295
- export interface LayersNotFoundException extends __SmithyException, $MetadataBearer {
2296
- name: "LayersNotFoundException";
2297
- $fault: "client";
2329
+ export declare class LayersNotFoundException extends __BaseException {
2330
+ readonly name: "LayersNotFoundException";
2331
+ readonly $fault: "client";
2298
2332
  /**
2299
- * <p>The error message associated with the exception.</p>
2333
+ * @internal
2300
2334
  */
2301
- message?: string;
2335
+ constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
2302
2336
  }
2303
2337
  export interface GetLifecyclePolicyRequest {
2304
2338
  /**
@@ -2529,10 +2563,13 @@ export declare namespace GetLifecyclePolicyPreviewResponse {
2529
2563
  /**
2530
2564
  * <p>There is no dry run for this repository.</p>
2531
2565
  */
2532
- export interface LifecyclePolicyPreviewNotFoundException extends __SmithyException, $MetadataBearer {
2533
- name: "LifecyclePolicyPreviewNotFoundException";
2534
- $fault: "client";
2535
- message?: string;
2566
+ export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
2567
+ readonly name: "LifecyclePolicyPreviewNotFoundException";
2568
+ readonly $fault: "client";
2569
+ /**
2570
+ * @internal
2571
+ */
2572
+ constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewNotFoundException, __BaseException>);
2536
2573
  }
2537
2574
  export interface GetRegistryPolicyRequest {
2538
2575
  }
@@ -2807,31 +2844,37 @@ export declare namespace ListTagsForResourceResponse {
2807
2844
  * <p>The specified image has already been pushed, and there were no changes to the manifest
2808
2845
  * or image tag after the last push.</p>
2809
2846
  */
2810
- export interface ImageAlreadyExistsException extends __SmithyException, $MetadataBearer {
2811
- name: "ImageAlreadyExistsException";
2812
- $fault: "client";
2847
+ export declare class ImageAlreadyExistsException extends __BaseException {
2848
+ readonly name: "ImageAlreadyExistsException";
2849
+ readonly $fault: "client";
2813
2850
  /**
2814
- * <p>The error message associated with the exception.</p>
2851
+ * @internal
2815
2852
  */
2816
- message?: string;
2853
+ constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
2817
2854
  }
2818
2855
  /**
2819
2856
  * <p>The specified image digest does not match the digest that Amazon ECR calculated for the
2820
2857
  * image.</p>
2821
2858
  */
2822
- export interface ImageDigestDoesNotMatchException extends __SmithyException, $MetadataBearer {
2823
- name: "ImageDigestDoesNotMatchException";
2824
- $fault: "client";
2825
- message?: string;
2859
+ export declare class ImageDigestDoesNotMatchException extends __BaseException {
2860
+ readonly name: "ImageDigestDoesNotMatchException";
2861
+ readonly $fault: "client";
2862
+ /**
2863
+ * @internal
2864
+ */
2865
+ constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
2826
2866
  }
2827
2867
  /**
2828
2868
  * <p>The specified image is tagged with a tag that already exists. The repository is
2829
2869
  * configured for tag immutability.</p>
2830
2870
  */
2831
- export interface ImageTagAlreadyExistsException extends __SmithyException, $MetadataBearer {
2832
- name: "ImageTagAlreadyExistsException";
2833
- $fault: "client";
2834
- message?: string;
2871
+ export declare class ImageTagAlreadyExistsException extends __BaseException {
2872
+ readonly name: "ImageTagAlreadyExistsException";
2873
+ readonly $fault: "client";
2874
+ /**
2875
+ * @internal
2876
+ */
2877
+ constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
2835
2878
  }
2836
2879
  export interface PutImageRequest {
2837
2880
  /**
@@ -2884,10 +2927,13 @@ export declare namespace PutImageResponse {
2884
2927
  /**
2885
2928
  * <p>The manifest list is referencing an image that does not exist.</p>
2886
2929
  */
2887
- export interface ReferencedImagesNotFoundException extends __SmithyException, $MetadataBearer {
2888
- name: "ReferencedImagesNotFoundException";
2889
- $fault: "client";
2890
- message?: string;
2930
+ export declare class ReferencedImagesNotFoundException extends __BaseException {
2931
+ readonly name: "ReferencedImagesNotFoundException";
2932
+ readonly $fault: "client";
2933
+ /**
2934
+ * @internal
2935
+ */
2936
+ constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
2891
2937
  }
2892
2938
  export interface PutImageScanningConfigurationRequest {
2893
2939
  /**
@@ -3207,19 +3253,25 @@ export declare namespace StartImageScanResponse {
3207
3253
  /**
3208
3254
  * <p>The image is of a type that cannot be scanned.</p>
3209
3255
  */
3210
- export interface UnsupportedImageTypeException extends __SmithyException, $MetadataBearer {
3211
- name: "UnsupportedImageTypeException";
3212
- $fault: "client";
3213
- message?: string;
3256
+ export declare class UnsupportedImageTypeException extends __BaseException {
3257
+ readonly name: "UnsupportedImageTypeException";
3258
+ readonly $fault: "client";
3259
+ /**
3260
+ * @internal
3261
+ */
3262
+ constructor(opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>);
3214
3263
  }
3215
3264
  /**
3216
3265
  * <p>The previous lifecycle policy preview request has not completed. Wait and try
3217
3266
  * again.</p>
3218
3267
  */
3219
- export interface LifecyclePolicyPreviewInProgressException extends __SmithyException, $MetadataBearer {
3220
- name: "LifecyclePolicyPreviewInProgressException";
3221
- $fault: "client";
3222
- message?: string;
3268
+ export declare class LifecyclePolicyPreviewInProgressException extends __BaseException {
3269
+ readonly name: "LifecyclePolicyPreviewInProgressException";
3270
+ readonly $fault: "client";
3271
+ /**
3272
+ * @internal
3273
+ */
3274
+ constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewInProgressException, __BaseException>);
3223
3275
  }
3224
3276
  export interface StartLifecyclePolicyPreviewRequest {
3225
3277
  /**
@@ -3323,9 +3375,9 @@ export declare namespace UntagResourceResponse {
3323
3375
  * <p>The layer part size is not valid, or the first byte specified is not consecutive to
3324
3376
  * the last byte of a previous layer part upload.</p>
3325
3377
  */
3326
- export interface InvalidLayerPartException extends __SmithyException, $MetadataBearer {
3327
- name: "InvalidLayerPartException";
3328
- $fault: "client";
3378
+ export declare class InvalidLayerPartException extends __BaseException {
3379
+ readonly name: "InvalidLayerPartException";
3380
+ readonly $fault: "client";
3329
3381
  /**
3330
3382
  * <p>The registry ID associated with the exception.</p>
3331
3383
  */
@@ -3344,9 +3396,9 @@ export interface InvalidLayerPartException extends __SmithyException, $MetadataB
3344
3396
  */
3345
3397
  lastValidByteReceived?: number;
3346
3398
  /**
3347
- * <p>The error message associated with the exception.</p>
3399
+ * @internal
3348
3400
  */
3349
- message?: string;
3401
+ constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
3350
3402
  }
3351
3403
  export interface UploadLayerPartRequest {
3352
3404
  /**
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { ECRServiceException } from "./models/ECRServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ECRServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }