@aws-sdk/client-ecr 3.1147.0 → 3.1149.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,5 +1,6 @@
1
1
  import { ECRServiceException as __BaseException } from "./ECRServiceException";
2
2
  export class InvalidParameterException extends __BaseException {
3
+ static shapeId = "com.amazonaws.ecr#InvalidParameterException";
3
4
  name = "InvalidParameterException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class InvalidParameterException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class RepositoryNotFoundException extends __BaseException {
16
+ static shapeId = "com.amazonaws.ecr#RepositoryNotFoundException";
15
17
  name = "RepositoryNotFoundException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class RepositoryNotFoundException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ServerException extends __BaseException {
29
+ static shapeId = "com.amazonaws.ecr#ServerException";
27
30
  name = "ServerException";
28
31
  $fault = "server";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ServerException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class LimitExceededException extends __BaseException {
42
+ static shapeId = "com.amazonaws.ecr#LimitExceededException";
39
43
  name = "LimitExceededException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class LimitExceededException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class UnableToGetUpstreamImageException extends __BaseException {
55
+ static shapeId = "com.amazonaws.ecr#UnableToGetUpstreamImageException";
51
56
  name = "UnableToGetUpstreamImageException";
52
57
  $fault = "client";
53
58
  constructor(opts) {
@@ -60,6 +65,7 @@ export class UnableToGetUpstreamImageException extends __BaseException {
60
65
  }
61
66
  }
62
67
  export class ValidationException extends __BaseException {
68
+ static shapeId = "com.amazonaws.ecr#ValidationException";
63
69
  name = "ValidationException";
64
70
  $fault = "client";
65
71
  constructor(opts) {
@@ -72,6 +78,7 @@ export class ValidationException extends __BaseException {
72
78
  }
73
79
  }
74
80
  export class EmptyUploadException extends __BaseException {
81
+ static shapeId = "com.amazonaws.ecr#EmptyUploadException";
75
82
  name = "EmptyUploadException";
76
83
  $fault = "client";
77
84
  constructor(opts) {
@@ -84,6 +91,7 @@ export class EmptyUploadException extends __BaseException {
84
91
  }
85
92
  }
86
93
  export class InvalidLayerException extends __BaseException {
94
+ static shapeId = "com.amazonaws.ecr#InvalidLayerException";
87
95
  name = "InvalidLayerException";
88
96
  $fault = "client";
89
97
  constructor(opts) {
@@ -96,6 +104,7 @@ export class InvalidLayerException extends __BaseException {
96
104
  }
97
105
  }
98
106
  export class KmsException extends __BaseException {
107
+ static shapeId = "com.amazonaws.ecr#KmsException";
99
108
  name = "KmsException";
100
109
  $fault = "client";
101
110
  kmsError;
@@ -110,6 +119,7 @@ export class KmsException extends __BaseException {
110
119
  }
111
120
  }
112
121
  export class LayerAlreadyExistsException extends __BaseException {
122
+ static shapeId = "com.amazonaws.ecr#LayerAlreadyExistsException";
113
123
  name = "LayerAlreadyExistsException";
114
124
  $fault = "client";
115
125
  constructor(opts) {
@@ -122,6 +132,7 @@ export class LayerAlreadyExistsException extends __BaseException {
122
132
  }
123
133
  }
124
134
  export class LayerPartTooSmallException extends __BaseException {
135
+ static shapeId = "com.amazonaws.ecr#LayerPartTooSmallException";
125
136
  name = "LayerPartTooSmallException";
126
137
  $fault = "client";
127
138
  constructor(opts) {
@@ -134,6 +145,7 @@ export class LayerPartTooSmallException extends __BaseException {
134
145
  }
135
146
  }
136
147
  export class UploadNotFoundException extends __BaseException {
148
+ static shapeId = "com.amazonaws.ecr#UploadNotFoundException";
137
149
  name = "UploadNotFoundException";
138
150
  $fault = "client";
139
151
  constructor(opts) {
@@ -146,6 +158,7 @@ export class UploadNotFoundException extends __BaseException {
146
158
  }
147
159
  }
148
160
  export class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
161
+ static shapeId = "com.amazonaws.ecr#PullThroughCacheRuleAlreadyExistsException";
149
162
  name = "PullThroughCacheRuleAlreadyExistsException";
150
163
  $fault = "client";
151
164
  constructor(opts) {
@@ -158,6 +171,7 @@ export class PullThroughCacheRuleAlreadyExistsException extends __BaseException
158
171
  }
159
172
  }
160
173
  export class SecretNotFoundException extends __BaseException {
174
+ static shapeId = "com.amazonaws.ecr#SecretNotFoundException";
161
175
  name = "SecretNotFoundException";
162
176
  $fault = "client";
163
177
  constructor(opts) {
@@ -170,6 +184,7 @@ export class SecretNotFoundException extends __BaseException {
170
184
  }
171
185
  }
172
186
  export class UnableToAccessSecretException extends __BaseException {
187
+ static shapeId = "com.amazonaws.ecr#UnableToAccessSecretException";
173
188
  name = "UnableToAccessSecretException";
174
189
  $fault = "client";
175
190
  constructor(opts) {
@@ -182,6 +197,7 @@ export class UnableToAccessSecretException extends __BaseException {
182
197
  }
183
198
  }
184
199
  export class UnableToDecryptSecretValueException extends __BaseException {
200
+ static shapeId = "com.amazonaws.ecr#UnableToDecryptSecretValueException";
185
201
  name = "UnableToDecryptSecretValueException";
186
202
  $fault = "client";
187
203
  constructor(opts) {
@@ -194,6 +210,7 @@ export class UnableToDecryptSecretValueException extends __BaseException {
194
210
  }
195
211
  }
196
212
  export class UnsupportedUpstreamRegistryException extends __BaseException {
213
+ static shapeId = "com.amazonaws.ecr#UnsupportedUpstreamRegistryException";
197
214
  name = "UnsupportedUpstreamRegistryException";
198
215
  $fault = "client";
199
216
  constructor(opts) {
@@ -206,6 +223,7 @@ export class UnsupportedUpstreamRegistryException extends __BaseException {
206
223
  }
207
224
  }
208
225
  export class InvalidTagParameterException extends __BaseException {
226
+ static shapeId = "com.amazonaws.ecr#InvalidTagParameterException";
209
227
  name = "InvalidTagParameterException";
210
228
  $fault = "client";
211
229
  constructor(opts) {
@@ -218,6 +236,7 @@ export class InvalidTagParameterException extends __BaseException {
218
236
  }
219
237
  }
220
238
  export class RepositoryAlreadyExistsException extends __BaseException {
239
+ static shapeId = "com.amazonaws.ecr#RepositoryAlreadyExistsException";
221
240
  name = "RepositoryAlreadyExistsException";
222
241
  $fault = "client";
223
242
  constructor(opts) {
@@ -230,6 +249,7 @@ export class RepositoryAlreadyExistsException extends __BaseException {
230
249
  }
231
250
  }
232
251
  export class TooManyTagsException extends __BaseException {
252
+ static shapeId = "com.amazonaws.ecr#TooManyTagsException";
233
253
  name = "TooManyTagsException";
234
254
  $fault = "client";
235
255
  constructor(opts) {
@@ -242,6 +262,7 @@ export class TooManyTagsException extends __BaseException {
242
262
  }
243
263
  }
244
264
  export class TemplateAlreadyExistsException extends __BaseException {
265
+ static shapeId = "com.amazonaws.ecr#TemplateAlreadyExistsException";
245
266
  name = "TemplateAlreadyExistsException";
246
267
  $fault = "client";
247
268
  constructor(opts) {
@@ -254,6 +275,7 @@ export class TemplateAlreadyExistsException extends __BaseException {
254
275
  }
255
276
  }
256
277
  export class LifecyclePolicyNotFoundException extends __BaseException {
278
+ static shapeId = "com.amazonaws.ecr#LifecyclePolicyNotFoundException";
257
279
  name = "LifecyclePolicyNotFoundException";
258
280
  $fault = "client";
259
281
  constructor(opts) {
@@ -266,6 +288,7 @@ export class LifecyclePolicyNotFoundException extends __BaseException {
266
288
  }
267
289
  }
268
290
  export class PullThroughCacheRuleNotFoundException extends __BaseException {
291
+ static shapeId = "com.amazonaws.ecr#PullThroughCacheRuleNotFoundException";
269
292
  name = "PullThroughCacheRuleNotFoundException";
270
293
  $fault = "client";
271
294
  constructor(opts) {
@@ -278,6 +301,7 @@ export class PullThroughCacheRuleNotFoundException extends __BaseException {
278
301
  }
279
302
  }
280
303
  export class RegistryPolicyNotFoundException extends __BaseException {
304
+ static shapeId = "com.amazonaws.ecr#RegistryPolicyNotFoundException";
281
305
  name = "RegistryPolicyNotFoundException";
282
306
  $fault = "client";
283
307
  constructor(opts) {
@@ -290,6 +314,7 @@ export class RegistryPolicyNotFoundException extends __BaseException {
290
314
  }
291
315
  }
292
316
  export class RepositoryNotEmptyException extends __BaseException {
317
+ static shapeId = "com.amazonaws.ecr#RepositoryNotEmptyException";
293
318
  name = "RepositoryNotEmptyException";
294
319
  $fault = "client";
295
320
  constructor(opts) {
@@ -302,6 +327,7 @@ export class RepositoryNotEmptyException extends __BaseException {
302
327
  }
303
328
  }
304
329
  export class TemplateNotFoundException extends __BaseException {
330
+ static shapeId = "com.amazonaws.ecr#TemplateNotFoundException";
305
331
  name = "TemplateNotFoundException";
306
332
  $fault = "client";
307
333
  constructor(opts) {
@@ -314,6 +340,7 @@ export class TemplateNotFoundException extends __BaseException {
314
340
  }
315
341
  }
316
342
  export class RepositoryPolicyNotFoundException extends __BaseException {
343
+ static shapeId = "com.amazonaws.ecr#RepositoryPolicyNotFoundException";
317
344
  name = "RepositoryPolicyNotFoundException";
318
345
  $fault = "client";
319
346
  constructor(opts) {
@@ -326,6 +353,7 @@ export class RepositoryPolicyNotFoundException extends __BaseException {
326
353
  }
327
354
  }
328
355
  export class SigningConfigurationNotFoundException extends __BaseException {
356
+ static shapeId = "com.amazonaws.ecr#SigningConfigurationNotFoundException";
329
357
  name = "SigningConfigurationNotFoundException";
330
358
  $fault = "client";
331
359
  constructor(opts) {
@@ -338,6 +366,7 @@ export class SigningConfigurationNotFoundException extends __BaseException {
338
366
  }
339
367
  }
340
368
  export class ExclusionNotFoundException extends __BaseException {
369
+ static shapeId = "com.amazonaws.ecr#ExclusionNotFoundException";
341
370
  name = "ExclusionNotFoundException";
342
371
  $fault = "client";
343
372
  constructor(opts) {
@@ -350,6 +379,7 @@ export class ExclusionNotFoundException extends __BaseException {
350
379
  }
351
380
  }
352
381
  export class ImageNotFoundException extends __BaseException {
382
+ static shapeId = "com.amazonaws.ecr#ImageNotFoundException";
353
383
  name = "ImageNotFoundException";
354
384
  $fault = "client";
355
385
  constructor(opts) {
@@ -362,6 +392,7 @@ export class ImageNotFoundException extends __BaseException {
362
392
  }
363
393
  }
364
394
  export class ScanNotFoundException extends __BaseException {
395
+ static shapeId = "com.amazonaws.ecr#ScanNotFoundException";
365
396
  name = "ScanNotFoundException";
366
397
  $fault = "client";
367
398
  constructor(opts) {
@@ -374,6 +405,7 @@ export class ScanNotFoundException extends __BaseException {
374
405
  }
375
406
  }
376
407
  export class LayerInaccessibleException extends __BaseException {
408
+ static shapeId = "com.amazonaws.ecr#LayerInaccessibleException";
377
409
  name = "LayerInaccessibleException";
378
410
  $fault = "client";
379
411
  constructor(opts) {
@@ -386,6 +418,7 @@ export class LayerInaccessibleException extends __BaseException {
386
418
  }
387
419
  }
388
420
  export class LayersNotFoundException extends __BaseException {
421
+ static shapeId = "com.amazonaws.ecr#LayersNotFoundException";
389
422
  name = "LayersNotFoundException";
390
423
  $fault = "client";
391
424
  constructor(opts) {
@@ -398,6 +431,7 @@ export class LayersNotFoundException extends __BaseException {
398
431
  }
399
432
  }
400
433
  export class UnableToGetUpstreamLayerException extends __BaseException {
434
+ static shapeId = "com.amazonaws.ecr#UnableToGetUpstreamLayerException";
401
435
  name = "UnableToGetUpstreamLayerException";
402
436
  $fault = "client";
403
437
  constructor(opts) {
@@ -410,6 +444,7 @@ export class UnableToGetUpstreamLayerException extends __BaseException {
410
444
  }
411
445
  }
412
446
  export class LifecyclePolicyPreviewNotFoundException extends __BaseException {
447
+ static shapeId = "com.amazonaws.ecr#LifecyclePolicyPreviewNotFoundException";
413
448
  name = "LifecyclePolicyPreviewNotFoundException";
414
449
  $fault = "client";
415
450
  constructor(opts) {
@@ -422,6 +457,7 @@ export class LifecyclePolicyPreviewNotFoundException extends __BaseException {
422
457
  }
423
458
  }
424
459
  export class UnableToListUpstreamImageReferrersException extends __BaseException {
460
+ static shapeId = "com.amazonaws.ecr#UnableToListUpstreamImageReferrersException";
425
461
  name = "UnableToListUpstreamImageReferrersException";
426
462
  $fault = "client";
427
463
  constructor(opts) {
@@ -434,6 +470,7 @@ export class UnableToListUpstreamImageReferrersException extends __BaseException
434
470
  }
435
471
  }
436
472
  export class ImageAlreadyExistsException extends __BaseException {
473
+ static shapeId = "com.amazonaws.ecr#ImageAlreadyExistsException";
437
474
  name = "ImageAlreadyExistsException";
438
475
  $fault = "client";
439
476
  constructor(opts) {
@@ -446,6 +483,7 @@ export class ImageAlreadyExistsException extends __BaseException {
446
483
  }
447
484
  }
448
485
  export class ImageDigestDoesNotMatchException extends __BaseException {
486
+ static shapeId = "com.amazonaws.ecr#ImageDigestDoesNotMatchException";
449
487
  name = "ImageDigestDoesNotMatchException";
450
488
  $fault = "client";
451
489
  constructor(opts) {
@@ -458,6 +496,7 @@ export class ImageDigestDoesNotMatchException extends __BaseException {
458
496
  }
459
497
  }
460
498
  export class ImageTagAlreadyExistsException extends __BaseException {
499
+ static shapeId = "com.amazonaws.ecr#ImageTagAlreadyExistsException";
461
500
  name = "ImageTagAlreadyExistsException";
462
501
  $fault = "client";
463
502
  constructor(opts) {
@@ -470,6 +509,7 @@ export class ImageTagAlreadyExistsException extends __BaseException {
470
509
  }
471
510
  }
472
511
  export class ReferencedImagesNotFoundException extends __BaseException {
512
+ static shapeId = "com.amazonaws.ecr#ReferencedImagesNotFoundException";
473
513
  name = "ReferencedImagesNotFoundException";
474
514
  $fault = "client";
475
515
  constructor(opts) {
@@ -482,6 +522,7 @@ export class ReferencedImagesNotFoundException extends __BaseException {
482
522
  }
483
523
  }
484
524
  export class BlockedByOrganizationPolicyException extends __BaseException {
525
+ static shapeId = "com.amazonaws.ecr#BlockedByOrganizationPolicyException";
485
526
  name = "BlockedByOrganizationPolicyException";
486
527
  $fault = "client";
487
528
  constructor(opts) {
@@ -494,6 +535,7 @@ export class BlockedByOrganizationPolicyException extends __BaseException {
494
535
  }
495
536
  }
496
537
  export class ExclusionAlreadyExistsException extends __BaseException {
538
+ static shapeId = "com.amazonaws.ecr#ExclusionAlreadyExistsException";
497
539
  name = "ExclusionAlreadyExistsException";
498
540
  $fault = "client";
499
541
  constructor(opts) {
@@ -506,6 +548,7 @@ export class ExclusionAlreadyExistsException extends __BaseException {
506
548
  }
507
549
  }
508
550
  export class ImageArchivedException extends __BaseException {
551
+ static shapeId = "com.amazonaws.ecr#ImageArchivedException";
509
552
  name = "ImageArchivedException";
510
553
  $fault = "client";
511
554
  constructor(opts) {
@@ -518,6 +561,7 @@ export class ImageArchivedException extends __BaseException {
518
561
  }
519
562
  }
520
563
  export class UnsupportedImageTypeException extends __BaseException {
564
+ static shapeId = "com.amazonaws.ecr#UnsupportedImageTypeException";
521
565
  name = "UnsupportedImageTypeException";
522
566
  $fault = "client";
523
567
  constructor(opts) {
@@ -530,6 +574,7 @@ export class UnsupportedImageTypeException extends __BaseException {
530
574
  }
531
575
  }
532
576
  export class LifecyclePolicyPreviewInProgressException extends __BaseException {
577
+ static shapeId = "com.amazonaws.ecr#LifecyclePolicyPreviewInProgressException";
533
578
  name = "LifecyclePolicyPreviewInProgressException";
534
579
  $fault = "client";
535
580
  constructor(opts) {
@@ -542,6 +587,7 @@ export class LifecyclePolicyPreviewInProgressException extends __BaseException {
542
587
  }
543
588
  }
544
589
  export class ImageStorageClassUpdateNotSupportedException extends __BaseException {
590
+ static shapeId = "com.amazonaws.ecr#ImageStorageClassUpdateNotSupportedException";
545
591
  name = "ImageStorageClassUpdateNotSupportedException";
546
592
  $fault = "client";
547
593
  constructor(opts) {
@@ -554,6 +600,7 @@ export class ImageStorageClassUpdateNotSupportedException extends __BaseExceptio
554
600
  }
555
601
  }
556
602
  export class InvalidLayerPartException extends __BaseException {
603
+ static shapeId = "com.amazonaws.ecr#InvalidLayerPartException";
557
604
  name = "InvalidLayerPartException";
558
605
  $fault = "client";
559
606
  registryId;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from ECR service.
8
8
  */
9
9
  export declare class ECRServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */