@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,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ECRServiceException as __BaseException } from "./ECRServiceException";
1
+ import { ArtifactStatus, ArtifactStatusFilter, EncryptionType, FindingSeverity, ImageActionType, ImageFailureCode, ImageStatus, ImageStatusFilter, ImageTagMutability, ImageTagMutabilityExclusionFilterType, LayerAvailability, LayerFailureCode, LifecyclePolicyPreviewStatus, LifecyclePolicyStorageClass, LifecyclePolicyTargetStorageClass, RCTAppliedFor, ReplicationStatus, RepositoryFilterType, ScanFrequency, ScanningConfigurationFailureCode, ScanningRepositoryFilterType, ScanStatus, ScanType, TagStatus, TargetStorageClass, UpstreamRegistry } from "./enums";
3
2
  /**
4
3
  * @public
5
4
  */
@@ -21,18 +20,6 @@ export interface BatchCheckLayerAvailabilityRequest {
21
20
  */
22
21
  layerDigests: string[] | undefined;
23
22
  }
24
- /**
25
- * @public
26
- * @enum
27
- */
28
- export declare const LayerFailureCode: {
29
- readonly InvalidLayerDigest: "InvalidLayerDigest";
30
- readonly MissingLayerDigest: "MissingLayerDigest";
31
- };
32
- /**
33
- * @public
34
- */
35
- export type LayerFailureCode = (typeof LayerFailureCode)[keyof typeof LayerFailureCode];
36
23
  /**
37
24
  * <p>An object representing an Amazon ECR image layer failure.</p>
38
25
  * @public
@@ -54,18 +41,6 @@ export interface LayerFailure {
54
41
  */
55
42
  failureReason?: string | undefined;
56
43
  }
57
- /**
58
- * @public
59
- * @enum
60
- */
61
- export declare const LayerAvailability: {
62
- readonly AVAILABLE: "AVAILABLE";
63
- readonly UNAVAILABLE: "UNAVAILABLE";
64
- };
65
- /**
66
- * @public
67
- */
68
- export type LayerAvailability = (typeof LayerAvailability)[keyof typeof LayerAvailability];
69
44
  /**
70
45
  * <p>An object representing an Amazon ECR image layer.</p>
71
46
  * @public
@@ -110,44 +85,6 @@ export interface BatchCheckLayerAvailabilityResponse {
110
85
  */
111
86
  failures?: LayerFailure[] | undefined;
112
87
  }
113
- /**
114
- * <p>The specified parameter is invalid. Review the available parameters for the API
115
- * request.</p>
116
- * @public
117
- */
118
- export declare class InvalidParameterException extends __BaseException {
119
- readonly name: "InvalidParameterException";
120
- readonly $fault: "client";
121
- /**
122
- * @internal
123
- */
124
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
125
- }
126
- /**
127
- * <p>The specified repository could not be found. Check the spelling of the specified
128
- * repository and ensure that you are performing operations on the correct registry.</p>
129
- * @public
130
- */
131
- export declare class RepositoryNotFoundException extends __BaseException {
132
- readonly name: "RepositoryNotFoundException";
133
- readonly $fault: "client";
134
- /**
135
- * @internal
136
- */
137
- constructor(opts: __ExceptionOptionType<RepositoryNotFoundException, __BaseException>);
138
- }
139
- /**
140
- * <p>These errors are usually caused by a server-side issue.</p>
141
- * @public
142
- */
143
- export declare class ServerException extends __BaseException {
144
- readonly name: "ServerException";
145
- readonly $fault: "server";
146
- /**
147
- * @internal
148
- */
149
- constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
150
- }
151
88
  /**
152
89
  * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
153
90
  * @public
@@ -189,26 +126,6 @@ export interface BatchDeleteImageRequest {
189
126
  */
190
127
  imageIds: ImageIdentifier[] | undefined;
191
128
  }
192
- /**
193
- * @public
194
- * @enum
195
- */
196
- export declare const ImageFailureCode: {
197
- readonly ImageNotFound: "ImageNotFound";
198
- readonly ImageReferencedByManifestList: "ImageReferencedByManifestList";
199
- readonly ImageTagDoesNotMatchDigest: "ImageTagDoesNotMatchDigest";
200
- readonly InvalidImageDigest: "InvalidImageDigest";
201
- readonly InvalidImageTag: "InvalidImageTag";
202
- readonly KmsError: "KmsError";
203
- readonly MissingDigestAndTag: "MissingDigestAndTag";
204
- readonly UpstreamAccessDenied: "UpstreamAccessDenied";
205
- readonly UpstreamTooManyRequests: "UpstreamTooManyRequests";
206
- readonly UpstreamUnavailable: "UpstreamUnavailable";
207
- };
208
- /**
209
- * @public
210
- */
211
- export type ImageFailureCode = (typeof ImageFailureCode)[keyof typeof ImageFailureCode];
212
129
  /**
213
130
  * <p>An object representing an Amazon ECR image failure.</p>
214
131
  * @public
@@ -323,34 +240,6 @@ export interface BatchGetImageResponse {
323
240
  */
324
241
  failures?: ImageFailure[] | undefined;
325
242
  }
326
- /**
327
- * <p>The operation did not succeed because it would have exceeded a service limit for your
328
- * account. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html">Amazon ECR service quotas</a> in
329
- * the Amazon Elastic Container Registry User Guide.</p>
330
- * @public
331
- */
332
- export declare class LimitExceededException extends __BaseException {
333
- readonly name: "LimitExceededException";
334
- readonly $fault: "client";
335
- /**
336
- * @internal
337
- */
338
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
339
- }
340
- /**
341
- * <p>The image or images were unable to be pulled using the pull through cache rule. This
342
- * is usually caused because of an issue with the Secrets Manager secret containing the credentials
343
- * for the upstream registry.</p>
344
- * @public
345
- */
346
- export declare class UnableToGetUpstreamImageException extends __BaseException {
347
- readonly name: "UnableToGetUpstreamImageException";
348
- readonly $fault: "client";
349
- /**
350
- * @internal
351
- */
352
- constructor(opts: __ExceptionOptionType<UnableToGetUpstreamImageException, __BaseException>);
353
- }
354
243
  /**
355
244
  * @public
356
245
  */
@@ -361,17 +250,6 @@ export interface BatchGetRepositoryScanningConfigurationRequest {
361
250
  */
362
251
  repositoryNames: string[] | undefined;
363
252
  }
364
- /**
365
- * @public
366
- * @enum
367
- */
368
- export declare const ScanningConfigurationFailureCode: {
369
- readonly REPOSITORY_NOT_FOUND: "REPOSITORY_NOT_FOUND";
370
- };
371
- /**
372
- * @public
373
- */
374
- export type ScanningConfigurationFailureCode = (typeof ScanningConfigurationFailureCode)[keyof typeof ScanningConfigurationFailureCode];
375
253
  /**
376
254
  * <p>The details about any failures associated with the scanning configuration of a
377
255
  * repository.</p>
@@ -394,17 +272,6 @@ export interface RepositoryScanningConfigurationFailure {
394
272
  */
395
273
  failureReason?: string | undefined;
396
274
  }
397
- /**
398
- * @public
399
- * @enum
400
- */
401
- export declare const ScanningRepositoryFilterType: {
402
- readonly WILDCARD: "WILDCARD";
403
- };
404
- /**
405
- * @public
406
- */
407
- export type ScanningRepositoryFilterType = (typeof ScanningRepositoryFilterType)[keyof typeof ScanningRepositoryFilterType];
408
275
  /**
409
276
  * <p>The details of a scanning repository filter. For more information on how to use
410
277
  * filters, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters">Using
@@ -423,19 +290,6 @@ export interface ScanningRepositoryFilter {
423
290
  */
424
291
  filterType: ScanningRepositoryFilterType | undefined;
425
292
  }
426
- /**
427
- * @public
428
- * @enum
429
- */
430
- export declare const ScanFrequency: {
431
- readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
432
- readonly MANUAL: "MANUAL";
433
- readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
434
- };
435
- /**
436
- * @public
437
- */
438
- export type ScanFrequency = (typeof ScanFrequency)[keyof typeof ScanFrequency];
439
293
  /**
440
294
  * <p>The details of the scanning configuration for a repository.</p>
441
295
  * @public
@@ -482,18 +336,6 @@ export interface BatchGetRepositoryScanningConfigurationResponse {
482
336
  */
483
337
  failures?: RepositoryScanningConfigurationFailure[] | undefined;
484
338
  }
485
- /**
486
- * <p>There was an exception validating this request.</p>
487
- * @public
488
- */
489
- export declare class ValidationException extends __BaseException {
490
- readonly name: "ValidationException";
491
- readonly $fault: "client";
492
- /**
493
- * @internal
494
- */
495
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
496
- }
497
339
  /**
498
340
  * @public
499
341
  */
@@ -546,103 +388,6 @@ export interface CompleteLayerUploadResponse {
546
388
  */
547
389
  layerDigest?: string | undefined;
548
390
  }
549
- /**
550
- * <p>The specified layer upload does not contain any layer parts.</p>
551
- * @public
552
- */
553
- export declare class EmptyUploadException extends __BaseException {
554
- readonly name: "EmptyUploadException";
555
- readonly $fault: "client";
556
- /**
557
- * @internal
558
- */
559
- constructor(opts: __ExceptionOptionType<EmptyUploadException, __BaseException>);
560
- }
561
- /**
562
- * <p>The layer digest calculation performed by Amazon ECR upon receipt of the image layer does
563
- * not match the digest specified.</p>
564
- * @public
565
- */
566
- export declare class InvalidLayerException extends __BaseException {
567
- readonly name: "InvalidLayerException";
568
- readonly $fault: "client";
569
- /**
570
- * @internal
571
- */
572
- constructor(opts: __ExceptionOptionType<InvalidLayerException, __BaseException>);
573
- }
574
- /**
575
- * <p>The operation failed due to a KMS exception.</p>
576
- * @public
577
- */
578
- export declare class KmsException extends __BaseException {
579
- readonly name: "KmsException";
580
- readonly $fault: "client";
581
- /**
582
- * <p>The error code returned by KMS.</p>
583
- * @public
584
- */
585
- kmsError?: string | undefined;
586
- /**
587
- * @internal
588
- */
589
- constructor(opts: __ExceptionOptionType<KmsException, __BaseException>);
590
- }
591
- /**
592
- * <p>The image layer already exists in the associated repository.</p>
593
- * @public
594
- */
595
- export declare class LayerAlreadyExistsException extends __BaseException {
596
- readonly name: "LayerAlreadyExistsException";
597
- readonly $fault: "client";
598
- /**
599
- * @internal
600
- */
601
- constructor(opts: __ExceptionOptionType<LayerAlreadyExistsException, __BaseException>);
602
- }
603
- /**
604
- * <p>Layer parts must be at least 5 MiB in size.</p>
605
- * @public
606
- */
607
- export declare class LayerPartTooSmallException extends __BaseException {
608
- readonly name: "LayerPartTooSmallException";
609
- readonly $fault: "client";
610
- /**
611
- * @internal
612
- */
613
- constructor(opts: __ExceptionOptionType<LayerPartTooSmallException, __BaseException>);
614
- }
615
- /**
616
- * <p>The upload could not be found, or the specified upload ID is not valid for this
617
- * repository.</p>
618
- * @public
619
- */
620
- export declare class UploadNotFoundException extends __BaseException {
621
- readonly name: "UploadNotFoundException";
622
- readonly $fault: "client";
623
- /**
624
- * @internal
625
- */
626
- constructor(opts: __ExceptionOptionType<UploadNotFoundException, __BaseException>);
627
- }
628
- /**
629
- * @public
630
- * @enum
631
- */
632
- export declare const UpstreamRegistry: {
633
- readonly AzureContainerRegistry: "azure-container-registry";
634
- readonly DockerHub: "docker-hub";
635
- readonly Ecr: "ecr";
636
- readonly EcrPublic: "ecr-public";
637
- readonly GitHubContainerRegistry: "github-container-registry";
638
- readonly GitLabContainerRegistry: "gitlab-container-registry";
639
- readonly K8s: "k8s";
640
- readonly Quay: "quay";
641
- };
642
- /**
643
- * @public
644
- */
645
- export type UpstreamRegistry = (typeof UpstreamRegistry)[keyof typeof UpstreamRegistry];
646
391
  /**
647
392
  * @public
648
393
  */
