@aws-sdk/client-ecr-public 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.
@@ -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 { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICServiceException";
2
3
 
3
4
  export interface AuthorizationData {
4
5
 
@@ -69,28 +70,32 @@ export declare namespace BatchCheckLayerAvailabilityResponse {
69
70
  const filterSensitiveLog: (obj: BatchCheckLayerAvailabilityResponse) => any;
70
71
  }
71
72
 
72
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
73
- name: "InvalidParameterException";
74
- $fault: "client";
75
- message?: string;
73
+ export declare class InvalidParameterException extends __BaseException {
74
+ readonly name: "InvalidParameterException";
75
+ readonly $fault: "client";
76
+
77
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
76
78
  }
77
79
 
78
- export interface RegistryNotFoundException extends __SmithyException, $MetadataBearer {
79
- name: "RegistryNotFoundException";
80
- $fault: "client";
81
- message?: string;
80
+ export declare class RegistryNotFoundException extends __BaseException {
81
+ readonly name: "RegistryNotFoundException";
82
+ readonly $fault: "client";
83
+
84
+ constructor(opts: __ExceptionOptionType<RegistryNotFoundException, __BaseException>);
82
85
  }
83
86
 
84
- export interface RepositoryNotFoundException extends __SmithyException, $MetadataBearer {
85
- name: "RepositoryNotFoundException";
86
- $fault: "client";
87
- message?: string;
87
+ export declare class RepositoryNotFoundException extends __BaseException {
88
+ readonly name: "RepositoryNotFoundException";
89
+ readonly $fault: "client";
90
+
91
+ constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
88
92
  }
89
93
 
90
- export interface ServerException extends __SmithyException, $MetadataBearer {
91
- name: "ServerException";
92
- $fault: "server";
93
- message?: string;
94
+ export declare class ServerException extends __BaseException {
95
+ readonly name: "ServerException";
96
+ readonly $fault: "server";
97
+
98
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
94
99
  }
95
100
 
96
101
  export interface ImageIdentifier {
@@ -176,40 +181,46 @@ export declare namespace CompleteLayerUploadResponse {
176
181
  const filterSensitiveLog: (obj: CompleteLayerUploadResponse) => any;
177
182
  }
178
183
 
179
- export interface EmptyUploadException extends __SmithyException, $MetadataBearer {
180
- name: "EmptyUploadException";
181
- $fault: "client";
182
- message?: string;
184
+ export declare class EmptyUploadException extends __BaseException {
185
+ readonly name: "EmptyUploadException";
186
+ readonly $fault: "client";
187
+
188
+ constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
183
189
  }
184
190
 
185
- export interface InvalidLayerException extends __SmithyException, $MetadataBearer {
186
- name: "InvalidLayerException";
187
- $fault: "client";
188
- message?: string;
191
+ export declare class InvalidLayerException extends __BaseException {
192
+ readonly name: "InvalidLayerException";
193
+ readonly $fault: "client";
194
+
195
+ constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
189
196
  }
190
197
 
191
- export interface LayerAlreadyExistsException extends __SmithyException, $MetadataBearer {
192
- name: "LayerAlreadyExistsException";
193
- $fault: "client";
194
- message?: string;
198
+ export declare class LayerAlreadyExistsException extends __BaseException {
199
+ readonly name: "LayerAlreadyExistsException";
200
+ readonly $fault: "client";
201
+
202
+ constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
195
203
  }
196
204
 
197
- export interface LayerPartTooSmallException extends __SmithyException, $MetadataBearer {
198
- name: "LayerPartTooSmallException";
199
- $fault: "client";
200
- message?: string;
205
+ export declare class LayerPartTooSmallException extends __BaseException {
206
+ readonly name: "LayerPartTooSmallException";
207
+ readonly $fault: "client";
208
+
209
+ constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
201
210
  }
202
211
 
203
- export interface UnsupportedCommandException extends __SmithyException, $MetadataBearer {
204
- name: "UnsupportedCommandException";
205
- $fault: "client";
206
- message?: string;
212
+ export declare class UnsupportedCommandException extends __BaseException {
213
+ readonly name: "UnsupportedCommandException";
214
+ readonly $fault: "client";
215
+
216
+ constructor(opts: __ExceptionOptionType<UnsupportedCommandException, __BaseException>);
207
217
  }
208
218
 
209
- export interface UploadNotFoundException extends __SmithyException, $MetadataBearer {
210
- name: "UploadNotFoundException";
211
- $fault: "client";
212
- message?: string;
219
+ export declare class UploadNotFoundException extends __BaseException {
220
+ readonly name: "UploadNotFoundException";
221
+ readonly $fault: "client";
222
+
223
+ constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
213
224
  }
214
225
 
215
226
  export interface RepositoryCatalogDataInput {
@@ -302,28 +313,32 @@ export declare namespace CreateRepositoryResponse {
302
313
  const filterSensitiveLog: (obj: CreateRepositoryResponse) => any;
303
314
  }
304
315
 
305
- export interface InvalidTagParameterException extends __SmithyException, $MetadataBearer {
306
- name: "InvalidTagParameterException";
307
- $fault: "client";
308
- message?: string;
316
+ export declare class InvalidTagParameterException extends __BaseException {
317
+ readonly name: "InvalidTagParameterException";
318
+ readonly $fault: "client";
319
+
320
+ constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
309
321
  }
310
322
 
311
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
312
- name: "LimitExceededException";
313
- $fault: "client";
314
- message?: string;
323
+ export declare class LimitExceededException extends __BaseException {
324
+ readonly name: "LimitExceededException";
325
+ readonly $fault: "client";
326
+
327
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
315
328
  }
316
329
 
317
- export interface RepositoryAlreadyExistsException extends __SmithyException, $MetadataBearer {
318
- name: "RepositoryAlreadyExistsException";
319
- $fault: "client";
320
- message?: string;
330
+ export declare class RepositoryAlreadyExistsException extends __BaseException {
331
+ readonly name: "RepositoryAlreadyExistsException";
332
+ readonly $fault: "client";
333
+
334
+ constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
321
335
  }
322
336
 
323
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
324
- name: "TooManyTagsException";
325
- $fault: "client";
326
- message?: string;
337
+ export declare class TooManyTagsException extends __BaseException {
338
+ readonly name: "TooManyTagsException";
339
+ readonly $fault: "client";
340
+
341
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
327
342
  }
328
343
  export interface DeleteRepositoryRequest {
329
344
 
@@ -346,10 +361,11 @@ export declare namespace DeleteRepositoryResponse {
346
361
  const filterSensitiveLog: (obj: DeleteRepositoryResponse) => any;
347
362
  }
348
363
 
349
- export interface RepositoryNotEmptyException extends __SmithyException, $MetadataBearer {
350
- name: "RepositoryNotEmptyException";
351
- $fault: "client";
352
- message?: string;
364
+ export declare class RepositoryNotEmptyException extends __BaseException {
365
+ readonly name: "RepositoryNotEmptyException";
366
+ readonly $fault: "client";
367
+
368
+ constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
353
369
  }
354
370
  export interface DeleteRepositoryPolicyRequest {
355
371
 
@@ -374,10 +390,11 @@ export declare namespace DeleteRepositoryPolicyResponse {
374
390
  const filterSensitiveLog: (obj: DeleteRepositoryPolicyResponse) => any;
375
391
  }
376
392
 
377
- export interface RepositoryPolicyNotFoundException extends __SmithyException, $MetadataBearer {
378
- name: "RepositoryPolicyNotFoundException";
379
- $fault: "client";
380
- message?: string;
393
+ export declare class RepositoryPolicyNotFoundException extends __BaseException {
394
+ readonly name: "RepositoryPolicyNotFoundException";
395
+ readonly $fault: "client";
396
+
397
+ constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
381
398
  }
382
399
  export interface DescribeImagesRequest {
383
400
 
@@ -429,10 +446,11 @@ export declare namespace DescribeImagesResponse {
429
446
  const filterSensitiveLog: (obj: DescribeImagesResponse) => any;
430
447
  }
431
448
 
432
- export interface ImageNotFoundException extends __SmithyException, $MetadataBearer {
433
- name: "ImageNotFoundException";
434
- $fault: "client";
435
- message?: string;
449
+ export declare class ImageNotFoundException extends __BaseException {
450
+ readonly name: "ImageNotFoundException";
451
+ readonly $fault: "client";
452
+
453
+ constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
436
454
  }
437
455
  export interface DescribeImageTagsRequest {
438
456
 
@@ -664,22 +682,25 @@ export declare namespace Image {
664
682
  const filterSensitiveLog: (obj: Image) => any;
665
683
  }
666
684
 
667
- export interface ImageAlreadyExistsException extends __SmithyException, $MetadataBearer {
668
- name: "ImageAlreadyExistsException";
669
- $fault: "client";
670
- message?: string;
685
+ export declare class ImageAlreadyExistsException extends __BaseException {
686
+ readonly name: "ImageAlreadyExistsException";
687
+ readonly $fault: "client";
688
+
689
+ constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
671
690
  }
672
691
 
673
- export interface ImageDigestDoesNotMatchException extends __SmithyException, $MetadataBearer {
674
- name: "ImageDigestDoesNotMatchException";
675
- $fault: "client";
676
- message?: string;
692
+ export declare class ImageDigestDoesNotMatchException extends __BaseException {
693
+ readonly name: "ImageDigestDoesNotMatchException";
694
+ readonly $fault: "client";
695
+
696
+ constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
677
697
  }
678
698
 
679
- export interface ImageTagAlreadyExistsException extends __SmithyException, $MetadataBearer {
680
- name: "ImageTagAlreadyExistsException";
681
- $fault: "client";
682
- message?: string;
699
+ export declare class ImageTagAlreadyExistsException extends __BaseException {
700
+ readonly name: "ImageTagAlreadyExistsException";
701
+ readonly $fault: "client";
702
+
703
+ constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
683
704
  }
684
705
  export interface InitiateLayerUploadRequest {
685
706
 
@@ -702,9 +723,9 @@ export declare namespace InitiateLayerUploadResponse {
702
723
  const filterSensitiveLog: (obj: InitiateLayerUploadResponse) => any;
703
724
  }
704
725
 
705
- export interface InvalidLayerPartException extends __SmithyException, $MetadataBearer {
706
- name: "InvalidLayerPartException";
707
- $fault: "client";
726
+ export declare class InvalidLayerPartException extends __BaseException {
727
+ readonly name: "InvalidLayerPartException";
728
+ readonly $fault: "client";
708
729
 
709
730
  registryId?: string;
710
731
 
@@ -713,13 +734,15 @@ export interface InvalidLayerPartException extends __SmithyException, $MetadataB
713
734
  uploadId?: string;
714
735
 
715
736
  lastValidByteReceived?: number;
716
- message?: string;
737
+
738
+ constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
717
739
  }
718
740
 
719
- export interface LayersNotFoundException extends __SmithyException, $MetadataBearer {
720
- name: "LayersNotFoundException";
721
- $fault: "client";
722
- message?: string;
741
+ export declare class LayersNotFoundException extends __BaseException {
742
+ readonly name: "LayersNotFoundException";
743
+ readonly $fault: "client";
744
+
745
+ constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
723
746
  }
724
747
  export interface ListTagsForResourceRequest {
725
748
 
@@ -764,10 +787,11 @@ export declare namespace PutImageResponse {
764
787
  const filterSensitiveLog: (obj: PutImageResponse) => any;
765
788
  }
766
789
 
767
- export interface ReferencedImagesNotFoundException extends __SmithyException, $MetadataBearer {
768
- name: "ReferencedImagesNotFoundException";
769
- $fault: "client";
770
- message?: string;
790
+ export declare class ReferencedImagesNotFoundException extends __BaseException {
791
+ readonly name: "ReferencedImagesNotFoundException";
792
+ readonly $fault: "client";
793
+
794
+ constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
771
795
  }
772
796
  export interface PutRegistryCatalogDataRequest {
773
797
 
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.52.0",
4
+ "version": "3.53.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",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"