@aws-sdk/client-ecr 3.934.0 → 3.936.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 (53) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +538 -154
  3. package/dist-es/ECR.js +10 -0
  4. package/dist-es/commands/DeregisterPullTimeUpdateExclusionCommand.js +16 -0
  5. package/dist-es/commands/ListImageReferrersCommand.js +16 -0
  6. package/dist-es/commands/ListPullTimeUpdateExclusionsCommand.js +16 -0
  7. package/dist-es/commands/RegisterPullTimeUpdateExclusionCommand.js +16 -0
  8. package/dist-es/commands/UpdateImageStorageClassCommand.js +16 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/index.js +2 -1
  11. package/dist-es/models/enums.js +141 -0
  12. package/dist-es/models/errors.js +551 -0
  13. package/dist-es/models/models_0.js +1 -595
  14. package/dist-es/schemas/schemas_0.js +259 -52
  15. package/dist-types/ECR.d.ts +36 -0
  16. package/dist-types/ECRClient.d.ts +7 -2
  17. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
  18. package/dist-types/commands/BatchDeleteImageCommand.d.ts +1 -1
  19. package/dist-types/commands/BatchGetImageCommand.d.ts +1 -1
  20. package/dist-types/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +107 -0
  21. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeImagesCommand.d.ts +11 -8
  23. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +9 -1
  24. package/dist-types/commands/ListImageReferrersCommand.d.ts +224 -0
  25. package/dist-types/commands/ListImagesCommand.d.ts +1 -0
  26. package/dist-types/commands/ListPullTimeUpdateExclusionsCommand.d.ts +127 -0
  27. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +3 -0
  28. package/dist-types/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +93 -0
  29. package/dist-types/commands/StartImageScanCommand.d.ts +8 -6
  30. package/dist-types/commands/UpdateImageStorageClassCommand.d.ts +156 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/index.d.ts +3 -1
  33. package/dist-types/models/enums.d.ts +349 -0
  34. package/dist-types/models/errors.d.ts +597 -0
  35. package/dist-types/models/models_0.d.ts +372 -812
  36. package/dist-types/schemas/schemas_0.d.ts +29 -0
  37. package/dist-types/ts3.4/ECR.d.ts +92 -0
  38. package/dist-types/ts3.4/ECRClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/ListImageReferrersCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/ListPullTimeUpdateExclusionsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/UpdateImageStorageClassCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/index.d.ts +3 -1
  46. package/dist-types/ts3.4/models/enums.d.ts +187 -0
  47. package/dist-types/ts3.4/models/errors.d.ts +369 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +100 -461
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  50. package/package.json +19 -19
  51. package/dist-es/models/index.js +0 -1
  52. package/dist-types/models/index.d.ts +0 -1
  53. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -1,27 +1,41 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ECRServiceException as __BaseException } from "./ECRServiceException";
1
+ import {
2
+ ArtifactStatus,
3
+ ArtifactStatusFilter,
4
+ EncryptionType,
5
+ FindingSeverity,
6
+ ImageActionType,
7
+ ImageFailureCode,
8
+ ImageStatus,
9
+ ImageStatusFilter,
10
+ ImageTagMutability,
11
+ ImageTagMutabilityExclusionFilterType,
12
+ LayerAvailability,
13
+ LayerFailureCode,
14
+ LifecyclePolicyPreviewStatus,
15
+ LifecyclePolicyStorageClass,
16
+ LifecyclePolicyTargetStorageClass,
17
+ RCTAppliedFor,
18
+ ReplicationStatus,
19
+ RepositoryFilterType,
20
+ ScanFrequency,
21
+ ScanningConfigurationFailureCode,
22
+ ScanningRepositoryFilterType,
23
+ ScanStatus,
24
+ ScanType,
25
+ TagStatus,
26
+ TargetStorageClass,
27
+ UpstreamRegistry,
28
+ } from "./enums";
3
29
  export interface BatchCheckLayerAvailabilityRequest {
4
30
  registryId?: string | undefined;
5
31
  repositoryName: string | undefined;
6
32
  layerDigests: string[] | undefined;
7
33
  }
8
- export declare const LayerFailureCode: {
9
- readonly InvalidLayerDigest: "InvalidLayerDigest";
10
- readonly MissingLayerDigest: "MissingLayerDigest";
11
- };
12
- export type LayerFailureCode =
13
- (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
14
34
  export interface LayerFailure {
15
35
  layerDigest?: string | undefined;
16
36
  failureCode?: LayerFailureCode | undefined;
17
37
  failureReason?: string | undefined;
18
38
  }
19
- export declare const LayerAvailability: {
20
- readonly AVAILABLE: "AVAILABLE";
21
- readonly UNAVAILABLE: "UNAVAILABLE";
22
- };
23
- export type LayerAvailability =
24
- (typeof LayerAvailability)[keyof typeof LayerAvailability];
25
39
  export interface Layer {
26
40
  layerDigest?: string | undefined;
27
41
  layerAvailability?: LayerAvailability | undefined;
@@ -32,25 +46,6 @@ export interface BatchCheckLayerAvailabilityResponse {
32
46
  layers?: Layer[] | undefined;
33
47
  failures?: LayerFailure[] | undefined;
34
48
  }
35
- export declare class InvalidParameterException extends __BaseException {
36
- readonly name: "InvalidParameterException";
37
- readonly $fault: "client";
38
- constructor(
39
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
40
- );
41
- }
42
- export declare class RepositoryNotFoundException extends __BaseException {
43
- readonly name: "RepositoryNotFoundException";
44
- readonly $fault: "client";
45
- constructor(
46
- opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>
47
- );
48
- }
49
- export declare class ServerException extends __BaseException {
50
- readonly name: "ServerException";
51
- readonly $fault: "server";
52
- constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
53
- }
54
49
  export interface ImageIdentifier {
55
50
  imageDigest?: string | undefined;
56
51
  imageTag?: string | undefined;
@@ -60,20 +55,6 @@ export interface BatchDeleteImageRequest {
60
55
  repositoryName: string | undefined;
61
56
  imageIds: ImageIdentifier[] | undefined;
62
57
  }
63
- export declare const ImageFailureCode: {
64
- readonly ImageNotFound: "ImageNotFound";
65
- readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
66
- readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
67
- readonly InvalidImageDigest: "InvalidImageDigest";
68
- readonly InvalidImageTag: "InvalidImageTag";
69
- readonly KmsError: "KmsError";
70
- readonly MissingDigestAndTag: "MissingDigestAndTag";
71
- readonly UpstreamAccessDenied: "UpstreamAccessDenied";
72
- readonly UpstreamTooManyRequests: "UpstreamTooManyRequests";
73
- readonly UpstreamUnavailable: "UpstreamUnavailable";
74
- };
75
- export type ImageFailureCode =
76
- (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
77
58
  export interface ImageFailure {
78
59
  imageId?: ImageIdentifier | undefined;
79
60
  failureCode?: ImageFailureCode | undefined;
@@ -100,51 +81,18 @@ export interface BatchGetImageResponse {
100
81
  images?: Image[] | undefined;
101
82
  failures?: ImageFailure[] | undefined;
102
83
  }
103
- export declare class LimitExceededException extends __BaseException {
104
- readonly name: "LimitExceededException";
105
- readonly $fault: "client";
106
- constructor(
107
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
108
- );
109
- }
110
- export declare class UnableToGetUpstreamImageException extends __BaseException {
111
- readonly name: "UnableToGetUpstreamImageException";
112
- readonly $fault: "client";
113
- constructor(
114
- opts: __ExceptionOptionType<
115
- UnableToGetUpstreamImageException,
116
- __BaseException
117
- >
118
- );
119
- }
120
84
  export interface BatchGetRepositoryScanningConfigurationRequest {
121
85
  repositoryNames: string[] | undefined;
122
86
  }
123
- export declare const ScanningConfigurationFailureCode: {
124
- readonly REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND";
125
- };
126
- export type ScanningConfigurationFailureCode =
127
- (typeof ScanningConfigurationFailureCode)[keyof typeof ScanningConfigurationFailureCode];
128
87
  export interface RepositoryScanningConfigurationFailure {
129
88
  repositoryName?: string | undefined;
130
89
  failureCode?: ScanningConfigurationFailureCode | undefined;
131
90
  failureReason?: string | undefined;
132
91
  }
133
- export declare const ScanningRepositoryFilterType: {
134
- readonly WILDCARD: "WILDCARD";
135
- };
136
- export type ScanningRepositoryFilterType =
137
- (typeof ScanningRepositoryFilterType)[keyof typeof ScanningRepositoryFilterType];
138
92
  export interface ScanningRepositoryFilter {
139
93
  filter: string | undefined;
140
94
  filterType: ScanningRepositoryFilterType | undefined;
141
95
  }
142
- export declare const ScanFrequency: {
143
- readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
144
- readonly MANUAL: "MANUAL";
145
- readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
146
- };
147
- export type ScanFrequency = (typeof ScanFrequency)[keyof typeof ScanFrequency];
148
96
  export interface RepositoryScanningConfiguration {
149
97
  repositoryArn?: string | undefined;
150
98
  repositoryName?: string | undefined;
@@ -156,13 +104,6 @@ export interface BatchGetRepositoryScanningConfigurationResponse {
156
104
  scanningConfigurations?: RepositoryScanningConfiguration[] | undefined;
157
105
  failures?: RepositoryScanningConfigurationFailure[] | undefined;
158
106
  }
159
- export declare class ValidationException extends __BaseException {
160
- readonly name: "ValidationException";
161
- readonly $fault: "client";
162
- constructor(
163
- opts: __ExceptionOptionType<ValidationException, __BaseException>
164
- );
165
- }
166
107
  export interface CompleteLayerUploadRequest {
167
108
  registryId?: string | undefined;
168
109
  repositoryName: string | undefined;
@@ -175,59 +116,6 @@ export interface CompleteLayerUploadResponse {
175
116
  uploadId?: string | undefined;
176
117
  layerDigest?: string | undefined;
177
118
  }
178
- export declare class EmptyUploadException extends __BaseException {
179
- readonly name: "EmptyUploadException";
180
- readonly $fault: "client";
181
- constructor(
182
- opts: __ExceptionOptionType<EmptyUploadException, __BaseException>
183
- );
184
- }
185
- export declare class InvalidLayerException extends __BaseException {
186
- readonly name: "InvalidLayerException";
187
- readonly $fault: "client";
188
- constructor(
189
- opts: __ExceptionOptionType<InvalidLayerException, __BaseException>
190
- );
191
- }
192
- export declare class KmsException extends __BaseException {
193
- readonly name: "KmsException";
194
- readonly $fault: "client";
195
- kmsError?: string | undefined;
196
- constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
197
- }
198
- export declare class LayerAlreadyExistsException extends __BaseException {
199
- readonly name: "LayerAlreadyExistsException";
200
- readonly $fault: "client";
201
- constructor(
202
- opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>
203
- );
204
- }
205
- export declare class LayerPartTooSmallException extends __BaseException {
206
- readonly name: "LayerPartTooSmallException";
207
- readonly $fault: "client";
208
- constructor(
209
- opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>
210
- );
211
- }
212
- export declare class UploadNotFoundException extends __BaseException {
213
- readonly name: "UploadNotFoundException";
214
- readonly $fault: "client";
215
- constructor(
216
- opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>
217
- );
218
- }
219
- export declare const UpstreamRegistry: {
220
- readonly AzureContainerRegistry: "azure-container-registry";
221
- readonly DockerHub: "docker-hub";
222
- readonly Ecr: "ecr";
223
- readonly EcrPublic: "ecr-public";
224
- readonly GitHubContainerRegistry: "github-container-registry";
225
- readonly GitLabContainerRegistry: "gitlab-container-registry";
226
- readonly K8s: "k8s";
227
- readonly Quay: "quay";
228
- };
229
- export type UpstreamRegistry =
230
- (typeof UpstreamRegistry)[keyof typeof UpstreamRegistry];
231
119
  export interface CreatePullThroughCacheRuleRequest {
232
120
  ecrRepositoryPrefix: string | undefined;
233
121
  upstreamRegistryUrl: string | undefined;
@@ -247,57 +135,6 @@ export interface CreatePullThroughCacheRuleResponse {
247
135
  customRoleArn?: string | undefined;
248
136
  upstreamRepositoryPrefix?: string | undefined;
249
137
  }
250
- export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
251
- readonly name: "PullThroughCacheRuleAlreadyExistsException";
252
- readonly $fault: "client";
253
- constructor(
254
- opts: __ExceptionOptionType<
255
- PullThroughCacheRuleAlreadyExistsException,
256
- __BaseException
257
- >
258
- );
259
- }
260
- export declare class SecretNotFoundException extends __BaseException {
261
- readonly name: "SecretNotFoundException";
262
- readonly $fault: "client";
263
- constructor(
264
- opts: __ExceptionOptionType<SecretNotFoundException, __BaseException>
265
- );
266
- }
267
- export declare class UnableToAccessSecretException extends __BaseException {
268
- readonly name: "UnableToAccessSecretException";
269
- readonly $fault: "client";
270
- constructor(
271
- opts: __ExceptionOptionType<UnableToAccessSecretException, __BaseException>
272
- );
273
- }
274
- export declare class UnableToDecryptSecretValueException extends __BaseException {
275
- readonly name: "UnableToDecryptSecretValueException";
276
- readonly $fault: "client";
277
- constructor(
278
- opts: __ExceptionOptionType<
279
- UnableToDecryptSecretValueException,
280
- __BaseException
281
- >
282
- );
283
- }
284
- export declare class UnsupportedUpstreamRegistryException extends __BaseException {
285
- readonly name: "UnsupportedUpstreamRegistryException";
286
- readonly $fault: "client";
287
- constructor(
288
- opts: __ExceptionOptionType<
289
- UnsupportedUpstreamRegistryException,
290
- __BaseException
291
- >
292
- );
293
- }
294
- export declare const EncryptionType: {
295
- readonly AES256: "AES256";
296
- readonly KMS: "KMS";
297
- readonly KMS_DSSE: "KMS_DSSE";
298
- };
299
- export type EncryptionType =
300
- (typeof EncryptionType)[keyof typeof EncryptionType];
301
138
  export interface EncryptionConfiguration {
302
139
  encryptionType: EncryptionType | undefined;
303
140
  kmsKey?: string | undefined;
@@ -305,19 +142,6 @@ export interface EncryptionConfiguration {
305
142
  export interface ImageScanningConfiguration {
306
143
  scanOnPush?: boolean | undefined;
307
144
  }
308
- export declare const ImageTagMutability: {
309
- readonly IMMUTABLE: "IMMUTABLE";
310
- readonly IMMUTABLE_WITH_EXCLUSION: "IMMUTABLE_WITH_EXCLUSION";
311
- readonly MUTABLE: "MUTABLE";
312
- readonly MUTABLE_WITH_EXCLUSION: "MUTABLE_WITH_EXCLUSION";
313
- };
314
- export type ImageTagMutability =
315
- (typeof ImageTagMutability)[keyof typeof ImageTagMutability];
316
- export declare const ImageTagMutabilityExclusionFilterType: {
317
- readonly WILDCARD: "WILDCARD";
318
- };
319
- export type ImageTagMutabilityExclusionFilterType =
320
- (typeof ImageTagMutabilityExclusionFilterType)[keyof typeof ImageTagMutabilityExclusionFilterType];
321
145
  export interface ImageTagMutabilityExclusionFilter {
322
146
  filterType: ImageTagMutabilityExclusionFilterType | undefined;
323
147
  filter: string | undefined;
@@ -353,35 +177,6 @@ export interface Repository {
353
177
  export interface CreateRepositoryResponse {
354
178
  repository?: Repository | undefined;
355
179
  }
356
- export declare class InvalidTagParameterException extends __BaseException {
357
- readonly name: "InvalidTagParameterException";
358
- readonly $fault: "client";
359
- constructor(
360
- opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>
361
- );
362
- }
363
- export declare class RepositoryAlreadyExistsException extends __BaseException {
364
- readonly name: "RepositoryAlreadyExistsException";
365
- readonly $fault: "client";
366
- constructor(
367
- opts: __ExceptionOptionType<
368
- RepositoryAlreadyExistsException,
369
- __BaseException
370
- >
371
- );
372
- }
373
- export declare class TooManyTagsException extends __BaseException {
374
- readonly name: "TooManyTagsException";
375
- readonly $fault: "client";
376
- constructor(
377
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
378
- );
379
- }
380
- export declare const RCTAppliedFor: {
381
- readonly PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE";
382
- readonly REPLICATION: "REPLICATION";
383
- };
384
- export type RCTAppliedFor = (typeof RCTAppliedFor)[keyof typeof RCTAppliedFor];
385
180
  export interface EncryptionConfigurationForRepositoryCreationTemplate {
386
181
  encryptionType: EncryptionType | undefined;
387
182
  kmsKey?: string | undefined;
@@ -424,13 +219,6 @@ export interface CreateRepositoryCreationTemplateResponse {
424
219
  registryId?: string | undefined;
425
220
  repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
426
221
  }
427
- export declare class TemplateAlreadyExistsException extends __BaseException {
428
- readonly name: "TemplateAlreadyExistsException";
429
- readonly $fault: "client";
430
- constructor(
431
- opts: __ExceptionOptionType<TemplateAlreadyExistsException, __BaseException>
432
- );
433
- }
434
222
  export interface DeleteLifecyclePolicyRequest {
435
223
  registryId?: string | undefined;
436
224
  repositoryName: string | undefined;
@@ -441,16 +229,6 @@ export interface DeleteLifecyclePolicyResponse {
441
229
  lifecyclePolicyText?: string | undefined;
442
230
  lastEvaluatedAt?: Date | undefined;
443
231
  }
444
- export declare class LifecyclePolicyNotFoundException extends __BaseException {
445
- readonly name: "LifecyclePolicyNotFoundException";
446
- readonly $fault: "client";
447
- constructor(
448
- opts: __ExceptionOptionType<
449
- LifecyclePolicyNotFoundException,
450
- __BaseException
451
- >
452
- );
453
- }
454
232
  export interface DeletePullThroughCacheRuleRequest {
455
233
  ecrRepositoryPrefix: string | undefined;
456
234
  registryId?: string | undefined;
@@ -464,31 +242,11 @@ export interface DeletePullThroughCacheRuleResponse {
464
242
  customRoleArn?: string | undefined;
465
243
  upstreamRepositoryPrefix?: string | undefined;
466
244
  }
467
- export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
468
- readonly name: "PullThroughCacheRuleNotFoundException";
469
- readonly $fault: "client";
470
- constructor(
471
- opts: __ExceptionOptionType<
472
- PullThroughCacheRuleNotFoundException,
473
- __BaseException
474
- >
475
- );
476
- }
477
245
  export interface DeleteRegistryPolicyRequest {}
478
246
  export interface DeleteRegistryPolicyResponse {
479
247
  registryId?: string | undefined;
480
248
  policyText?: string | undefined;
481
249
  }
482
- export declare class RegistryPolicyNotFoundException extends __BaseException {
483
- readonly name: "RegistryPolicyNotFoundException";
484
- readonly $fault: "client";
485
- constructor(
486
- opts: __ExceptionOptionType<
487
- RegistryPolicyNotFoundException,
488
- __BaseException
489
- >
490
- );
491
- }
492
250
  export interface DeleteRepositoryRequest {
493
251
  registryId?: string | undefined;
494
252
  repositoryName: string | undefined;
@@ -497,13 +255,6 @@ export interface DeleteRepositoryRequest {
497
255
  export interface DeleteRepositoryResponse {
498
256
  repository?: Repository | undefined;
499
257
  }
500
- export declare class RepositoryNotEmptyException extends __BaseException {
501
- readonly name: "RepositoryNotEmptyException";
502
- readonly $fault: "client";
503
- constructor(
504
- opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>
505
- );
506
- }
507
258
  export interface DeleteRepositoryCreationTemplateRequest {
508
259
  prefix: string | undefined;
509
260
  }
@@ -511,13 +262,6 @@ export interface DeleteRepositoryCreationTemplateResponse {
511
262
  registryId?: string | undefined;
512
263
  repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
513
264
  }
514
- export declare class TemplateNotFoundException extends __BaseException {
515
- readonly name: "TemplateNotFoundException";
516
- readonly $fault: "client";
517
- constructor(
518
- opts: __ExceptionOptionType<TemplateNotFoundException, __BaseException>
519
- );
520
- }
521
265
  export interface DeleteRepositoryPolicyRequest {
522
266
  registryId?: string | undefined;
523
267
  repositoryName: string | undefined;
@@ -527,28 +271,17 @@ export interface DeleteRepositoryPolicyResponse {
527
271
  repositoryName?: string | undefined;
528
272
  policyText?: string | undefined;
529
273
  }
530
- export declare class RepositoryPolicyNotFoundException extends __BaseException {
531
- readonly name: "RepositoryPolicyNotFoundException";
532
- readonly $fault: "client";
533
- constructor(
534
- opts: __ExceptionOptionType<
535
- RepositoryPolicyNotFoundException,
536
- __BaseException
537
- >
538
- );
274
+ export interface DeregisterPullTimeUpdateExclusionRequest {
275
+ principalArn: string | undefined;
276
+ }
277
+ export interface DeregisterPullTimeUpdateExclusionResponse {
278
+ principalArn?: string | undefined;
539
279
  }
540
280
  export interface DescribeImageReplicationStatusRequest {
541
281
  repositoryName: string | undefined;
542
282
  imageId: ImageIdentifier | undefined;
543
283
  registryId?: string | undefined;
544
284
  }
545
- export declare const ReplicationStatus: {
546
- readonly COMPLETE: "COMPLETE";
547
- readonly FAILED: "FAILED";
548
- readonly IN_PROGRESS: "IN_PROGRESS";
549
- };
550
- export type ReplicationStatus =
551
- (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
552
285
  export interface ImageReplicationStatus {
553
286
  region?: string | undefined;
554
287
  registryId?: string | undefined;
@@ -560,21 +293,9 @@ export interface DescribeImageReplicationStatusResponse {
560
293
  imageId?: ImageIdentifier | undefined;
561
294
  replicationStatuses?: ImageReplicationStatus[] | undefined;
562
295
  }
563
- export declare class ImageNotFoundException extends __BaseException {
564
- readonly name: "ImageNotFoundException";
565
- readonly $fault: "client";
566
- constructor(
567
- opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>
568
- );
569
- }
570
- export declare const TagStatus: {
571
- readonly ANY: "ANY";
572
- readonly TAGGED: "TAGGED";
573
- readonly UNTAGGED: "UNTAGGED";
574
- };
575
- export type TagStatus = (typeof TagStatus)[keyof typeof TagStatus];
576
296
  export interface DescribeImagesFilter {
577
297
  tagStatus?: TagStatus | undefined;
298
+ imageStatus?: ImageStatusFilter | undefined;
578
299
  }
579
300
  export interface DescribeImagesRequest {
580
301
  registryId?: string | undefined;
@@ -584,33 +305,11 @@ export interface DescribeImagesRequest {
584
305
  maxResults?: number | undefined;
585
306
  filter?: DescribeImagesFilter | undefined;
586
307
  }
587
- export declare const FindingSeverity: {
588
- readonly CRITICAL: "CRITICAL";
589
- readonly HIGH: "HIGH";
590
- readonly INFORMATIONAL: "INFORMATIONAL";
591
- readonly LOW: "LOW";
592
- readonly MEDIUM: "MEDIUM";
593
- readonly UNDEFINED: "UNDEFINED";
594
- };
595
- export type FindingSeverity =
596
- (typeof FindingSeverity)[keyof typeof FindingSeverity];
597
308
  export interface ImageScanFindingsSummary {
598
309
  imageScanCompletedAt?: Date | undefined;
599
310
  vulnerabilitySourceUpdatedAt?: Date | undefined;
600
311
  findingSeverityCounts?: Partial<Record<FindingSeverity, number>> | undefined;
601
312
  }
602
- export declare const ScanStatus: {
603
- readonly ACTIVE: "ACTIVE";
604
- readonly COMPLETE: "COMPLETE";
605
- readonly FAILED: "FAILED";
606
- readonly FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE";
607
- readonly IN_PROGRESS: "IN_PROGRESS";
608
- readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
609
- readonly PENDING: "PENDING";
610
- readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
611
- readonly UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE";
612
- };
613
- export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
614
313
  export interface ImageScanStatus {
615
314
  status?: ScanStatus | undefined;
616
315
  description?: string | undefined;
@@ -627,6 +326,10 @@ export interface ImageDetail {
627
326
  imageManifestMediaType?: string | undefined;
628
327
  artifactMediaType?: string | undefined;
629
328
  lastRecordedPullTime?: Date | undefined;
329
+ subjectManifestDigest?: string | undefined;
330
+ imageStatus?: ImageStatus | undefined;
331
+ lastArchivedAt?: Date | undefined;
332
+ lastActivatedAt?: Date | undefined;
630
333
  }
631
334
  export interface DescribeImagesResponse {
632
335
  imageDetails?: ImageDetail[] | undefined;
@@ -755,13 +458,6 @@ export interface DescribeImageScanFindingsResponse {
755
458
  imageScanFindings?: ImageScanFindings | undefined;
756
459
  nextToken?: string | undefined;
757
460
  }
758
- export declare class ScanNotFoundException extends __BaseException {
759
- readonly name: "ScanNotFoundException";
760
- readonly $fault: "client";
761
- constructor(
762
- opts: __ExceptionOptionType<ScanNotFoundException, __BaseException>
763
- );
764
- }
765
461
  export interface DescribePullThroughCacheRulesRequest {
766
462
  registryId?: string | undefined;
767
463
  ecrRepositoryPrefixes?: string[] | undefined;
@@ -788,11 +484,6 @@ export interface ReplicationDestination {
788
484
  region: string | undefined;
789
485
  registryId: string | undefined;
790
486
  }
791
- export declare const RepositoryFilterType: {
792
- readonly PREFIX_MATCH: "PREFIX_MATCH";
793
- };
794
- export type RepositoryFilterType =
795
- (typeof RepositoryFilterType)[keyof typeof RepositoryFilterType];
796
487
  export interface RepositoryFilter {
797
488
  filter: string | undefined;
798
489
  filterType: RepositoryFilterType | undefined;
@@ -855,30 +546,6 @@ export interface GetDownloadUrlForLayerResponse {
855
546
  downloadUrl?: string | undefined;
856
547
  layerDigest?: string | undefined;
857
548
  }
858
- export declare class LayerInaccessibleException extends __BaseException {
859
- readonly name: "LayerInaccessibleException";
860
- readonly $fault: "client";
861
- constructor(
862
- opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>
863
- );
864
- }
865
- export declare class LayersNotFoundException extends __BaseException {
866
- readonly name: "LayersNotFoundException";
867
- readonly $fault: "client";
868
- constructor(
869
- opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>
870
- );
871
- }
872
- export declare class UnableToGetUpstreamLayerException extends __BaseException {
873
- readonly name: "UnableToGetUpstreamLayerException";
874
- readonly $fault: "client";
875
- constructor(
876
- opts: __ExceptionOptionType<
877
- UnableToGetUpstreamLayerException,
878
- __BaseException
879
- >
880
- );
881
- }
882
549
  export interface GetLifecyclePolicyRequest {
883
550
  registryId?: string | undefined;
884
551
  repositoryName: string | undefined;
@@ -900,13 +567,9 @@ export interface GetLifecyclePolicyPreviewRequest {
900
567
  maxResults?: number | undefined;
901
568
  filter?: LifecyclePolicyPreviewFilter | undefined;
902
569
  }
903
- export declare const ImageActionType: {
904
- readonly EXPIRE: "EXPIRE";
905
- };
906
- export type ImageActionType =
907
- (typeof ImageActionType)[keyof typeof ImageActionType];
908
570
  export interface LifecyclePolicyRuleAction {
909
571
  type?: ImageActionType | undefined;
572
+ targetStorageClass?: LifecyclePolicyTargetStorageClass | undefined;
910
573
  }
911
574
  export interface LifecyclePolicyPreviewResult {
912
575
  imageTags?: string[] | undefined;
@@ -914,17 +577,15 @@ export interface LifecyclePolicyPreviewResult {
914
577
  imagePushedAt?: Date | undefined;
915
578
  action?: LifecyclePolicyRuleAction | undefined;
916
579
  appliedRulePriority?: number | undefined;
580
+ storageClass?: LifecyclePolicyStorageClass | undefined;
581
+ }
582
+ export interface TransitioningImageTotalCount {
583
+ targetStorageClass?: LifecyclePolicyTargetStorageClass | undefined;
584
+ imageTotalCount?: number | undefined;
917
585
  }
918
- export declare const LifecyclePolicyPreviewStatus: {
919
- readonly COMPLETE: "COMPLETE";
920
- readonly EXPIRED: "EXPIRED";
921
- readonly FAILED: "FAILED";
922
- readonly IN_PROGRESS: "IN_PROGRESS";
923
- };
924
- export type LifecyclePolicyPreviewStatus =
925
- (typeof LifecyclePolicyPreviewStatus)[keyof typeof LifecyclePolicyPreviewStatus];
926
586
  export interface LifecyclePolicyPreviewSummary {
927
587
  expiringImageTotalCount?: number | undefined;
588
+ transitioningImageTotalCounts?: TransitioningImageTotalCount[] | undefined;
928
589
  }
929
590
  export interface GetLifecyclePolicyPreviewResponse {
930
591
  registryId?: string | undefined;
@@ -935,16 +596,6 @@ export interface GetLifecyclePolicyPreviewResponse {
935
596
  previewResults?: LifecyclePolicyPreviewResult[] | undefined;
936
597
  summary?: LifecyclePolicyPreviewSummary | undefined;
937
598
  }
938
- export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
939
- readonly name: "LifecyclePolicyPreviewNotFoundException";
940
- readonly $fault: "client";
941
- constructor(
942
- opts: __ExceptionOptionType<
943
- LifecyclePolicyPreviewNotFoundException,
944
- __BaseException
945
- >
946
- );
947
- }
948
599
  export interface GetRegistryPolicyRequest {}
949
600
  export interface GetRegistryPolicyResponse {
950
601
  registryId?: string | undefined;
@@ -955,11 +606,6 @@ export interface RegistryScanningRule {
955
606
  scanFrequency: ScanFrequency | undefined;
956
607
  repositoryFilters: ScanningRepositoryFilter[] | undefined;
957
608
  }
958
- export declare const ScanType: {
959
- readonly BASIC: "BASIC";
960
- readonly ENHANCED: "ENHANCED";
961
- };
962
- export type ScanType = (typeof ScanType)[keyof typeof ScanType];
963
609
  export interface RegistryScanningConfiguration {
964
610
  scanType?: ScanType | undefined;
965
611
  rules?: RegistryScanningRule[] | undefined;
@@ -985,8 +631,36 @@ export interface InitiateLayerUploadResponse {
985
631
  uploadId?: string | undefined;
986
632
  partSize?: number | undefined;
987
633
  }
634
+ export interface ListImageReferrersFilter {
635
+ artifactTypes?: string[] | undefined;
636
+ artifactStatus?: ArtifactStatusFilter | undefined;
637
+ }
638
+ export interface SubjectIdentifier {
639
+ imageDigest: string | undefined;
640
+ }
641
+ export interface ListImageReferrersRequest {
642
+ registryId?: string | undefined;
643
+ repositoryName: string | undefined;
644
+ subjectId: SubjectIdentifier | undefined;
645
+ filter?: ListImageReferrersFilter | undefined;
646
+ nextToken?: string | undefined;
647
+ maxResults?: number | undefined;
648
+ }
649
+ export interface ImageReferrer {
650
+ digest: string | undefined;
651
+ mediaType: string | undefined;
652
+ artifactType?: string | undefined;
653
+ size: number | undefined;
654
+ annotations?: Record<string, string> | undefined;
655
+ artifactStatus?: ArtifactStatus | undefined;
656
+ }
657
+ export interface ListImageReferrersResponse {
658
+ referrers?: ImageReferrer[] | undefined;
659
+ nextToken?: string | undefined;
660
+ }
988
661
  export interface ListImagesFilter {
989
662
  tagStatus?: TagStatus | undefined;
663
+ imageStatus?: ImageStatusFilter | undefined;
990
664
  }
991
665
  export interface ListImagesRequest {
992
666
  registryId?: string | undefined;
@@ -999,6 +673,14 @@ export interface ListImagesResponse {
999
673
  imageIds?: ImageIdentifier[] | undefined;
1000
674
  nextToken?: string | undefined;
1001
675
  }
676
+ export interface ListPullTimeUpdateExclusionsRequest {
677
+ maxResults?: number | undefined;
678
+ nextToken?: string | undefined;
679
+ }
680
+ export interface ListPullTimeUpdateExclusionsResponse {
681
+ pullTimeUpdateExclusions?: string[] | undefined;
682
+ nextToken?: string | undefined;
683
+ }
1002
684
  export interface ListTagsForResourceRequest {
1003
685
  resourceArn: string | undefined;
1004
686
  }
@@ -1013,30 +695,6 @@ export interface PutAccountSettingResponse {
1013
695
  name?: string | undefined;
1014
696
  value?: string | undefined;
1015
697
  }
1016
- export declare class ImageAlreadyExistsException extends __BaseException {
1017
- readonly name: "ImageAlreadyExistsException";
1018
- readonly $fault: "client";
1019
- constructor(
1020
- opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>
1021
- );
1022
- }
1023
- export declare class ImageDigestDoesNotMatchException extends __BaseException {
1024
- readonly name: "ImageDigestDoesNotMatchException";
1025
- readonly $fault: "client";
1026
- constructor(
1027
- opts: __ExceptionOptionType<
1028
- ImageDigestDoesNotMatchException,
1029
- __BaseException
1030
- >
1031
- );
1032
- }
1033
- export declare class ImageTagAlreadyExistsException extends __BaseException {
1034
- readonly name: "ImageTagAlreadyExistsException";
1035
- readonly $fault: "client";
1036
- constructor(
1037
- opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>
1038
- );
1039
- }
1040
698
  export interface PutImageRequest {
1041
699
  registryId?: string | undefined;
1042
700
  repositoryName: string | undefined;
@@ -1048,16 +706,6 @@ export interface PutImageRequest {
1048
706
  export interface PutImageResponse {
1049
707
  image?: Image | undefined;
1050
708
  }
1051
- export declare class ReferencedImagesNotFoundException extends __BaseException {
1052
- readonly name: "ReferencedImagesNotFoundException";
1053
- readonly $fault: "client";
1054
- constructor(
1055
- opts: __ExceptionOptionType<
1056
- ReferencedImagesNotFoundException,
1057
- __BaseException
1058
- >
1059
- );
1060
- }
1061
709
  export interface PutImageScanningConfigurationRequest {
1062
710
  registryId?: string | undefined;
1063
711
  repositoryName: string | undefined;
@@ -1114,6 +762,13 @@ export interface PutReplicationConfigurationRequest {
1114
762
  export interface PutReplicationConfigurationResponse {
1115
763
  replicationConfiguration?: ReplicationConfiguration | undefined;
1116
764
  }
765
+ export interface RegisterPullTimeUpdateExclusionRequest {
766
+ principalArn: string | undefined;
767
+ }
768
+ export interface RegisterPullTimeUpdateExclusionResponse {
769
+ principalArn?: string | undefined;
770
+ createdAt?: Date | undefined;
771
+ }
1117
772
  export interface SetRepositoryPolicyRequest {
1118
773
  registryId?: string | undefined;
1119
774
  repositoryName: string | undefined;
@@ -1136,23 +791,6 @@ export interface StartImageScanResponse {
1136
791
  imageId?: ImageIdentifier | undefined;
1137
792
  imageScanStatus?: ImageScanStatus | undefined;
1138
793
  }
1139
- export declare class UnsupportedImageTypeException extends __BaseException {
1140
- readonly name: "UnsupportedImageTypeException";
1141
- readonly $fault: "client";
1142
- constructor(
1143
- opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>
1144
- );
1145
- }
1146
- export declare class LifecyclePolicyPreviewInProgressException extends __BaseException {
1147
- readonly name: "LifecyclePolicyPreviewInProgressException";
1148
- readonly $fault: "client";
1149
- constructor(
1150
- opts: __ExceptionOptionType<
1151
- LifecyclePolicyPreviewInProgressException,
1152
- __BaseException
1153
- >
1154
- );
1155
- }
1156
794
  export interface StartLifecyclePolicyPreviewRequest {
1157
795
  registryId?: string | undefined;
1158
796
  repositoryName: string | undefined;
@@ -1174,6 +812,18 @@ export interface UntagResourceRequest {
1174
812
  tagKeys: string[] | undefined;
1175
813
  }
1176
814
  export interface UntagResourceResponse {}
815
+ export interface UpdateImageStorageClassRequest {
816
+ registryId?: string | undefined;
817
+ repositoryName: string | undefined;
818
+ imageId: ImageIdentifier | undefined;
819
+ targetStorageClass: TargetStorageClass | undefined;
820
+ }
821
+ export interface UpdateImageStorageClassResponse {
822
+ registryId?: string | undefined;
823
+ repositoryName?: string | undefined;
824
+ imageId?: ImageIdentifier | undefined;
825
+ imageStatus?: ImageStatus | undefined;
826
+ }
1177
827
  export interface UpdatePullThroughCacheRuleRequest {
1178
828
  registryId?: string | undefined;
1179
829
  ecrRepositoryPrefix: string | undefined;
@@ -1208,17 +858,6 @@ export interface UpdateRepositoryCreationTemplateResponse {
1208
858
  registryId?: string | undefined;
1209
859
  repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
1210
860
  }
1211
- export declare class InvalidLayerPartException extends __BaseException {
1212
- readonly name: "InvalidLayerPartException";
1213
- readonly $fault: "client";
1214
- registryId?: string | undefined;
1215
- repositoryName?: string | undefined;
1216
- uploadId?: string | undefined;
1217
- lastValidByteReceived?: number | undefined;
1218
- constructor(
1219
- opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>
1220
- );
1221
- }
1222
861
  export interface UploadLayerPartRequest {
1223
862
  registryId?: string | undefined;
1224
863
  repositoryName: string | undefined;