@@ -664,7 +409,7 @@ export interface CreatePullThroughCacheRuleRequest {
664
409
  * <ul>
665
410
  * <li>
666
411
  * <p>Amazon ECR (<code>ecr</code>) –
667
- * <code><accountId>.dkr.ecr.<region>.amazonaws.com</code>
412
+ * <code><accountId>.dkr.ecr.<region>.amazonaws.com</code>
668
413
  * </p>
669
414
  * </li>
670
415
  * <li>
@@ -782,83 +527,6 @@ export interface CreatePullThroughCacheRuleResponse {
782
527
  */
783
528
  upstreamRepositoryPrefix?: string | undefined;
784
529
  }
785
- /**
786
- * <p>A pull through cache rule with these settings already exists for the private
787
- * registry.</p>
788
- * @public
789
- */
790
- export declare class PullThroughCacheRuleAlreadyExistsException extends __BaseException {
791
- readonly name: "PullThroughCacheRuleAlreadyExistsException";
792
- readonly $fault: "client";
793
- /**
794
- * @internal
795
- */
796
- constructor(opts: __ExceptionOptionType<PullThroughCacheRuleAlreadyExistsException, __BaseException>);
797
- }
798
- /**
799
- * <p>The ARN of the secret specified in the pull through cache rule was not found. Update
800
- * the pull through cache rule with a valid secret ARN and try again.</p>
801
- * @public
802
- */
803
- export declare class SecretNotFoundException extends __BaseException {
804
- readonly name: "SecretNotFoundException";
805
- readonly $fault: "client";
806
- /**
807
- * @internal
808
- */
809
- constructor(opts: __ExceptionOptionType<SecretNotFoundException, __BaseException>);
810
- }
811
- /**
812
- * <p>The secret is unable to be accessed. Verify the resource permissions for the secret
813
- * and try again.</p>
814
- * @public
815
- */
816
- export declare class UnableToAccessSecretException extends __BaseException {
817
- readonly name: "UnableToAccessSecretException";
818
- readonly $fault: "client";
819
- /**
820
- * @internal
821
- */
822
- constructor(opts: __ExceptionOptionType<UnableToAccessSecretException, __BaseException>);
823
- }
824
- /**
825
- * <p>The secret is accessible but is unable to be decrypted. Verify the resource
826
- * permisisons and try again.</p>
827
- * @public
828
- */
829
- export declare class UnableToDecryptSecretValueException extends __BaseException {
830
- readonly name: "UnableToDecryptSecretValueException";
831
- readonly $fault: "client";
832
- /**
833
- * @internal
834
- */
835
- constructor(opts: __ExceptionOptionType<UnableToDecryptSecretValueException, __BaseException>);
836
- }
837
- /**
838
- * <p>The specified upstream registry isn't supported.</p>
839
- * @public
840
- */
841
- export declare class UnsupportedUpstreamRegistryException extends __BaseException {
842
- readonly name: "UnsupportedUpstreamRegistryException";
843
- readonly $fault: "client";
844
- /**
845
- * @internal
846
- */
847
- constructor(opts: __ExceptionOptionType<UnsupportedUpstreamRegistryException, __BaseException>);
848
- }
849
- /**
850
- * @public
851
- * @enum
852
- */
853
- export declare const EncryptionType: {
854
- readonly AES256: "AES256";
855
- readonly KMS: "KMS";
856
- readonly KMS_DSSE: "KMS_DSSE";
857
- };
858
- /**
859
- * @public
860
- */
861
- export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
862
530
  /**
863
531
  * <p>The encryption configuration for the repository. This determines how the contents of
864
532
  * your repository are encrypted at rest.</p>
@@ -916,42 +584,19 @@ export interface ImageScanningConfiguration {
916
584
  scanOnPush?: boolean | undefined;
917
585
  }
918
586
  /**
919
- * @public
920
- * @enum
921
- */
922
- export declare const ImageTagMutability: {
923
- readonly IMMUTABLE: "IMMUTABLE";
924
- readonly IMMUTABLE_WITH_EXCLUSION: "IMMUTABLE_WITH_EXCLUSION";
925
- readonly MUTABLE: "MUTABLE";
926
- readonly MUTABLE_WITH_EXCLUSION: "MUTABLE_WITH_EXCLUSION";
927
- };
928
- /**
929
- * @public
930
- */
931
- export type ImageTagMutability = (typeof ImageTagMutability)[keyof typeof ImageTagMutability];
932
- /**
933
- * @public
934
- * @enum
935
- */
936
- export declare const ImageTagMutabilityExclusionFilterType: {
937
- readonly WILDCARD: "WILDCARD";
938
- };
939
- /**
940
- * @public
941
- */
942
- export type ImageTagMutabilityExclusionFilterType = (typeof ImageTagMutabilityExclusionFilterType)[keyof typeof ImageTagMutabilityExclusionFilterType];
943
- /**
944
- * <p>Overrides the default image tag mutability setting of the repository for image tags that match the specified filters.</p>
587
+ * <p>A filter that specifies which image tags should be excluded from the repository's
588
+ * image tag mutability setting.</p>
945
589
  * @public
946
590
  */
947
591
  export interface ImageTagMutabilityExclusionFilter {
948
592
  /**
949
- * <p>Specifies the type of filter to use for excluding image tags from the repository's mutability setting.</p>
593
+ * <p>The type of filter to apply for excluding image tags from mutability settings.</p>
950
594
  * @public
951
595
  */
952
596
  filterType: ImageTagMutabilityExclusionFilterType | undefined;
953
597
  /**
954
- * <p>The value to use when filtering image tags. Must be either a regular expression pattern or a tag prefix value based on the specified filter type.</p>
598
+ * <p>The filter value used to match image tags for exclusion from mutability
599
+ * settings.</p>
955
600
  * @public
956
601
  */
957
602
  filter: string | undefined;
@@ -1011,12 +656,18 @@ export interface CreateRepositoryRequest {
1011
656
  */
1012
657
  imageTagMutability?: ImageTagMutability | undefined;
1013
658
  /**
1014
- * <p>Creates a repository with a list of filters that define which image tags can override the default image tag mutability setting.</p>
659
+ * <p>A list of filters that specify which image tags should be excluded from the
660
+ * repository's image tag mutability setting.</p>
1015
661
  * @public
1016
662
  */
1017
663
  imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
1018
664
  /**
1019
- * <p>The image scanning configuration for the repository. This determines whether images
665
+ * <important>
666
+ * <p>The <code>imageScanningConfiguration</code> parameter is being deprecated, in
667
+ * favor of specifying the image scanning configuration at the registry level. For more
668
+ * information, see <code>PutRegistryScanningConfiguration</code>.</p>
669
+ * </important>
670
+ * <p>The image scanning configuration for the repository. This determines whether images
1020
671
  * are scanned for known vulnerabilities after being pushed to the repository.</p>
1021
672
  * @public
1022
673
  */
@@ -1067,7 +718,8 @@ export interface Repository {
1067
718
  */
1068
719
  imageTagMutability?: ImageTagMutability | undefined;
1069
720
  /**
1070
- * <p>The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting.</p>
721
+ * <p>A list of filters that specify which image tags are excluded from the repository's
722
+ * image tag mutability setting.</p>
1071
723
  * @public
1072
724
  */
1073
725
  imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
@@ -1093,56 +745,6 @@ export interface CreateRepositoryResponse {
1093
745
  */
1094
746
  repository?: Repository | undefined;
1095
747
  }
1096
- /**
1097
- * <p>An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have
1098
- * a maximum length of 256 characters.</p>
1099
- * @public
1100
- */
1101
- export declare class InvalidTagParameterException extends __BaseException {
1102
- readonly name: "InvalidTagParameterException";
1103
- readonly $fault: "client";
1104
- /**
1105
- * @internal
1106
- */
1107
- constructor(opts: __ExceptionOptionType<InvalidTagParameterException, __BaseException>);
1108
- }
1109
- /**
1110
- * <p>The specified repository already exists in the specified registry.</p>
1111
- * @public
1112
- */
1113
- export declare class RepositoryAlreadyExistsException extends __BaseException {
1114
- readonly name: "RepositoryAlreadyExistsException";
1115
- readonly $fault: "client";
1116
- /**
1117
- * @internal
1118
- */
1119
- constructor(opts: __ExceptionOptionType<RepositoryAlreadyExistsException, __BaseException>);
1120
- }
1121
- /**
1122
- * <p>The list of tags on the repository is over the limit. The maximum number of tags that
1123
- * can be applied to a repository is 50.</p>
1124
- * @public
1125
- */
1126
- export declare class TooManyTagsException extends __BaseException {
1127
- readonly name: "TooManyTagsException";
1128
- readonly $fault: "client";
1129
- /**
1130
- * @internal
1131
- */
1132
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1133
- }
1134
- /**
1135
- * @public
1136
- * @enum
1137
- */
1138
- export declare const RCTAppliedFor: {
1139
- readonly PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE";
1140
- readonly REPLICATION: "REPLICATION";
1141
- };
1142
- /**
1143
- * @public
1144
- */
1145
- export type RCTAppliedFor = (typeof RCTAppliedFor)[keyof typeof RCTAppliedFor];
1146
748
  /**
1147
749
  * <p>The encryption configuration to associate with the repository creation
1148
750
  * template.</p>
@@ -1224,7 +826,8 @@ export interface CreateRepositoryCreationTemplateRequest {
1224
826
  */
1225
827
  imageTagMutability?: ImageTagMutability | undefined;
1226
828
  /**
1227
- * <p>Creates a repository creation template with a list of filters that define which image tags can override the default image tag mutability setting.</p>
829
+ * <p>A list of filters that specify which image tags should be excluded from the repository
830
+ * creation template's image tag mutability setting.</p>
1228
831
  * @public
1229
832
  */
1230
833
  imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
@@ -1287,14 +890,15 @@ export interface RepositoryCreationTemplate {
1287
890
  resourceTags?: Tag[] | undefined;
1288
891
  /**
1289
892
  * <p>The tag mutability setting for the repository. If this parameter is omitted, the
1290
- * default setting of <code>MUTABLE</code> will be used which will allow image tags to be overwritten.
1291
- * If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which
1292
- * will prevent them from being overwritten.</p>
893
+ * default setting of <code>MUTABLE</code> will be used which will allow image tags to be
894
+ * overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the
895
+ * repository will be immutable which will prevent them from being overwritten.</p>
1293
896
  * @public
1294
897
  */
1295
898
  imageTagMutability?: ImageTagMutability | undefined;
1296
899
  /**
1297
- * <p>Defines the image tag mutability exclusion filters to apply when creating repositories from this template. These filters specify which image tags can override the repository's default image tag mutability setting.</p>
900
+ * <p>A list of filters that specify which image tags are excluded from the repository
901
+ * creation template's image tag mutability setting.</p>
1298
902
  * @public
1299
903
  */
1300
904
  imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
@@ -1352,19 +956,6 @@ export interface CreateRepositoryCreationTemplateResponse {
1352
956
  */
1353
957
  repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
1354
958
  }
1355
- /**
1356
- * <p>The repository creation template already exists. Specify a unique prefix and try
1357
- * again.</p>
1358
- * @public
1359
- */
1360
- export declare class TemplateAlreadyExistsException extends __BaseException {
1361
- readonly name: "TemplateAlreadyExistsException";
1362
- readonly $fault: "client";
1363
- /**
1364
- * @internal
1365
- */
1366
- constructor(opts: __ExceptionOptionType<TemplateAlreadyExistsException, __BaseException>);
1367
- }
1368
959
  /**
1369
960
  * @public
1370
961
  */
@@ -1406,19 +997,6 @@ export interface DeleteLifecyclePolicyResponse {
1406
997
  */
1407
998
  lastEvaluatedAt?: Date | undefined;
1408
999
  }
1409
- /**
1410
- * <p>The lifecycle policy could not be found, and no policy is set to the
1411
- * repository.</p>
1412
- * @public
1413
- */
1414
- export declare class LifecyclePolicyNotFoundException extends __BaseException {
1415
- readonly name: "LifecyclePolicyNotFoundException";
1416
- readonly $fault: "client";
1417
- /**
1418
- * @internal
1419
- */
1420
- constructor(opts: __ExceptionOptionType<LifecyclePolicyNotFoundException, __BaseException>);
1421
- }
1422
1000
  /**
1423
1001
  * @public
1424
1002
  */
@@ -1477,19 +1055,6 @@ export interface DeletePullThroughCacheRuleResponse {
1477
1055
  */
1478
1056
  upstreamRepositoryPrefix?: string | undefined;
1479
1057
  }
1480
- /**
1481
- * <p>The pull through cache rule was not found. Specify a valid pull through cache rule and
1482
- * try again.</p>
1483
- * @public
1484
- */
1485
- export declare class PullThroughCacheRuleNotFoundException extends __BaseException {
1486
- readonly name: "PullThroughCacheRuleNotFoundException";
1487
- readonly $fault: "client";
1488
- /**
1489
- * @internal
1490
- */
1491
- constructor(opts: __ExceptionOptionType<PullThroughCacheRuleNotFoundException, __BaseException>);
1492
- }
1493
1058
  /**
1494
1059
  * @public
1495
1060
  */
@@ -1510,18 +1075,6 @@ export interface DeleteRegistryPolicyResponse {
1510
1075
  */
1511
1076
  policyText?: string | undefined;
1512
1077
  }
1513
- /**
1514
- * <p>The registry doesn't have an associated registry policy.</p>
1515
- * @public
1516
- */
1517
- export declare class RegistryPolicyNotFoundException extends __BaseException {
1518
- readonly name: "RegistryPolicyNotFoundException";
1519
- readonly $fault: "client";
1520
- /**
1521
- * @internal
1522
- */
1523
- constructor(opts: __ExceptionOptionType<RegistryPolicyNotFoundException, __BaseException>);
1524
- }
1525
1078
  /**
1526
1079
  * @public
1527
1080
  */
@@ -1554,19 +1107,6 @@ export interface DeleteRepositoryResponse {
1554
1107
  */
1555
1108
  repository?: Repository | undefined;
1556
1109
  }
1557
- /**
1558
- * <p>The specified repository contains images. To delete a repository that contains images,
1559
- * you must force the deletion with the <code>force</code> parameter.</p>
1560
- * @public
1561
- */
1562
- export declare class RepositoryNotEmptyException extends __BaseException {
1563
- readonly name: "RepositoryNotEmptyException";
1564
- readonly $fault: "client";
1565
- /**
1566
- * @internal
1567
- */
1568
- constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
1569
- }
1570
1110
  /**
1571
1111
  * @public
1572
1112
  */
@@ -1593,19 +1133,6 @@ export interface DeleteRepositoryCreationTemplateResponse {
1593
1133
  */
1594
1134
  repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
1595
1135
  }
1596
- /**
1597
- * <p>The specified repository creation template can't be found. Verify the registry ID and
1598
- * prefix and try again.</p>
1599
- * @public
1600
- */
1601
- export declare class TemplateNotFoundException extends __BaseException {
1602
- readonly name: "TemplateNotFoundException";
1603
- readonly $fault: "client";
1604
- /**
1605
- * @internal
1606
- */
1607
- constructor(opts: __ExceptionOptionType<TemplateNotFoundException, __BaseException>);
1608
- }
1609
1136
  /**
1610
1137
  * @public
1611
1138
  */
@@ -1644,17 +1171,24 @@ export interface DeleteRepositoryPolicyResponse {
1644
1171
  policyText?: string | undefined;
1645
1172
  }
1646
1173
  /**
1647
- * <p>The specified repository and registry combination does not have an associated
1648
- * repository policy.</p>
1649
1174
  * @public
1650
1175
  */
1651
- export declare class RepositoryPolicyNotFoundException extends __BaseException {
1652
- readonly name: "RepositoryPolicyNotFoundException";
1653
- readonly $fault: "client";
1176
+ export interface DeregisterPullTimeUpdateExclusionRequest {
1177
+ /**
1178
+ * <p>The ARN of the IAM principal to remove from the pull time update exclusion list.</p>
1179
+ * @public
1180
+ */
1181
+ principalArn: string | undefined;
1182
+ }
1183
+ /**
1184
+ * @public
1185
+ */
1186
+ export interface DeregisterPullTimeUpdateExclusionResponse {
1654
1187
  /**
1655
- * @internal
1188
+ * <p>The ARN of the IAM principal that was removed from the pull time update exclusion list.</p>
1189
+ * @public
1656
1190
  */
1657
- constructor(opts: __ExceptionOptionType<RepositoryPolicyNotFoundException, __BaseException>);
1191
+ principalArn?: string | undefined;
1658
1192
  }
1659
1193
  /**
1660
1194
  * @public
@@ -1676,19 +1210,6 @@ export interface DescribeImageReplicationStatusRequest {
1676
1210
  */
1677
1211
  registryId?: string | undefined;
1678
1212
  }
1679
- /**
1680
- * @public
1681
- * @enum
1682
- */
1683
- export declare const ReplicationStatus: {
1684
- readonly COMPLETE: "COMPLETE";
1685
- readonly FAILED: "FAILED";
1686
- readonly IN_PROGRESS: "IN_PROGRESS";
1687
- };
1688
- /**
1689
- * @public
1690
- */
1691
- export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
1692
1213
  /**
1693
1214
  * <p>The status of the replication process for an image.</p>
1694
1215
  * @public
@@ -1736,43 +1257,23 @@ export interface DescribeImageReplicationStatusResponse {
1736
1257
  replicationStatuses?: ImageReplicationStatus[] | undefined;
1737
1258
  }
1738
1259
  /**
1739
- * <p>The image requested does not exist in the specified repository.</p>
1260
+ * <p>An object representing a filter on a <a>DescribeImages</a>
1261
+ * operation.</p>
1740
1262
  * @public
1741
1263
  */
1742
- export declare class ImageNotFoundException extends __BaseException {
1743
- readonly name: "ImageNotFoundException";
1744
- readonly $fault: "client";
1264
+ export interface DescribeImagesFilter {
1745
1265
  /**
1746
- * @internal
1266
+ * <p>The tag status with which to filter your <a>DescribeImages</a> results. You
1267
+ * can filter results based on whether they are <code>TAGGED</code> or
1268
+ * <code>UNTAGGED</code>.</p>
1269
+ * @public
1747
1270
  */
1748
- constructor(opts: __ExceptionOptionType<ImageNotFoundException, __BaseException>);
1749
- }
1750
- /**
1751
- * @public
1752
- * @enum
1753
- */
1754
- export declare const TagStatus: {
1755
- readonly ANY: "ANY";
1756
- readonly TAGGED: "TAGGED";
1757
- readonly UNTAGGED: "UNTAGGED";
1758
- };
1759
- /**
1760
- * @public
1761
- */
1762
- export type TagStatus = (typeof TagStatus)[keyof typeof TagStatus];
1763
- /**
1764
- * <p>An object representing a filter on a <a>DescribeImages</a>
1765
- * operation.</p>
1766
- * @public
1767
- */
1768
- export interface DescribeImagesFilter {
1271
+ tagStatus?: TagStatus | undefined;
1769
1272
  /**
1770
- * <p>The tag status with which to filter your <a>DescribeImages</a> results. You
1771
- * can filter results based on whether they are <code>TAGGED</code> or
1772
- * <code>UNTAGGED</code>.</p>
1273
+ * <p>The image status with which to filter your <a>DescribeImages</a> results. Valid values are <code>ACTIVE</code>, <code>ARCHIVED</code>, and <code>ACTIVATING</code>.</p>
1773
1274
  * @public
1774
1275
  */
1775
- tagStatus?: TagStatus | undefined;
1276
+ imageStatus?: ImageStatusFilter | undefined;
1776
1277
  }
1777
1278
  /**
1778
1279
  * @public
@@ -1824,22 +1325,6 @@ export interface DescribeImagesRequest {
1824
1325
  */
1825
1326
  filter?: DescribeImagesFilter | undefined;
1826
1327
  }
1827
- /**
1828
- * @public
1829
- * @enum
1830
- */
1831
- export declare const FindingSeverity: {
1832
- readonly CRITICAL: "CRITICAL";
1833
- readonly HIGH: "HIGH";
1834
- readonly INFORMATIONAL: "INFORMATIONAL";
1835
- readonly LOW: "LOW";
1836
- readonly MEDIUM: "MEDIUM";
1837
- readonly UNDEFINED: "UNDEFINED";
1838
- };
1839
- /**
1840
- * @public
1841
- */
1842
- export type FindingSeverity = (typeof FindingSeverity)[keyof typeof FindingSeverity];
1843
1328
  /**
1844
1329
  * <p>A summary of the last completed image scan.</p>
1845
1330
  * @public
@@ -1861,25 +1346,6 @@ export interface ImageScanFindingsSummary {
1861
1346
  */
1862
1347
  findingSeverityCounts?: Partial<Record<FindingSeverity, number>> | undefined;
1863
1348
  }
1864
- /**
1865
- * @public
1866
- * @enum
1867
- */
1868
- export declare const ScanStatus: {
1869
- readonly ACTIVE: "ACTIVE";
1870
- readonly COMPLETE: "COMPLETE";
1871
- readonly FAILED: "FAILED";
1872
- readonly FINDINGS_UNAVAILABLE: "FINDINGS_UNAVAILABLE";
1873
- readonly IN_PROGRESS: "IN_PROGRESS";
1874
- readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
1875
- readonly PENDING: "PENDING";
1876
- readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
1877
- readonly UNSUPPORTED_IMAGE: "UNSUPPORTED_IMAGE";
1878
- };
1879
- /**
1880
- * @public
1881
- */
1882
- export type ScanStatus = (typeof ScanStatus)[keyof typeof ScanStatus];
1883
1349
  /**
1884
1350
  * <p>The current status of an image scan.</p>
1885
1351
  * @public
@@ -1975,6 +1441,26 @@ export interface ImageDetail {
1975
1441
  * @public
1976
1442
  */
1977
1443
  lastRecordedPullTime?: Date | undefined;
1444
+ /**
1445
+ * <p>The digest of the subject manifest for images that are referrers.</p>
1446
+ * @public
1447
+ */
1448
+ subjectManifestDigest?: string | undefined;
1449
+ /**
1450
+ * <p>The current status of the image.</p>
1451
+ * @public
1452
+ */
1453
+ imageStatus?: ImageStatus | undefined;
1454
+ /**
1455
+ * <p>The date and time, expressed in standard JavaScript date format, when the image was last transitioned to Amazon ECR archive.</p>
1456
+ * @public
1457
+ */
1458
+ lastArchivedAt?: Date | undefined;
1459
+ /**
1460
+ * <p>The date and time, expressed in standard JavaScript date format, when the image was last restored from Amazon ECR archive to Amazon ECR standard.</p>
1461
+ * @public
1462
+ */
1463
+ lastActivatedAt?: Date | undefined;
1978
1464
  }
1979
1465
  /**
1980
1466
  * @public
@@ -2566,19 +2052,6 @@ export interface DescribeImageScanFindingsResponse {
2566
2052
  */
2567
2053
  nextToken?: string | undefined;
2568
2054
  }
2569
- /**
2570
- * <p>The specified image scan could not be found. Ensure that image scanning is enabled on
2571
- * the repository and try again.</p>
2572
- * @public
2573
- */
2574
- export declare class ScanNotFoundException extends __BaseException {
2575
- readonly name: "ScanNotFoundException";
2576
- readonly $fault: "client";
2577
- /**
2578
- * @internal
2579
- */
2580
- constructor(opts: __ExceptionOptionType<ScanNotFoundException, __BaseException>);
2581
- }
2582
2055
  /**
2583
2056
  * @public
2584
2057
  */
@@ -2715,17 +2188,6 @@ export interface ReplicationDestination {
2715
2188
  */
2716
2189
  registryId: string | undefined;
2717
2190
  }
2718
- /**
2719
- * @public
2720
- * @enum
2721
- */
2722
- export declare const RepositoryFilterType: {
2723
- readonly PREFIX_MATCH: "PREFIX_MATCH";
2724
- };
2725
- /**
2726
- * @public
2727
- */
2728
- export type RepositoryFilterType = (typeof RepositoryFilterType)[keyof typeof RepositoryFilterType];
2729
2191
  /**
2730
2192
  * <p>The filter settings used with image replication. Specifying a repository filter to a
2731
2193
  * replication rule provides a method for controlling which repositories in a private
@@ -3046,45 +2508,6 @@ export interface GetDownloadUrlForLayerResponse {
3046
2508
  */
3047
2509
  layerDigest?: string | undefined;
3048
2510
  }
3049
- /**
3050
- * <p>The specified layer is not available because it is not associated with an image.
3051
- * Unassociated image layers may be cleaned up at any time.</p>
3052
- * @public
3053
- */
3054
- export declare class LayerInaccessibleException extends __BaseException {
3055
- readonly name: "LayerInaccessibleException";
3056
- readonly $fault: "client";
3057
- /**
3058
- * @internal
3059
- */
3060
- constructor(opts: __ExceptionOptionType<LayerInaccessibleException, __BaseException>);
3061
- }
3062
- /**
3063
- * <p>The specified layers could not be found, or the specified layer is not valid for this
3064
- * repository.</p>
3065
- * @public
3066
- */
3067
- export declare class LayersNotFoundException extends __BaseException {
3068
- readonly name: "LayersNotFoundException";
3069
- readonly $fault: "client";
3070
- /**
3071
- * @internal
3072
- */
3073
- constructor(opts: __ExceptionOptionType<LayersNotFoundException, __BaseException>);
3074
- }
3075
- /**
3076
- * <p>There was an issue getting the upstream layer matching the pull through cache
3077
- * rule.</p>
3078
- * @public
3079
- */
3080
- export declare class UnableToGetUpstreamLayerException extends __BaseException {
3081
- readonly name: "UnableToGetUpstreamLayerException";
3082
- readonly $fault: "client";
3083
- /**
3084
- * @internal
3085
- */
3086
- constructor(opts: __ExceptionOptionType<UnableToGetUpstreamLayerException, __BaseException>);
3087
- }
3088
2511
  /**
3089
2512
  * @public
3090
2513
  */
@@ -3199,17 +2622,6 @@ export interface GetLifecyclePolicyPreviewRequest {
3199
2622
  */
3200
2623
  filter?: LifecyclePolicyPreviewFilter | undefined;
3201
2624
  }
3202
- /**
3203
- * @public
3204
- * @enum
3205
- */
3206
- export declare const ImageActionType: {
3207
- readonly EXPIRE: "EXPIRE";
3208
- };
3209
- /**
3210
- * @public
3211
- */
3212
- export type ImageActionType = (typeof ImageActionType)[keyof typeof ImageActionType];
3213
2625
  /**
3214
2626
  * <p>The type of action to be taken.</p>
3215
2627
  * @public
@@ -3220,6 +2632,12 @@ export interface LifecyclePolicyRuleAction {
3220
2632
  * @public
3221
2633
  */
3222
2634
  type?: ImageActionType | undefined;
2635
+ /**
2636
+ * <p>The target storage class for the action. This is only present when the <code>type</code> is <code>TRANSITION.</code>
2637
+ * </p>
2638
+ * @public
2639
+ */
2640
+ targetStorageClass?: LifecyclePolicyTargetStorageClass | undefined;
3223
2641
  }
3224
2642
  /**
3225
2643
  * <p>The result of the lifecycle policy preview.</p>
@@ -3252,21 +2670,28 @@ export interface LifecyclePolicyPreviewResult {
3252
2670
  * @public
3253
2671
  */
3254
2672
  appliedRulePriority?: number | undefined;
2673
+ /**
2674
+ * <p>The storage class of the image.</p>
2675
+ * @public
2676
+ */
2677
+ storageClass?: LifecyclePolicyStorageClass | undefined;
3255
2678
  }
3256
2679
  /**
2680
+ * <p>The total count of images transitioning to a storage class.</p>
3257
2681
  * @public
3258
- * @enum
3259
2682
  */
3260
- export declare const LifecyclePolicyPreviewStatus: {
3261
- readonly COMPLETE: "COMPLETE";
3262
- readonly EXPIRED: "EXPIRED";
3263
- readonly FAILED: "FAILED";
3264
- readonly IN_PROGRESS: "IN_PROGRESS";
3265
- };
3266
- /**
3267
- * @public
3268
- */
3269
- export type LifecyclePolicyPreviewStatus = (typeof LifecyclePolicyPreviewStatus)[keyof typeof LifecyclePolicyPreviewStatus];
2683
+ export interface TransitioningImageTotalCount {
2684
+ /**
2685
+ * <p>The target storage class.</p>
2686
+ * @public
2687
+ */
2688
+ targetStorageClass?: LifecyclePolicyTargetStorageClass | undefined;
2689
+ /**
2690
+ * <p>The total number of images transitioning to the storage class.</p>
2691
+ * @public
2692
+ */
2693
+ imageTotalCount?: number | undefined;
2694
+ }
3270
2695
  /**
3271
2696
  * <p>The summary of the lifecycle policy preview request.</p>
3272
2697
  * @public
@@ -3277,6 +2702,12 @@ export interface LifecyclePolicyPreviewSummary {
3277
2702
  * @public
3278
2703
  */
