@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ECRServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +439 -3
- package/dist-cjs/protocols/Aws_json1_1.js +503 -1673
- package/dist-es/index.js +1 -0
- package/dist-es/models/ECRServiceException.js +12 -0
- package/dist-es/models/models_0.js +403 -1
- package/dist-es/protocols/Aws_json1_1.js +1010 -1772
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ECRServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +201 -149
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ECRServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +151 -133
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-ecr
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ECRServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./ECR"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ECRClient"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var ECRServiceException_1 = require("./models/ECRServiceException");
|
|
12
|
+
Object.defineProperty(exports, "ECRServiceException", { enumerable: true, get: function () { return ECRServiceException_1.ECRServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ECRServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class ECRServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, ECRServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ECRServiceException = ECRServiceException;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.InvalidTagParameterException = exports.CreateRepositoryResponse = exports.Repository = exports.CreateRepositoryRequest = exports.Tag = exports.ImageTagMutability = exports.ImageScanningConfiguration = exports.EncryptionConfiguration = exports.EncryptionType = exports.UnsupportedUpstreamRegistryException = exports.PullThroughCacheRuleAlreadyExistsException = exports.LimitExceededException = exports.CreatePullThroughCacheRuleResponse = exports.CreatePullThroughCacheRuleRequest = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.CompleteLayerUploadResponse = exports.CompleteLayerUploadRequest = exports.ValidationException = exports.BatchGetRepositoryScanningConfigurationResponse = exports.RepositoryScanningConfiguration = exports.ScanFrequency = exports.ScanningRepositoryFilter = exports.ScanningRepositoryFilterType = exports.RepositoryScanningConfigurationFailure = exports.ScanningConfigurationFailureCode = exports.BatchGetRepositoryScanningConfigurationRequest = exports.BatchGetImageResponse = exports.Image = exports.BatchGetImageRequest = exports.BatchDeleteImageResponse = exports.ImageFailure = exports.ImageFailureCode = exports.BatchDeleteImageRequest = exports.ImageIdentifier = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = exports.BatchCheckLayerAvailabilityResponse = exports.Layer = exports.LayerAvailability = exports.LayerFailure = exports.LayerFailureCode = exports.BatchCheckLayerAvailabilityRequest = void 0;
|
|
4
|
+
exports.DescribePullThroughCacheRulesResponse = exports.PullThroughCacheRule = exports.DescribePullThroughCacheRulesRequest = exports.ScanNotFoundException = exports.DescribeImageScanFindingsResponse = exports.ImageScanFindings = exports.ImageScanFinding = exports.Attribute = exports.EnhancedImageScanFinding = exports.ScoreDetails = exports.CvssScoreDetails = exports.CvssScoreAdjustment = exports.Resource = exports.ResourceDetails = exports.AwsEcrContainerImageDetails = exports.Remediation = exports.Recommendation = exports.PackageVulnerabilityDetails = exports.VulnerablePackage = exports.CvssScore = exports.DescribeImageScanFindingsRequest = exports.DescribeImagesResponse = exports.ImageDetail = exports.ImageScanStatus = exports.ScanStatus = exports.ImageScanFindingsSummary = exports.FindingSeverity = exports.DescribeImagesRequest = exports.DescribeImagesFilter = exports.TagStatus = exports.ImageNotFoundException = exports.DescribeImageReplicationStatusResponse = exports.ImageReplicationStatus = exports.ReplicationStatus = exports.DescribeImageReplicationStatusRequest = exports.RepositoryPolicyNotFoundException = exports.DeleteRepositoryPolicyResponse = exports.DeleteRepositoryPolicyRequest = exports.RepositoryNotEmptyException = exports.DeleteRepositoryResponse = exports.DeleteRepositoryRequest = exports.RegistryPolicyNotFoundException = exports.DeleteRegistryPolicyResponse = exports.DeleteRegistryPolicyRequest = exports.PullThroughCacheRuleNotFoundException = exports.DeletePullThroughCacheRuleResponse = exports.DeletePullThroughCacheRuleRequest = exports.LifecyclePolicyNotFoundException = exports.DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyRequest = void 0;
|
|
5
|
+
exports.PutImageScanningConfigurationRequest = exports.ReferencedImagesNotFoundException = exports.PutImageResponse = exports.PutImageRequest = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListImagesResponse = exports.ListImagesRequest = exports.ListImagesFilter = exports.InitiateLayerUploadResponse = exports.InitiateLayerUploadRequest = exports.GetRepositoryPolicyResponse = exports.GetRepositoryPolicyRequest = exports.GetRegistryScanningConfigurationResponse = exports.RegistryScanningConfiguration = exports.ScanType = exports.RegistryScanningRule = exports.GetRegistryScanningConfigurationRequest = exports.GetRegistryPolicyResponse = exports.GetRegistryPolicyRequest = exports.LifecyclePolicyPreviewNotFoundException = exports.GetLifecyclePolicyPreviewResponse = exports.LifecyclePolicyPreviewSummary = exports.LifecyclePolicyPreviewStatus = exports.LifecyclePolicyPreviewResult = exports.LifecyclePolicyRuleAction = exports.ImageActionType = exports.GetLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewFilter = exports.GetLifecyclePolicyResponse = exports.GetLifecyclePolicyRequest = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.GetDownloadUrlForLayerResponse = exports.GetDownloadUrlForLayerRequest = exports.GetAuthorizationTokenResponse = exports.AuthorizationData = exports.GetAuthorizationTokenRequest = exports.DescribeRepositoriesResponse = exports.DescribeRepositoriesRequest = exports.DescribeRegistryResponse = exports.ReplicationConfiguration = exports.ReplicationRule = exports.RepositoryFilter = exports.RepositoryFilterType = exports.ReplicationDestination = exports.DescribeRegistryRequest = void 0;
|
|
6
|
+
exports.UploadLayerPartResponse = exports.UploadLayerPartRequest = exports.InvalidLayerPartException = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartLifecyclePolicyPreviewResponse = exports.StartLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.StartImageScanResponse = exports.StartImageScanRequest = exports.SetRepositoryPolicyResponse = exports.SetRepositoryPolicyRequest = exports.PutReplicationConfigurationResponse = exports.PutReplicationConfigurationRequest = exports.PutRegistryScanningConfigurationResponse = exports.PutRegistryScanningConfigurationRequest = exports.PutRegistryPolicyResponse = exports.PutRegistryPolicyRequest = exports.PutLifecyclePolicyResponse = exports.PutLifecyclePolicyRequest = exports.PutImageTagMutabilityResponse = exports.PutImageTagMutabilityRequest = exports.PutImageScanningConfigurationResponse = void 0;
|
|
7
|
+
const ECRServiceException_1 = require("./ECRServiceException");
|
|
6
8
|
var BatchCheckLayerAvailabilityRequest;
|
|
7
9
|
(function (BatchCheckLayerAvailabilityRequest) {
|
|
8
10
|
BatchCheckLayerAvailabilityRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -37,6 +39,45 @@ var BatchCheckLayerAvailabilityResponse;
|
|
|
37
39
|
...obj,
|
|
38
40
|
});
|
|
39
41
|
})(BatchCheckLayerAvailabilityResponse = exports.BatchCheckLayerAvailabilityResponse || (exports.BatchCheckLayerAvailabilityResponse = {}));
|
|
42
|
+
class InvalidParameterException extends ECRServiceException_1.ECRServiceException {
|
|
43
|
+
constructor(opts) {
|
|
44
|
+
super({
|
|
45
|
+
name: "InvalidParameterException",
|
|
46
|
+
$fault: "client",
|
|
47
|
+
...opts,
|
|
48
|
+
});
|
|
49
|
+
this.name = "InvalidParameterException";
|
|
50
|
+
this.$fault = "client";
|
|
51
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
55
|
+
class RepositoryNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "RepositoryNotFoundException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
this.name = "RepositoryNotFoundException";
|
|
63
|
+
this.$fault = "client";
|
|
64
|
+
Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.RepositoryNotFoundException = RepositoryNotFoundException;
|
|
68
|
+
class ServerException extends ECRServiceException_1.ECRServiceException {
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ServerException",
|
|
72
|
+
$fault: "server",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
this.name = "ServerException";
|
|
76
|
+
this.$fault = "server";
|
|
77
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ServerException = ServerException;
|
|
40
81
|
var ImageIdentifier;
|
|
41
82
|
(function (ImageIdentifier) {
|
|
42
83
|
ImageIdentifier.filterSensitiveLog = (obj) => ({
|
|
@@ -133,6 +174,19 @@ var BatchGetRepositoryScanningConfigurationResponse;
|
|
|
133
174
|
...obj,
|
|
134
175
|
});
|
|
135
176
|
})(BatchGetRepositoryScanningConfigurationResponse = exports.BatchGetRepositoryScanningConfigurationResponse || (exports.BatchGetRepositoryScanningConfigurationResponse = {}));
|
|
177
|
+
class ValidationException extends ECRServiceException_1.ECRServiceException {
|
|
178
|
+
constructor(opts) {
|
|
179
|
+
super({
|
|
180
|
+
name: "ValidationException",
|
|
181
|
+
$fault: "client",
|
|
182
|
+
...opts,
|
|
183
|
+
});
|
|
184
|
+
this.name = "ValidationException";
|
|
185
|
+
this.$fault = "client";
|
|
186
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
exports.ValidationException = ValidationException;
|
|
136
190
|
var CompleteLayerUploadRequest;
|
|
137
191
|
(function (CompleteLayerUploadRequest) {
|
|
138
192
|
CompleteLayerUploadRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -145,6 +199,85 @@ var CompleteLayerUploadResponse;
|
|
|
145
199
|
...obj,
|
|
146
200
|
});
|
|
147
201
|
})(CompleteLayerUploadResponse = exports.CompleteLayerUploadResponse || (exports.CompleteLayerUploadResponse = {}));
|
|
202
|
+
class EmptyUploadException extends ECRServiceException_1.ECRServiceException {
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "EmptyUploadException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
this.name = "EmptyUploadException";
|
|
210
|
+
this.$fault = "client";
|
|
211
|
+
Object.setPrototypeOf(this, EmptyUploadException.prototype);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.EmptyUploadException = EmptyUploadException;
|
|
215
|
+
class InvalidLayerException extends ECRServiceException_1.ECRServiceException {
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "InvalidLayerException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
this.name = "InvalidLayerException";
|
|
223
|
+
this.$fault = "client";
|
|
224
|
+
Object.setPrototypeOf(this, InvalidLayerException.prototype);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.InvalidLayerException = InvalidLayerException;
|
|
228
|
+
class KmsException extends ECRServiceException_1.ECRServiceException {
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "KmsException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts,
|
|
234
|
+
});
|
|
235
|
+
this.name = "KmsException";
|
|
236
|
+
this.$fault = "client";
|
|
237
|
+
Object.setPrototypeOf(this, KmsException.prototype);
|
|
238
|
+
this.kmsError = opts.kmsError;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.KmsException = KmsException;
|
|
242
|
+
class LayerAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
|
|
243
|
+
constructor(opts) {
|
|
244
|
+
super({
|
|
245
|
+
name: "LayerAlreadyExistsException",
|
|
246
|
+
$fault: "client",
|
|
247
|
+
...opts,
|
|
248
|
+
});
|
|
249
|
+
this.name = "LayerAlreadyExistsException";
|
|
250
|
+
this.$fault = "client";
|
|
251
|
+
Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
exports.LayerAlreadyExistsException = LayerAlreadyExistsException;
|
|
255
|
+
class LayerPartTooSmallException extends ECRServiceException_1.ECRServiceException {
|
|
256
|
+
constructor(opts) {
|
|
257
|
+
super({
|
|
258
|
+
name: "LayerPartTooSmallException",
|
|
259
|
+
$fault: "client",
|
|
260
|
+
...opts,
|
|
261
|
+
});
|
|
262
|
+
this.name = "LayerPartTooSmallException";
|
|
263
|
+
this.$fault = "client";
|
|
264
|
+
Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
exports.LayerPartTooSmallException = LayerPartTooSmallException;
|
|
268
|
+
class UploadNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
269
|
+
constructor(opts) {
|
|
270
|
+
super({
|
|
271
|
+
name: "UploadNotFoundException",
|
|
272
|
+
$fault: "client",
|
|
273
|
+
...opts,
|
|
274
|
+
});
|
|
275
|
+
this.name = "UploadNotFoundException";
|
|
276
|
+
this.$fault = "client";
|
|
277
|
+
Object.setPrototypeOf(this, UploadNotFoundException.prototype);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
exports.UploadNotFoundException = UploadNotFoundException;
|
|
148
281
|
var CreatePullThroughCacheRuleRequest;
|
|
149
282
|
(function (CreatePullThroughCacheRuleRequest) {
|
|
150
283
|
CreatePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -157,6 +290,45 @@ var CreatePullThroughCacheRuleResponse;
|
|
|
157
290
|
...obj,
|
|
158
291
|
});
|
|
159
292
|
})(CreatePullThroughCacheRuleResponse = exports.CreatePullThroughCacheRuleResponse || (exports.CreatePullThroughCacheRuleResponse = {}));
|
|
293
|
+
class LimitExceededException extends ECRServiceException_1.ECRServiceException {
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "LimitExceededException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
this.name = "LimitExceededException";
|
|
301
|
+
this.$fault = "client";
|
|
302
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
exports.LimitExceededException = LimitExceededException;
|
|
306
|
+
class PullThroughCacheRuleAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "PullThroughCacheRuleAlreadyExistsException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts,
|
|
312
|
+
});
|
|
313
|
+
this.name = "PullThroughCacheRuleAlreadyExistsException";
|
|
314
|
+
this.$fault = "client";
|
|
315
|
+
Object.setPrototypeOf(this, PullThroughCacheRuleAlreadyExistsException.prototype);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
exports.PullThroughCacheRuleAlreadyExistsException = PullThroughCacheRuleAlreadyExistsException;
|
|
319
|
+
class UnsupportedUpstreamRegistryException extends ECRServiceException_1.ECRServiceException {
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "UnsupportedUpstreamRegistryException",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts,
|
|
325
|
+
});
|
|
326
|
+
this.name = "UnsupportedUpstreamRegistryException";
|
|
327
|
+
this.$fault = "client";
|
|
328
|
+
Object.setPrototypeOf(this, UnsupportedUpstreamRegistryException.prototype);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
exports.UnsupportedUpstreamRegistryException = UnsupportedUpstreamRegistryException;
|
|
160
332
|
var EncryptionType;
|
|
161
333
|
(function (EncryptionType) {
|
|
162
334
|
EncryptionType["AES256"] = "AES256";
|
|
@@ -203,6 +375,45 @@ var CreateRepositoryResponse;
|
|
|
203
375
|
...obj,
|
|
204
376
|
});
|
|
205
377
|
})(CreateRepositoryResponse = exports.CreateRepositoryResponse || (exports.CreateRepositoryResponse = {}));
|
|
378
|
+
class InvalidTagParameterException extends ECRServiceException_1.ECRServiceException {
|
|
379
|
+
constructor(opts) {
|
|
380
|
+
super({
|
|
381
|
+
name: "InvalidTagParameterException",
|
|
382
|
+
$fault: "client",
|
|
383
|
+
...opts,
|
|
384
|
+
});
|
|
385
|
+
this.name = "InvalidTagParameterException";
|
|
386
|
+
this.$fault = "client";
|
|
387
|
+
Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
exports.InvalidTagParameterException = InvalidTagParameterException;
|
|
391
|
+
class RepositoryAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
|
|
392
|
+
constructor(opts) {
|
|
393
|
+
super({
|
|
394
|
+
name: "RepositoryAlreadyExistsException",
|
|
395
|
+
$fault: "client",
|
|
396
|
+
...opts,
|
|
397
|
+
});
|
|
398
|
+
this.name = "RepositoryAlreadyExistsException";
|
|
399
|
+
this.$fault = "client";
|
|
400
|
+
Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;
|
|
404
|
+
class TooManyTagsException extends ECRServiceException_1.ECRServiceException {
|
|
405
|
+
constructor(opts) {
|
|
406
|
+
super({
|
|
407
|
+
name: "TooManyTagsException",
|
|
408
|
+
$fault: "client",
|
|
409
|
+
...opts,
|
|
410
|
+
});
|
|
411
|
+
this.name = "TooManyTagsException";
|
|
412
|
+
this.$fault = "client";
|
|
413
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
206
417
|
var DeleteLifecyclePolicyRequest;
|
|
207
418
|
(function (DeleteLifecyclePolicyRequest) {
|
|
208
419
|
DeleteLifecyclePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -215,6 +426,19 @@ var DeleteLifecyclePolicyResponse;
|
|
|
215
426
|
...obj,
|
|
216
427
|
});
|
|
217
428
|
})(DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyResponse || (exports.DeleteLifecyclePolicyResponse = {}));
|
|
429
|
+
class LifecyclePolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
430
|
+
constructor(opts) {
|
|
431
|
+
super({
|
|
432
|
+
name: "LifecyclePolicyNotFoundException",
|
|
433
|
+
$fault: "client",
|
|
434
|
+
...opts,
|
|
435
|
+
});
|
|
436
|
+
this.name = "LifecyclePolicyNotFoundException";
|
|
437
|
+
this.$fault = "client";
|
|
438
|
+
Object.setPrototypeOf(this, LifecyclePolicyNotFoundException.prototype);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
exports.LifecyclePolicyNotFoundException = LifecyclePolicyNotFoundException;
|
|
218
442
|
var DeletePullThroughCacheRuleRequest;
|
|
219
443
|
(function (DeletePullThroughCacheRuleRequest) {
|
|
220
444
|
DeletePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -227,6 +451,19 @@ var DeletePullThroughCacheRuleResponse;
|
|
|
227
451
|
...obj,
|
|
228
452
|
});
|
|
229
453
|
})(DeletePullThroughCacheRuleResponse = exports.DeletePullThroughCacheRuleResponse || (exports.DeletePullThroughCacheRuleResponse = {}));
|
|
454
|
+
class PullThroughCacheRuleNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
455
|
+
constructor(opts) {
|
|
456
|
+
super({
|
|
457
|
+
name: "PullThroughCacheRuleNotFoundException",
|
|
458
|
+
$fault: "client",
|
|
459
|
+
...opts,
|
|
460
|
+
});
|
|
461
|
+
this.name = "PullThroughCacheRuleNotFoundException";
|
|
462
|
+
this.$fault = "client";
|
|
463
|
+
Object.setPrototypeOf(this, PullThroughCacheRuleNotFoundException.prototype);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
exports.PullThroughCacheRuleNotFoundException = PullThroughCacheRuleNotFoundException;
|
|
230
467
|
var DeleteRegistryPolicyRequest;
|
|
231
468
|
(function (DeleteRegistryPolicyRequest) {
|
|
232
469
|
DeleteRegistryPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -239,6 +476,19 @@ var DeleteRegistryPolicyResponse;
|
|
|
239
476
|
...obj,
|
|
240
477
|
});
|
|
241
478
|
})(DeleteRegistryPolicyResponse = exports.DeleteRegistryPolicyResponse || (exports.DeleteRegistryPolicyResponse = {}));
|
|
479
|
+
class RegistryPolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
480
|
+
constructor(opts) {
|
|
481
|
+
super({
|
|
482
|
+
name: "RegistryPolicyNotFoundException",
|
|
483
|
+
$fault: "client",
|
|
484
|
+
...opts,
|
|
485
|
+
});
|
|
486
|
+
this.name = "RegistryPolicyNotFoundException";
|
|
487
|
+
this.$fault = "client";
|
|
488
|
+
Object.setPrototypeOf(this, RegistryPolicyNotFoundException.prototype);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
exports.RegistryPolicyNotFoundException = RegistryPolicyNotFoundException;
|
|
242
492
|
var DeleteRepositoryRequest;
|
|
243
493
|
(function (DeleteRepositoryRequest) {
|
|
244
494
|
DeleteRepositoryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -251,6 +501,19 @@ var DeleteRepositoryResponse;
|
|
|
251
501
|
...obj,
|
|
252
502
|
});
|
|
253
503
|
})(DeleteRepositoryResponse = exports.DeleteRepositoryResponse || (exports.DeleteRepositoryResponse = {}));
|
|
504
|
+
class RepositoryNotEmptyException extends ECRServiceException_1.ECRServiceException {
|
|
505
|
+
constructor(opts) {
|
|
506
|
+
super({
|
|
507
|
+
name: "RepositoryNotEmptyException",
|
|
508
|
+
$fault: "client",
|
|
509
|
+
...opts,
|
|
510
|
+
});
|
|
511
|
+
this.name = "RepositoryNotEmptyException";
|
|
512
|
+
this.$fault = "client";
|
|
513
|
+
Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
exports.RepositoryNotEmptyException = RepositoryNotEmptyException;
|
|
254
517
|
var DeleteRepositoryPolicyRequest;
|
|
255
518
|
(function (DeleteRepositoryPolicyRequest) {
|
|
256
519
|
DeleteRepositoryPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -263,6 +526,19 @@ var DeleteRepositoryPolicyResponse;
|
|
|
263
526
|
...obj,
|
|
264
527
|
});
|
|
265
528
|
})(DeleteRepositoryPolicyResponse = exports.DeleteRepositoryPolicyResponse || (exports.DeleteRepositoryPolicyResponse = {}));
|
|
529
|
+
class RepositoryPolicyNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
530
|
+
constructor(opts) {
|
|
531
|
+
super({
|
|
532
|
+
name: "RepositoryPolicyNotFoundException",
|
|
533
|
+
$fault: "client",
|
|
534
|
+
...opts,
|
|
535
|
+
});
|
|
536
|
+
this.name = "RepositoryPolicyNotFoundException";
|
|
537
|
+
this.$fault = "client";
|
|
538
|
+
Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
|
|
266
542
|
var DescribeImageReplicationStatusRequest;
|
|
267
543
|
(function (DescribeImageReplicationStatusRequest) {
|
|
268
544
|
DescribeImageReplicationStatusRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -287,6 +563,19 @@ var DescribeImageReplicationStatusResponse;
|
|
|
287
563
|
...obj,
|
|
288
564
|
});
|
|
289
565
|
})(DescribeImageReplicationStatusResponse = exports.DescribeImageReplicationStatusResponse || (exports.DescribeImageReplicationStatusResponse = {}));
|
|
566
|
+
class ImageNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
567
|
+
constructor(opts) {
|
|
568
|
+
super({
|
|
569
|
+
name: "ImageNotFoundException",
|
|
570
|
+
$fault: "client",
|
|
571
|
+
...opts,
|
|
572
|
+
});
|
|
573
|
+
this.name = "ImageNotFoundException";
|
|
574
|
+
this.$fault = "client";
|
|
575
|
+
Object.setPrototypeOf(this, ImageNotFoundException.prototype);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
exports.ImageNotFoundException = ImageNotFoundException;
|
|
290
579
|
var TagStatus;
|
|
291
580
|
(function (TagStatus) {
|
|
292
581
|
TagStatus["ANY"] = "ANY";
|
|
@@ -451,6 +740,19 @@ var DescribeImageScanFindingsResponse;
|
|
|
451
740
|
...obj,
|
|
452
741
|
});
|
|
453
742
|
})(DescribeImageScanFindingsResponse = exports.DescribeImageScanFindingsResponse || (exports.DescribeImageScanFindingsResponse = {}));
|
|
743
|
+
class ScanNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
744
|
+
constructor(opts) {
|
|
745
|
+
super({
|
|
746
|
+
name: "ScanNotFoundException",
|
|
747
|
+
$fault: "client",
|
|
748
|
+
...opts,
|
|
749
|
+
});
|
|
750
|
+
this.name = "ScanNotFoundException";
|
|
751
|
+
this.$fault = "client";
|
|
752
|
+
Object.setPrototypeOf(this, ScanNotFoundException.prototype);
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
exports.ScanNotFoundException = ScanNotFoundException;
|
|
454
756
|
var DescribePullThroughCacheRulesRequest;
|
|
455
757
|
(function (DescribePullThroughCacheRulesRequest) {
|
|
456
758
|
DescribePullThroughCacheRulesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -551,6 +853,32 @@ var GetDownloadUrlForLayerResponse;
|
|
|
551
853
|
...obj,
|
|
552
854
|
});
|
|
553
855
|
})(GetDownloadUrlForLayerResponse = exports.GetDownloadUrlForLayerResponse || (exports.GetDownloadUrlForLayerResponse = {}));
|
|
856
|
+
class LayerInaccessibleException extends ECRServiceException_1.ECRServiceException {
|
|
857
|
+
constructor(opts) {
|
|
858
|
+
super({
|
|
859
|
+
name: "LayerInaccessibleException",
|
|
860
|
+
$fault: "client",
|
|
861
|
+
...opts,
|
|
862
|
+
});
|
|
863
|
+
this.name = "LayerInaccessibleException";
|
|
864
|
+
this.$fault = "client";
|
|
865
|
+
Object.setPrototypeOf(this, LayerInaccessibleException.prototype);
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
exports.LayerInaccessibleException = LayerInaccessibleException;
|
|
869
|
+
class LayersNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
870
|
+
constructor(opts) {
|
|
871
|
+
super({
|
|
872
|
+
name: "LayersNotFoundException",
|
|
873
|
+
$fault: "client",
|
|
874
|
+
...opts,
|
|
875
|
+
});
|
|
876
|
+
this.name = "LayersNotFoundException";
|
|
877
|
+
this.$fault = "client";
|
|
878
|
+
Object.setPrototypeOf(this, LayersNotFoundException.prototype);
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
exports.LayersNotFoundException = LayersNotFoundException;
|
|
554
882
|
var GetLifecyclePolicyRequest;
|
|
555
883
|
(function (GetLifecyclePolicyRequest) {
|
|
556
884
|
GetLifecyclePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -610,6 +938,19 @@ var GetLifecyclePolicyPreviewResponse;
|
|
|
610
938
|
...obj,
|
|
611
939
|
});
|
|
612
940
|
})(GetLifecyclePolicyPreviewResponse = exports.GetLifecyclePolicyPreviewResponse || (exports.GetLifecyclePolicyPreviewResponse = {}));
|
|
941
|
+
class LifecyclePolicyPreviewNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
942
|
+
constructor(opts) {
|
|
943
|
+
super({
|
|
944
|
+
name: "LifecyclePolicyPreviewNotFoundException",
|
|
945
|
+
$fault: "client",
|
|
946
|
+
...opts,
|
|
947
|
+
});
|
|
948
|
+
this.name = "LifecyclePolicyPreviewNotFoundException";
|
|
949
|
+
this.$fault = "client";
|
|
950
|
+
Object.setPrototypeOf(this, LifecyclePolicyPreviewNotFoundException.prototype);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
exports.LifecyclePolicyPreviewNotFoundException = LifecyclePolicyPreviewNotFoundException;
|
|
613
954
|
var GetRegistryPolicyRequest;
|
|
614
955
|
(function (GetRegistryPolicyRequest) {
|
|
615
956
|
GetRegistryPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -705,6 +1046,45 @@ var ListTagsForResourceResponse;
|
|
|
705
1046
|
...obj,
|
|
706
1047
|
});
|
|
707
1048
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
1049
|
+
class ImageAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
|
|
1050
|
+
constructor(opts) {
|
|
1051
|
+
super({
|
|
1052
|
+
name: "ImageAlreadyExistsException",
|
|
1053
|
+
$fault: "client",
|
|
1054
|
+
...opts,
|
|
1055
|
+
});
|
|
1056
|
+
this.name = "ImageAlreadyExistsException";
|
|
1057
|
+
this.$fault = "client";
|
|
1058
|
+
Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
exports.ImageAlreadyExistsException = ImageAlreadyExistsException;
|
|
1062
|
+
class ImageDigestDoesNotMatchException extends ECRServiceException_1.ECRServiceException {
|
|
1063
|
+
constructor(opts) {
|
|
1064
|
+
super({
|
|
1065
|
+
name: "ImageDigestDoesNotMatchException",
|
|
1066
|
+
$fault: "client",
|
|
1067
|
+
...opts,
|
|
1068
|
+
});
|
|
1069
|
+
this.name = "ImageDigestDoesNotMatchException";
|
|
1070
|
+
this.$fault = "client";
|
|
1071
|
+
Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;
|
|
1075
|
+
class ImageTagAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
|
|
1076
|
+
constructor(opts) {
|
|
1077
|
+
super({
|
|
1078
|
+
name: "ImageTagAlreadyExistsException",
|
|
1079
|
+
$fault: "client",
|
|
1080
|
+
...opts,
|
|
1081
|
+
});
|
|
1082
|
+
this.name = "ImageTagAlreadyExistsException";
|
|
1083
|
+
this.$fault = "client";
|
|
1084
|
+
Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;
|
|
708
1088
|
var PutImageRequest;
|
|
709
1089
|
(function (PutImageRequest) {
|
|
710
1090
|
PutImageRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -717,6 +1097,19 @@ var PutImageResponse;
|
|
|
717
1097
|
...obj,
|
|
718
1098
|
});
|
|
719
1099
|
})(PutImageResponse = exports.PutImageResponse || (exports.PutImageResponse = {}));
|
|
1100
|
+
class ReferencedImagesNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
1101
|
+
constructor(opts) {
|
|
1102
|
+
super({
|
|
1103
|
+
name: "ReferencedImagesNotFoundException",
|
|
1104
|
+
$fault: "client",
|
|
1105
|
+
...opts,
|
|
1106
|
+
});
|
|
1107
|
+
this.name = "ReferencedImagesNotFoundException";
|
|
1108
|
+
this.$fault = "client";
|
|
1109
|
+
Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;
|
|
720
1113
|
var PutImageScanningConfigurationRequest;
|
|
721
1114
|
(function (PutImageScanningConfigurationRequest) {
|
|
722
1115
|
PutImageScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -813,6 +1206,32 @@ var StartImageScanResponse;
|
|
|
813
1206
|
...obj,
|
|
814
1207
|
});
|
|
815
1208
|
})(StartImageScanResponse = exports.StartImageScanResponse || (exports.StartImageScanResponse = {}));
|
|
1209
|
+
class UnsupportedImageTypeException extends ECRServiceException_1.ECRServiceException {
|
|
1210
|
+
constructor(opts) {
|
|
1211
|
+
super({
|
|
1212
|
+
name: "UnsupportedImageTypeException",
|
|
1213
|
+
$fault: "client",
|
|
1214
|
+
...opts,
|
|
1215
|
+
});
|
|
1216
|
+
this.name = "UnsupportedImageTypeException";
|
|
1217
|
+
this.$fault = "client";
|
|
1218
|
+
Object.setPrototypeOf(this, UnsupportedImageTypeException.prototype);
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
exports.UnsupportedImageTypeException = UnsupportedImageTypeException;
|
|
1222
|
+
class LifecyclePolicyPreviewInProgressException extends ECRServiceException_1.ECRServiceException {
|
|
1223
|
+
constructor(opts) {
|
|
1224
|
+
super({
|
|
1225
|
+
name: "LifecyclePolicyPreviewInProgressException",
|
|
1226
|
+
$fault: "client",
|
|
1227
|
+
...opts,
|
|
1228
|
+
});
|
|
1229
|
+
this.name = "LifecyclePolicyPreviewInProgressException";
|
|
1230
|
+
this.$fault = "client";
|
|
1231
|
+
Object.setPrototypeOf(this, LifecyclePolicyPreviewInProgressException.prototype);
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
exports.LifecyclePolicyPreviewInProgressException = LifecyclePolicyPreviewInProgressException;
|
|
816
1235
|
var StartLifecyclePolicyPreviewRequest;
|
|
817
1236
|
(function (StartLifecyclePolicyPreviewRequest) {
|
|
818
1237
|
StartLifecyclePolicyPreviewRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -849,6 +1268,23 @@ var UntagResourceResponse;
|
|
|
849
1268
|
...obj,
|
|
850
1269
|
});
|
|
851
1270
|
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
1271
|
+
class InvalidLayerPartException extends ECRServiceException_1.ECRServiceException {
|
|
1272
|
+
constructor(opts) {
|
|
1273
|
+
super({
|
|
1274
|
+
name: "InvalidLayerPartException",
|
|
1275
|
+
$fault: "client",
|
|
1276
|
+
...opts,
|
|
1277
|
+
});
|
|
1278
|
+
this.name = "InvalidLayerPartException";
|
|
1279
|
+
this.$fault = "client";
|
|
1280
|
+
Object.setPrototypeOf(this, InvalidLayerPartException.prototype);
|
|
1281
|
+
this.registryId = opts.registryId;
|
|
1282
|
+
this.repositoryName = opts.repositoryName;
|
|
1283
|
+
this.uploadId = opts.uploadId;
|
|
1284
|
+
this.lastValidByteReceived = opts.lastValidByteReceived;
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
exports.InvalidLayerPartException = InvalidLayerPartException;
|
|
852
1288
|
var UploadLayerPartRequest;
|
|
853
1289
|
(function (UploadLayerPartRequest) {
|
|
854
1290
|
UploadLayerPartRequest.filterSensitiveLog = (obj) => ({
|