@aws-sdk/client-ecr 3.169.0 → 3.171.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.
Files changed (67) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/ECR.d.ts +707 -210
  3. package/dist-types/ts3.4/ECRClient.d.ts +349 -114
  4. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +35 -17
  6. package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +35 -17
  7. package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +36 -17
  9. package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +39 -17
  10. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +35 -17
  11. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +39 -17
  12. package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +39 -17
  13. package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +39 -17
  14. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +35 -17
  15. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +39 -17
  16. package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +39 -17
  18. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +35 -17
  19. package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +39 -17
  20. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +35 -17
  21. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +39 -17
  22. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +39 -17
  23. package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +39 -17
  24. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +36 -17
  25. package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +39 -17
  26. package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +36 -17
  27. package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +39 -17
  28. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +36 -17
  29. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +36 -17
  30. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +32 -17
  31. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  32. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +32 -17
  33. package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +39 -17
  34. package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +39 -17
  35. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +36 -17
  36. package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +36 -17
  37. package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +39 -17
  38. package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +39 -17
  39. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +36 -17
  40. package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +35 -17
  41. package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +39 -17
  42. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  43. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
  44. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +35 -17
  45. package/dist-types/ts3.4/commands/index.d.ts +41 -41
  46. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  47. package/dist-types/ts3.4/index.d.ts +7 -7
  48. package/dist-types/ts3.4/models/ECRServiceException.d.ts +7 -6
  49. package/dist-types/ts3.4/models/index.d.ts +1 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +1332 -1637
  51. package/dist-types/ts3.4/pagination/DescribeImageScanFindingsPaginator.d.ts +11 -4
  52. package/dist-types/ts3.4/pagination/DescribeImagesPaginator.d.ts +11 -4
  53. package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/DescribeRepositoriesPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  57. package/dist-types/ts3.4/pagination/ListImagesPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/index.d.ts +7 -7
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +497 -125
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  64. package/dist-types/ts3.4/waiters/index.d.ts +2 -2
  65. package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +11 -7
  66. package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +11 -7
  67. package/package.json +35 -35
@@ -1,1637 +1,1332 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { ECRServiceException as __BaseException } from "./ECRServiceException";
3
- export interface BatchCheckLayerAvailabilityRequest {
4
-
5
- registryId?: string;
6
-
7
- repositoryName: string | undefined;
8
-
9
- layerDigests: string[] | undefined;
10
- }
11
- export declare enum LayerFailureCode {
12
- InvalidLayerDigest = "InvalidLayerDigest",
13
- MissingLayerDigest = "MissingLayerDigest"
14
- }
15
-
16
- export interface LayerFailure {
17
-
18
- layerDigest?: string;
19
-
20
- failureCode?: LayerFailureCode | string;
21
-
22
- failureReason?: string;
23
- }
24
- export declare enum LayerAvailability {
25
- AVAILABLE = "AVAILABLE",
26
- UNAVAILABLE = "UNAVAILABLE"
27
- }
28
-
29
- export interface Layer {
30
-
31
- layerDigest?: string;
32
-
33
- layerAvailability?: LayerAvailability | string;
34
-
35
- layerSize?: number;
36
-
37
- mediaType?: string;
38
- }
39
- export interface BatchCheckLayerAvailabilityResponse {
40
-
41
- layers?: Layer[];
42
-
43
- failures?: LayerFailure[];
44
- }
45
-
46
- export declare class InvalidParameterException extends __BaseException {
47
- readonly name: "InvalidParameterException";
48
- readonly $fault: "client";
49
-
50
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
51
- }
52
-
53
- export declare class RepositoryNotFoundException extends __BaseException {
54
- readonly name: "RepositoryNotFoundException";
55
- readonly $fault: "client";
56
-
57
- constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
58
- }
59
-
60
- export declare class ServerException extends __BaseException {
61
- readonly name: "ServerException";
62
- readonly $fault: "server";
63
-
64
- constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
65
- }
66
-
67
- export interface ImageIdentifier {
68
-
69
- imageDigest?: string;
70
-
71
- imageTag?: string;
72
- }
73
-
74
- export interface BatchDeleteImageRequest {
75
-
76
- registryId?: string;
77
-
78
- repositoryName: string | undefined;
79
-
80
- imageIds: ImageIdentifier[] | undefined;
81
- }
82
- export declare enum ImageFailureCode {
83
- ImageNotFound = "ImageNotFound",
84
- ImageReferencedByManifestList = "ImageReferencedByManifestList",
85
- ImageTagDoesNotMatchDigest = "ImageTagDoesNotMatchDigest",
86
- InvalidImageDigest = "InvalidImageDigest",
87
- InvalidImageTag = "InvalidImageTag",
88
- KmsError = "KmsError",
89
- MissingDigestAndTag = "MissingDigestAndTag"
90
- }
91
-
92
- export interface ImageFailure {
93
-
94
- imageId?: ImageIdentifier;
95
-
96
- failureCode?: ImageFailureCode | string;
97
-
98
- failureReason?: string;
99
- }
100
- export interface BatchDeleteImageResponse {
101
-
102
- imageIds?: ImageIdentifier[];
103
-
104
- failures?: ImageFailure[];
105
- }
106
- export interface BatchGetImageRequest {
107
-
108
- registryId?: string;
109
-
110
- repositoryName: string | undefined;
111
-
112
- imageIds: ImageIdentifier[] | undefined;
113
-
114
- acceptedMediaTypes?: string[];
115
- }
116
-
117
- export interface Image {
118
-
119
- registryId?: string;
120
-
121
- repositoryName?: string;
122
-
123
- imageId?: ImageIdentifier;
124
-
125
- imageManifest?: string;
126
-
127
- imageManifestMediaType?: string;
128
- }
129
- export interface BatchGetImageResponse {
130
-
131
- images?: Image[];
132
-
133
- failures?: ImageFailure[];
134
- }
135
- export interface BatchGetRepositoryScanningConfigurationRequest {
136
-
137
- repositoryNames: string[] | undefined;
138
- }
139
- export declare enum ScanningConfigurationFailureCode {
140
- REPOSITORY_NOT_FOUND = "REPOSITORY_NOT_FOUND"
141
- }
142
-
143
- export interface RepositoryScanningConfigurationFailure {
144
-
145
- repositoryName?: string;
146
-
147
- failureCode?: ScanningConfigurationFailureCode | string;
148
-
149
- failureReason?: string;
150
- }
151
- export declare enum ScanningRepositoryFilterType {
152
- WILDCARD = "WILDCARD"
153
- }
154
-
155
- export interface ScanningRepositoryFilter {
156
-
157
- filter: string | undefined;
158
-
159
- filterType: ScanningRepositoryFilterType | string | undefined;
160
- }
161
- export declare enum ScanFrequency {
162
- CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
163
- MANUAL = "MANUAL",
164
- SCAN_ON_PUSH = "SCAN_ON_PUSH"
165
- }
166
-
167
- export interface RepositoryScanningConfiguration {
168
-
169
- repositoryArn?: string;
170
-
171
- repositoryName?: string;
172
-
173
- scanOnPush?: boolean;
174
-
175
- scanFrequency?: ScanFrequency | string;
176
-
177
- appliedScanFilters?: ScanningRepositoryFilter[];
178
- }
179
- export interface BatchGetRepositoryScanningConfigurationResponse {
180
-
181
- scanningConfigurations?: RepositoryScanningConfiguration[];
182
-
183
- failures?: RepositoryScanningConfigurationFailure[];
184
- }
185
-
186
- export declare class ValidationException extends __BaseException {
187
- readonly name: "ValidationException";
188
- readonly $fault: "client";
189
-
190
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
191
- }
192
- export interface CompleteLayerUploadRequest {
193
-
194
- registryId?: string;
195
-
196
- repositoryName: string | undefined;
197
-
198
- uploadId: string | undefined;
199
-
200
- layerDigests: string[] | undefined;
201
- }
202
- export interface CompleteLayerUploadResponse {
203
-
204
- registryId?: string;
205
-
206
- repositoryName?: string;
207
-
208
- uploadId?: string;
209
-
210
- layerDigest?: string;
211
- }
212
-
213
- export declare class EmptyUploadException extends __BaseException {
214
- readonly name: "EmptyUploadException";
215
- readonly $fault: "client";
216
-
217
- constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
218
- }
219
-
220
- export declare class InvalidLayerException extends __BaseException {
221
- readonly name: "InvalidLayerException";
222
- readonly $fault: "client";
223
-
224
- constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
225
- }
226
-
227
- export declare class KmsException extends __BaseException {
228
- readonly name: "KmsException";
229
- readonly $fault: "client";
230
-
231
- kmsError?: string;
232
-
233
- constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
234
- }
235
-
236
- export declare class LayerAlreadyExistsException extends __BaseException {
237
- readonly name: "LayerAlreadyExistsException";
238
- readonly $fault: "client";
239
-
240
- constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
241
- }
242
-
243
- export declare class LayerPartTooSmallException extends __BaseException {
244
- readonly name: "LayerPartTooSmallException";
245
- readonly $fault: "client";
246
-
247
- constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
248
- }
249
-
250
- export declare class UploadNotFoundException extends __BaseException {
251
- readonly name: "UploadNotFoundException";
252
- readonly $fault: "client";
253
-
254
- constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
255
- }
256
- export interface CreatePullThroughCacheRuleRequest {
257
-
258
- ecrRepositoryPrefix: string | undefined;
259
-
260
- upstreamRegistryUrl: string | undefined;
261
-
262
- registryId?: string;
263
- }
264
- export interface CreatePullThroughCacheRuleResponse {
265
-
266
- ecrRepositoryPrefix?: string;
267
-
268
- upstreamRegistryUrl?: string;
269
-
270
- createdAt?: Date;
271
-
272
- registryId?: string;
273
- }
274
-
275
- export declare class LimitExceededException extends __BaseException {
276
- readonly name: "LimitExceededException";
277
- readonly $fault: "client";
278
-
279
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
280
- }
281
-
282
- export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
283
- readonly name: "PullThroughCacheRuleAlreadyExistsException";
284
- readonly $fault: "client";
285
-
286
- constructor(opts: __ExceptionOptionType<PullThroughCacheRuleAlreadyExistsException, __BaseException>);
287
- }
288
-
289
- export declare class UnsupportedUpstreamRegistryException extends __BaseException {
290
- readonly name: "UnsupportedUpstreamRegistryException";
291
- readonly $fault: "client";
292
-
293
- constructor(opts: __ExceptionOptionType<UnsupportedUpstreamRegistryException, __BaseException>);
294
- }
295
- export declare enum EncryptionType {
296
- AES256 = "AES256",
297
- KMS = "KMS"
298
- }
299
-
300
- export interface EncryptionConfiguration {
301
-
302
- encryptionType: EncryptionType | string | undefined;
303
-
304
- kmsKey?: string;
305
- }
306
-
307
- export interface ImageScanningConfiguration {
308
-
309
- scanOnPush?: boolean;
310
- }
311
- export declare enum ImageTagMutability {
312
- IMMUTABLE = "IMMUTABLE",
313
- MUTABLE = "MUTABLE"
314
- }
315
-
316
- export interface Tag {
317
-
318
- Key?: string;
319
-
320
- Value?: string;
321
- }
322
- export interface CreateRepositoryRequest {
323
-
324
- registryId?: string;
325
-
326
- repositoryName: string | undefined;
327
-
328
- tags?: Tag[];
329
-
330
- imageTagMutability?: ImageTagMutability | string;
331
-
332
- imageScanningConfiguration?: ImageScanningConfiguration;
333
-
334
- encryptionConfiguration?: EncryptionConfiguration;
335
- }
336
-
337
- export interface Repository {
338
-
339
- repositoryArn?: string;
340
-
341
- registryId?: string;
342
-
343
- repositoryName?: string;
344
-
345
- repositoryUri?: string;
346
-
347
- createdAt?: Date;
348
-
349
- imageTagMutability?: ImageTagMutability | string;
350
-
351
- imageScanningConfiguration?: ImageScanningConfiguration;
352
-
353
- encryptionConfiguration?: EncryptionConfiguration;
354
- }
355
- export interface CreateRepositoryResponse {
356
-
357
- repository?: Repository;
358
- }
359
-
360
- export declare class InvalidTagParameterException extends __BaseException {
361
- readonly name: "InvalidTagParameterException";
362
- readonly $fault: "client";
363
-
364
- constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
365
- }
366
-
367
- export declare class RepositoryAlreadyExistsException extends __BaseException {
368
- readonly name: "RepositoryAlreadyExistsException";
369
- readonly $fault: "client";
370
-
371
- constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
372
- }
373
-
374
- export declare class TooManyTagsException extends __BaseException {
375
- readonly name: "TooManyTagsException";
376
- readonly $fault: "client";
377
-
378
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
379
- }
380
- export interface DeleteLifecyclePolicyRequest {
381
-
382
- registryId?: string;
383
-
384
- repositoryName: string | undefined;
385
- }
386
- export interface DeleteLifecyclePolicyResponse {
387
-
388
- registryId?: string;
389
-
390
- repositoryName?: string;
391
-
392
- lifecyclePolicyText?: string;
393
-
394
- lastEvaluatedAt?: Date;
395
- }
396
-
397
- export declare class LifecyclePolicyNotFoundException extends __BaseException {
398
- readonly name: "LifecyclePolicyNotFoundException";
399
- readonly $fault: "client";
400
-
401
- constructor(opts: __ExceptionOptionType<LifecyclePolicyNotFoundException, __BaseException>);
402
- }
403
- export interface DeletePullThroughCacheRuleRequest {
404
-
405
- ecrRepositoryPrefix: string | undefined;
406
-
407
- registryId?: string;
408
- }
409
- export interface DeletePullThroughCacheRuleResponse {
410
-
411
- ecrRepositoryPrefix?: string;
412
-
413
- upstreamRegistryUrl?: string;
414
-
415
- createdAt?: Date;
416
-
417
- registryId?: string;
418
- }
419
-
420
- export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
421
- readonly name: "PullThroughCacheRuleNotFoundException";
422
- readonly $fault: "client";
423
-
424
- constructor(opts: __ExceptionOptionType<PullThroughCacheRuleNotFoundException, __BaseException>);
425
- }
426
- export interface DeleteRegistryPolicyRequest {
427
- }
428
- export interface DeleteRegistryPolicyResponse {
429
-
430
- registryId?: string;
431
-
432
- policyText?: string;
433
- }
434
-
435
- export declare class RegistryPolicyNotFoundException extends __BaseException {
436
- readonly name: "RegistryPolicyNotFoundException";
437
- readonly $fault: "client";
438
-
439
- constructor(opts: __ExceptionOptionType<RegistryPolicyNotFoundException, __BaseException>);
440
- }
441
- export interface DeleteRepositoryRequest {
442
-
443
- registryId?: string;
444
-
445
- repositoryName: string | undefined;
446
-
447
- force?: boolean;
448
- }
449
- export interface DeleteRepositoryResponse {
450
-
451
- repository?: Repository;
452
- }
453
-
454
- export declare class RepositoryNotEmptyException extends __BaseException {
455
- readonly name: "RepositoryNotEmptyException";
456
- readonly $fault: "client";
457
-
458
- constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
459
- }
460
- export interface DeleteRepositoryPolicyRequest {
461
-
462
- registryId?: string;
463
-
464
- repositoryName: string | undefined;
465
- }
466
- export interface DeleteRepositoryPolicyResponse {
467
-
468
- registryId?: string;
469
-
470
- repositoryName?: string;
471
-
472
- policyText?: string;
473
- }
474
-
475
- export declare class RepositoryPolicyNotFoundException extends __BaseException {
476
- readonly name: "RepositoryPolicyNotFoundException";
477
- readonly $fault: "client";
478
-
479
- constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
480
- }
481
- export interface DescribeImageReplicationStatusRequest {
482
-
483
- repositoryName: string | undefined;
484
-
485
- imageId: ImageIdentifier | undefined;
486
-
487
- registryId?: string;
488
- }
489
- export declare enum ReplicationStatus {
490
- COMPLETE = "COMPLETE",
491
- FAILED = "FAILED",
492
- IN_PROGRESS = "IN_PROGRESS"
493
- }
494
-
495
- export interface ImageReplicationStatus {
496
-
497
- region?: string;
498
-
499
- registryId?: string;
500
-
501
- status?: ReplicationStatus | string;
502
-
503
- failureCode?: string;
504
- }
505
- export interface DescribeImageReplicationStatusResponse {
506
-
507
- repositoryName?: string;
508
-
509
- imageId?: ImageIdentifier;
510
-
511
- replicationStatuses?: ImageReplicationStatus[];
512
- }
513
-
514
- export declare class ImageNotFoundException extends __BaseException {
515
- readonly name: "ImageNotFoundException";
516
- readonly $fault: "client";
517
-
518
- constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
519
- }
520
- export declare enum TagStatus {
521
- ANY = "ANY",
522
- TAGGED = "TAGGED",
523
- UNTAGGED = "UNTAGGED"
524
- }
525
-
526
- export interface DescribeImagesFilter {
527
-
528
- tagStatus?: TagStatus | string;
529
- }
530
- export interface DescribeImagesRequest {
531
-
532
- registryId?: string;
533
-
534
- repositoryName: string | undefined;
535
-
536
- imageIds?: ImageIdentifier[];
537
-
538
- nextToken?: string;
539
-
540
- maxResults?: number;
541
-
542
- filter?: DescribeImagesFilter;
543
- }
544
- export declare enum FindingSeverity {
545
- CRITICAL = "CRITICAL",
546
- HIGH = "HIGH",
547
- INFORMATIONAL = "INFORMATIONAL",
548
- LOW = "LOW",
549
- MEDIUM = "MEDIUM",
550
- UNDEFINED = "UNDEFINED"
551
- }
552
-
553
- export interface ImageScanFindingsSummary {
554
-
555
- imageScanCompletedAt?: Date;
556
-
557
- vulnerabilitySourceUpdatedAt?: Date;
558
-
559
- findingSeverityCounts?: Record<string, number>;
560
- }
561
- export declare enum ScanStatus {
562
- ACTIVE = "ACTIVE",
563
- COMPLETE = "COMPLETE",
564
- FAILED = "FAILED",
565
- FINDINGS_UNAVAILABLE = "FINDINGS_UNAVAILABLE",
566
- IN_PROGRESS = "IN_PROGRESS",
567
- PENDING = "PENDING",
568
- SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
569
- UNSUPPORTED_IMAGE = "UNSUPPORTED_IMAGE"
570
- }
571
-
572
- export interface ImageScanStatus {
573
-
574
- status?: ScanStatus | string;
575
-
576
- description?: string;
577
- }
578
-
579
- export interface ImageDetail {
580
-
581
- registryId?: string;
582
-
583
- repositoryName?: string;
584
-
585
- imageDigest?: string;
586
-
587
- imageTags?: string[];
588
-
589
- imageSizeInBytes?: number;
590
-
591
- imagePushedAt?: Date;
592
-
593
- imageScanStatus?: ImageScanStatus;
594
-
595
- imageScanFindingsSummary?: ImageScanFindingsSummary;
596
-
597
- imageManifestMediaType?: string;
598
-
599
- artifactMediaType?: string;
600
-
601
- lastRecordedPullTime?: Date;
602
- }
603
- export interface DescribeImagesResponse {
604
-
605
- imageDetails?: ImageDetail[];
606
-
607
- nextToken?: string;
608
- }
609
- export interface DescribeImageScanFindingsRequest {
610
-
611
- registryId?: string;
612
-
613
- repositoryName: string | undefined;
614
-
615
- imageId: ImageIdentifier | undefined;
616
-
617
- nextToken?: string;
618
-
619
- maxResults?: number;
620
- }
621
-
622
- export interface CvssScore {
623
-
624
- baseScore?: number;
625
-
626
- scoringVector?: string;
627
-
628
- source?: string;
629
-
630
- version?: string;
631
- }
632
-
633
- export interface VulnerablePackage {
634
-
635
- arch?: string;
636
-
637
- epoch?: number;
638
-
639
- filePath?: string;
640
-
641
- name?: string;
642
-
643
- packageManager?: string;
644
-
645
- release?: string;
646
-
647
- sourceLayerHash?: string;
648
-
649
- version?: string;
650
- }
651
-
652
- export interface PackageVulnerabilityDetails {
653
-
654
- cvss?: CvssScore[];
655
-
656
- referenceUrls?: string[];
657
-
658
- relatedVulnerabilities?: string[];
659
-
660
- source?: string;
661
-
662
- sourceUrl?: string;
663
-
664
- vendorCreatedAt?: Date;
665
-
666
- vendorSeverity?: string;
667
-
668
- vendorUpdatedAt?: Date;
669
-
670
- vulnerabilityId?: string;
671
-
672
- vulnerablePackages?: VulnerablePackage[];
673
- }
674
-
675
- export interface Recommendation {
676
-
677
- url?: string;
678
-
679
- text?: string;
680
- }
681
-
682
- export interface Remediation {
683
-
684
- recommendation?: Recommendation;
685
- }
686
-
687
- export interface AwsEcrContainerImageDetails {
688
-
689
- architecture?: string;
690
-
691
- author?: string;
692
-
693
- imageHash?: string;
694
-
695
- imageTags?: string[];
696
-
697
- platform?: string;
698
-
699
- pushedAt?: Date;
700
-
701
- registry?: string;
702
-
703
- repositoryName?: string;
704
- }
705
-
706
- export interface ResourceDetails {
707
-
708
- awsEcrContainerImage?: AwsEcrContainerImageDetails;
709
- }
710
-
711
- export interface Resource {
712
-
713
- details?: ResourceDetails;
714
-
715
- id?: string;
716
-
717
- tags?: Record<string, string>;
718
-
719
- type?: string;
720
- }
721
-
722
- export interface CvssScoreAdjustment {
723
-
724
- metric?: string;
725
-
726
- reason?: string;
727
- }
728
-
729
- export interface CvssScoreDetails {
730
-
731
- adjustments?: CvssScoreAdjustment[];
732
-
733
- score?: number;
734
-
735
- scoreSource?: string;
736
-
737
- scoringVector?: string;
738
-
739
- version?: string;
740
- }
741
-
742
- export interface ScoreDetails {
743
-
744
- cvss?: CvssScoreDetails;
745
- }
746
-
747
- export interface EnhancedImageScanFinding {
748
-
749
- awsAccountId?: string;
750
-
751
- description?: string;
752
-
753
- findingArn?: string;
754
-
755
- firstObservedAt?: Date;
756
-
757
- lastObservedAt?: Date;
758
-
759
- packageVulnerabilityDetails?: PackageVulnerabilityDetails;
760
-
761
- remediation?: Remediation;
762
-
763
- resources?: Resource[];
764
-
765
- score?: number;
766
-
767
- scoreDetails?: ScoreDetails;
768
-
769
- severity?: string;
770
-
771
- status?: string;
772
-
773
- title?: string;
774
-
775
- type?: string;
776
-
777
- updatedAt?: Date;
778
- }
779
-
780
- export interface Attribute {
781
-
782
- key: string | undefined;
783
-
784
- value?: string;
785
- }
786
-
787
- export interface ImageScanFinding {
788
-
789
- name?: string;
790
-
791
- description?: string;
792
-
793
- uri?: string;
794
-
795
- severity?: FindingSeverity | string;
796
-
797
- attributes?: Attribute[];
798
- }
799
-
800
- export interface ImageScanFindings {
801
-
802
- imageScanCompletedAt?: Date;
803
-
804
- vulnerabilitySourceUpdatedAt?: Date;
805
-
806
- findingSeverityCounts?: Record<string, number>;
807
-
808
- findings?: ImageScanFinding[];
809
-
810
- enhancedFindings?: EnhancedImageScanFinding[];
811
- }
812
- export interface DescribeImageScanFindingsResponse {
813
-
814
- registryId?: string;
815
-
816
- repositoryName?: string;
817
-
818
- imageId?: ImageIdentifier;
819
-
820
- imageScanStatus?: ImageScanStatus;
821
-
822
- imageScanFindings?: ImageScanFindings;
823
-
824
- nextToken?: string;
825
- }
826
-
827
- export declare class ScanNotFoundException extends __BaseException {
828
- readonly name: "ScanNotFoundException";
829
- readonly $fault: "client";
830
-
831
- constructor(opts: __ExceptionOptionType<ScanNotFoundException, __BaseException>);
832
- }
833
- export interface DescribePullThroughCacheRulesRequest {
834
-
835
- registryId?: string;
836
-
837
- ecrRepositoryPrefixes?: string[];
838
-
839
- nextToken?: string;
840
-
841
- maxResults?: number;
842
- }
843
-
844
- export interface PullThroughCacheRule {
845
-
846
- ecrRepositoryPrefix?: string;
847
-
848
- upstreamRegistryUrl?: string;
849
-
850
- createdAt?: Date;
851
-
852
- registryId?: string;
853
- }
854
- export interface DescribePullThroughCacheRulesResponse {
855
-
856
- pullThroughCacheRules?: PullThroughCacheRule[];
857
-
858
- nextToken?: string;
859
- }
860
- export interface DescribeRegistryRequest {
861
- }
862
-
863
- export interface ReplicationDestination {
864
-
865
- region: string | undefined;
866
-
867
- registryId: string | undefined;
868
- }
869
- export declare enum RepositoryFilterType {
870
- PREFIX_MATCH = "PREFIX_MATCH"
871
- }
872
-
873
- export interface RepositoryFilter {
874
-
875
- filter: string | undefined;
876
-
877
- filterType: RepositoryFilterType | string | undefined;
878
- }
879
-
880
- export interface ReplicationRule {
881
-
882
- destinations: ReplicationDestination[] | undefined;
883
-
884
- repositoryFilters?: RepositoryFilter[];
885
- }
886
-
887
- export interface ReplicationConfiguration {
888
-
889
- rules: ReplicationRule[] | undefined;
890
- }
891
- export interface DescribeRegistryResponse {
892
-
893
- registryId?: string;
894
-
895
- replicationConfiguration?: ReplicationConfiguration;
896
- }
897
- export interface DescribeRepositoriesRequest {
898
-
899
- registryId?: string;
900
-
901
- repositoryNames?: string[];
902
-
903
- nextToken?: string;
904
-
905
- maxResults?: number;
906
- }
907
- export interface DescribeRepositoriesResponse {
908
-
909
- repositories?: Repository[];
910
-
911
- nextToken?: string;
912
- }
913
- export interface GetAuthorizationTokenRequest {
914
-
915
- registryIds?: string[];
916
- }
917
-
918
- export interface AuthorizationData {
919
-
920
- authorizationToken?: string;
921
-
922
- expiresAt?: Date;
923
-
924
- proxyEndpoint?: string;
925
- }
926
- export interface GetAuthorizationTokenResponse {
927
-
928
- authorizationData?: AuthorizationData[];
929
- }
930
- export interface GetDownloadUrlForLayerRequest {
931
-
932
- registryId?: string;
933
-
934
- repositoryName: string | undefined;
935
-
936
- layerDigest: string | undefined;
937
- }
938
- export interface GetDownloadUrlForLayerResponse {
939
-
940
- downloadUrl?: string;
941
-
942
- layerDigest?: string;
943
- }
944
-
945
- export declare class LayerInaccessibleException extends __BaseException {
946
- readonly name: "LayerInaccessibleException";
947
- readonly $fault: "client";
948
-
949
- constructor(opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>);
950
- }
951
-
952
- export declare class LayersNotFoundException extends __BaseException {
953
- readonly name: "LayersNotFoundException";
954
- readonly $fault: "client";
955
-
956
- constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
957
- }
958
- export interface GetLifecyclePolicyRequest {
959
-
960
- registryId?: string;
961
-
962
- repositoryName: string | undefined;
963
- }
964
- export interface GetLifecyclePolicyResponse {
965
-
966
- registryId?: string;
967
-
968
- repositoryName?: string;
969
-
970
- lifecyclePolicyText?: string;
971
-
972
- lastEvaluatedAt?: Date;
973
- }
974
-
975
- export interface LifecyclePolicyPreviewFilter {
976
-
977
- tagStatus?: TagStatus | string;
978
- }
979
- export interface GetLifecyclePolicyPreviewRequest {
980
-
981
- registryId?: string;
982
-
983
- repositoryName: string | undefined;
984
-
985
- imageIds?: ImageIdentifier[];
986
-
987
- nextToken?: string;
988
-
989
- maxResults?: number;
990
-
991
- filter?: LifecyclePolicyPreviewFilter;
992
- }
993
- export declare enum ImageActionType {
994
- EXPIRE = "EXPIRE"
995
- }
996
-
997
- export interface LifecyclePolicyRuleAction {
998
-
999
- type?: ImageActionType | string;
1000
- }
1001
-
1002
- export interface LifecyclePolicyPreviewResult {
1003
-
1004
- imageTags?: string[];
1005
-
1006
- imageDigest?: string;
1007
-
1008
- imagePushedAt?: Date;
1009
-
1010
- action?: LifecyclePolicyRuleAction;
1011
-
1012
- appliedRulePriority?: number;
1013
- }
1014
- export declare enum LifecyclePolicyPreviewStatus {
1015
- COMPLETE = "COMPLETE",
1016
- EXPIRED = "EXPIRED",
1017
- FAILED = "FAILED",
1018
- IN_PROGRESS = "IN_PROGRESS"
1019
- }
1020
-
1021
- export interface LifecyclePolicyPreviewSummary {
1022
-
1023
- expiringImageTotalCount?: number;
1024
- }
1025
- export interface GetLifecyclePolicyPreviewResponse {
1026
-
1027
- registryId?: string;
1028
-
1029
- repositoryName?: string;
1030
-
1031
- lifecyclePolicyText?: string;
1032
-
1033
- status?: LifecyclePolicyPreviewStatus | string;
1034
-
1035
- nextToken?: string;
1036
-
1037
- previewResults?: LifecyclePolicyPreviewResult[];
1038
-
1039
- summary?: LifecyclePolicyPreviewSummary;
1040
- }
1041
-
1042
- export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
1043
- readonly name: "LifecyclePolicyPreviewNotFoundException";
1044
- readonly $fault: "client";
1045
-
1046
- constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewNotFoundException, __BaseException>);
1047
- }
1048
- export interface GetRegistryPolicyRequest {
1049
- }
1050
- export interface GetRegistryPolicyResponse {
1051
-
1052
- registryId?: string;
1053
-
1054
- policyText?: string;
1055
- }
1056
- export interface GetRegistryScanningConfigurationRequest {
1057
- }
1058
-
1059
- export interface RegistryScanningRule {
1060
-
1061
- scanFrequency: ScanFrequency | string | undefined;
1062
-
1063
- repositoryFilters: ScanningRepositoryFilter[] | undefined;
1064
- }
1065
- export declare enum ScanType {
1066
- BASIC = "BASIC",
1067
- ENHANCED = "ENHANCED"
1068
- }
1069
-
1070
- export interface RegistryScanningConfiguration {
1071
-
1072
- scanType?: ScanType | string;
1073
-
1074
- rules?: RegistryScanningRule[];
1075
- }
1076
- export interface GetRegistryScanningConfigurationResponse {
1077
-
1078
- registryId?: string;
1079
-
1080
- scanningConfiguration?: RegistryScanningConfiguration;
1081
- }
1082
- export interface GetRepositoryPolicyRequest {
1083
-
1084
- registryId?: string;
1085
-
1086
- repositoryName: string | undefined;
1087
- }
1088
- export interface GetRepositoryPolicyResponse {
1089
-
1090
- registryId?: string;
1091
-
1092
- repositoryName?: string;
1093
-
1094
- policyText?: string;
1095
- }
1096
- export interface InitiateLayerUploadRequest {
1097
-
1098
- registryId?: string;
1099
-
1100
- repositoryName: string | undefined;
1101
- }
1102
- export interface InitiateLayerUploadResponse {
1103
-
1104
- uploadId?: string;
1105
-
1106
- partSize?: number;
1107
- }
1108
-
1109
- export interface ListImagesFilter {
1110
-
1111
- tagStatus?: TagStatus | string;
1112
- }
1113
- export interface ListImagesRequest {
1114
-
1115
- registryId?: string;
1116
-
1117
- repositoryName: string | undefined;
1118
-
1119
- nextToken?: string;
1120
-
1121
- maxResults?: number;
1122
-
1123
- filter?: ListImagesFilter;
1124
- }
1125
- export interface ListImagesResponse {
1126
-
1127
- imageIds?: ImageIdentifier[];
1128
-
1129
- nextToken?: string;
1130
- }
1131
- export interface ListTagsForResourceRequest {
1132
-
1133
- resourceArn: string | undefined;
1134
- }
1135
- export interface ListTagsForResourceResponse {
1136
-
1137
- tags?: Tag[];
1138
- }
1139
-
1140
- export declare class ImageAlreadyExistsException extends __BaseException {
1141
- readonly name: "ImageAlreadyExistsException";
1142
- readonly $fault: "client";
1143
-
1144
- constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
1145
- }
1146
-
1147
- export declare class ImageDigestDoesNotMatchException extends __BaseException {
1148
- readonly name: "ImageDigestDoesNotMatchException";
1149
- readonly $fault: "client";
1150
-
1151
- constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
1152
- }
1153
-
1154
- export declare class ImageTagAlreadyExistsException extends __BaseException {
1155
- readonly name: "ImageTagAlreadyExistsException";
1156
- readonly $fault: "client";
1157
-
1158
- constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
1159
- }
1160
- export interface PutImageRequest {
1161
-
1162
- registryId?: string;
1163
-
1164
- repositoryName: string | undefined;
1165
-
1166
- imageManifest: string | undefined;
1167
-
1168
- imageManifestMediaType?: string;
1169
-
1170
- imageTag?: string;
1171
-
1172
- imageDigest?: string;
1173
- }
1174
- export interface PutImageResponse {
1175
-
1176
- image?: Image;
1177
- }
1178
-
1179
- export declare class ReferencedImagesNotFoundException extends __BaseException {
1180
- readonly name: "ReferencedImagesNotFoundException";
1181
- readonly $fault: "client";
1182
-
1183
- constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
1184
- }
1185
- export interface PutImageScanningConfigurationRequest {
1186
-
1187
- registryId?: string;
1188
-
1189
- repositoryName: string | undefined;
1190
-
1191
- imageScanningConfiguration: ImageScanningConfiguration | undefined;
1192
- }
1193
- export interface PutImageScanningConfigurationResponse {
1194
-
1195
- registryId?: string;
1196
-
1197
- repositoryName?: string;
1198
-
1199
- imageScanningConfiguration?: ImageScanningConfiguration;
1200
- }
1201
- export interface PutImageTagMutabilityRequest {
1202
-
1203
- registryId?: string;
1204
-
1205
- repositoryName: string | undefined;
1206
-
1207
- imageTagMutability: ImageTagMutability | string | undefined;
1208
- }
1209
- export interface PutImageTagMutabilityResponse {
1210
-
1211
- registryId?: string;
1212
-
1213
- repositoryName?: string;
1214
-
1215
- imageTagMutability?: ImageTagMutability | string;
1216
- }
1217
- export interface PutLifecyclePolicyRequest {
1218
-
1219
- registryId?: string;
1220
-
1221
- repositoryName: string | undefined;
1222
-
1223
- lifecyclePolicyText: string | undefined;
1224
- }
1225
- export interface PutLifecyclePolicyResponse {
1226
-
1227
- registryId?: string;
1228
-
1229
- repositoryName?: string;
1230
-
1231
- lifecyclePolicyText?: string;
1232
- }
1233
- export interface PutRegistryPolicyRequest {
1234
-
1235
- policyText: string | undefined;
1236
- }
1237
- export interface PutRegistryPolicyResponse {
1238
-
1239
- registryId?: string;
1240
-
1241
- policyText?: string;
1242
- }
1243
- export interface PutRegistryScanningConfigurationRequest {
1244
-
1245
- scanType?: ScanType | string;
1246
-
1247
- rules?: RegistryScanningRule[];
1248
- }
1249
- export interface PutRegistryScanningConfigurationResponse {
1250
-
1251
- registryScanningConfiguration?: RegistryScanningConfiguration;
1252
- }
1253
- export interface PutReplicationConfigurationRequest {
1254
-
1255
- replicationConfiguration: ReplicationConfiguration | undefined;
1256
- }
1257
- export interface PutReplicationConfigurationResponse {
1258
-
1259
- replicationConfiguration?: ReplicationConfiguration;
1260
- }
1261
- export interface SetRepositoryPolicyRequest {
1262
-
1263
- registryId?: string;
1264
-
1265
- repositoryName: string | undefined;
1266
-
1267
- policyText: string | undefined;
1268
-
1269
- force?: boolean;
1270
- }
1271
- export interface SetRepositoryPolicyResponse {
1272
-
1273
- registryId?: string;
1274
-
1275
- repositoryName?: string;
1276
-
1277
- policyText?: string;
1278
- }
1279
- export interface StartImageScanRequest {
1280
-
1281
- registryId?: string;
1282
-
1283
- repositoryName: string | undefined;
1284
-
1285
- imageId: ImageIdentifier | undefined;
1286
- }
1287
- export interface StartImageScanResponse {
1288
-
1289
- registryId?: string;
1290
-
1291
- repositoryName?: string;
1292
-
1293
- imageId?: ImageIdentifier;
1294
-
1295
- imageScanStatus?: ImageScanStatus;
1296
- }
1297
-
1298
- export declare class UnsupportedImageTypeException extends __BaseException {
1299
- readonly name: "UnsupportedImageTypeException";
1300
- readonly $fault: "client";
1301
-
1302
- constructor(opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>);
1303
- }
1304
-
1305
- export declare class LifecyclePolicyPreviewInProgressException extends __BaseException {
1306
- readonly name: "LifecyclePolicyPreviewInProgressException";
1307
- readonly $fault: "client";
1308
-
1309
- constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewInProgressException, __BaseException>);
1310
- }
1311
- export interface StartLifecyclePolicyPreviewRequest {
1312
-
1313
- registryId?: string;
1314
-
1315
- repositoryName: string | undefined;
1316
-
1317
- lifecyclePolicyText?: string;
1318
- }
1319
- export interface StartLifecyclePolicyPreviewResponse {
1320
-
1321
- registryId?: string;
1322
-
1323
- repositoryName?: string;
1324
-
1325
- lifecyclePolicyText?: string;
1326
-
1327
- status?: LifecyclePolicyPreviewStatus | string;
1328
- }
1329
- export interface TagResourceRequest {
1330
-
1331
- resourceArn: string | undefined;
1332
-
1333
- tags: Tag[] | undefined;
1334
- }
1335
- export interface TagResourceResponse {
1336
- }
1337
- export interface UntagResourceRequest {
1338
-
1339
- resourceArn: string | undefined;
1340
-
1341
- tagKeys: string[] | undefined;
1342
- }
1343
- export interface UntagResourceResponse {
1344
- }
1345
-
1346
- export declare class InvalidLayerPartException extends __BaseException {
1347
- readonly name: "InvalidLayerPartException";
1348
- readonly $fault: "client";
1349
-
1350
- registryId?: string;
1351
-
1352
- repositoryName?: string;
1353
-
1354
- uploadId?: string;
1355
-
1356
- lastValidByteReceived?: number;
1357
-
1358
- constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
1359
- }
1360
- export interface UploadLayerPartRequest {
1361
-
1362
- registryId?: string;
1363
-
1364
- repositoryName: string | undefined;
1365
-
1366
- uploadId: string | undefined;
1367
-
1368
- partFirstByte: number | undefined;
1369
-
1370
- partLastByte: number | undefined;
1371
-
1372
- layerPartBlob: Uint8Array | undefined;
1373
- }
1374
- export interface UploadLayerPartResponse {
1375
-
1376
- registryId?: string;
1377
-
1378
- repositoryName?: string;
1379
-
1380
- uploadId?: string;
1381
-
1382
- lastByteReceived?: number;
1383
- }
1384
-
1385
- export declare const BatchCheckLayerAvailabilityRequestFilterSensitiveLog: (obj: BatchCheckLayerAvailabilityRequest) => any;
1386
-
1387
- export declare const LayerFailureFilterSensitiveLog: (obj: LayerFailure) => any;
1388
-
1389
- export declare const LayerFilterSensitiveLog: (obj: Layer) => any;
1390
-
1391
- export declare const BatchCheckLayerAvailabilityResponseFilterSensitiveLog: (obj: BatchCheckLayerAvailabilityResponse) => any;
1392
-
1393
- export declare const ImageIdentifierFilterSensitiveLog: (obj: ImageIdentifier) => any;
1394
-
1395
- export declare const BatchDeleteImageRequestFilterSensitiveLog: (obj: BatchDeleteImageRequest) => any;
1396
-
1397
- export declare const ImageFailureFilterSensitiveLog: (obj: ImageFailure) => any;
1398
-
1399
- export declare const BatchDeleteImageResponseFilterSensitiveLog: (obj: BatchDeleteImageResponse) => any;
1400
-
1401
- export declare const BatchGetImageRequestFilterSensitiveLog: (obj: BatchGetImageRequest) => any;
1402
-
1403
- export declare const ImageFilterSensitiveLog: (obj: Image) => any;
1404
-
1405
- export declare const BatchGetImageResponseFilterSensitiveLog: (obj: BatchGetImageResponse) => any;
1406
-
1407
- export declare const BatchGetRepositoryScanningConfigurationRequestFilterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationRequest) => any;
1408
-
1409
- export declare const RepositoryScanningConfigurationFailureFilterSensitiveLog: (obj: RepositoryScanningConfigurationFailure) => any;
1410
-
1411
- export declare const ScanningRepositoryFilterFilterSensitiveLog: (obj: ScanningRepositoryFilter) => any;
1412
-
1413
- export declare const RepositoryScanningConfigurationFilterSensitiveLog: (obj: RepositoryScanningConfiguration) => any;
1414
-
1415
- export declare const BatchGetRepositoryScanningConfigurationResponseFilterSensitiveLog: (obj: BatchGetRepositoryScanningConfigurationResponse) => any;
1416
-
1417
- export declare const CompleteLayerUploadRequestFilterSensitiveLog: (obj: CompleteLayerUploadRequest) => any;
1418
-
1419
- export declare const CompleteLayerUploadResponseFilterSensitiveLog: (obj: CompleteLayerUploadResponse) => any;
1420
-
1421
- export declare const CreatePullThroughCacheRuleRequestFilterSensitiveLog: (obj: CreatePullThroughCacheRuleRequest) => any;
1422
-
1423
- export declare const CreatePullThroughCacheRuleResponseFilterSensitiveLog: (obj: CreatePullThroughCacheRuleResponse) => any;
1424
-
1425
- export declare const EncryptionConfigurationFilterSensitiveLog: (obj: EncryptionConfiguration) => any;
1426
-
1427
- export declare const ImageScanningConfigurationFilterSensitiveLog: (obj: ImageScanningConfiguration) => any;
1428
-
1429
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1430
-
1431
- export declare const CreateRepositoryRequestFilterSensitiveLog: (obj: CreateRepositoryRequest) => any;
1432
-
1433
- export declare const RepositoryFilterSensitiveLog: (obj: Repository) => any;
1434
-
1435
- export declare const CreateRepositoryResponseFilterSensitiveLog: (obj: CreateRepositoryResponse) => any;
1436
-
1437
- export declare const DeleteLifecyclePolicyRequestFilterSensitiveLog: (obj: DeleteLifecyclePolicyRequest) => any;
1438
-
1439
- export declare const DeleteLifecyclePolicyResponseFilterSensitiveLog: (obj: DeleteLifecyclePolicyResponse) => any;
1440
-
1441
- export declare const DeletePullThroughCacheRuleRequestFilterSensitiveLog: (obj: DeletePullThroughCacheRuleRequest) => any;
1442
-
1443
- export declare const DeletePullThroughCacheRuleResponseFilterSensitiveLog: (obj: DeletePullThroughCacheRuleResponse) => any;
1444
-
1445
- export declare const DeleteRegistryPolicyRequestFilterSensitiveLog: (obj: DeleteRegistryPolicyRequest) => any;
1446
-
1447
- export declare const DeleteRegistryPolicyResponseFilterSensitiveLog: (obj: DeleteRegistryPolicyResponse) => any;
1448
-
1449
- export declare const DeleteRepositoryRequestFilterSensitiveLog: (obj: DeleteRepositoryRequest) => any;
1450
-
1451
- export declare const DeleteRepositoryResponseFilterSensitiveLog: (obj: DeleteRepositoryResponse) => any;
1452
-
1453
- export declare const DeleteRepositoryPolicyRequestFilterSensitiveLog: (obj: DeleteRepositoryPolicyRequest) => any;
1454
-
1455
- export declare const DeleteRepositoryPolicyResponseFilterSensitiveLog: (obj: DeleteRepositoryPolicyResponse) => any;
1456
-
1457
- export declare const DescribeImageReplicationStatusRequestFilterSensitiveLog: (obj: DescribeImageReplicationStatusRequest) => any;
1458
-
1459
- export declare const ImageReplicationStatusFilterSensitiveLog: (obj: ImageReplicationStatus) => any;
1460
-
1461
- export declare const DescribeImageReplicationStatusResponseFilterSensitiveLog: (obj: DescribeImageReplicationStatusResponse) => any;
1462
-
1463
- export declare const DescribeImagesFilterFilterSensitiveLog: (obj: DescribeImagesFilter) => any;
1464
-
1465
- export declare const DescribeImagesRequestFilterSensitiveLog: (obj: DescribeImagesRequest) => any;
1466
-
1467
- export declare const ImageScanFindingsSummaryFilterSensitiveLog: (obj: ImageScanFindingsSummary) => any;
1468
-
1469
- export declare const ImageScanStatusFilterSensitiveLog: (obj: ImageScanStatus) => any;
1470
-
1471
- export declare const ImageDetailFilterSensitiveLog: (obj: ImageDetail) => any;
1472
-
1473
- export declare const DescribeImagesResponseFilterSensitiveLog: (obj: DescribeImagesResponse) => any;
1474
-
1475
- export declare const DescribeImageScanFindingsRequestFilterSensitiveLog: (obj: DescribeImageScanFindingsRequest) => any;
1476
-
1477
- export declare const CvssScoreFilterSensitiveLog: (obj: CvssScore) => any;
1478
-
1479
- export declare const VulnerablePackageFilterSensitiveLog: (obj: VulnerablePackage) => any;
1480
-
1481
- export declare const PackageVulnerabilityDetailsFilterSensitiveLog: (obj: PackageVulnerabilityDetails) => any;
1482
-
1483
- export declare const RecommendationFilterSensitiveLog: (obj: Recommendation) => any;
1484
-
1485
- export declare const RemediationFilterSensitiveLog: (obj: Remediation) => any;
1486
-
1487
- export declare const AwsEcrContainerImageDetailsFilterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
1488
-
1489
- export declare const ResourceDetailsFilterSensitiveLog: (obj: ResourceDetails) => any;
1490
-
1491
- export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
1492
-
1493
- export declare const CvssScoreAdjustmentFilterSensitiveLog: (obj: CvssScoreAdjustment) => any;
1494
-
1495
- export declare const CvssScoreDetailsFilterSensitiveLog: (obj: CvssScoreDetails) => any;
1496
-
1497
- export declare const ScoreDetailsFilterSensitiveLog: (obj: ScoreDetails) => any;
1498
-
1499
- export declare const EnhancedImageScanFindingFilterSensitiveLog: (obj: EnhancedImageScanFinding) => any;
1500
-
1501
- export declare const AttributeFilterSensitiveLog: (obj: Attribute) => any;
1502
-
1503
- export declare const ImageScanFindingFilterSensitiveLog: (obj: ImageScanFinding) => any;
1504
-
1505
- export declare const ImageScanFindingsFilterSensitiveLog: (obj: ImageScanFindings) => any;
1506
-
1507
- export declare const DescribeImageScanFindingsResponseFilterSensitiveLog: (obj: DescribeImageScanFindingsResponse) => any;
1508
-
1509
- export declare const DescribePullThroughCacheRulesRequestFilterSensitiveLog: (obj: DescribePullThroughCacheRulesRequest) => any;
1510
-
1511
- export declare const PullThroughCacheRuleFilterSensitiveLog: (obj: PullThroughCacheRule) => any;
1512
-
1513
- export declare const DescribePullThroughCacheRulesResponseFilterSensitiveLog: (obj: DescribePullThroughCacheRulesResponse) => any;
1514
-
1515
- export declare const DescribeRegistryRequestFilterSensitiveLog: (obj: DescribeRegistryRequest) => any;
1516
-
1517
- export declare const ReplicationDestinationFilterSensitiveLog: (obj: ReplicationDestination) => any;
1518
-
1519
- export declare const RepositoryFilterFilterSensitiveLog: (obj: RepositoryFilter) => any;
1520
-
1521
- export declare const ReplicationRuleFilterSensitiveLog: (obj: ReplicationRule) => any;
1522
-
1523
- export declare const ReplicationConfigurationFilterSensitiveLog: (obj: ReplicationConfiguration) => any;
1524
-
1525
- export declare const DescribeRegistryResponseFilterSensitiveLog: (obj: DescribeRegistryResponse) => any;
1526
-
1527
- export declare const DescribeRepositoriesRequestFilterSensitiveLog: (obj: DescribeRepositoriesRequest) => any;
1528
-
1529
- export declare const DescribeRepositoriesResponseFilterSensitiveLog: (obj: DescribeRepositoriesResponse) => any;
1530
-
1531
- export declare const GetAuthorizationTokenRequestFilterSensitiveLog: (obj: GetAuthorizationTokenRequest) => any;
1532
-
1533
- export declare const AuthorizationDataFilterSensitiveLog: (obj: AuthorizationData) => any;
1534
-
1535
- export declare const GetAuthorizationTokenResponseFilterSensitiveLog: (obj: GetAuthorizationTokenResponse) => any;
1536
-
1537
- export declare const GetDownloadUrlForLayerRequestFilterSensitiveLog: (obj: GetDownloadUrlForLayerRequest) => any;
1538
-
1539
- export declare const GetDownloadUrlForLayerResponseFilterSensitiveLog: (obj: GetDownloadUrlForLayerResponse) => any;
1540
-
1541
- export declare const GetLifecyclePolicyRequestFilterSensitiveLog: (obj: GetLifecyclePolicyRequest) => any;
1542
-
1543
- export declare const GetLifecyclePolicyResponseFilterSensitiveLog: (obj: GetLifecyclePolicyResponse) => any;
1544
-
1545
- export declare const LifecyclePolicyPreviewFilterFilterSensitiveLog: (obj: LifecyclePolicyPreviewFilter) => any;
1546
-
1547
- export declare const GetLifecyclePolicyPreviewRequestFilterSensitiveLog: (obj: GetLifecyclePolicyPreviewRequest) => any;
1548
-
1549
- export declare const LifecyclePolicyRuleActionFilterSensitiveLog: (obj: LifecyclePolicyRuleAction) => any;
1550
-
1551
- export declare const LifecyclePolicyPreviewResultFilterSensitiveLog: (obj: LifecyclePolicyPreviewResult) => any;
1552
-
1553
- export declare const LifecyclePolicyPreviewSummaryFilterSensitiveLog: (obj: LifecyclePolicyPreviewSummary) => any;
1554
-
1555
- export declare const GetLifecyclePolicyPreviewResponseFilterSensitiveLog: (obj: GetLifecyclePolicyPreviewResponse) => any;
1556
-
1557
- export declare const GetRegistryPolicyRequestFilterSensitiveLog: (obj: GetRegistryPolicyRequest) => any;
1558
-
1559
- export declare const GetRegistryPolicyResponseFilterSensitiveLog: (obj: GetRegistryPolicyResponse) => any;
1560
-
1561
- export declare const GetRegistryScanningConfigurationRequestFilterSensitiveLog: (obj: GetRegistryScanningConfigurationRequest) => any;
1562
-
1563
- export declare const RegistryScanningRuleFilterSensitiveLog: (obj: RegistryScanningRule) => any;
1564
-
1565
- export declare const RegistryScanningConfigurationFilterSensitiveLog: (obj: RegistryScanningConfiguration) => any;
1566
-
1567
- export declare const GetRegistryScanningConfigurationResponseFilterSensitiveLog: (obj: GetRegistryScanningConfigurationResponse) => any;
1568
-
1569
- export declare const GetRepositoryPolicyRequestFilterSensitiveLog: (obj: GetRepositoryPolicyRequest) => any;
1570
-
1571
- export declare const GetRepositoryPolicyResponseFilterSensitiveLog: (obj: GetRepositoryPolicyResponse) => any;
1572
-
1573
- export declare const InitiateLayerUploadRequestFilterSensitiveLog: (obj: InitiateLayerUploadRequest) => any;
1574
-
1575
- export declare const InitiateLayerUploadResponseFilterSensitiveLog: (obj: InitiateLayerUploadResponse) => any;
1576
-
1577
- export declare const ListImagesFilterFilterSensitiveLog: (obj: ListImagesFilter) => any;
1578
-
1579
- export declare const ListImagesRequestFilterSensitiveLog: (obj: ListImagesRequest) => any;
1580
-
1581
- export declare const ListImagesResponseFilterSensitiveLog: (obj: ListImagesResponse) => any;
1582
-
1583
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
1584
-
1585
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1586
-
1587
- export declare const PutImageRequestFilterSensitiveLog: (obj: PutImageRequest) => any;
1588
-
1589
- export declare const PutImageResponseFilterSensitiveLog: (obj: PutImageResponse) => any;
1590
-
1591
- export declare const PutImageScanningConfigurationRequestFilterSensitiveLog: (obj: PutImageScanningConfigurationRequest) => any;
1592
-
1593
- export declare const PutImageScanningConfigurationResponseFilterSensitiveLog: (obj: PutImageScanningConfigurationResponse) => any;
1594
-
1595
- export declare const PutImageTagMutabilityRequestFilterSensitiveLog: (obj: PutImageTagMutabilityRequest) => any;
1596
-
1597
- export declare const PutImageTagMutabilityResponseFilterSensitiveLog: (obj: PutImageTagMutabilityResponse) => any;
1598
-
1599
- export declare const PutLifecyclePolicyRequestFilterSensitiveLog: (obj: PutLifecyclePolicyRequest) => any;
1600
-
1601
- export declare const PutLifecyclePolicyResponseFilterSensitiveLog: (obj: PutLifecyclePolicyResponse) => any;
1602
-
1603
- export declare const PutRegistryPolicyRequestFilterSensitiveLog: (obj: PutRegistryPolicyRequest) => any;
1604
-
1605
- export declare const PutRegistryPolicyResponseFilterSensitiveLog: (obj: PutRegistryPolicyResponse) => any;
1606
-
1607
- export declare const PutRegistryScanningConfigurationRequestFilterSensitiveLog: (obj: PutRegistryScanningConfigurationRequest) => any;
1608
-
1609
- export declare const PutRegistryScanningConfigurationResponseFilterSensitiveLog: (obj: PutRegistryScanningConfigurationResponse) => any;
1610
-
1611
- export declare const PutReplicationConfigurationRequestFilterSensitiveLog: (obj: PutReplicationConfigurationRequest) => any;
1612
-
1613
- export declare const PutReplicationConfigurationResponseFilterSensitiveLog: (obj: PutReplicationConfigurationResponse) => any;
1614
-
1615
- export declare const SetRepositoryPolicyRequestFilterSensitiveLog: (obj: SetRepositoryPolicyRequest) => any;
1616
-
1617
- export declare const SetRepositoryPolicyResponseFilterSensitiveLog: (obj: SetRepositoryPolicyResponse) => any;
1618
-
1619
- export declare const StartImageScanRequestFilterSensitiveLog: (obj: StartImageScanRequest) => any;
1620
-
1621
- export declare const StartImageScanResponseFilterSensitiveLog: (obj: StartImageScanResponse) => any;
1622
-
1623
- export declare const StartLifecyclePolicyPreviewRequestFilterSensitiveLog: (obj: StartLifecyclePolicyPreviewRequest) => any;
1624
-
1625
- export declare const StartLifecyclePolicyPreviewResponseFilterSensitiveLog: (obj: StartLifecyclePolicyPreviewResponse) => any;
1626
-
1627
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
1628
-
1629
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
1630
-
1631
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
1632
-
1633
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
1634
-
1635
- export declare const UploadLayerPartRequestFilterSensitiveLog: (obj: UploadLayerPartRequest) => any;
1636
-
1637
- export declare const UploadLayerPartResponseFilterSensitiveLog: (obj: UploadLayerPartResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ECRServiceException as __BaseException } from "./ECRServiceException";
3
+ export interface BatchCheckLayerAvailabilityRequest {
4
+ registryId?: string;
5
+ repositoryName: string | undefined;
6
+ layerDigests: string[] | undefined;
7
+ }
8
+ export declare enum LayerFailureCode {
9
+ InvalidLayerDigest = "InvalidLayerDigest",
10
+ MissingLayerDigest = "MissingLayerDigest",
11
+ }
12
+ export interface LayerFailure {
13
+ layerDigest?: string;
14
+ failureCode?: LayerFailureCode | string;
15
+ failureReason?: string;
16
+ }
17
+ export declare enum LayerAvailability {
18
+ AVAILABLE = "AVAILABLE",
19
+ UNAVAILABLE = "UNAVAILABLE",
20
+ }
21
+ export interface Layer {
22
+ layerDigest?: string;
23
+ layerAvailability?: LayerAvailability | string;
24
+ layerSize?: number;
25
+ mediaType?: string;
26
+ }
27
+ export interface BatchCheckLayerAvailabilityResponse {
28
+ layers?: Layer[];
29
+ failures?: LayerFailure[];
30
+ }
31
+ export declare class InvalidParameterException extends __BaseException {
32
+ readonly name: "InvalidParameterException";
33
+ readonly $fault: "client";
34
+ constructor(
35
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
36
+ );
37
+ }
38
+ export declare class RepositoryNotFoundException extends __BaseException {
39
+ readonly name: "RepositoryNotFoundException";
40
+ readonly $fault: "client";
41
+ constructor(
42
+ opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>
43
+ );
44
+ }
45
+ export declare class ServerException extends __BaseException {
46
+ readonly name: "ServerException";
47
+ readonly $fault: "server";
48
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
49
+ }
50
+ export interface ImageIdentifier {
51
+ imageDigest?: string;
52
+ imageTag?: string;
53
+ }
54
+ export interface BatchDeleteImageRequest {
55
+ registryId?: string;
56
+ repositoryName: string | undefined;
57
+ imageIds: ImageIdentifier[] | undefined;
58
+ }
59
+ export declare enum ImageFailureCode {
60
+ ImageNotFound = "ImageNotFound",
61
+ ImageReferencedByManifestList = "ImageReferencedByManifestList",
62
+ ImageTagDoesNotMatchDigest = "ImageTagDoesNotMatchDigest",
63
+ InvalidImageDigest = "InvalidImageDigest",
64
+ InvalidImageTag = "InvalidImageTag",
65
+ KmsError = "KmsError",
66
+ MissingDigestAndTag = "MissingDigestAndTag",
67
+ }
68
+ export interface ImageFailure {
69
+ imageId?: ImageIdentifier;
70
+ failureCode?: ImageFailureCode | string;
71
+ failureReason?: string;
72
+ }
73
+ export interface BatchDeleteImageResponse {
74
+ imageIds?: ImageIdentifier[];
75
+ failures?: ImageFailure[];
76
+ }
77
+ export interface BatchGetImageRequest {
78
+ registryId?: string;
79
+ repositoryName: string | undefined;
80
+ imageIds: ImageIdentifier[] | undefined;
81
+ acceptedMediaTypes?: string[];
82
+ }
83
+ export interface Image {
84
+ registryId?: string;
85
+ repositoryName?: string;
86
+ imageId?: ImageIdentifier;
87
+ imageManifest?: string;
88
+ imageManifestMediaType?: string;
89
+ }
90
+ export interface BatchGetImageResponse {
91
+ images?: Image[];
92
+ failures?: ImageFailure[];
93
+ }
94
+ export interface BatchGetRepositoryScanningConfigurationRequest {
95
+ repositoryNames: string[] | undefined;
96
+ }
97
+ export declare enum ScanningConfigurationFailureCode {
98
+ REPOSITORY_NOT_FOUND = "REPOSITORY_NOT_FOUND",
99
+ }
100
+ export interface RepositoryScanningConfigurationFailure {
101
+ repositoryName?: string;
102
+ failureCode?: ScanningConfigurationFailureCode | string;
103
+ failureReason?: string;
104
+ }
105
+ export declare enum ScanningRepositoryFilterType {
106
+ WILDCARD = "WILDCARD",
107
+ }
108
+ export interface ScanningRepositoryFilter {
109
+ filter: string | undefined;
110
+ filterType: ScanningRepositoryFilterType | string | undefined;
111
+ }
112
+ export declare enum ScanFrequency {
113
+ CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
114
+ MANUAL = "MANUAL",
115
+ SCAN_ON_PUSH = "SCAN_ON_PUSH",
116
+ }
117
+ export interface RepositoryScanningConfiguration {
118
+ repositoryArn?: string;
119
+ repositoryName?: string;
120
+ scanOnPush?: boolean;
121
+ scanFrequency?: ScanFrequency | string;
122
+ appliedScanFilters?: ScanningRepositoryFilter[];
123
+ }
124
+ export interface BatchGetRepositoryScanningConfigurationResponse {
125
+ scanningConfigurations?: RepositoryScanningConfiguration[];
126
+ failures?: RepositoryScanningConfigurationFailure[];
127
+ }
128
+ export declare class ValidationException extends __BaseException {
129
+ readonly name: "ValidationException";
130
+ readonly $fault: "client";
131
+ constructor(
132
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
133
+ );
134
+ }
135
+ export interface CompleteLayerUploadRequest {
136
+ registryId?: string;
137
+ repositoryName: string | undefined;
138
+ uploadId: string | undefined;
139
+ layerDigests: string[] | undefined;
140
+ }
141
+ export interface CompleteLayerUploadResponse {
142
+ registryId?: string;
143
+ repositoryName?: string;
144
+ uploadId?: string;
145
+ layerDigest?: string;
146
+ }
147
+ export declare class EmptyUploadException extends __BaseException {
148
+ readonly name: "EmptyUploadException";
149
+ readonly $fault: "client";
150
+ constructor(
151
+ opts: __ExceptionOptionType<EmptyUploadException, __BaseException>
152
+ );
153
+ }
154
+ export declare class InvalidLayerException extends __BaseException {
155
+ readonly name: "InvalidLayerException";
156
+ readonly $fault: "client";
157
+ constructor(
158
+ opts: __ExceptionOptionType<InvalidLayerException, __BaseException>
159
+ );
160
+ }
161
+ export declare class KmsException extends __BaseException {
162
+ readonly name: "KmsException";
163
+ readonly $fault: "client";
164
+ kmsError?: string;
165
+ constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
166
+ }
167
+ export declare class LayerAlreadyExistsException extends __BaseException {
168
+ readonly name: "LayerAlreadyExistsException";
169
+ readonly $fault: "client";
170
+ constructor(
171
+ opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>
172
+ );
173
+ }
174
+ export declare class LayerPartTooSmallException extends __BaseException {
175
+ readonly name: "LayerPartTooSmallException";
176
+ readonly $fault: "client";
177
+ constructor(
178
+ opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>
179
+ );
180
+ }
181
+ export declare class UploadNotFoundException extends __BaseException {
182
+ readonly name: "UploadNotFoundException";
183
+ readonly $fault: "client";
184
+ constructor(
185
+ opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>
186
+ );
187
+ }
188
+ export interface CreatePullThroughCacheRuleRequest {
189
+ ecrRepositoryPrefix: string | undefined;
190
+ upstreamRegistryUrl: string | undefined;
191
+ registryId?: string;
192
+ }
193
+ export interface CreatePullThroughCacheRuleResponse {
194
+ ecrRepositoryPrefix?: string;
195
+ upstreamRegistryUrl?: string;
196
+ createdAt?: Date;
197
+ registryId?: string;
198
+ }
199
+ export declare class LimitExceededException extends __BaseException {
200
+ readonly name: "LimitExceededException";
201
+ readonly $fault: "client";
202
+ constructor(
203
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
204
+ );
205
+ }
206
+ export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
207
+ readonly name: "PullThroughCacheRuleAlreadyExistsException";
208
+ readonly $fault: "client";
209
+ constructor(
210
+ opts: __ExceptionOptionType<
211
+ PullThroughCacheRuleAlreadyExistsException,
212
+ __BaseException
213
+ >
214
+ );
215
+ }
216
+ export declare class UnsupportedUpstreamRegistryException extends __BaseException {
217
+ readonly name: "UnsupportedUpstreamRegistryException";
218
+ readonly $fault: "client";
219
+ constructor(
220
+ opts: __ExceptionOptionType<
221
+ UnsupportedUpstreamRegistryException,
222
+ __BaseException
223
+ >
224
+ );
225
+ }
226
+ export declare enum EncryptionType {
227
+ AES256 = "AES256",
228
+ KMS = "KMS",
229
+ }
230
+ export interface EncryptionConfiguration {
231
+ encryptionType: EncryptionType | string | undefined;
232
+ kmsKey?: string;
233
+ }
234
+ export interface ImageScanningConfiguration {
235
+ scanOnPush?: boolean;
236
+ }
237
+ export declare enum ImageTagMutability {
238
+ IMMUTABLE = "IMMUTABLE",
239
+ MUTABLE = "MUTABLE",
240
+ }
241
+ export interface Tag {
242
+ Key?: string;
243
+ Value?: string;
244
+ }
245
+ export interface CreateRepositoryRequest {
246
+ registryId?: string;
247
+ repositoryName: string | undefined;
248
+ tags?: Tag[];
249
+ imageTagMutability?: ImageTagMutability | string;
250
+ imageScanningConfiguration?: ImageScanningConfiguration;
251
+ encryptionConfiguration?: EncryptionConfiguration;
252
+ }
253
+ export interface Repository {
254
+ repositoryArn?: string;
255
+ registryId?: string;
256
+ repositoryName?: string;
257
+ repositoryUri?: string;
258
+ createdAt?: Date;
259
+ imageTagMutability?: ImageTagMutability | string;
260
+ imageScanningConfiguration?: ImageScanningConfiguration;
261
+ encryptionConfiguration?: EncryptionConfiguration;
262
+ }
263
+ export interface CreateRepositoryResponse {
264
+ repository?: Repository;
265
+ }
266
+ export declare class InvalidTagParameterException extends __BaseException {
267
+ readonly name: "InvalidTagParameterException";
268
+ readonly $fault: "client";
269
+ constructor(
270
+ opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>
271
+ );
272
+ }
273
+ export declare class RepositoryAlreadyExistsException extends __BaseException {
274
+ readonly name: "RepositoryAlreadyExistsException";
275
+ readonly $fault: "client";
276
+ constructor(
277
+ opts: __ExceptionOptionType<
278
+ RepositoryAlreadyExistsException,
279
+ __BaseException
280
+ >
281
+ );
282
+ }
283
+ export declare class TooManyTagsException extends __BaseException {
284
+ readonly name: "TooManyTagsException";
285
+ readonly $fault: "client";
286
+ constructor(
287
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
288
+ );
289
+ }
290
+ export interface DeleteLifecyclePolicyRequest {
291
+ registryId?: string;
292
+ repositoryName: string | undefined;
293
+ }
294
+ export interface DeleteLifecyclePolicyResponse {
295
+ registryId?: string;
296
+ repositoryName?: string;
297
+ lifecyclePolicyText?: string;
298
+ lastEvaluatedAt?: Date;
299
+ }
300
+ export declare class LifecyclePolicyNotFoundException extends __BaseException {
301
+ readonly name: "LifecyclePolicyNotFoundException";
302
+ readonly $fault: "client";
303
+ constructor(
304
+ opts: __ExceptionOptionType<
305
+ LifecyclePolicyNotFoundException,
306
+ __BaseException
307
+ >
308
+ );
309
+ }
310
+ export interface DeletePullThroughCacheRuleRequest {
311
+ ecrRepositoryPrefix: string | undefined;
312
+ registryId?: string;
313
+ }
314
+ export interface DeletePullThroughCacheRuleResponse {
315
+ ecrRepositoryPrefix?: string;
316
+ upstreamRegistryUrl?: string;
317
+ createdAt?: Date;
318
+ registryId?: string;
319
+ }
320
+ export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
321
+ readonly name: "PullThroughCacheRuleNotFoundException";
322
+ readonly $fault: "client";
323
+ constructor(
324
+ opts: __ExceptionOptionType<
325
+ PullThroughCacheRuleNotFoundException,
326
+ __BaseException
327
+ >
328
+ );
329
+ }
330
+ export interface DeleteRegistryPolicyRequest {}
331
+ export interface DeleteRegistryPolicyResponse {
332
+ registryId?: string;
333
+ policyText?: string;
334
+ }
335
+ export declare class RegistryPolicyNotFoundException extends __BaseException {
336
+ readonly name: "RegistryPolicyNotFoundException";
337
+ readonly $fault: "client";
338
+ constructor(
339
+ opts: __ExceptionOptionType<
340
+ RegistryPolicyNotFoundException,
341
+ __BaseException
342
+ >
343
+ );
344
+ }
345
+ export interface DeleteRepositoryRequest {
346
+ registryId?: string;
347
+ repositoryName: string | undefined;
348
+ force?: boolean;
349
+ }
350
+ export interface DeleteRepositoryResponse {
351
+ repository?: Repository;
352
+ }
353
+ export declare class RepositoryNotEmptyException extends __BaseException {
354
+ readonly name: "RepositoryNotEmptyException";
355
+ readonly $fault: "client";
356
+ constructor(
357
+ opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>
358
+ );
359
+ }
360
+ export interface DeleteRepositoryPolicyRequest {
361
+ registryId?: string;
362
+ repositoryName: string | undefined;
363
+ }
364
+ export interface DeleteRepositoryPolicyResponse {
365
+ registryId?: string;
366
+ repositoryName?: string;
367
+ policyText?: string;
368
+ }
369
+ export declare class RepositoryPolicyNotFoundException extends __BaseException {
370
+ readonly name: "RepositoryPolicyNotFoundException";
371
+ readonly $fault: "client";
372
+ constructor(
373
+ opts: __ExceptionOptionType<
374
+ RepositoryPolicyNotFoundException,
375
+ __BaseException
376
+ >
377
+ );
378
+ }
379
+ export interface DescribeImageReplicationStatusRequest {
380
+ repositoryName: string | undefined;
381
+ imageId: ImageIdentifier | undefined;
382
+ registryId?: string;
383
+ }
384
+ export declare enum ReplicationStatus {
385
+ COMPLETE = "COMPLETE",
386
+ FAILED = "FAILED",
387
+ IN_PROGRESS = "IN_PROGRESS",
388
+ }
389
+ export interface ImageReplicationStatus {
390
+ region?: string;
391
+ registryId?: string;
392
+ status?: ReplicationStatus | string;
393
+ failureCode?: string;
394
+ }
395
+ export interface DescribeImageReplicationStatusResponse {
396
+ repositoryName?: string;
397
+ imageId?: ImageIdentifier;
398
+ replicationStatuses?: ImageReplicationStatus[];
399
+ }
400
+ export declare class ImageNotFoundException extends __BaseException {
401
+ readonly name: "ImageNotFoundException";
402
+ readonly $fault: "client";
403
+ constructor(
404
+ opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>
405
+ );
406
+ }
407
+ export declare enum TagStatus {
408
+ ANY = "ANY",
409
+ TAGGED = "TAGGED",
410
+ UNTAGGED = "UNTAGGED",
411
+ }
412
+ export interface DescribeImagesFilter {
413
+ tagStatus?: TagStatus | string;
414
+ }
415
+ export interface DescribeImagesRequest {
416
+ registryId?: string;
417
+ repositoryName: string | undefined;
418
+ imageIds?: ImageIdentifier[];
419
+ nextToken?: string;
420
+ maxResults?: number;
421
+ filter?: DescribeImagesFilter;
422
+ }
423
+ export declare enum FindingSeverity {
424
+ CRITICAL = "CRITICAL",
425
+ HIGH = "HIGH",
426
+ INFORMATIONAL = "INFORMATIONAL",
427
+ LOW = "LOW",
428
+ MEDIUM = "MEDIUM",
429
+ UNDEFINED = "UNDEFINED",
430
+ }
431
+ export interface ImageScanFindingsSummary {
432
+ imageScanCompletedAt?: Date;
433
+ vulnerabilitySourceUpdatedAt?: Date;
434
+ findingSeverityCounts?: Record<string, number>;
435
+ }
436
+ export declare enum ScanStatus {
437
+ ACTIVE = "ACTIVE",
438
+ COMPLETE = "COMPLETE",
439
+ FAILED = "FAILED",
440
+ FINDINGS_UNAVAILABLE = "FINDINGS_UNAVAILABLE",
441
+ IN_PROGRESS = "IN_PROGRESS",
442
+ PENDING = "PENDING",
443
+ SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
444
+ UNSUPPORTED_IMAGE = "UNSUPPORTED_IMAGE",
445
+ }
446
+ export interface ImageScanStatus {
447
+ status?: ScanStatus | string;
448
+ description?: string;
449
+ }
450
+ export interface ImageDetail {
451
+ registryId?: string;
452
+ repositoryName?: string;
453
+ imageDigest?: string;
454
+ imageTags?: string[];
455
+ imageSizeInBytes?: number;
456
+ imagePushedAt?: Date;
457
+ imageScanStatus?: ImageScanStatus;
458
+ imageScanFindingsSummary?: ImageScanFindingsSummary;
459
+ imageManifestMediaType?: string;
460
+ artifactMediaType?: string;
461
+ lastRecordedPullTime?: Date;
462
+ }
463
+ export interface DescribeImagesResponse {
464
+ imageDetails?: ImageDetail[];
465
+ nextToken?: string;
466
+ }
467
+ export interface DescribeImageScanFindingsRequest {
468
+ registryId?: string;
469
+ repositoryName: string | undefined;
470
+ imageId: ImageIdentifier | undefined;
471
+ nextToken?: string;
472
+ maxResults?: number;
473
+ }
474
+ export interface CvssScore {
475
+ baseScore?: number;
476
+ scoringVector?: string;
477
+ source?: string;
478
+ version?: string;
479
+ }
480
+ export interface VulnerablePackage {
481
+ arch?: string;
482
+ epoch?: number;
483
+ filePath?: string;
484
+ name?: string;
485
+ packageManager?: string;
486
+ release?: string;
487
+ sourceLayerHash?: string;
488
+ version?: string;
489
+ }
490
+ export interface PackageVulnerabilityDetails {
491
+ cvss?: CvssScore[];
492
+ referenceUrls?: string[];
493
+ relatedVulnerabilities?: string[];
494
+ source?: string;
495
+ sourceUrl?: string;
496
+ vendorCreatedAt?: Date;
497
+ vendorSeverity?: string;
498
+ vendorUpdatedAt?: Date;
499
+ vulnerabilityId?: string;
500
+ vulnerablePackages?: VulnerablePackage[];
501
+ }
502
+ export interface Recommendation {
503
+ url?: string;
504
+ text?: string;
505
+ }
506
+ export interface Remediation {
507
+ recommendation?: Recommendation;
508
+ }
509
+ export interface AwsEcrContainerImageDetails {
510
+ architecture?: string;
511
+ author?: string;
512
+ imageHash?: string;
513
+ imageTags?: string[];
514
+ platform?: string;
515
+ pushedAt?: Date;
516
+ registry?: string;
517
+ repositoryName?: string;
518
+ }
519
+ export interface ResourceDetails {
520
+ awsEcrContainerImage?: AwsEcrContainerImageDetails;
521
+ }
522
+ export interface Resource {
523
+ details?: ResourceDetails;
524
+ id?: string;
525
+ tags?: Record<string, string>;
526
+ type?: string;
527
+ }
528
+ export interface CvssScoreAdjustment {
529
+ metric?: string;
530
+ reason?: string;
531
+ }
532
+ export interface CvssScoreDetails {
533
+ adjustments?: CvssScoreAdjustment[];
534
+ score?: number;
535
+ scoreSource?: string;
536
+ scoringVector?: string;
537
+ version?: string;
538
+ }
539
+ export interface ScoreDetails {
540
+ cvss?: CvssScoreDetails;
541
+ }
542
+ export interface EnhancedImageScanFinding {
543
+ awsAccountId?: string;
544
+ description?: string;
545
+ findingArn?: string;
546
+ firstObservedAt?: Date;
547
+ lastObservedAt?: Date;
548
+ packageVulnerabilityDetails?: PackageVulnerabilityDetails;
549
+ remediation?: Remediation;
550
+ resources?: Resource[];
551
+ score?: number;
552
+ scoreDetails?: ScoreDetails;
553
+ severity?: string;
554
+ status?: string;
555
+ title?: string;
556
+ type?: string;
557
+ updatedAt?: Date;
558
+ }
559
+ export interface Attribute {
560
+ key: string | undefined;
561
+ value?: string;
562
+ }
563
+ export interface ImageScanFinding {
564
+ name?: string;
565
+ description?: string;
566
+ uri?: string;
567
+ severity?: FindingSeverity | string;
568
+ attributes?: Attribute[];
569
+ }
570
+ export interface ImageScanFindings {
571
+ imageScanCompletedAt?: Date;
572
+ vulnerabilitySourceUpdatedAt?: Date;
573
+ findingSeverityCounts?: Record<string, number>;
574
+ findings?: ImageScanFinding[];
575
+ enhancedFindings?: EnhancedImageScanFinding[];
576
+ }
577
+ export interface DescribeImageScanFindingsResponse {
578
+ registryId?: string;
579
+ repositoryName?: string;
580
+ imageId?: ImageIdentifier;
581
+ imageScanStatus?: ImageScanStatus;
582
+ imageScanFindings?: ImageScanFindings;
583
+ nextToken?: string;
584
+ }
585
+ export declare class ScanNotFoundException extends __BaseException {
586
+ readonly name: "ScanNotFoundException";
587
+ readonly $fault: "client";
588
+ constructor(
589
+ opts: __ExceptionOptionType<ScanNotFoundException, __BaseException>
590
+ );
591
+ }
592
+ export interface DescribePullThroughCacheRulesRequest {
593
+ registryId?: string;
594
+ ecrRepositoryPrefixes?: string[];
595
+ nextToken?: string;
596
+ maxResults?: number;
597
+ }
598
+ export interface PullThroughCacheRule {
599
+ ecrRepositoryPrefix?: string;
600
+ upstreamRegistryUrl?: string;
601
+ createdAt?: Date;
602
+ registryId?: string;
603
+ }
604
+ export interface DescribePullThroughCacheRulesResponse {
605
+ pullThroughCacheRules?: PullThroughCacheRule[];
606
+ nextToken?: string;
607
+ }
608
+ export interface DescribeRegistryRequest {}
609
+ export interface ReplicationDestination {
610
+ region: string | undefined;
611
+ registryId: string | undefined;
612
+ }
613
+ export declare enum RepositoryFilterType {
614
+ PREFIX_MATCH = "PREFIX_MATCH",
615
+ }
616
+ export interface RepositoryFilter {
617
+ filter: string | undefined;
618
+ filterType: RepositoryFilterType | string | undefined;
619
+ }
620
+ export interface ReplicationRule {
621
+ destinations: ReplicationDestination[] | undefined;
622
+ repositoryFilters?: RepositoryFilter[];
623
+ }
624
+ export interface ReplicationConfiguration {
625
+ rules: ReplicationRule[] | undefined;
626
+ }
627
+ export interface DescribeRegistryResponse {
628
+ registryId?: string;
629
+ replicationConfiguration?: ReplicationConfiguration;
630
+ }
631
+ export interface DescribeRepositoriesRequest {
632
+ registryId?: string;
633
+ repositoryNames?: string[];
634
+ nextToken?: string;
635
+ maxResults?: number;
636
+ }
637
+ export interface DescribeRepositoriesResponse {
638
+ repositories?: Repository[];
639
+ nextToken?: string;
640
+ }
641
+ export interface GetAuthorizationTokenRequest {
642
+ registryIds?: string[];
643
+ }
644
+ export interface AuthorizationData {
645
+ authorizationToken?: string;
646
+ expiresAt?: Date;
647
+ proxyEndpoint?: string;
648
+ }
649
+ export interface GetAuthorizationTokenResponse {
650
+ authorizationData?: AuthorizationData[];
651
+ }
652
+ export interface GetDownloadUrlForLayerRequest {
653
+ registryId?: string;
654
+ repositoryName: string | undefined;
655
+ layerDigest: string | undefined;
656
+ }
657
+ export interface GetDownloadUrlForLayerResponse {
658
+ downloadUrl?: string;
659
+ layerDigest?: string;
660
+ }
661
+ export declare class LayerInaccessibleException extends __BaseException {
662
+ readonly name: "LayerInaccessibleException";
663
+ readonly $fault: "client";
664
+ constructor(
665
+ opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>
666
+ );
667
+ }
668
+ export declare class LayersNotFoundException extends __BaseException {
669
+ readonly name: "LayersNotFoundException";
670
+ readonly $fault: "client";
671
+ constructor(
672
+ opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>
673
+ );
674
+ }
675
+ export interface GetLifecyclePolicyRequest {
676
+ registryId?: string;
677
+ repositoryName: string | undefined;
678
+ }
679
+ export interface GetLifecyclePolicyResponse {
680
+ registryId?: string;
681
+ repositoryName?: string;
682
+ lifecyclePolicyText?: string;
683
+ lastEvaluatedAt?: Date;
684
+ }
685
+ export interface LifecyclePolicyPreviewFilter {
686
+ tagStatus?: TagStatus | string;
687
+ }
688
+ export interface GetLifecyclePolicyPreviewRequest {
689
+ registryId?: string;
690
+ repositoryName: string | undefined;
691
+ imageIds?: ImageIdentifier[];
692
+ nextToken?: string;
693
+ maxResults?: number;
694
+ filter?: LifecyclePolicyPreviewFilter;
695
+ }
696
+ export declare enum ImageActionType {
697
+ EXPIRE = "EXPIRE",
698
+ }
699
+ export interface LifecyclePolicyRuleAction {
700
+ type?: ImageActionType | string;
701
+ }
702
+ export interface LifecyclePolicyPreviewResult {
703
+ imageTags?: string[];
704
+ imageDigest?: string;
705
+ imagePushedAt?: Date;
706
+ action?: LifecyclePolicyRuleAction;
707
+ appliedRulePriority?: number;
708
+ }
709
+ export declare enum LifecyclePolicyPreviewStatus {
710
+ COMPLETE = "COMPLETE",
711
+ EXPIRED = "EXPIRED",
712
+ FAILED = "FAILED",
713
+ IN_PROGRESS = "IN_PROGRESS",
714
+ }
715
+ export interface LifecyclePolicyPreviewSummary {
716
+ expiringImageTotalCount?: number;
717
+ }
718
+ export interface GetLifecyclePolicyPreviewResponse {
719
+ registryId?: string;
720
+ repositoryName?: string;
721
+ lifecyclePolicyText?: string;
722
+ status?: LifecyclePolicyPreviewStatus | string;
723
+ nextToken?: string;
724
+ previewResults?: LifecyclePolicyPreviewResult[];
725
+ summary?: LifecyclePolicyPreviewSummary;
726
+ }
727
+ export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
728
+ readonly name: "LifecyclePolicyPreviewNotFoundException";
729
+ readonly $fault: "client";
730
+ constructor(
731
+ opts: __ExceptionOptionType<
732
+ LifecyclePolicyPreviewNotFoundException,
733
+ __BaseException
734
+ >
735
+ );
736
+ }
737
+ export interface GetRegistryPolicyRequest {}
738
+ export interface GetRegistryPolicyResponse {
739
+ registryId?: string;
740
+ policyText?: string;
741
+ }
742
+ export interface GetRegistryScanningConfigurationRequest {}
743
+ export interface RegistryScanningRule {
744
+ scanFrequency: ScanFrequency | string | undefined;
745
+ repositoryFilters: ScanningRepositoryFilter[] | undefined;
746
+ }
747
+ export declare enum ScanType {
748
+ BASIC = "BASIC",
749
+ ENHANCED = "ENHANCED",
750
+ }
751
+ export interface RegistryScanningConfiguration {
752
+ scanType?: ScanType | string;
753
+ rules?: RegistryScanningRule[];
754
+ }
755
+ export interface GetRegistryScanningConfigurationResponse {
756
+ registryId?: string;
757
+ scanningConfiguration?: RegistryScanningConfiguration;
758
+ }
759
+ export interface GetRepositoryPolicyRequest {
760
+ registryId?: string;
761
+ repositoryName: string | undefined;
762
+ }
763
+ export interface GetRepositoryPolicyResponse {
764
+ registryId?: string;
765
+ repositoryName?: string;
766
+ policyText?: string;
767
+ }
768
+ export interface InitiateLayerUploadRequest {
769
+ registryId?: string;
770
+ repositoryName: string | undefined;
771
+ }
772
+ export interface InitiateLayerUploadResponse {
773
+ uploadId?: string;
774
+ partSize?: number;
775
+ }
776
+ export interface ListImagesFilter {
777
+ tagStatus?: TagStatus | string;
778
+ }
779
+ export interface ListImagesRequest {
780
+ registryId?: string;
781
+ repositoryName: string | undefined;
782
+ nextToken?: string;
783
+ maxResults?: number;
784
+ filter?: ListImagesFilter;
785
+ }
786
+ export interface ListImagesResponse {
787
+ imageIds?: ImageIdentifier[];
788
+ nextToken?: string;
789
+ }
790
+ export interface ListTagsForResourceRequest {
791
+ resourceArn: string | undefined;
792
+ }
793
+ export interface ListTagsForResourceResponse {
794
+ tags?: Tag[];
795
+ }
796
+ export declare class ImageAlreadyExistsException extends __BaseException {
797
+ readonly name: "ImageAlreadyExistsException";
798
+ readonly $fault: "client";
799
+ constructor(
800
+ opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>
801
+ );
802
+ }
803
+ export declare class ImageDigestDoesNotMatchException extends __BaseException {
804
+ readonly name: "ImageDigestDoesNotMatchException";
805
+ readonly $fault: "client";
806
+ constructor(
807
+ opts: __ExceptionOptionType<
808
+ ImageDigestDoesNotMatchException,
809
+ __BaseException
810
+ >
811
+ );
812
+ }
813
+ export declare class ImageTagAlreadyExistsException extends __BaseException {
814
+ readonly name: "ImageTagAlreadyExistsException";
815
+ readonly $fault: "client";
816
+ constructor(
817
+ opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>
818
+ );
819
+ }
820
+ export interface PutImageRequest {
821
+ registryId?: string;
822
+ repositoryName: string | undefined;
823
+ imageManifest: string | undefined;
824
+ imageManifestMediaType?: string;
825
+ imageTag?: string;
826
+ imageDigest?: string;
827
+ }
828
+ export interface PutImageResponse {
829
+ image?: Image;
830
+ }
831
+ export declare class ReferencedImagesNotFoundException extends __BaseException {
832
+ readonly name: "ReferencedImagesNotFoundException";
833
+ readonly $fault: "client";
834
+ constructor(
835
+ opts: __ExceptionOptionType<
836
+ ReferencedImagesNotFoundException,
837
+ __BaseException
838
+ >
839
+ );
840
+ }
841
+ export interface PutImageScanningConfigurationRequest {
842
+ registryId?: string;
843
+ repositoryName: string | undefined;
844
+ imageScanningConfiguration: ImageScanningConfiguration | undefined;
845
+ }
846
+ export interface PutImageScanningConfigurationResponse {
847
+ registryId?: string;
848
+ repositoryName?: string;
849
+ imageScanningConfiguration?: ImageScanningConfiguration;
850
+ }
851
+ export interface PutImageTagMutabilityRequest {
852
+ registryId?: string;
853
+ repositoryName: string | undefined;
854
+ imageTagMutability: ImageTagMutability | string | undefined;
855
+ }
856
+ export interface PutImageTagMutabilityResponse {
857
+ registryId?: string;
858
+ repositoryName?: string;
859
+ imageTagMutability?: ImageTagMutability | string;
860
+ }
861
+ export interface PutLifecyclePolicyRequest {
862
+ registryId?: string;
863
+ repositoryName: string | undefined;
864
+ lifecyclePolicyText: string | undefined;
865
+ }
866
+ export interface PutLifecyclePolicyResponse {
867
+ registryId?: string;
868
+ repositoryName?: string;
869
+ lifecyclePolicyText?: string;
870
+ }
871
+ export interface PutRegistryPolicyRequest {
872
+ policyText: string | undefined;
873
+ }
874
+ export interface PutRegistryPolicyResponse {
875
+ registryId?: string;
876
+ policyText?: string;
877
+ }
878
+ export interface PutRegistryScanningConfigurationRequest {
879
+ scanType?: ScanType | string;
880
+ rules?: RegistryScanningRule[];
881
+ }
882
+ export interface PutRegistryScanningConfigurationResponse {
883
+ registryScanningConfiguration?: RegistryScanningConfiguration;
884
+ }
885
+ export interface PutReplicationConfigurationRequest {
886
+ replicationConfiguration: ReplicationConfiguration | undefined;
887
+ }
888
+ export interface PutReplicationConfigurationResponse {
889
+ replicationConfiguration?: ReplicationConfiguration;
890
+ }
891
+ export interface SetRepositoryPolicyRequest {
892
+ registryId?: string;
893
+ repositoryName: string | undefined;
894
+ policyText: string | undefined;
895
+ force?: boolean;
896
+ }
897
+ export interface SetRepositoryPolicyResponse {
898
+ registryId?: string;
899
+ repositoryName?: string;
900
+ policyText?: string;
901
+ }
902
+ export interface StartImageScanRequest {
903
+ registryId?: string;
904
+ repositoryName: string | undefined;
905
+ imageId: ImageIdentifier | undefined;
906
+ }
907
+ export interface StartImageScanResponse {
908
+ registryId?: string;
909
+ repositoryName?: string;
910
+ imageId?: ImageIdentifier;
911
+ imageScanStatus?: ImageScanStatus;
912
+ }
913
+ export declare class UnsupportedImageTypeException extends __BaseException {
914
+ readonly name: "UnsupportedImageTypeException";
915
+ readonly $fault: "client";
916
+ constructor(
917
+ opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>
918
+ );
919
+ }
920
+ export declare class LifecyclePolicyPreviewInProgressException extends __BaseException {
921
+ readonly name: "LifecyclePolicyPreviewInProgressException";
922
+ readonly $fault: "client";
923
+ constructor(
924
+ opts: __ExceptionOptionType<
925
+ LifecyclePolicyPreviewInProgressException,
926
+ __BaseException
927
+ >
928
+ );
929
+ }
930
+ export interface StartLifecyclePolicyPreviewRequest {
931
+ registryId?: string;
932
+ repositoryName: string | undefined;
933
+ lifecyclePolicyText?: string;
934
+ }
935
+ export interface StartLifecyclePolicyPreviewResponse {
936
+ registryId?: string;
937
+ repositoryName?: string;
938
+ lifecyclePolicyText?: string;
939
+ status?: LifecyclePolicyPreviewStatus | string;
940
+ }
941
+ export interface TagResourceRequest {
942
+ resourceArn: string | undefined;
943
+ tags: Tag[] | undefined;
944
+ }
945
+ export interface TagResourceResponse {}
946
+ export interface UntagResourceRequest {
947
+ resourceArn: string | undefined;
948
+ tagKeys: string[] | undefined;
949
+ }
950
+ export interface UntagResourceResponse {}
951
+ export declare class InvalidLayerPartException extends __BaseException {
952
+ readonly name: "InvalidLayerPartException";
953
+ readonly $fault: "client";
954
+ registryId?: string;
955
+ repositoryName?: string;
956
+ uploadId?: string;
957
+ lastValidByteReceived?: number;
958
+ constructor(
959
+ opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>
960
+ );
961
+ }
962
+ export interface UploadLayerPartRequest {
963
+ registryId?: string;
964
+ repositoryName: string | undefined;
965
+ uploadId: string | undefined;
966
+ partFirstByte: number | undefined;
967
+ partLastByte: number | undefined;
968
+ layerPartBlob: Uint8Array | undefined;
969
+ }
970
+ export interface UploadLayerPartResponse {
971
+ registryId?: string;
972
+ repositoryName?: string;
973
+ uploadId?: string;
974
+ lastByteReceived?: number;
975
+ }
976
+ export declare const BatchCheckLayerAvailabilityRequestFilterSensitiveLog: (
977
+ obj: BatchCheckLayerAvailabilityRequest
978
+ ) => any;
979
+ export declare const LayerFailureFilterSensitiveLog: (obj: LayerFailure) => any;
980
+ export declare const LayerFilterSensitiveLog: (obj: Layer) => any;
981
+ export declare const BatchCheckLayerAvailabilityResponseFilterSensitiveLog: (
982
+ obj: BatchCheckLayerAvailabilityResponse
983
+ ) => any;
984
+ export declare const ImageIdentifierFilterSensitiveLog: (
985
+ obj: ImageIdentifier
986
+ ) => any;
987
+ export declare const BatchDeleteImageRequestFilterSensitiveLog: (
988
+ obj: BatchDeleteImageRequest
989
+ ) => any;
990
+ export declare const ImageFailureFilterSensitiveLog: (obj: ImageFailure) => any;
991
+ export declare const BatchDeleteImageResponseFilterSensitiveLog: (
992
+ obj: BatchDeleteImageResponse
993
+ ) => any;
994
+ export declare const BatchGetImageRequestFilterSensitiveLog: (
995
+ obj: BatchGetImageRequest
996
+ ) => any;
997
+ export declare const ImageFilterSensitiveLog: (obj: Image) => any;
998
+ export declare const BatchGetImageResponseFilterSensitiveLog: (
999
+ obj: BatchGetImageResponse
1000
+ ) => any;
1001
+ export declare const BatchGetRepositoryScanningConfigurationRequestFilterSensitiveLog: (
1002
+ obj: BatchGetRepositoryScanningConfigurationRequest
1003
+ ) => any;
1004
+ export declare const RepositoryScanningConfigurationFailureFilterSensitiveLog: (
1005
+ obj: RepositoryScanningConfigurationFailure
1006
+ ) => any;
1007
+ export declare const ScanningRepositoryFilterFilterSensitiveLog: (
1008
+ obj: ScanningRepositoryFilter
1009
+ ) => any;
1010
+ export declare const RepositoryScanningConfigurationFilterSensitiveLog: (
1011
+ obj: RepositoryScanningConfiguration
1012
+ ) => any;
1013
+ export declare const BatchGetRepositoryScanningConfigurationResponseFilterSensitiveLog: (
1014
+ obj: BatchGetRepositoryScanningConfigurationResponse
1015
+ ) => any;
1016
+ export declare const CompleteLayerUploadRequestFilterSensitiveLog: (
1017
+ obj: CompleteLayerUploadRequest
1018
+ ) => any;
1019
+ export declare const CompleteLayerUploadResponseFilterSensitiveLog: (
1020
+ obj: CompleteLayerUploadResponse
1021
+ ) => any;
1022
+ export declare const CreatePullThroughCacheRuleRequestFilterSensitiveLog: (
1023
+ obj: CreatePullThroughCacheRuleRequest
1024
+ ) => any;
1025
+ export declare const CreatePullThroughCacheRuleResponseFilterSensitiveLog: (
1026
+ obj: CreatePullThroughCacheRuleResponse
1027
+ ) => any;
1028
+ export declare const EncryptionConfigurationFilterSensitiveLog: (
1029
+ obj: EncryptionConfiguration
1030
+ ) => any;
1031
+ export declare const ImageScanningConfigurationFilterSensitiveLog: (
1032
+ obj: ImageScanningConfiguration
1033
+ ) => any;
1034
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1035
+ export declare const CreateRepositoryRequestFilterSensitiveLog: (
1036
+ obj: CreateRepositoryRequest
1037
+ ) => any;
1038
+ export declare const RepositoryFilterSensitiveLog: (obj: Repository) => any;
1039
+ export declare const CreateRepositoryResponseFilterSensitiveLog: (
1040
+ obj: CreateRepositoryResponse
1041
+ ) => any;
1042
+ export declare const DeleteLifecyclePolicyRequestFilterSensitiveLog: (
1043
+ obj: DeleteLifecyclePolicyRequest
1044
+ ) => any;
1045
+ export declare const DeleteLifecyclePolicyResponseFilterSensitiveLog: (
1046
+ obj: DeleteLifecyclePolicyResponse
1047
+ ) => any;
1048
+ export declare const DeletePullThroughCacheRuleRequestFilterSensitiveLog: (
1049
+ obj: DeletePullThroughCacheRuleRequest
1050
+ ) => any;
1051
+ export declare const DeletePullThroughCacheRuleResponseFilterSensitiveLog: (
1052
+ obj: DeletePullThroughCacheRuleResponse
1053
+ ) => any;
1054
+ export declare const DeleteRegistryPolicyRequestFilterSensitiveLog: (
1055
+ obj: DeleteRegistryPolicyRequest
1056
+ ) => any;
1057
+ export declare const DeleteRegistryPolicyResponseFilterSensitiveLog: (
1058
+ obj: DeleteRegistryPolicyResponse
1059
+ ) => any;
1060
+ export declare const DeleteRepositoryRequestFilterSensitiveLog: (
1061
+ obj: DeleteRepositoryRequest
1062
+ ) => any;
1063
+ export declare const DeleteRepositoryResponseFilterSensitiveLog: (
1064
+ obj: DeleteRepositoryResponse
1065
+ ) => any;
1066
+ export declare const DeleteRepositoryPolicyRequestFilterSensitiveLog: (
1067
+ obj: DeleteRepositoryPolicyRequest
1068
+ ) => any;
1069
+ export declare const DeleteRepositoryPolicyResponseFilterSensitiveLog: (
1070
+ obj: DeleteRepositoryPolicyResponse
1071
+ ) => any;
1072
+ export declare const DescribeImageReplicationStatusRequestFilterSensitiveLog: (
1073
+ obj: DescribeImageReplicationStatusRequest
1074
+ ) => any;
1075
+ export declare const ImageReplicationStatusFilterSensitiveLog: (
1076
+ obj: ImageReplicationStatus
1077
+ ) => any;
1078
+ export declare const DescribeImageReplicationStatusResponseFilterSensitiveLog: (
1079
+ obj: DescribeImageReplicationStatusResponse
1080
+ ) => any;
1081
+ export declare const DescribeImagesFilterFilterSensitiveLog: (
1082
+ obj: DescribeImagesFilter
1083
+ ) => any;
1084
+ export declare const DescribeImagesRequestFilterSensitiveLog: (
1085
+ obj: DescribeImagesRequest
1086
+ ) => any;
1087
+ export declare const ImageScanFindingsSummaryFilterSensitiveLog: (
1088
+ obj: ImageScanFindingsSummary
1089
+ ) => any;
1090
+ export declare const ImageScanStatusFilterSensitiveLog: (
1091
+ obj: ImageScanStatus
1092
+ ) => any;
1093
+ export declare const ImageDetailFilterSensitiveLog: (obj: ImageDetail) => any;
1094
+ export declare const DescribeImagesResponseFilterSensitiveLog: (
1095
+ obj: DescribeImagesResponse
1096
+ ) => any;
1097
+ export declare const DescribeImageScanFindingsRequestFilterSensitiveLog: (
1098
+ obj: DescribeImageScanFindingsRequest
1099
+ ) => any;
1100
+ export declare const CvssScoreFilterSensitiveLog: (obj: CvssScore) => any;
1101
+ export declare const VulnerablePackageFilterSensitiveLog: (
1102
+ obj: VulnerablePackage
1103
+ ) => any;
1104
+ export declare const PackageVulnerabilityDetailsFilterSensitiveLog: (
1105
+ obj: PackageVulnerabilityDetails
1106
+ ) => any;
1107
+ export declare const RecommendationFilterSensitiveLog: (
1108
+ obj: Recommendation
1109
+ ) => any;
1110
+ export declare const RemediationFilterSensitiveLog: (obj: Remediation) => any;
1111
+ export declare const AwsEcrContainerImageDetailsFilterSensitiveLog: (
1112
+ obj: AwsEcrContainerImageDetails
1113
+ ) => any;
1114
+ export declare const ResourceDetailsFilterSensitiveLog: (
1115
+ obj: ResourceDetails
1116
+ ) => any;
1117
+ export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
1118
+ export declare const CvssScoreAdjustmentFilterSensitiveLog: (
1119
+ obj: CvssScoreAdjustment
1120
+ ) => any;
1121
+ export declare const CvssScoreDetailsFilterSensitiveLog: (
1122
+ obj: CvssScoreDetails
1123
+ ) => any;
1124
+ export declare const ScoreDetailsFilterSensitiveLog: (obj: ScoreDetails) => any;
1125
+ export declare const EnhancedImageScanFindingFilterSensitiveLog: (
1126
+ obj: EnhancedImageScanFinding
1127
+ ) => any;
1128
+ export declare const AttributeFilterSensitiveLog: (obj: Attribute) => any;
1129
+ export declare const ImageScanFindingFilterSensitiveLog: (
1130
+ obj: ImageScanFinding
1131
+ ) => any;
1132
+ export declare const ImageScanFindingsFilterSensitiveLog: (
1133
+ obj: ImageScanFindings
1134
+ ) => any;
1135
+ export declare const DescribeImageScanFindingsResponseFilterSensitiveLog: (
1136
+ obj: DescribeImageScanFindingsResponse
1137
+ ) => any;
1138
+ export declare const DescribePullThroughCacheRulesRequestFilterSensitiveLog: (
1139
+ obj: DescribePullThroughCacheRulesRequest
1140
+ ) => any;
1141
+ export declare const PullThroughCacheRuleFilterSensitiveLog: (
1142
+ obj: PullThroughCacheRule
1143
+ ) => any;
1144
+ export declare const DescribePullThroughCacheRulesResponseFilterSensitiveLog: (
1145
+ obj: DescribePullThroughCacheRulesResponse
1146
+ ) => any;
1147
+ export declare const DescribeRegistryRequestFilterSensitiveLog: (
1148
+ obj: DescribeRegistryRequest
1149
+ ) => any;
1150
+ export declare const ReplicationDestinationFilterSensitiveLog: (
1151
+ obj: ReplicationDestination
1152
+ ) => any;
1153
+ export declare const RepositoryFilterFilterSensitiveLog: (
1154
+ obj: RepositoryFilter
1155
+ ) => any;
1156
+ export declare const ReplicationRuleFilterSensitiveLog: (
1157
+ obj: ReplicationRule
1158
+ ) => any;
1159
+ export declare const ReplicationConfigurationFilterSensitiveLog: (
1160
+ obj: ReplicationConfiguration
1161
+ ) => any;
1162
+ export declare const DescribeRegistryResponseFilterSensitiveLog: (
1163
+ obj: DescribeRegistryResponse
1164
+ ) => any;
1165
+ export declare const DescribeRepositoriesRequestFilterSensitiveLog: (
1166
+ obj: DescribeRepositoriesRequest
1167
+ ) => any;
1168
+ export declare const DescribeRepositoriesResponseFilterSensitiveLog: (
1169
+ obj: DescribeRepositoriesResponse
1170
+ ) => any;
1171
+ export declare const GetAuthorizationTokenRequestFilterSensitiveLog: (
1172
+ obj: GetAuthorizationTokenRequest
1173
+ ) => any;
1174
+ export declare const AuthorizationDataFilterSensitiveLog: (
1175
+ obj: AuthorizationData
1176
+ ) => any;
1177
+ export declare const GetAuthorizationTokenResponseFilterSensitiveLog: (
1178
+ obj: GetAuthorizationTokenResponse
1179
+ ) => any;
1180
+ export declare const GetDownloadUrlForLayerRequestFilterSensitiveLog: (
1181
+ obj: GetDownloadUrlForLayerRequest
1182
+ ) => any;
1183
+ export declare const GetDownloadUrlForLayerResponseFilterSensitiveLog: (
1184
+ obj: GetDownloadUrlForLayerResponse
1185
+ ) => any;
1186
+ export declare const GetLifecyclePolicyRequestFilterSensitiveLog: (
1187
+ obj: GetLifecyclePolicyRequest
1188
+ ) => any;
1189
+ export declare const GetLifecyclePolicyResponseFilterSensitiveLog: (
1190
+ obj: GetLifecyclePolicyResponse
1191
+ ) => any;
1192
+ export declare const LifecyclePolicyPreviewFilterFilterSensitiveLog: (
1193
+ obj: LifecyclePolicyPreviewFilter
1194
+ ) => any;
1195
+ export declare const GetLifecyclePolicyPreviewRequestFilterSensitiveLog: (
1196
+ obj: GetLifecyclePolicyPreviewRequest
1197
+ ) => any;
1198
+ export declare const LifecyclePolicyRuleActionFilterSensitiveLog: (
1199
+ obj: LifecyclePolicyRuleAction
1200
+ ) => any;
1201
+ export declare const LifecyclePolicyPreviewResultFilterSensitiveLog: (
1202
+ obj: LifecyclePolicyPreviewResult
1203
+ ) => any;
1204
+ export declare const LifecyclePolicyPreviewSummaryFilterSensitiveLog: (
1205
+ obj: LifecyclePolicyPreviewSummary
1206
+ ) => any;
1207
+ export declare const GetLifecyclePolicyPreviewResponseFilterSensitiveLog: (
1208
+ obj: GetLifecyclePolicyPreviewResponse
1209
+ ) => any;
1210
+ export declare const GetRegistryPolicyRequestFilterSensitiveLog: (
1211
+ obj: GetRegistryPolicyRequest
1212
+ ) => any;
1213
+ export declare const GetRegistryPolicyResponseFilterSensitiveLog: (
1214
+ obj: GetRegistryPolicyResponse
1215
+ ) => any;
1216
+ export declare const GetRegistryScanningConfigurationRequestFilterSensitiveLog: (
1217
+ obj: GetRegistryScanningConfigurationRequest
1218
+ ) => any;
1219
+ export declare const RegistryScanningRuleFilterSensitiveLog: (
1220
+ obj: RegistryScanningRule
1221
+ ) => any;
1222
+ export declare const RegistryScanningConfigurationFilterSensitiveLog: (
1223
+ obj: RegistryScanningConfiguration
1224
+ ) => any;
1225
+ export declare const GetRegistryScanningConfigurationResponseFilterSensitiveLog: (
1226
+ obj: GetRegistryScanningConfigurationResponse
1227
+ ) => any;
1228
+ export declare const GetRepositoryPolicyRequestFilterSensitiveLog: (
1229
+ obj: GetRepositoryPolicyRequest
1230
+ ) => any;
1231
+ export declare const GetRepositoryPolicyResponseFilterSensitiveLog: (
1232
+ obj: GetRepositoryPolicyResponse
1233
+ ) => any;
1234
+ export declare const InitiateLayerUploadRequestFilterSensitiveLog: (
1235
+ obj: InitiateLayerUploadRequest
1236
+ ) => any;
1237
+ export declare const InitiateLayerUploadResponseFilterSensitiveLog: (
1238
+ obj: InitiateLayerUploadResponse
1239
+ ) => any;
1240
+ export declare const ListImagesFilterFilterSensitiveLog: (
1241
+ obj: ListImagesFilter
1242
+ ) => any;
1243
+ export declare const ListImagesRequestFilterSensitiveLog: (
1244
+ obj: ListImagesRequest
1245
+ ) => any;
1246
+ export declare const ListImagesResponseFilterSensitiveLog: (
1247
+ obj: ListImagesResponse
1248
+ ) => any;
1249
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
1250
+ obj: ListTagsForResourceRequest
1251
+ ) => any;
1252
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
1253
+ obj: ListTagsForResourceResponse
1254
+ ) => any;
1255
+ export declare const PutImageRequestFilterSensitiveLog: (
1256
+ obj: PutImageRequest
1257
+ ) => any;
1258
+ export declare const PutImageResponseFilterSensitiveLog: (
1259
+ obj: PutImageResponse
1260
+ ) => any;
1261
+ export declare const PutImageScanningConfigurationRequestFilterSensitiveLog: (
1262
+ obj: PutImageScanningConfigurationRequest
1263
+ ) => any;
1264
+ export declare const PutImageScanningConfigurationResponseFilterSensitiveLog: (
1265
+ obj: PutImageScanningConfigurationResponse
1266
+ ) => any;
1267
+ export declare const PutImageTagMutabilityRequestFilterSensitiveLog: (
1268
+ obj: PutImageTagMutabilityRequest
1269
+ ) => any;
1270
+ export declare const PutImageTagMutabilityResponseFilterSensitiveLog: (
1271
+ obj: PutImageTagMutabilityResponse
1272
+ ) => any;
1273
+ export declare const PutLifecyclePolicyRequestFilterSensitiveLog: (
1274
+ obj: PutLifecyclePolicyRequest
1275
+ ) => any;
1276
+ export declare const PutLifecyclePolicyResponseFilterSensitiveLog: (
1277
+ obj: PutLifecyclePolicyResponse
1278
+ ) => any;
1279
+ export declare const PutRegistryPolicyRequestFilterSensitiveLog: (
1280
+ obj: PutRegistryPolicyRequest
1281
+ ) => any;
1282
+ export declare const PutRegistryPolicyResponseFilterSensitiveLog: (
1283
+ obj: PutRegistryPolicyResponse
1284
+ ) => any;
1285
+ export declare const PutRegistryScanningConfigurationRequestFilterSensitiveLog: (
1286
+ obj: PutRegistryScanningConfigurationRequest
1287
+ ) => any;
1288
+ export declare const PutRegistryScanningConfigurationResponseFilterSensitiveLog: (
1289
+ obj: PutRegistryScanningConfigurationResponse
1290
+ ) => any;
1291
+ export declare const PutReplicationConfigurationRequestFilterSensitiveLog: (
1292
+ obj: PutReplicationConfigurationRequest
1293
+ ) => any;
1294
+ export declare const PutReplicationConfigurationResponseFilterSensitiveLog: (
1295
+ obj: PutReplicationConfigurationResponse
1296
+ ) => any;
1297
+ export declare const SetRepositoryPolicyRequestFilterSensitiveLog: (
1298
+ obj: SetRepositoryPolicyRequest
1299
+ ) => any;
1300
+ export declare const SetRepositoryPolicyResponseFilterSensitiveLog: (
1301
+ obj: SetRepositoryPolicyResponse
1302
+ ) => any;
1303
+ export declare const StartImageScanRequestFilterSensitiveLog: (
1304
+ obj: StartImageScanRequest
1305
+ ) => any;
1306
+ export declare const StartImageScanResponseFilterSensitiveLog: (
1307
+ obj: StartImageScanResponse
1308
+ ) => any;
1309
+ export declare const StartLifecyclePolicyPreviewRequestFilterSensitiveLog: (
1310
+ obj: StartLifecyclePolicyPreviewRequest
1311
+ ) => any;
1312
+ export declare const StartLifecyclePolicyPreviewResponseFilterSensitiveLog: (
1313
+ obj: StartLifecyclePolicyPreviewResponse
1314
+ ) => any;
1315
+ export declare const TagResourceRequestFilterSensitiveLog: (
1316
+ obj: TagResourceRequest
1317
+ ) => any;
1318
+ export declare const TagResourceResponseFilterSensitiveLog: (
1319
+ obj: TagResourceResponse
1320
+ ) => any;
1321
+ export declare const UntagResourceRequestFilterSensitiveLog: (
1322
+ obj: UntagResourceRequest
1323
+ ) => any;
1324
+ export declare const UntagResourceResponseFilterSensitiveLog: (
1325
+ obj: UntagResourceResponse
1326
+ ) => any;
1327
+ export declare const UploadLayerPartRequestFilterSensitiveLog: (
1328
+ obj: UploadLayerPartRequest
1329
+ ) => any;
1330
+ export declare const UploadLayerPartResponseFilterSensitiveLog: (
1331
+ obj: UploadLayerPartResponse
1332
+ ) => any;