3279
2704
  expiringImageTotalCount?: number | undefined;
2705
+ /**
2706
+ * <p>The total count of images that will be transitioned to each storage class.
2707
+ * This field is only present if at least one image will be transitoned in the summary.</p>
2708
+ * @public
2709
+ */
2710
+ transitioningImageTotalCounts?: TransitioningImageTotalCount[] | undefined;
3280
2711
  }
3281
2712
  /**
3282
2713
  * @public
@@ -3322,18 +2753,6 @@ export interface GetLifecyclePolicyPreviewResponse {
3322
2753
  */
3323
2754
  summary?: LifecyclePolicyPreviewSummary | undefined;
3324
2755
  }
3325
- /**
3326
- * <p>There is no dry run for this repository.</p>
3327
- * @public
3328
- */
3329
- export declare class LifecyclePolicyPreviewNotFoundException extends __BaseException {
3330
- readonly name: "LifecyclePolicyPreviewNotFoundException";
3331
- readonly $fault: "client";
3332
- /**
3333
- * @internal
3334
- */
3335
- constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewNotFoundException, __BaseException>);
3336
- }
3337
2756
  /**
3338
2757
  * @public
3339
2758
  */
@@ -3381,18 +2800,6 @@ export interface RegistryScanningRule {
3381
2800
  */
3382
2801
  repositoryFilters: ScanningRepositoryFilter[] | undefined;
3383
2802
  }
