@aws-sdk/client-ecr-public 3.52.0 → 3.54.1

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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./ECRPUBLICClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ECRPUBLICServiceException } from "./models/ECRPUBLICServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ECRPUBLICServiceException = (function (_super) {
4
+ __extends(ECRPUBLICServiceException, _super);
5
+ function ECRPUBLICServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ECRPUBLICServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ECRPUBLICServiceException;
11
+ }(__ServiceException));
12
+ export { ECRPUBLICServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { ECRPUBLICServiceException as __BaseException } from "./ECRPUBLICServiceException";
2
3
  export var AuthorizationData;
3
4
  (function (AuthorizationData) {
4
5
  AuthorizationData.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -29,6 +30,54 @@ export var BatchCheckLayerAvailabilityResponse;
29
30
  (function (BatchCheckLayerAvailabilityResponse) {
30
31
  BatchCheckLayerAvailabilityResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
31
32
  })(BatchCheckLayerAvailabilityResponse || (BatchCheckLayerAvailabilityResponse = {}));
33
+ var InvalidParameterException = (function (_super) {
34
+ __extends(InvalidParameterException, _super);
35
+ function InvalidParameterException(opts) {
36
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
37
+ _this.name = "InvalidParameterException";
38
+ _this.$fault = "client";
39
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
40
+ return _this;
41
+ }
42
+ return InvalidParameterException;
43
+ }(__BaseException));
44
+ export { InvalidParameterException };
45
+ var RegistryNotFoundException = (function (_super) {
46
+ __extends(RegistryNotFoundException, _super);
47
+ function RegistryNotFoundException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "RegistryNotFoundException", $fault: "client" }, opts)) || this;
49
+ _this.name = "RegistryNotFoundException";
50
+ _this.$fault = "client";
51
+ Object.setPrototypeOf(_this, RegistryNotFoundException.prototype);
52
+ return _this;
53
+ }
54
+ return RegistryNotFoundException;
55
+ }(__BaseException));
56
+ export { RegistryNotFoundException };
57
+ var RepositoryNotFoundException = (function (_super) {
58
+ __extends(RepositoryNotFoundException, _super);
59
+ function RepositoryNotFoundException(opts) {
60
+ var _this = _super.call(this, __assign({ name: "RepositoryNotFoundException", $fault: "client" }, opts)) || this;
61
+ _this.name = "RepositoryNotFoundException";
62
+ _this.$fault = "client";
63
+ Object.setPrototypeOf(_this, RepositoryNotFoundException.prototype);
64
+ return _this;
65
+ }
66
+ return RepositoryNotFoundException;
67
+ }(__BaseException));
68
+ export { RepositoryNotFoundException };
69
+ var ServerException = (function (_super) {
70
+ __extends(ServerException, _super);
71
+ function ServerException(opts) {
72
+ var _this = _super.call(this, __assign({ name: "ServerException", $fault: "server" }, opts)) || this;
73
+ _this.name = "ServerException";
74
+ _this.$fault = "server";
75
+ Object.setPrototypeOf(_this, ServerException.prototype);
76
+ return _this;
77
+ }
78
+ return ServerException;
79
+ }(__BaseException));
80
+ export { ServerException };
32
81
  export var ImageIdentifier;
