@aws-sdk/client-ecr 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECRServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class ECRServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ECRServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ECRServiceException = ECRServiceException;
@@ -0,0 +1,612 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidLayerPartException = exports.ImageStorageClassUpdateNotSupportedException = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.ImageArchivedException = exports.ExclusionAlreadyExistsException = exports.BlockedByOrganizationPolicyException = exports.ReferencedImagesNotFoundException = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.LifecyclePolicyPreviewNotFoundException = exports.UnableToGetUpstreamLayerException = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.ScanNotFoundException = exports.ImageNotFoundException = exports.ExclusionNotFoundException = exports.SigningConfigurationNotFoundException = exports.RepositoryPolicyNotFoundException = exports.TemplateNotFoundException = exports.RepositoryNotEmptyException = exports.RegistryPolicyNotFoundException = exports.PullThroughCacheRuleNotFoundException = exports.LifecyclePolicyNotFoundException = exports.TemplateAlreadyExistsException = exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.InvalidTagParameterException = exports.UnsupportedUpstreamRegistryException = exports.UnableToDecryptSecretValueException = exports.UnableToAccessSecretException = exports.SecretNotFoundException = exports.PullThroughCacheRuleAlreadyExistsException = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.ValidationException = exports.UnableToGetUpstreamImageException = exports.LimitExceededException = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = void 0;
4
+ const ECRServiceException_1 = require("./ECRServiceException");
5
+ class InvalidParameterException extends ECRServiceException_1.ECRServiceException {
6
+ name = "InvalidParameterException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "InvalidParameterException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
15
+ }
16
+ }
17
+ exports.InvalidParameterException = InvalidParameterException;
18
+ class RepositoryNotFoundException extends ECRServiceException_1.ECRServiceException {
19
+ name = "RepositoryNotFoundException";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "RepositoryNotFoundException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);
28
+ }
29
+ }
30
+ exports.RepositoryNotFoundException = RepositoryNotFoundException;
31
+ class ServerException extends ECRServiceException_1.ECRServiceException {
32
+ name = "ServerException";
33
+ $fault = "server";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ServerException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ServerException.prototype);
41
+ }
42
+ }
43
+ exports.ServerException = ServerException;
44
+ class LimitExceededException extends ECRServiceException_1.ECRServiceException {
45
+ name = "LimitExceededException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "LimitExceededException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
54
+ }
55
+ }
56
+ exports.LimitExceededException = LimitExceededException;
57
+ class UnableToGetUpstreamImageException extends ECRServiceException_1.ECRServiceException {
58
+ name = "UnableToGetUpstreamImageException";
59
+ $fault = "client";
60
+ constructor(opts) {
61
+ super({
62
+ name: "UnableToGetUpstreamImageException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, UnableToGetUpstreamImageException.prototype);
67
+ }
68
+ }
69
+ exports.UnableToGetUpstreamImageException = UnableToGetUpstreamImageException;
70
+ class ValidationException extends ECRServiceException_1.ECRServiceException {
71
+ name = "ValidationException";
72
+ $fault = "client";
73
+ constructor(opts) {
74
+ super({
75
+ name: "ValidationException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ Object.setPrototypeOf(this, ValidationException.prototype);
80
+ }
81
+ }
82
+ exports.ValidationException = ValidationException;
83
+ class EmptyUploadException extends ECRServiceException_1.ECRServiceException {
84
+ name = "EmptyUploadException";
85
+ $fault = "client";
86
+ constructor(opts) {
87
+ super({
88
+ name: "EmptyUploadException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, EmptyUploadException.prototype);
93
+ }
94
+ }
95
+ exports.EmptyUploadException = EmptyUploadException;
96
+ class InvalidLayerException extends ECRServiceException_1.ECRServiceException {
97
+ name = "InvalidLayerException";
98
+ $fault = "client";
99
+ constructor(opts) {
100
+ super({
101
+ name: "InvalidLayerException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, InvalidLayerException.prototype);
106
+ }
107
+ }
108
+ exports.InvalidLayerException = InvalidLayerException;
109
+ class KmsException extends ECRServiceException_1.ECRServiceException {
110
+ name = "KmsException";
111
+ $fault = "client";
112
+ kmsError;
113
+ constructor(opts) {
114
+ super({
115
+ name: "KmsException",
116
+ $fault: "client",
117
+ ...opts,
118
+ });
119
+ Object.setPrototypeOf(this, KmsException.prototype);
120
+ this.kmsError = opts.kmsError;
121
+ }
122
+ }
123
+ exports.KmsException = KmsException;
124
+ class LayerAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
125
+ name = "LayerAlreadyExistsException";
126
+ $fault = "client";
127
+ constructor(opts) {
128
+ super({
129
+ name: "LayerAlreadyExistsException",
130
+ $fault: "client",
131
+ ...opts,
132
+ });
133
+ Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);
134
+ }
135
+ }
136
+ exports.LayerAlreadyExistsException = LayerAlreadyExistsException;
137
+ class LayerPartTooSmallException extends ECRServiceException_1.ECRServiceException {
138
+ name = "LayerPartTooSmallException";
139
+ $fault = "client";
140
+ constructor(opts) {
141
+ super({
142
+ name: "LayerPartTooSmallException",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);
147
+ }
148
+ }
149
+ exports.LayerPartTooSmallException = LayerPartTooSmallException;
150
+ class UploadNotFoundException extends ECRServiceException_1.ECRServiceException {
151
+ name = "UploadNotFoundException";
152
+ $fault = "client";
153
+ constructor(opts) {
154
+ super({
155
+ name: "UploadNotFoundException",
156
+ $fault: "client",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, UploadNotFoundException.prototype);
160
+ }
161
+ }
162
+ exports.UploadNotFoundException = UploadNotFoundException;
163
+ class PullThroughCacheRuleAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
164
+ name = "PullThroughCacheRuleAlreadyExistsException";
165
+ $fault = "client";
166
+ constructor(opts) {
167
+ super({
168
+ name: "PullThroughCacheRuleAlreadyExistsException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, PullThroughCacheRuleAlreadyExistsException.prototype);
173
+ }
174
+ }
175
+ exports.PullThroughCacheRuleAlreadyExistsException = PullThroughCacheRuleAlreadyExistsException;
176
+ class SecretNotFoundException extends ECRServiceException_1.ECRServiceException {
177
+ name = "SecretNotFoundException";
178
+ $fault = "client";
179
+ constructor(opts) {
180
+ super({
181
+ name: "SecretNotFoundException",
182
+ $fault: "client",
183
+ ...opts,
184
+ });
185
+ Object.setPrototypeOf(this, SecretNotFoundException.prototype);
186
+ }
187
+ }
188
+ exports.SecretNotFoundException = SecretNotFoundException;
189
+ class UnableToAccessSecretException extends ECRServiceException_1.ECRServiceException {
190
+ name = "UnableToAccessSecretException";
191
+ $fault = "client";
192
+ constructor(opts) {
193
+ super({
194
+ name: "UnableToAccessSecretException",
195
+ $fault: "client",
196
+ ...opts,
197
+ });
198
+ Object.setPrototypeOf(this, UnableToAccessSecretException.prototype);
199
+ }
200
+ }
201
+ exports.UnableToAccessSecretException = UnableToAccessSecretException;
202
+ class UnableToDecryptSecretValueException extends ECRServiceException_1.ECRServiceException {
203
+ name = "UnableToDecryptSecretValueException";
204
+ $fault = "client";
205
+ constructor(opts) {
206
+ super({
207
+ name: "UnableToDecryptSecretValueException",
208
+ $fault: "client",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, UnableToDecryptSecretValueException.prototype);
212
+ }
213
+ }
214
+ exports.UnableToDecryptSecretValueException = UnableToDecryptSecretValueException;
215
+ class UnsupportedUpstreamRegistryException extends ECRServiceException_1.ECRServiceException {
216
+ name = "UnsupportedUpstreamRegistryException";
217
+ $fault = "client";
218
+ constructor(opts) {
219
+ super({
220
+ name: "UnsupportedUpstreamRegistryException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, UnsupportedUpstreamRegistryException.prototype);
225
+ }
226
+ }
227
+ exports.UnsupportedUpstreamRegistryException = UnsupportedUpstreamRegistryException;
228
+ class InvalidTagParameterException extends ECRServiceException_1.ECRServiceException {
229
+ name = "InvalidTagParameterException";
230
+ $fault = "client";
231
+ constructor(opts) {
232
+ super({
233
+ name: "InvalidTagParameterException",
234
+ $fault: "client",
235
+ ...opts,
236
+ });
237
+ Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
238
+ }
239
+ }
240
+ exports.InvalidTagParameterException = InvalidTagParameterException;
241
+ class RepositoryAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
242
+ name = "RepositoryAlreadyExistsException";
243
+ $fault = "client";
244
+ constructor(opts) {
245
+ super({
246
+ name: "RepositoryAlreadyExistsException",
247
+ $fault: "client",
248
+ ...opts,
249
+ });
250
+ Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);
251
+ }
252
+ }
253
+ exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;
254
+ class TooManyTagsException extends ECRServiceException_1.ECRServiceException {
255
+ name = "TooManyTagsException";
256
+ $fault = "client";
257
+ constructor(opts) {
258
+ super({
259
+ name: "TooManyTagsException",
260
+ $fault: "client",
261
+ ...opts,
262
+ });
263
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
264
+ }
265
+ }
266
+ exports.TooManyTagsException = TooManyTagsException;
267
+ class TemplateAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
268
+ name = "TemplateAlreadyExistsException";
269
+ $fault = "client";
270
+ constructor(opts) {
271
+ super({
272
+ name: "TemplateAlreadyExistsException",
273
+ $fault: "client",
274
+ ...opts,
275
+ });
276
+ Object.setPrototypeOf(this, TemplateAlreadyExistsException.prototype);
277
+ }
278
+ }
279
+ exports.TemplateAlreadyExistsException = TemplateAlreadyExistsException;
280
+ class LifecyclePolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
281
+ name = "LifecyclePolicyNotFoundException";
282
+ $fault = "client";
283
+ constructor(opts) {
284
+ super({
285
+ name: "LifecyclePolicyNotFoundException",
286
+ $fault: "client",
287
+ ...opts,
288
+ });
289
+ Object.setPrototypeOf(this, LifecyclePolicyNotFoundException.prototype);
290
+ }
291
+ }
292
+ exports.LifecyclePolicyNotFoundException = LifecyclePolicyNotFoundException;
293
+ class PullThroughCacheRuleNotFoundException extends ECRServiceException_1.ECRServiceException {
294
+ name = "PullThroughCacheRuleNotFoundException";
295
+ $fault = "client";
296
+ constructor(opts) {
297
+ super({
298
+ name: "PullThroughCacheRuleNotFoundException",
299
+ $fault: "client",
300
+ ...opts,
301
+ });
302
+ Object.setPrototypeOf(this, PullThroughCacheRuleNotFoundException.prototype);
303
+ }
304
+ }
305
+ exports.PullThroughCacheRuleNotFoundException = PullThroughCacheRuleNotFoundException;
306
+ class RegistryPolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
307
+ name = "RegistryPolicyNotFoundException";
308
+ $fault = "client";
309
+ constructor(opts) {
310
+ super({
311
+ name: "RegistryPolicyNotFoundException",
312
+ $fault: "client",
313
+ ...opts,
314
+ });
315
+ Object.setPrototypeOf(this, RegistryPolicyNotFoundException.prototype);
316
+ }
317
+ }
318
+ exports.RegistryPolicyNotFoundException = RegistryPolicyNotFoundException;
319
+ class RepositoryNotEmptyException extends ECRServiceException_1.ECRServiceException {
320
+ name = "RepositoryNotEmptyException";
321
+ $fault = "client";
322
+ constructor(opts) {
323
+ super({
324
+ name: "RepositoryNotEmptyException",
325
+ $fault: "client",
326
+ ...opts,
327
+ });
328
+ Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
329
+ }
330
+ }
331
+ exports.RepositoryNotEmptyException = RepositoryNotEmptyException;
332
+ class TemplateNotFoundException extends ECRServiceException_1.ECRServiceException {
333
+ name = "TemplateNotFoundException";
334
+ $fault = "client";
335
+ constructor(opts) {
336
+ super({
337
+ name: "TemplateNotFoundException",
338
+ $fault: "client",
339
+ ...opts,
340
+ });
341
+ Object.setPrototypeOf(this, TemplateNotFoundException.prototype);
342
+ }
343
+ }
344
+ exports.TemplateNotFoundException = TemplateNotFoundException;
345
+ class RepositoryPolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
346
+ name = "RepositoryPolicyNotFoundException";
347
+ $fault = "client";
348
+ constructor(opts) {
349
+ super({
350
+ name: "RepositoryPolicyNotFoundException",
351
+ $fault: "client",
352
+ ...opts,
353
+ });
354
+ Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
355
+ }
356
+ }
357
+ exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
358
+ class SigningConfigurationNotFoundException extends ECRServiceException_1.ECRServiceException {
359
+ name = "SigningConfigurationNotFoundException";
360
+ $fault = "client";
361
+ constructor(opts) {
362
+ super({
363
+ name: "SigningConfigurationNotFoundException",
364
+ $fault: "client",
365
+ ...opts,
366
+ });
367
+ Object.setPrototypeOf(this, SigningConfigurationNotFoundException.prototype);
368
+ }
369
+ }
370
+ exports.SigningConfigurationNotFoundException = SigningConfigurationNotFoundException;
371
+ class ExclusionNotFoundException extends ECRServiceException_1.ECRServiceException {
372
+ name = "ExclusionNotFoundException";
373
+ $fault = "client";
374
+ constructor(opts) {
375
+ super({
376
+ name: "ExclusionNotFoundException",
377
+ $fault: "client",
378
+ ...opts,
379
+ });
380
+ Object.setPrototypeOf(this, ExclusionNotFoundException.prototype);
381
+ }
382
+ }
383
+ exports.ExclusionNotFoundException = ExclusionNotFoundException;
384
+ class ImageNotFoundException extends ECRServiceException_1.ECRServiceException {
385
+ name = "ImageNotFoundException";
386
+ $fault = "client";
387
+ constructor(opts) {
388
+ super({
389
+ name: "ImageNotFoundException",
390
+ $fault: "client",
391
+ ...opts,
392
+ });
393
+ Object.setPrototypeOf(this, ImageNotFoundException.prototype);
394
+ }
395
+ }
396
+ exports.ImageNotFoundException = ImageNotFoundException;
397
+ class ScanNotFoundException extends ECRServiceException_1.ECRServiceException {
398
+ name = "ScanNotFoundException";
399
+ $fault = "client";
400
+ constructor(opts) {
401
+ super({
402
+ name: "ScanNotFoundException",
403
+ $fault: "client",
404
+ ...opts,
405
+ });
406
+ Object.setPrototypeOf(this, ScanNotFoundException.prototype);
407
+ }
408
+ }
409
+ exports.ScanNotFoundException = ScanNotFoundException;
410
+ class LayerInaccessibleException extends ECRServiceException_1.ECRServiceException {
411
+ name = "LayerInaccessibleException";
412
+ $fault = "client";
413
+ constructor(opts) {
414
+ super({
415
+ name: "LayerInaccessibleException",
416
+ $fault: "client",
417
+ ...opts,
418
+ });
419
+ Object.setPrototypeOf(this, LayerInaccessibleException.prototype);
420
+ }
421
+ }
422
+ exports.LayerInaccessibleException = LayerInaccessibleException;
423
+ class LayersNotFoundException extends ECRServiceException_1.ECRServiceException {
424
+ name = "LayersNotFoundException";
425
+ $fault = "client";
426
+ constructor(opts) {
427
+ super({
428
+ name: "LayersNotFoundException",
429
+ $fault: "client",
430
+ ...opts,
431
+ });
432
+ Object.setPrototypeOf(this, LayersNotFoundException.prototype);
433
+ }
434
+ }
435
+ exports.LayersNotFoundException = LayersNotFoundException;
436
+ class UnableToGetUpstreamLayerException extends ECRServiceException_1.ECRServiceException {
437
+ name = "UnableToGetUpstreamLayerException";
438
+ $fault = "client";
439
+ constructor(opts) {
440
+ super({
441
+ name: "UnableToGetUpstreamLayerException",
442
+ $fault: "client",
443
+ ...opts,
444
+ });
445
+ Object.setPrototypeOf(this, UnableToGetUpstreamLayerException.prototype);
446
+ }
447
+ }
448
+ exports.UnableToGetUpstreamLayerException = UnableToGetUpstreamLayerException;
449
+ class LifecyclePolicyPreviewNotFoundException extends ECRServiceException_1.ECRServiceException {
450
+ name = "LifecyclePolicyPreviewNotFoundException";
451
+ $fault = "client";
452
+ constructor(opts) {
453
+ super({
454
+ name: "LifecyclePolicyPreviewNotFoundException",
455
+ $fault: "client",
456
+ ...opts,
457
+ });
458
+ Object.setPrototypeOf(this, LifecyclePolicyPreviewNotFoundException.prototype);
459
+ }
460
+ }
461
+ exports.LifecyclePolicyPreviewNotFoundException = LifecyclePolicyPreviewNotFoundException;
462
+ class ImageAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
463
+ name = "ImageAlreadyExistsException";
464
+ $fault = "client";
465
+ constructor(opts) {
466
+ super({
467
+ name: "ImageAlreadyExistsException",
468
+ $fault: "client",
469
+ ...opts,
470
+ });
471
+ Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);
472
+ }
473
+ }
474
+ exports.ImageAlreadyExistsException = ImageAlreadyExistsException;
475
+ class ImageDigestDoesNotMatchException extends ECRServiceException_1.ECRServiceException {
476
+ name = "ImageDigestDoesNotMatchException";
477
+ $fault = "client";
478
+ constructor(opts) {
479
+ super({
480
+ name: "ImageDigestDoesNotMatchException",
481
+ $fault: "client",
482
+ ...opts,
483
+ });
484
+ Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);
485
+ }
486
+ }
487
+ exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;
488
+ class ImageTagAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
489
+ name = "ImageTagAlreadyExistsException";
490
+ $fault = "client";
491
+ constructor(opts) {
492
+ super({
493
+ name: "ImageTagAlreadyExistsException",
494
+ $fault: "client",
495
+ ...opts,
496
+ });
497
+ Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);
498
+ }
499
+ }
500
+ exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;
501
+ class ReferencedImagesNotFoundException extends ECRServiceException_1.ECRServiceException {
502
+ name = "ReferencedImagesNotFoundException";
503
+ $fault = "client";
504
+ constructor(opts) {
505
+ super({
506
+ name: "ReferencedImagesNotFoundException",
507
+ $fault: "client",
508
+ ...opts,
509
+ });
510
+ Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);
511
+ }
512
+ }
513
+ exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;
514
+ class BlockedByOrganizationPolicyException extends ECRServiceException_1.ECRServiceException {
515
+ name = "BlockedByOrganizationPolicyException";
516
+ $fault = "client";
517
+ constructor(opts) {
518
+ super({
519
+ name: "BlockedByOrganizationPolicyException",
520
+ $fault: "client",
521
+ ...opts,
522
+ });
523
+ Object.setPrototypeOf(this, BlockedByOrganizationPolicyException.prototype);
524
+ }
525
+ }
526
+ exports.BlockedByOrganizationPolicyException = BlockedByOrganizationPolicyException;
527
+ class ExclusionAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
528
+ name = "ExclusionAlreadyExistsException";
529
+ $fault = "client";
530
+ constructor(opts) {
531
+ super({
532
+ name: "ExclusionAlreadyExistsException",
533
+ $fault: "client",
534
+ ...opts,
535
+ });
536
+ Object.setPrototypeOf(this, ExclusionAlreadyExistsException.prototype);
537
+ }
538
+ }
539
+ exports.ExclusionAlreadyExistsException = ExclusionAlreadyExistsException;
540
+ class ImageArchivedException extends ECRServiceException_1.ECRServiceException {
541
+ name = "ImageArchivedException";
542
+ $fault = "client";
543
+ constructor(opts) {
544
+ super({
545
+ name: "ImageArchivedException",
546
+ $fault: "client",
547
+ ...opts,
548
+ });
549
+ Object.setPrototypeOf(this, ImageArchivedException.prototype);
550
+ }
551
+ }
552
+ exports.ImageArchivedException = ImageArchivedException;
553
+ class UnsupportedImageTypeException extends ECRServiceException_1.ECRServiceException {
554
+ name = "UnsupportedImageTypeException";
555
+ $fault = "client";
556
+ constructor(opts) {
557
+ super({
558
+ name: "UnsupportedImageTypeException",
559
+ $fault: "client",
560
+ ...opts,
561
+ });
562
+ Object.setPrototypeOf(this, UnsupportedImageTypeException.prototype);
563
+ }
564
+ }
565
+ exports.UnsupportedImageTypeException = UnsupportedImageTypeException;
566
+ class LifecyclePolicyPreviewInProgressException extends ECRServiceException_1.ECRServiceException {
567
+ name = "LifecyclePolicyPreviewInProgressException";
568
+ $fault = "client";
569
+ constructor(opts) {
570
+ super({
571
+ name: "LifecyclePolicyPreviewInProgressException",
572
+ $fault: "client",
573
+ ...opts,
574
+ });
575
+ Object.setPrototypeOf(this, LifecyclePolicyPreviewInProgressException.prototype);
576
+ }
577
+ }
578
+ exports.LifecyclePolicyPreviewInProgressException = LifecyclePolicyPreviewInProgressException;
579
+ class ImageStorageClassUpdateNotSupportedException extends ECRServiceException_1.ECRServiceException {
580
+ name = "ImageStorageClassUpdateNotSupportedException";
581
+ $fault = "client";
582
+ constructor(opts) {
583
+ super({
584
+ name: "ImageStorageClassUpdateNotSupportedException",
585
+ $fault: "client",
586
+ ...opts,
587
+ });
588
+ Object.setPrototypeOf(this, ImageStorageClassUpdateNotSupportedException.prototype);
589
+ }
590
+ }
591
+ exports.ImageStorageClassUpdateNotSupportedException = ImageStorageClassUpdateNotSupportedException;
592
+ class InvalidLayerPartException extends ECRServiceException_1.ECRServiceException {
593
+ name = "InvalidLayerPartException";
594
+ $fault = "client";
595
+ registryId;
596
+ repositoryName;
597
+ uploadId;
598
+ lastValidByteReceived;
599
+ constructor(opts) {
600
+ super({
601
+ name: "InvalidLayerPartException",
602
+ $fault: "client",
603
+ ...opts,
604
+ });
605
+ Object.setPrototypeOf(this, InvalidLayerPartException.prototype);
606
+ this.registryId = opts.registryId;
607
+ this.repositoryName = opts.repositoryName;
608
+ this.uploadId = opts.uploadId;
609
+ this.lastValidByteReceived = opts.lastValidByteReceived;
610
+ }
611
+ }
612
+ exports.InvalidLayerPartException = InvalidLayerPartException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2015-09-21",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.ecr",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  xmlNamespace: "http://ecr.amazonaws.com/doc/2015-09-21/",
33
35
  version: "2015-09-21",
34
36
  serviceTarget: "AmazonEC2ContainerRegistry_V20150921",