3384
- /**
3385
- * @public
3386
- * @enum
3387
- */
3388
- export declare const ScanType: {
3389
- readonly BASIC: "BASIC";
3390
- readonly ENHANCED: "ENHANCED";
3391
- };
3392
- /**
3393
- * @public
3394
- */
3395
- export type ScanType = (typeof ScanType)[keyof typeof ScanType];
3396
2803
  /**
3397
2804
  * <p>The scanning configuration for a private registry.</p>
3398
2805
  * @public
@@ -3492,18 +2899,155 @@ export interface InitiateLayerUploadResponse {
3492
2899
  */
3493
2900
  partSize?: number | undefined;
3494
2901
  }
2902
+ /**
2903
+ * <p>An object representing a filter on a <a>ListImageReferrers</a> operation.</p>
2904
+ * @public
2905
+ */
2906
+ export interface ListImageReferrersFilter {
2907
+ /**
2908
+ * <p>The artifact types with which to filter your <a>ListImageReferrers</a> results.</p>
2909
+ * @public
2910
+ */
2911
+ artifactTypes?: string[] | undefined;
2912
+ /**
2913
+ * <p>The artifact status with which to filter your <a>ListImageReferrers</a> results. Valid values are <code>ACTIVE</code>, <code>ARCHIVED</code>, <code>ACTIVATING</code>, or <code>ANY</code>. If not specified, only artifacts with <code>ACTIVE</code> status are returned.</p>
2914
+ * @public
2915
+ */
2916
+ artifactStatus?: ArtifactStatusFilter | undefined;
2917
+ }
2918
+ /**
2919
+ * <p>An object that identifies an image subject.</p>
2920
+ * @public
2921
+ */
2922
+ export interface SubjectIdentifier {
2923
+ /**
2924
+ * <p>The digest of the image.</p>
2925
+ * @public
2926
+ */
2927
+ imageDigest: string | undefined;
2928
+ }
2929
+ /**
2930
+ * @public
2931
+ */
2932
+ export interface ListImageReferrersRequest {
2933
+ /**
2934
+ * <p>The Amazon Web Services account ID associated with the registry that contains the repository in
2935
+ * which to list image referrers. If you do not specify a registry, the default registry is assumed.</p>
2936
+ * @public
2937
+ */
2938
+ registryId?: string | undefined;
2939
+ /**
2940
+ * <p>The name of the repository that contains the subject image.</p>
2941
+ * @public
2942
+ */
2943
+ repositoryName: string | undefined;
2944
+ /**
2945
+ * <p>An object containing the image digest of the subject image for which to retrieve associated artifacts.</p>
2946
+ * @public
2947
+ */
2948
+ subjectId: SubjectIdentifier | undefined;
2949
+ /**
2950
+ * <p>The filter key and value with which to filter your <code>ListImageReferrers</code>
2951
+ * results. If no filter is specified, only artifacts with <code>ACTIVE</code> status are returned.</p>
2952
+ * @public
2953
+ */
2954
+ filter?: ListImageReferrersFilter | undefined;
2955
+ /**
2956
+ * <p>The <code>nextToken</code> value returned from a previous paginated
2957
+ * <code>ListImageReferrers</code> request where <code>maxResults</code> was used and the
2958
+ * results exceeded the value of that parameter. Pagination continues from the end of the
2959
+ * previous results that returned the <code>nextToken</code> value. This value is
2960
+ * <code>null</code> when there are no more results to return.</p>
2961
+ * <note>
2962
+ * <p>This token should be treated as an opaque identifier that is only used to
2963
+ * retrieve the next items in a list and not for other programmatic purposes.</p>
2964
+ * </note>
2965
+ * @public
2966
+ */
2967
+ nextToken?: string | undefined;
2968
+ /**
2969
+ * <p>The maximum number of image referrer results returned by <code>ListImageReferrers</code> in paginated
2970
+ * output. When this parameter is used, <code>ListImageReferrers</code> only returns
2971
+ * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
2972
+ * response element. The remaining results of the initial request can be seen by sending
2973
+ * another <code>ListImageReferrers</code> request with the returned <code>nextToken</code> value.
2974
+ * This value can be between 1 and 50. If this parameter is
2975
+ * not used, then <code>ListImageReferrers</code> returns up to 50 results and a
2976
+ * <code>nextToken</code> value, if applicable.</p>
2977
+ * @public
2978
+ */
2979
+ maxResults?: number | undefined;
2980
+ }
2981
+ /**
2982
+ * <p>An object representing an artifact associated with a subject image.</p>
2983
+ * @public
2984
+ */
2985
+ export interface ImageReferrer {
2986
+ /**
2987
+ * <p>The digest of the artifact manifest.</p>
2988
+ * @public
2989
+ */
2990
+ digest: string | undefined;
2991
+ /**
2992
+ * <p>The media type of the artifact manifest.</p>
2993
+ * @public
2994
+ */
2995
+ mediaType: string | undefined;
2996
+ /**
2997
+ * <p>A string identifying the type of artifact.</p>
2998
+ * @public
2999
+ */
3000
+ artifactType?: string | undefined;
3001
+ /**
3002
+ * <p>The size, in bytes, of the artifact.</p>
3003
+ * @public
3004
+ */
3005
+ size: number | undefined;
3006
+ /**
3007
+ * <p>A map of annotations associated with the artifact.</p>
3008
+ * @public
3009
+ */
3010
+ annotations?: Record<string, string> | undefined;
3011
+ /**
3012
+ * <p>The status of the artifact. Valid values are <code>ACTIVE</code>, <code>ARCHIVED</code>, or <code>ACTIVATING</code>.</p>
3013
+ * @public
3014
+ */
3015
+ artifactStatus?: ArtifactStatus | undefined;
3016
+ }
3017
+ /**
3018
+ * @public
3019
+ */
3020
+ export interface ListImageReferrersResponse {
3021
+ /**
3022
+ * <p>The list of artifacts associated with the subject image.</p>
3023
+ * @public
3024
+ */
3025
+ referrers?: ImageReferrer[] | undefined;
3026
+ /**
3027
+ * <p>The <code>nextToken</code> value to include in a future <code>ListImageReferrers</code>
3028
+ * request. When the results of a <code>ListImageReferrers</code> request exceed
3029
+ * <code>maxResults</code>, this value can be used to retrieve the next page of
3030
+ * results. This value is <code>null</code> when there are no more results to
3031
+ * return.</p>
3032
+ * @public
3033
+ */
3034
+ nextToken?: string | undefined;
3035
+ }
3495
3036
  /**
3496
3037
  * <p>An object representing a filter on a <a>ListImages</a> operation.</p>
3497
3038
  * @public
3498
3039
  */
3499
3040
  export interface ListImagesFilter {
3500
3041
  /**
3501
- * <p>The tag status with which to filter your <a>ListImages</a> results. You can
3502
- * filter results based on whether they are <code>TAGGED</code> or
3503
- * <code>UNTAGGED</code>.</p>
3042
+ * <p>The tag status with which to filter your <a>ListImages</a> results.</p>
3504
3043
  * @public
3505
3044
  */
3506
3045
  tagStatus?: TagStatus | undefined;
3046
+ /**
3047
+ * <p>The image status with which to filter your <a>ListImages</a> results. Valid values are <code>ACTIVE</code>, <code>ARCHIVED</code>, and <code>ACTIVATING</code>.</p>
3048
+ * @public
3049
+ */
3050
+ imageStatus?: ImageStatusFilter | undefined;
3507
3051
  }
3508
3052
  /**
3509
3053
  * @public
@@ -3571,6 +3115,55 @@ export interface ListImagesResponse {
3571
3115
  */
3572
3116
  nextToken?: string | undefined;
3573
3117
  }
3118
+ /**
3119
+ * @public
3120
+ */
3121
+ export interface ListPullTimeUpdateExclusionsRequest {
3122
+ /**
3123
+ * <p>The maximum number of pull time update exclusion results returned by <code>ListPullTimeUpdateExclusions</code> in
3124
+ * paginated output. When this parameter is used, <code>ListPullTimeUpdateExclusions</code> only returns
3125
+ * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
3126
+ * response element. The remaining results of the initial request can be seen by sending
3127
+ * another <code>ListPullTimeUpdateExclusions</code> request with the returned <code>nextToken</code> value.
3128
+ * This value can be between 1 and 1000. If this parameter is
3129
+ * not used, then <code>ListPullTimeUpdateExclusions</code> returns up to 100 results and a
3130
+ * <code>nextToken</code> value, if applicable.</p>
3131
+ * @public
3132
+ */
3133
+ maxResults?: number | undefined;
3134
+ /**
3135
+ * <p>The <code>nextToken</code> value returned from a previous paginated
3136
+ * <code>ListPullTimeUpdateExclusions</code> request where <code>maxResults</code> was used and the
3137
+ * results exceeded the value of that parameter. Pagination continues from the end of the
3138
+ * previous results that returned the <code>nextToken</code> value. This value is
3139
+ * <code>null</code> when there are no more results to return.</p>
3140
+ * <note>
3141
+ * <p>This token should be treated as an opaque identifier that is only used to
3142
+ * retrieve the next items in a list and not for other programmatic purposes.</p>
3143
+ * </note>
3144
+ * @public
3145
+ */
3146
+ nextToken?: string | undefined;
3147
+ }
3148
+ /**
3149
+ * @public
3150
+ */
3151
+ export interface ListPullTimeUpdateExclusionsResponse {
3152
+ /**
3153
+ * <p>The list of IAM principal ARNs that are excluded from having their image pull times recorded.</p>
3154
+ * @public
3155
+ */
3156
+ pullTimeUpdateExclusions?: string[] | undefined;
3157
+ /**
3158
+ * <p>The <code>nextToken</code> value to include in a future <code>ListPullTimeUpdateExclusions</code>
3159
+ * request. When the results of a <code>ListPullTimeUpdateExclusions</code> request exceed
3160
+ * <code>maxResults</code>, this value can be used to retrieve the next page of
3161
+ * results. This value is <code>null</code> when there are no more results to
3162
+ * return.</p>
3163
+ * @public
3164
+ */
3165
+ nextToken?: string | undefined;
3166
+ }
3574
3167
  /**
3575
3168
  * @public
3576
3169
  */
@@ -3626,45 +3219,6 @@ export interface PutAccountSettingResponse {
3626
3219
  */
3627
3220
  value?: string | undefined;
3628
3221
  }
3629
- /**
3630
- * <p>The specified image has already been pushed, and there were no changes to the manifest
3631
- * or image tag after the last push.</p>
3632
- * @public
3633
- */
3634
- export declare class ImageAlreadyExistsException extends __BaseException {
3635
- readonly name: "ImageAlreadyExistsException";
3636
- readonly $fault: "client";
3637
- /**
3638
- * @internal
3639
- */
3640
- constructor(opts: __ExceptionOptionType<ImageAlreadyExistsException, __BaseException>);
3641
- }
3642
- /**
3643
- * <p>The specified image digest does not match the digest that Amazon ECR calculated for the
3644
- * image.</p>
3645
- * @public
3646
- */
3647
- export declare class ImageDigestDoesNotMatchException extends __BaseException {
3648
- readonly name: "ImageDigestDoesNotMatchException";
3649
- readonly $fault: "client";
3650
- /**
3651
- * @internal
3652
- */
3653
- constructor(opts: __ExceptionOptionType<ImageDigestDoesNotMatchException, __BaseException>);
3654
- }
3655
- /**
3656
- * <p>The specified image is tagged with a tag that already exists. The repository is
3657
- * configured for tag immutability.</p>
3658
- * @public
3659
- */
3660
- export declare class ImageTagAlreadyExistsException extends __BaseException {
3661
- readonly name: "ImageTagAlreadyExistsException";
3662
- readonly $fault: "client";
3663
- /**
3664
- * @internal
3665
- */
3666
- constructor(opts: __ExceptionOptionType<ImageTagAlreadyExistsException, __BaseException>);
3667
- }
3668
3222
  /**
3669
3223
  * @public
3670
3224
  */
@@ -3693,8 +3247,7 @@ export interface PutImageRequest {
3693
3247
  */
3694
3248
  imageManifestMediaType?: string | undefined;
3695
3249
  /**
3696
- * <p>The tag to associate with the image. This parameter is required for images that use
3697
- * the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.</p>
3250
+ * <p>The tag to associate with the image. This parameter is optional.</p>
3698
3251
  * @public
3699
3252
  */
3700
3253
  imageTag?: string | undefined;
@@ -3714,18 +3267,6 @@ export interface PutImageResponse {
3714
3267
  */
3715
3268
  image?: Image | undefined;
3716
3269
  }
3717
- /**
3718
- * <p>The manifest list is referencing an image that does not exist.</p>
3719
- * @public
3720
- */
3721
- export declare class ReferencedImagesNotFoundException extends __BaseException {
3722
- readonly name: "ReferencedImagesNotFoundException";
3723
- readonly $fault: "client";
3724
- /**
3725
- * @internal
3726
- */
3727
- constructor(opts: __ExceptionOptionType<ReferencedImagesNotFoundException, __BaseException>);
3728
- }
3729
3270
  /**
3730
3271
  * @public
3731
3272
  */
@@ -3796,7 +3337,8 @@ export interface PutImageTagMutabilityRequest {
3796
3337
  */
3797
3338
  imageTagMutability: ImageTagMutability | undefined;
3798
3339
  /**
3799
- * <p>Creates or updates a repository with filters that define which image tags can override the default image tag mutability setting.</p>
3340
+ * <p>A list of filters that specify which image tags should be excluded from the image tag
3341
+ * mutability setting being applied.</p>
3800
3342
  * @public
3801
3343
  */
3802
3344
  imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
@@ -3821,7 +3363,8 @@ export interface PutImageTagMutabilityResponse {
3821
3363
  */
3822
3364
  imageTagMutability?: ImageTagMutability | undefined;
3823
3365
  /**
3824
- * <p>Returns a list of filters that were defined for a repository. These filters determine which image tags can override the default image tag mutability setting of the repository.</p>
3366
+ * <p>The list of filters that specify which image tags are excluded from the repository's
3367
+ * image tag mutability setting.</p>
3825
3368
  * @public
3826
3369
  */
3827
3370
  imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
@@ -3950,6 +3493,31 @@ export interface PutReplicationConfigurationResponse {
3950
3493
  */
3951
3494
  replicationConfiguration?: ReplicationConfiguration | undefined;
3952
3495
  }
3496
+ /**
3497
+ * @public
3498
+ */
3499
+ export interface RegisterPullTimeUpdateExclusionRequest {
3500
+ /**
3501
+ * <p>The ARN of the IAM principal to exclude from having image pull times recorded.</p>
3502
+ * @public
3503
+ */
3504
+ principalArn: string | undefined;
3505
+ }
3506
+ /**
3507
+ * @public
3508
+ */
3509
+ export interface RegisterPullTimeUpdateExclusionResponse {
3510
+ /**
3511
+ * <p>The ARN of the IAM principal that was added to the pull time update exclusion list.</p>
3512
+ * @public
3513
+ */
3514
+ principalArn?: string | undefined;
3515
+ /**
3516
+ * <p>The date and time, expressed in standard JavaScript date format, when the exclusion was created.</p>
3517
+ * @public
3518
+ */
3519
+ createdAt?: Date | undefined;
3520
+ }
3953
3521
  /**
3954
3522
  * @public
3955
3523
  */
@@ -4046,31 +3614,6 @@ export interface StartImageScanResponse {
4046
3614
  */
4047
3615
  imageScanStatus?: ImageScanStatus | undefined;
4048
3616
  }
4049
- /**
4050
- * <p>The image is of a type that cannot be scanned.</p>
4051
- * @public
4052
- */
4053
- export declare class UnsupportedImageTypeException extends __BaseException {
4054
- readonly name: "UnsupportedImageTypeException";
4055
- readonly $fault: "client";
4056
- /**
4057
- * @internal
4058
- */
4059
- constructor(opts: __ExceptionOptionType<UnsupportedImageTypeException, __BaseException>);
4060
- }
4061
- /**
4062
- * <p>The previous lifecycle policy preview request has not completed. Wait and try
4063
- * again.</p>
4064
- * @public
4065
- */
4066
- export declare class LifecyclePolicyPreviewInProgressException extends __BaseException {
4067
- readonly name: "LifecyclePolicyPreviewInProgressException";
4068
- readonly $fault: "client";
4069
- /**
4070
- * @internal
4071
- */
4072
- constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewInProgressException, __BaseException>);
4073
- }
4074
3617
  /**
4075
3618
  * @public
4076
3619
  */
@@ -4162,6 +3705,56 @@ export interface UntagResourceRequest {
4162
3705
  */
4163
3706
  export interface UntagResourceResponse {
4164
3707
  }
3708
+ /**
3709
+ * @public
3710
+ */
3711
+ export interface UpdateImageStorageClassRequest {
3712
+ /**
3713
+ * <p>The Amazon Web Services account ID associated with the registry that contains the image to transition. If you do not specify a registry, the default registry is assumed.</p>
3714
+ * @public
3715
+ */
3716
+ registryId?: string | undefined;
3717
+ /**
3718
+ * <p>The name of the repository that contains the image to transition.</p>
3719
+ * @public
3720
+ */
3721
+ repositoryName: string | undefined;
3722
+ /**
3723
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
3724
+ * @public
3725
+ */
3726
+ imageId: ImageIdentifier | undefined;
3727
+ /**
3728
+ * <p>The target storage class for the image.</p>
3729
+ * @public
3730
+ */
3731
+ targetStorageClass: TargetStorageClass | undefined;
3732
+ }
3733
+ /**
3734
+ * @public
3735
+ */
3736
+ export interface UpdateImageStorageClassResponse {
3737
+ /**
3738
+ * <p>The registry ID associated with the request.</p>
3739
+ * @public
3740
+ */
3741
+ registryId?: string | undefined;
3742
+ /**
3743
+ * <p>The repository name associated with the request.</p>
3744
+ * @public
3745
+ */
3746
+ repositoryName?: string | undefined;
3747
+ /**
3748
+ * <p>An object with identifying information for an image in an Amazon ECR repository.</p>
3749
+ * @public
3750
+ */
3751
+ imageId?: ImageIdentifier | undefined;
3752
+ /**
3753
+ * <p>The current status of the image after the call to UpdateImageStorageClass is complete. Valid values are <code>ACTIVE</code>, <code>ARCHIVED</code>, and <code>ACTIVATING</code>.</p>
3754
+ * @public
3755
+ */
3756
+ imageStatus?: ImageStatus | undefined;
3757
+ }
4165
3758
  /**
4166
3759
  * @public
4167
3760
  */
@@ -4184,9 +3777,9 @@ export interface UpdatePullThroughCacheRuleRequest {
4184
3777
  */
4185
3778
  credentialArn?: string | undefined;
4186
3779
  /**
4187
- * <p>Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the
4188
- * ECR upstream registry. This role must be in the same account as the registry that you
4189
- * are configuring.</p>
3780
+ * <p>Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to
3781
+ * the ECR upstream registry. This role must be in the same account as the registry that
3782
+ * you are configuring.</p>
4190
3783
  * @public
4191
3784
  */
4192
3785
  customRoleArn?: string | undefined;
@@ -4271,7 +3864,8 @@ export interface UpdateRepositoryCreationTemplateRequest {
4271
3864
  */
4272
3865
  imageTagMutability?: ImageTagMutability | undefined;
4273
3866
  /**
4274
- * <p>Updates a repository with filters that define which image tags can override the default image tag mutability setting.</p>
3867
+ * <p>A list of filters that specify which image tags should be excluded from the repository
3868
+ * creation template's image tag mutability setting.</p>
4275
3869
  * @public
4276
3870
  */
4277
3871
  imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
@@ -4319,40 +3913,6 @@ export interface UpdateRepositoryCreationTemplateResponse {
4319
3913
  */
4320
3914
  repositoryCreationTemplate?: RepositoryCreationTemplate | undefined;
4321
3915
  }
4322
- /**
4323
- * <p>The layer part size is not valid, or the first byte specified is not consecutive to
4324
- * the last byte of a previous layer part upload.</p>
4325
- * @public
4326
- */
4327
- export declare class InvalidLayerPartException extends __BaseException {
4328
- readonly name: "InvalidLayerPartException";
4329
- readonly $fault: "client";
4330
- /**
4331
- * <p>The registry ID associated with the exception.</p>
4332
- * @public
4333
- */
4334
- registryId?: string | undefined;
4335
- /**
4336
- * <p>The repository name associated with the exception.</p>
4337
- * @public
4338
- */
4339
- repositoryName?: string | undefined;
4340
- /**
4341
- * <p>The upload ID associated with the exception.</p>
4342
- * @public
4343
- */
4344
- uploadId?: string | undefined;
4345
- /**
4346
- * <p>The last valid byte received from the layer part upload that is associated with the
4347
- * exception.</p>
4348
- * @public
4349
- */
4350
- lastValidByteReceived?: number | undefined;
4351
- /**
4352
- * @internal
4353
- */
4354
- constructor(opts: __ExceptionOptionType<InvalidLayerPartException, __BaseException>);
4355
- }
4356
3916
  /**
4357
3917
  * @public
4358
3918
  */