33
82
  (function (ImageIdentifier) {
34
83
  ImageIdentifier.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -63,6 +112,78 @@ export var CompleteLayerUploadResponse;
63
112
  (function (CompleteLayerUploadResponse) {
64
113
  CompleteLayerUploadResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
65
114
  })(CompleteLayerUploadResponse || (CompleteLayerUploadResponse = {}));
115
+ var EmptyUploadException = (function (_super) {
116
+ __extends(EmptyUploadException, _super);
117
+ function EmptyUploadException(opts) {
118
+ var _this = _super.call(this, __assign({ name: "EmptyUploadException", $fault: "client" }, opts)) || this;
119
+ _this.name = "EmptyUploadException";
120
+ _this.$fault = "client";
121
+ Object.setPrototypeOf(_this, EmptyUploadException.prototype);
122
+ return _this;
123
+ }
124
+ return EmptyUploadException;
125
+ }(__BaseException));
126
+ export { EmptyUploadException };
127
+ var InvalidLayerException = (function (_super) {
128
+ __extends(InvalidLayerException, _super);
129
+ function InvalidLayerException(opts) {
130
+ var _this = _super.call(this, __assign({ name: "InvalidLayerException", $fault: "client" }, opts)) || this;
131
+ _this.name = "InvalidLayerException";
132
+ _this.$fault = "client";
133
+ Object.setPrototypeOf(_this, InvalidLayerException.prototype);
134
+ return _this;
135
+ }
136
+ return InvalidLayerException;
137
+ }(__BaseException));
138
+ export { InvalidLayerException };
139
+ var LayerAlreadyExistsException = (function (_super) {
140
+ __extends(LayerAlreadyExistsException, _super);
141
+ function LayerAlreadyExistsException(opts) {
142
+ var _this = _super.call(this, __assign({ name: "LayerAlreadyExistsException", $fault: "client" }, opts)) || this;
143
+ _this.name = "LayerAlreadyExistsException";
144
+ _this.$fault = "client";
145
+ Object.setPrototypeOf(_this, LayerAlreadyExistsException.prototype);
146
+ return _this;
147
+ }
148
+ return LayerAlreadyExistsException;
149
+ }(__BaseException));
150
+ export { LayerAlreadyExistsException };
151
+ var LayerPartTooSmallException = (function (_super) {
152
+ __extends(LayerPartTooSmallException, _super);
153
+ function LayerPartTooSmallException(opts) {
154
+ var _this = _super.call(this, __assign({ name: "LayerPartTooSmallException", $fault: "client" }, opts)) || this;
155
+ _this.name = "LayerPartTooSmallException";
156
+ _this.$fault = "client";
157
+ Object.setPrototypeOf(_this, LayerPartTooSmallException.prototype);
158
+ return _this;
159
+ }
160
+ return LayerPartTooSmallException;
161
+ }(__BaseException));
162
+ export { LayerPartTooSmallException };
163
+ var UnsupportedCommandException = (function (_super) {
164
+ __extends(UnsupportedCommandException, _super);
165
+ function UnsupportedCommandException(opts) {
166
+ var _this = _super.call(this, __assign({ name: "UnsupportedCommandException", $fault: "client" }, opts)) || this;
167
+ _this.name = "UnsupportedCommandException";
168
+ _this.$fault = "client";
169
+ Object.setPrototypeOf(_this, UnsupportedCommandException.prototype);
170
+ return _this;
171
+ }
172
+ return UnsupportedCommandException;
173
+ }(__BaseException));
174
+ export { UnsupportedCommandException };
175
+ var UploadNotFoundException = (function (_super) {
176
+ __extends(UploadNotFoundException, _super);
177
+ function UploadNotFoundException(opts) {
178
+ var _this = _super.call(this, __assign({ name: "UploadNotFoundException", $fault: "client" }, opts)) || this;
179
+ _this.name = "UploadNotFoundException";
180
+ _this.$fault = "client";
181
+ Object.setPrototypeOf(_this, UploadNotFoundException.prototype);
182
+ return _this;
183
+ }
184
+ return UploadNotFoundException;
185
+ }(__BaseException));
186
+ export { UploadNotFoundException };
66
187
  export var RepositoryCatalogDataInput;
67
188
  (function (RepositoryCatalogDataInput) {
68
189
  RepositoryCatalogDataInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -87,6 +208,54 @@ export var CreateRepositoryResponse;
87
208
  (function (CreateRepositoryResponse) {
88
209
  CreateRepositoryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
89
210
  })(CreateRepositoryResponse || (CreateRepositoryResponse = {}));
211
+ var InvalidTagParameterException = (function (_super) {
212
+ __extends(InvalidTagParameterException, _super);
213
+ function InvalidTagParameterException(opts) {
214
+ var _this = _super.call(this, __assign({ name: "InvalidTagParameterException", $fault: "client" }, opts)) || this;
215
+ _this.name = "InvalidTagParameterException";
216
+ _this.$fault = "client";
217
+ Object.setPrototypeOf(_this, InvalidTagParameterException.prototype);
218
+ return _this;
219
+ }
220
+ return InvalidTagParameterException;
221
+ }(__BaseException));
222
+ export { InvalidTagParameterException };
223
+ var LimitExceededException = (function (_super) {
224
+ __extends(LimitExceededException, _super);
225
+ function LimitExceededException(opts) {
226
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
227
+ _this.name = "LimitExceededException";
228
+ _this.$fault = "client";
229
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
230
+ return _this;
231
+ }
232
+ return LimitExceededException;
233
+ }(__BaseException));
234
+ export { LimitExceededException };
235
+ var RepositoryAlreadyExistsException = (function (_super) {
236
+ __extends(RepositoryAlreadyExistsException, _super);
237
+ function RepositoryAlreadyExistsException(opts) {
238
+ var _this = _super.call(this, __assign({ name: "RepositoryAlreadyExistsException", $fault: "client" }, opts)) || this;
239
+ _this.name = "RepositoryAlreadyExistsException";
240
+ _this.$fault = "client";
241
+ Object.setPrototypeOf(_this, RepositoryAlreadyExistsException.prototype);
242
+ return _this;
243
+ }
244
+ return RepositoryAlreadyExistsException;
245
+ }(__BaseException));
246
+ export { RepositoryAlreadyExistsException };
247
+ var TooManyTagsException = (function (_super) {
248
+ __extends(TooManyTagsException, _super);
249
+ function TooManyTagsException(opts) {
250
+ var _this = _super.call(this, __assign({ name: "TooManyTagsException", $fault: "client" }, opts)) || this;
251
+ _this.name = "TooManyTagsException";
252
+ _this.$fault = "client";
253
+ Object.setPrototypeOf(_this, TooManyTagsException.prototype);
254
+ return _this;
255
+ }
256
+ return TooManyTagsException;
257
+ }(__BaseException));
258
+ export { TooManyTagsException };
90
259
  export var DeleteRepositoryRequest;
91
260
  (function (DeleteRepositoryRequest) {
92
261
  DeleteRepositoryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -95,6 +264,18 @@ export var DeleteRepositoryResponse;
95
264
  (function (DeleteRepositoryResponse) {
96
265
  DeleteRepositoryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
97
266
  })(DeleteRepositoryResponse || (DeleteRepositoryResponse = {}));
267
+ var RepositoryNotEmptyException = (function (_super) {
268
+ __extends(RepositoryNotEmptyException, _super);
269
+ function RepositoryNotEmptyException(opts) {
270
+ var _this = _super.call(this, __assign({ name: "RepositoryNotEmptyException", $fault: "client" }, opts)) || this;
271
+ _this.name = "RepositoryNotEmptyException";
272
+ _this.$fault = "client";
273
+ Object.setPrototypeOf(_this, RepositoryNotEmptyException.prototype);
274
+ return _this;
275
+ }
276
+ return RepositoryNotEmptyException;
277
+ }(__BaseException));
278
+ export { RepositoryNotEmptyException };
98
279
  export var DeleteRepositoryPolicyRequest;
99
280
  (function (DeleteRepositoryPolicyRequest) {
100
281
  DeleteRepositoryPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -103,6 +284,18 @@ export var DeleteRepositoryPolicyResponse;
103
284
  (function (DeleteRepositoryPolicyResponse) {
104
285
  DeleteRepositoryPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
286
  })(DeleteRepositoryPolicyResponse || (DeleteRepositoryPolicyResponse = {}));
287
+ var RepositoryPolicyNotFoundException = (function (_super) {
288
+ __extends(RepositoryPolicyNotFoundException, _super);
289
+ function RepositoryPolicyNotFoundException(opts) {
290
+ var _this = _super.call(this, __assign({ name: "RepositoryPolicyNotFoundException", $fault: "client" }, opts)) || this;
291
+ _this.name = "RepositoryPolicyNotFoundException";
292
+ _this.$fault = "client";
293
+ Object.setPrototypeOf(_this, RepositoryPolicyNotFoundException.prototype);
294
+ return _this;
295
+ }
296
+ return RepositoryPolicyNotFoundException;
297
+ }(__BaseException));
298
+ export { RepositoryPolicyNotFoundException };
106
299
  export var DescribeImagesRequest;
107
300
  (function (DescribeImagesRequest) {
108
301
  DescribeImagesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -115,6 +308,18 @@ export var DescribeImagesResponse;
115
308
  (function (DescribeImagesResponse) {
116
309
  DescribeImagesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
310
  })(DescribeImagesResponse || (DescribeImagesResponse = {}));
311
+ var ImageNotFoundException = (function (_super) {
312
+ __extends(ImageNotFoundException, _super);
313
+ function ImageNotFoundException(opts) {
314
+ var _this = _super.call(this, __assign({ name: "ImageNotFoundException", $fault: "client" }, opts)) || this;
315
+ _this.name = "ImageNotFoundException";
316
+ _this.$fault = "client";
317
+ Object.setPrototypeOf(_this, ImageNotFoundException.prototype);
318
+ return _this;
319
+ }
320
+ return ImageNotFoundException;
321
+ }(__BaseException));
322
+ export { ImageNotFoundException };
118
323
  export var DescribeImageTagsRequest;
119
324
  (function (DescribeImageTagsRequest) {
120
325
  DescribeImageTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -201,6 +406,42 @@ export var Image;
201
406
  (function (Image) {
202
407
  Image.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
203
408
  })(Image || (Image = {}));
409
+ var ImageAlreadyExistsException = (function (_super) {
410
+ __extends(ImageAlreadyExistsException, _super);
411
+ function ImageAlreadyExistsException(opts) {
412
+ var _this = _super.call(this, __assign({ name: "ImageAlreadyExistsException", $fault: "client" }, opts)) || this;
413
+ _this.name = "ImageAlreadyExistsException";
414
+ _this.$fault = "client";
415
+ Object.setPrototypeOf(_this, ImageAlreadyExistsException.prototype);
416
+ return _this;
417
+ }
418
+ return ImageAlreadyExistsException;
419
+ }(__BaseException));
420
+ export { ImageAlreadyExistsException };
421
+ var ImageDigestDoesNotMatchException = (function (_super) {
422
+ __extends(ImageDigestDoesNotMatchException, _super);
423
+ function ImageDigestDoesNotMatchException(opts) {
424
+ var _this = _super.call(this, __assign({ name: "ImageDigestDoesNotMatchException", $fault: "client" }, opts)) || this;
425
+ _this.name = "ImageDigestDoesNotMatchException";
426
+ _this.$fault = "client";
427
+ Object.setPrototypeOf(_this, ImageDigestDoesNotMatchException.prototype);
428
+ return _this;
429
+ }
430
+ return ImageDigestDoesNotMatchException;
431
+ }(__BaseException));
432
+ export { ImageDigestDoesNotMatchException };
433
+ var ImageTagAlreadyExistsException = (function (_super) {
434
+ __extends(ImageTagAlreadyExistsException, _super);
435
+ function ImageTagAlreadyExistsException(opts) {
436
+ var _this = _super.call(this, __assign({ name: "ImageTagAlreadyExistsException", $fault: "client" }, opts)) || this;
437
+ _this.name = "ImageTagAlreadyExistsException";
438
+ _this.$fault = "client";
439
+ Object.setPrototypeOf(_this, ImageTagAlreadyExistsException.prototype);
440
+ return _this;
441
+ }
442
+ return ImageTagAlreadyExistsException;
443
+ }(__BaseException));
444
+ export { ImageTagAlreadyExistsException };
204
445
  export var InitiateLayerUploadRequest;
205
446
  (function (InitiateLayerUploadRequest) {
206
447
  InitiateLayerUploadRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -209,6 +450,34 @@ export var InitiateLayerUploadResponse;
209
450
  (function (InitiateLayerUploadResponse) {
210
451
  InitiateLayerUploadResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
211
452
  })(InitiateLayerUploadResponse || (InitiateLayerUploadResponse = {}));
453
+ var InvalidLayerPartException = (function (_super) {
454
+ __extends(InvalidLayerPartException, _super);
455
+ function InvalidLayerPartException(opts) {
456
+ var _this = _super.call(this, __assign({ name: "InvalidLayerPartException", $fault: "client" }, opts)) || this;
457
+ _this.name = "InvalidLayerPartException";
458
+ _this.$fault = "client";
459
+ Object.setPrototypeOf(_this, InvalidLayerPartException.prototype);
460
+ _this.registryId = opts.registryId;
461
+ _this.repositoryName = opts.repositoryName;
462
+ _this.uploadId = opts.uploadId;
463
+ _this.lastValidByteReceived = opts.lastValidByteReceived;
464
+ return _this;
465
+ }
466
+ return InvalidLayerPartException;
467
+ }(__BaseException));
468
+ export { InvalidLayerPartException };
469
+ var LayersNotFoundException = (function (_super) {
470
+ __extends(LayersNotFoundException, _super);
471
+ function LayersNotFoundException(opts) {
472
+ var _this = _super.call(this, __assign({ name: "LayersNotFoundException", $fault: "client" }, opts)) || this;
473
+ _this.name = "LayersNotFoundException";
474
+ _this.$fault = "client";
475
+ Object.setPrototypeOf(_this, LayersNotFoundException.prototype);
476
+ return _this;
477
+ }
478
+ return LayersNotFoundException;
479
+ }(__BaseException));
480
+ export { LayersNotFoundException };
212
481
  export var ListTagsForResourceRequest;
213
482
  (function (ListTagsForResourceRequest) {
214
483
  ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -225,6 +494,18 @@ export var PutImageResponse;
225
494
  (function (PutImageResponse) {
226
495
  PutImageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
227
496
  })(PutImageResponse || (PutImageResponse = {}));
497
+ var ReferencedImagesNotFoundException = (function (_super) {
498
+ __extends(ReferencedImagesNotFoundException, _super);
499
+ function ReferencedImagesNotFoundException(opts) {
500
+ var _this = _super.call(this, __assign({ name: "ReferencedImagesNotFoundException", $fault: "client" }, opts)) || this;
501
+ _this.name = "ReferencedImagesNotFoundException";
502
+ _this.$fault = "client";
503
+ Object.setPrototypeOf(_this, ReferencedImagesNotFoundException.prototype);
504
+ return _this;
505
+ }
506
+ return ReferencedImagesNotFoundException;
507
+ }(__BaseException));
508
+ export { ReferencedImagesNotFoundException };
228
509
  export var PutRegistryCatalogDataRequest;
229
510
  (function (PutRegistryCatalogDataRequest) {
230
511
  PutRegistryCatalogDataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };