@aws-sdk/client-ecr 3.300.0 → 3.303.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/dist-cjs/models/models_0.js +80 -96
- package/dist-es/models/models_0.js +80 -96
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -2
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetImageCommand.d.ts +4 -4
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -2
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateRepositoryCommand.d.ts +5 -5
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +2 -2
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +4 -4
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -2
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +4 -4
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutImageCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/StartImageScanCommand.d.ts +2 -2
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +160 -80
- package/dist-types/ts3.4/models/models_0.d.ts +108 -80
- package/package.json +35 -35
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvalidLayerPartException = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.ReferencedImagesNotFoundException = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.ScanType = exports.LifecyclePolicyPreviewNotFoundException = exports.LifecyclePolicyPreviewStatus = exports.ImageActionType = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.RepositoryFilterType = exports.ScanNotFoundException = exports.ScanStatus = exports.FindingSeverity = exports.TagStatus = exports.ImageNotFoundException = exports.ReplicationStatus = exports.RepositoryPolicyNotFoundException = exports.RepositoryNotEmptyException = exports.RegistryPolicyNotFoundException = exports.PullThroughCacheRuleNotFoundException = exports.LifecyclePolicyNotFoundException = exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.InvalidTagParameterException = exports.ImageTagMutability = exports.EncryptionType = exports.UnsupportedUpstreamRegistryException = exports.PullThroughCacheRuleAlreadyExistsException = exports.LimitExceededException = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.ValidationException = exports.ScanFrequency = exports.ScanningRepositoryFilterType = exports.ScanningConfigurationFailureCode = exports.ImageFailureCode = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = exports.LayerAvailability = exports.LayerFailureCode = void 0;
|
|
4
4
|
const ECRServiceException_1 = require("./ECRServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
LayerAvailability["UNAVAILABLE"] = "UNAVAILABLE";
|
|
14
|
-
})(LayerAvailability = exports.LayerAvailability || (exports.LayerAvailability = {}));
|
|
5
|
+
exports.LayerFailureCode = {
|
|
6
|
+
InvalidLayerDigest: "InvalidLayerDigest",
|
|
7
|
+
MissingLayerDigest: "MissingLayerDigest",
|
|
8
|
+
};
|
|
9
|
+
exports.LayerAvailability = {
|
|
10
|
+
AVAILABLE: "AVAILABLE",
|
|
11
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
12
|
+
};
|
|
15
13
|
class InvalidParameterException extends ECRServiceException_1.ECRServiceException {
|
|
16
14
|
constructor(opts) {
|
|
17
15
|
super({
|
|
@@ -51,30 +49,26 @@ class ServerException extends ECRServiceException_1.ECRServiceException {
|
|
|
51
49
|
}
|
|
52
50
|
}
|
|
53
51
|
exports.ServerException = ServerException;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
ScanFrequency["CONTINUOUS_SCAN"] = "CONTINUOUS_SCAN";
|
|
75
|
-
ScanFrequency["MANUAL"] = "MANUAL";
|
|
76
|
-
ScanFrequency["SCAN_ON_PUSH"] = "SCAN_ON_PUSH";
|
|
77
|
-
})(ScanFrequency = exports.ScanFrequency || (exports.ScanFrequency = {}));
|
|
52
|
+
exports.ImageFailureCode = {
|
|
53
|
+
ImageNotFound: "ImageNotFound",
|
|
54
|
+
ImageReferencedByManifestList: "ImageReferencedByManifestList",
|
|
55
|
+
ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest",
|
|
56
|
+
InvalidImageDigest: "InvalidImageDigest",
|
|
57
|
+
InvalidImageTag: "InvalidImageTag",
|
|
58
|
+
KmsError: "KmsError",
|
|
59
|
+
MissingDigestAndTag: "MissingDigestAndTag",
|
|
60
|
+
};
|
|
61
|
+
exports.ScanningConfigurationFailureCode = {
|
|
62
|
+
REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND",
|
|
63
|
+
};
|
|
64
|
+
exports.ScanningRepositoryFilterType = {
|
|
65
|
+
WILDCARD: "WILDCARD",
|
|
66
|
+
};
|
|
67
|
+
exports.ScanFrequency = {
|
|
68
|
+
CONTINUOUS_SCAN: "CONTINUOUS_SCAN",
|
|
69
|
+
MANUAL: "MANUAL",
|
|
70
|
+
SCAN_ON_PUSH: "SCAN_ON_PUSH",
|
|
71
|
+
};
|
|
78
72
|
class ValidationException extends ECRServiceException_1.ECRServiceException {
|
|
79
73
|
constructor(opts) {
|
|
80
74
|
super({
|
|
@@ -206,16 +200,14 @@ class UnsupportedUpstreamRegistryException extends ECRServiceException_1.ECRServ
|
|
|
206
200
|
}
|
|
207
201
|
}
|
|
208
202
|
exports.UnsupportedUpstreamRegistryException = UnsupportedUpstreamRegistryException;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
ImageTagMutability["MUTABLE"] = "MUTABLE";
|
|
218
|
-
})(ImageTagMutability = exports.ImageTagMutability || (exports.ImageTagMutability = {}));
|
|
203
|
+
exports.EncryptionType = {
|
|
204
|
+
AES256: "AES256",
|
|
205
|
+
KMS: "KMS",
|
|
206
|
+
};
|
|
207
|
+
exports.ImageTagMutability = {
|
|
208
|
+
IMMUTABLE: "IMMUTABLE",
|
|
209
|
+
MUTABLE: "MUTABLE",
|
|
210
|
+
};
|
|
219
211
|
class InvalidTagParameterException extends ECRServiceException_1.ECRServiceException {
|
|
220
212
|
constructor(opts) {
|
|
221
213
|
super({
|
|
@@ -320,12 +312,11 @@ class RepositoryPolicyNotFoundException extends ECRServiceException_1.ECRService
|
|
|
320
312
|
}
|
|
321
313
|
}
|
|
322
314
|
exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
})(ReplicationStatus = exports.ReplicationStatus || (exports.ReplicationStatus = {}));
|
|
315
|
+
exports.ReplicationStatus = {
|
|
316
|
+
COMPLETE: "COMPLETE",
|
|
317
|
+
FAILED: "FAILED",
|
|
318
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
319
|
+
};
|
|
329
320
|
class ImageNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
330
321
|
constructor(opts) {
|
|
331
322
|
super({
|
|
@@ -339,32 +330,29 @@ class ImageNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
|
339
330
|
}
|
|
340
331
|
}
|
|
341
332
|
exports.ImageNotFoundException = ImageNotFoundException;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
ScanStatus["SCAN_ELIGIBILITY_EXPIRED"] = "SCAN_ELIGIBILITY_EXPIRED";
|
|
366
|
-
ScanStatus["UNSUPPORTED_IMAGE"] = "UNSUPPORTED_IMAGE";
|
|
367
|
-
})(ScanStatus = exports.ScanStatus || (exports.ScanStatus = {}));
|
|
333
|
+
exports.TagStatus = {
|
|
334
|
+
ANY: "ANY",
|
|
335
|
+
TAGGED: "TAGGED",
|
|
336
|
+
UNTAGGED: "UNTAGGED",
|
|
337
|
+
};
|
|
338
|
+
exports.FindingSeverity = {
|
|
339
|
+
CRITICAL: "CRITICAL",
|
|
340
|
+
HIGH: "HIGH",
|
|
341
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
342
|
+
LOW: "LOW",
|
|
343
|
+
MEDIUM: "MEDIUM",
|
|
344
|
+
UNDEFINED: "UNDEFINED",
|
|
345
|
+
};
|
|
346
|
+
exports.ScanStatus = {
|
|
347
|
+
ACTIVE: "ACTIVE",
|
|
348
|
+
COMPLETE: "COMPLETE",
|
|
349
|
+
FAILED: "FAILED",
|
|
350
|
+
FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE",
|
|
351
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
352
|
+
PENDING: "PENDING",
|
|
353
|
+
SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
|
|
354
|
+
UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE",
|
|
355
|
+
};
|
|
368
356
|
class ScanNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
369
357
|
constructor(opts) {
|
|
370
358
|
super({
|
|
@@ -378,10 +366,9 @@ class ScanNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
|
378
366
|
}
|
|
379
367
|
}
|
|
380
368
|
exports.ScanNotFoundException = ScanNotFoundException;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
})(RepositoryFilterType = exports.RepositoryFilterType || (exports.RepositoryFilterType = {}));
|
|
369
|
+
exports.RepositoryFilterType = {
|
|
370
|
+
PREFIX_MATCH: "PREFIX_MATCH",
|
|
371
|
+
};
|
|
385
372
|
class LayerInaccessibleException extends ECRServiceException_1.ECRServiceException {
|
|
386
373
|
constructor(opts) {
|
|
387
374
|
super({
|
|
@@ -408,17 +395,15 @@ class LayersNotFoundException extends ECRServiceException_1.ECRServiceException
|
|
|
408
395
|
}
|
|
409
396
|
}
|
|
410
397
|
exports.LayersNotFoundException = LayersNotFoundException;
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
LifecyclePolicyPreviewStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
421
|
-
})(LifecyclePolicyPreviewStatus = exports.LifecyclePolicyPreviewStatus || (exports.LifecyclePolicyPreviewStatus = {}));
|
|
398
|
+
exports.ImageActionType = {
|
|
399
|
+
EXPIRE: "EXPIRE",
|
|
400
|
+
};
|
|
401
|
+
exports.LifecyclePolicyPreviewStatus = {
|
|
402
|
+
COMPLETE: "COMPLETE",
|
|
403
|
+
EXPIRED: "EXPIRED",
|
|
404
|
+
FAILED: "FAILED",
|
|
405
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
406
|
+
};
|
|
422
407
|
class LifecyclePolicyPreviewNotFoundException extends ECRServiceException_1.ECRServiceException {
|
|
423
408
|
constructor(opts) {
|
|
424
409
|
super({
|
|
@@ -432,11 +417,10 @@ class LifecyclePolicyPreviewNotFoundException extends ECRServiceException_1.ECRS
|
|
|
432
417
|
}
|
|
433
418
|
}
|
|
434
419
|
exports.LifecyclePolicyPreviewNotFoundException = LifecyclePolicyPreviewNotFoundException;
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
})(ScanType = exports.ScanType || (exports.ScanType = {}));
|
|
420
|
+
exports.ScanType = {
|
|
421
|
+
BASIC: "BASIC",
|
|
422
|
+
ENHANCED: "ENHANCED",
|
|
423
|
+
};
|
|
440
424
|
class ImageAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
|
|
441
425
|
constructor(opts) {
|
|
442
426
|
super({
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { ECRServiceException as __BaseException } from "./ECRServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
LayerAvailability["UNAVAILABLE"] = "UNAVAILABLE";
|
|
11
|
-
})(LayerAvailability || (LayerAvailability = {}));
|
|
2
|
+
export const LayerFailureCode = {
|
|
3
|
+
InvalidLayerDigest: "InvalidLayerDigest",
|
|
4
|
+
MissingLayerDigest: "MissingLayerDigest",
|
|
5
|
+
};
|
|
6
|
+
export const LayerAvailability = {
|
|
7
|
+
AVAILABLE: "AVAILABLE",
|
|
8
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
9
|
+
};
|
|
12
10
|
export class InvalidParameterException extends __BaseException {
|
|
13
11
|
constructor(opts) {
|
|
14
12
|
super({
|
|
@@ -45,30 +43,26 @@ export class ServerException extends __BaseException {
|
|
|
45
43
|
Object.setPrototypeOf(this, ServerException.prototype);
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
|
-
export
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
ScanFrequency["CONTINUOUS_SCAN"] = "CONTINUOUS_SCAN";
|
|
69
|
-
ScanFrequency["MANUAL"] = "MANUAL";
|
|
70
|
-
ScanFrequency["SCAN_ON_PUSH"] = "SCAN_ON_PUSH";
|
|
71
|
-
})(ScanFrequency || (ScanFrequency = {}));
|
|
46
|
+
export const ImageFailureCode = {
|
|
47
|
+
ImageNotFound: "ImageNotFound",
|
|
48
|
+
ImageReferencedByManifestList: "ImageReferencedByManifestList",
|
|
49
|
+
ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest",
|
|
50
|
+
InvalidImageDigest: "InvalidImageDigest",
|
|
51
|
+
InvalidImageTag: "InvalidImageTag",
|
|
52
|
+
KmsError: "KmsError",
|
|
53
|
+
MissingDigestAndTag: "MissingDigestAndTag",
|
|
54
|
+
};
|
|
55
|
+
export const ScanningConfigurationFailureCode = {
|
|
56
|
+
REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND",
|
|
57
|
+
};
|
|
58
|
+
export const ScanningRepositoryFilterType = {
|
|
59
|
+
WILDCARD: "WILDCARD",
|
|
60
|
+
};
|
|
61
|
+
export const ScanFrequency = {
|
|
62
|
+
CONTINUOUS_SCAN: "CONTINUOUS_SCAN",
|
|
63
|
+
MANUAL: "MANUAL",
|
|
64
|
+
SCAN_ON_PUSH: "SCAN_ON_PUSH",
|
|
65
|
+
};
|
|
72
66
|
export class ValidationException extends __BaseException {
|
|
73
67
|
constructor(opts) {
|
|
74
68
|
super({
|
|
@@ -190,16 +184,14 @@ export class UnsupportedUpstreamRegistryException extends __BaseException {
|
|
|
190
184
|
Object.setPrototypeOf(this, UnsupportedUpstreamRegistryException.prototype);
|
|
191
185
|
}
|
|
192
186
|
}
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
ImageTagMutability["MUTABLE"] = "MUTABLE";
|
|
202
|
-
})(ImageTagMutability || (ImageTagMutability = {}));
|
|
187
|
+
export const EncryptionType = {
|
|
188
|
+
AES256: "AES256",
|
|
189
|
+
KMS: "KMS",
|
|
190
|
+
};
|
|
191
|
+
export const ImageTagMutability = {
|
|
192
|
+
IMMUTABLE: "IMMUTABLE",
|
|
193
|
+
MUTABLE: "MUTABLE",
|
|
194
|
+
};
|
|
203
195
|
export class InvalidTagParameterException extends __BaseException {
|
|
204
196
|
constructor(opts) {
|
|
205
197
|
super({
|
|
@@ -296,12 +288,11 @@ export class RepositoryPolicyNotFoundException extends __BaseException {
|
|
|
296
288
|
Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
|
|
297
289
|
}
|
|
298
290
|
}
|
|
299
|
-
export
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
})(ReplicationStatus || (ReplicationStatus = {}));
|
|
291
|
+
export const ReplicationStatus = {
|
|
292
|
+
COMPLETE: "COMPLETE",
|
|
293
|
+
FAILED: "FAILED",
|
|
294
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
295
|
+
};
|
|
305
296
|
export class ImageNotFoundException extends __BaseException {
|
|
306
297
|
constructor(opts) {
|
|
307
298
|
super({
|
|
@@ -314,32 +305,29 @@ export class ImageNotFoundException extends __BaseException {
|
|
|
314
305
|
Object.setPrototypeOf(this, ImageNotFoundException.prototype);
|
|
315
306
|
}
|
|
316
307
|
}
|
|
317
|
-
export
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
ScanStatus["SCAN_ELIGIBILITY_EXPIRED"] = "SCAN_ELIGIBILITY_EXPIRED";
|
|
341
|
-
ScanStatus["UNSUPPORTED_IMAGE"] = "UNSUPPORTED_IMAGE";
|
|
342
|
-
})(ScanStatus || (ScanStatus = {}));
|
|
308
|
+
export const TagStatus = {
|
|
309
|
+
ANY: "ANY",
|
|
310
|
+
TAGGED: "TAGGED",
|
|
311
|
+
UNTAGGED: "UNTAGGED",
|
|
312
|
+
};
|
|
313
|
+
export const FindingSeverity = {
|
|
314
|
+
CRITICAL: "CRITICAL",
|
|
315
|
+
HIGH: "HIGH",
|
|
316
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
317
|
+
LOW: "LOW",
|
|
318
|
+
MEDIUM: "MEDIUM",
|
|
319
|
+
UNDEFINED: "UNDEFINED",
|
|
320
|
+
};
|
|
321
|
+
export const ScanStatus = {
|
|
322
|
+
ACTIVE: "ACTIVE",
|
|
323
|
+
COMPLETE: "COMPLETE",
|
|
324
|
+
FAILED: "FAILED",
|
|
325
|
+
FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE",
|
|
326
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
327
|
+
PENDING: "PENDING",
|
|
328
|
+
SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
|
|
329
|
+
UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE",
|
|
330
|
+
};
|
|
343
331
|
export class ScanNotFoundException extends __BaseException {
|
|
344
332
|
constructor(opts) {
|
|
345
333
|
super({
|
|
@@ -352,10 +340,9 @@ export class ScanNotFoundException extends __BaseException {
|
|
|
352
340
|
Object.setPrototypeOf(this, ScanNotFoundException.prototype);
|
|
353
341
|
}
|
|
354
342
|
}
|
|
355
|
-
export
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
})(RepositoryFilterType || (RepositoryFilterType = {}));
|
|
343
|
+
export const RepositoryFilterType = {
|
|
344
|
+
PREFIX_MATCH: "PREFIX_MATCH",
|
|
345
|
+
};
|
|
359
346
|
export class LayerInaccessibleException extends __BaseException {
|
|
360
347
|
constructor(opts) {
|
|
361
348
|
super({
|
|
@@ -380,17 +367,15 @@ export class LayersNotFoundException extends __BaseException {
|
|
|
380
367
|
Object.setPrototypeOf(this, LayersNotFoundException.prototype);
|
|
381
368
|
}
|
|
382
369
|
}
|
|
383
|
-
export
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
LifecyclePolicyPreviewStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
393
|
-
})(LifecyclePolicyPreviewStatus || (LifecyclePolicyPreviewStatus = {}));
|
|
370
|
+
export const ImageActionType = {
|
|
371
|
+
EXPIRE: "EXPIRE",
|
|
372
|
+
};
|
|
373
|
+
export const LifecyclePolicyPreviewStatus = {
|
|
374
|
+
COMPLETE: "COMPLETE",
|
|
375
|
+
EXPIRED: "EXPIRED",
|
|
376
|
+
FAILED: "FAILED",
|
|
377
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
378
|
+
};
|
|
394
379
|
export class LifecyclePolicyPreviewNotFoundException extends __BaseException {
|
|
395
380
|
constructor(opts) {
|
|
396
381
|
super({
|
|
@@ -403,11 +388,10 @@ export class LifecyclePolicyPreviewNotFoundException extends __BaseException {
|
|
|
403
388
|
Object.setPrototypeOf(this, LifecyclePolicyPreviewNotFoundException.prototype);
|
|
404
389
|
}
|
|
405
390
|
}
|
|
406
|
-
export
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
})(ScanType || (ScanType = {}));
|
|
391
|
+
export const ScanType = {
|
|
392
|
+
BASIC: "BASIC",
|
|
393
|
+
ENHANCED: "ENHANCED",
|
|
394
|
+
};
|
|
411
395
|
export class ImageAlreadyExistsException extends __BaseException {
|
|
412
396
|
constructor(opts) {
|
|
413
397
|
super({
|
|
@@ -33,10 +33,10 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
33
33
|
* import { ECRClient, BatchCheckLayerAvailabilityCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
34
34
|
* // const { ECRClient, BatchCheckLayerAvailabilityCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
35
35
|
* const client = new ECRClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // BatchCheckLayerAvailabilityRequest
|
|
37
37
|
* registryId: "STRING_VALUE",
|
|
38
38
|
* repositoryName: "STRING_VALUE", // required
|
|
39
|
-
* layerDigests: [ // required
|
|
39
|
+
* layerDigests: [ // BatchedOperationLayerDigestList // required
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* };
|
|
@@ -31,11 +31,11 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
31
31
|
* import { ECRClient, BatchDeleteImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
32
32
|
* // const { ECRClient, BatchDeleteImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
33
33
|
* const client = new ECRClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // BatchDeleteImageRequest
|
|
35
35
|
* registryId: "STRING_VALUE",
|
|
36
36
|
* repositoryName: "STRING_VALUE", // required
|
|
37
|
-
* imageIds: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* imageIds: [ // ImageIdentifierList // required
|
|
38
|
+
* { // ImageIdentifier
|
|
39
39
|
* imageDigest: "STRING_VALUE",
|
|
40
40
|
* imageTag: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -29,16 +29,16 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
|
|
|
29
29
|
* import { ECRClient, BatchGetImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
30
30
|
* // const { ECRClient, BatchGetImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
31
31
|
* const client = new ECRClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // BatchGetImageRequest
|
|
33
33
|
* registryId: "STRING_VALUE",
|
|
34
34
|
* repositoryName: "STRING_VALUE", // required
|
|
35
|
-
* imageIds: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* imageIds: [ // ImageIdentifierList // required
|
|
36
|
+
* { // ImageIdentifier
|
|
37
37
|
* imageDigest: "STRING_VALUE",
|
|
38
38
|
* imageTag: "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* ],
|
|
41
|
-
* acceptedMediaTypes: [
|
|
41
|
+
* acceptedMediaTypes: [ // MediaTypeList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* };
|
|
@@ -26,8 +26,8 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
|
|
|
26
26
|
* import { ECRClient, BatchGetRepositoryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, BatchGetRepositoryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* repositoryNames: [ // required
|
|
29
|
+
* const input = { // BatchGetRepositoryScanningConfigurationRequest
|
|
30
|
+
* repositoryNames: [ // ScanningConfigurationRepositoryNameList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -34,11 +34,11 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
34
34
|
* import { ECRClient, CompleteLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
35
35
|
* // const { ECRClient, CompleteLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
36
36
|
* const client = new ECRClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // CompleteLayerUploadRequest
|
|
38
38
|
* registryId: "STRING_VALUE",
|
|
39
39
|
* repositoryName: "STRING_VALUE", // required
|
|
40
40
|
* uploadId: "STRING_VALUE", // required
|
|
41
|
-
* layerDigests: [ // required
|
|
41
|
+
* layerDigests: [ // LayerDigestList // required
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* };
|
|
@@ -27,7 +27,7 @@ export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThrou
|
|
|
27
27
|
* import { ECRClient, CreatePullThroughCacheRuleCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
28
28
|
* // const { ECRClient, CreatePullThroughCacheRuleCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
29
29
|
* const client = new ECRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreatePullThroughCacheRuleRequest
|
|
31
31
|
* ecrRepositoryPrefix: "STRING_VALUE", // required
|
|
32
32
|
* upstreamRegistryUrl: "STRING_VALUE", // required
|
|
33
33
|
* registryId: "STRING_VALUE",
|
|
@@ -27,20 +27,20 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
|
|
|
27
27
|
* import { ECRClient, CreateRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
28
28
|
* // const { ECRClient, CreateRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
29
29
|
* const client = new ECRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateRepositoryRequest
|
|
31
31
|
* registryId: "STRING_VALUE",
|
|
32
32
|
* repositoryName: "STRING_VALUE", // required
|
|
33
|
-
* tags: [
|
|
34
|
-
* {
|
|
33
|
+
* tags: [ // TagList
|
|
34
|
+
* { // Tag
|
|
35
35
|
* Key: "STRING_VALUE",
|
|
36
36
|
* Value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* ],
|
|
39
39
|
* imageTagMutability: "STRING_VALUE",
|
|
40
|
-
* imageScanningConfiguration: {
|
|
40
|
+
* imageScanningConfiguration: { // ImageScanningConfiguration
|
|
41
41
|
* scanOnPush: true || false,
|
|
42
42
|
* },
|
|
43
|
-
* encryptionConfiguration: {
|
|
43
|
+
* encryptionConfiguration: { // EncryptionConfiguration
|
|
44
44
|
* encryptionType: "STRING_VALUE", // required
|
|
45
45
|
* kmsKey: "STRING_VALUE",
|
|
46
46
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
26
26
|
* import { ECRClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteLifecyclePolicyRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeletePullThroughCacheRuleCommandOutput extends DeletePullThrou
|
|
|
26
26
|
* import { ECRClient, DeletePullThroughCacheRuleCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DeletePullThroughCacheRuleCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeletePullThroughCacheRuleRequest
|
|
30
30
|
* ecrRepositoryPrefix: "STRING_VALUE", // required
|
|
31
31
|
* registryId: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -28,7 +28,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
|
|
|
28
28
|
* import { ECRClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
29
29
|
* // const { ECRClient, DeleteRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
30
30
|
* const client = new ECRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteRepositoryRequest
|
|
32
32
|
* registryId: "STRING_VALUE",
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
34
34
|
* force: true || false,
|
|
@@ -26,7 +26,7 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
|
|
|
26
26
|
* import { ECRClient, DeleteRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DeleteRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteRepositoryPolicyRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,9 +26,9 @@ export interface DescribeImageReplicationStatusCommandOutput extends DescribeIma
|
|
|
26
26
|
* import { ECRClient, DescribeImageReplicationStatusCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DescribeImageReplicationStatusCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeImageReplicationStatusRequest
|
|
30
30
|
* repositoryName: "STRING_VALUE", // required
|
|
31
|
-
* imageId: {
|
|
31
|
+
* imageId: { // ImageIdentifier
|
|
32
32
|
* imageDigest: "STRING_VALUE",
|
|
33
33
|
* imageTag: "STRING_VALUE",
|
|
34
34
|
* },
|