@aws-sdk/client-ecr 3.1026.0 → 3.1028.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvalidLayerPartException = exports.ImageStorageClassUpdateNotSupportedException = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.ImageArchivedException = exports.ExclusionAlreadyExistsException = exports.BlockedByOrganizationPolicyException = exports.ReferencedImagesNotFoundException = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.LifecyclePolicyPreviewNotFoundException = exports.UnableToGetUpstreamLayerException = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.ScanNotFoundException = exports.ImageNotFoundException = exports.ExclusionNotFoundException = exports.SigningConfigurationNotFoundException = exports.RepositoryPolicyNotFoundException = exports.TemplateNotFoundException = exports.RepositoryNotEmptyException = exports.RegistryPolicyNotFoundException = exports.PullThroughCacheRuleNotFoundException = exports.LifecyclePolicyNotFoundException = exports.TemplateAlreadyExistsException = exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.InvalidTagParameterException = exports.UnsupportedUpstreamRegistryException = exports.UnableToDecryptSecretValueException = exports.UnableToAccessSecretException = exports.SecretNotFoundException = exports.PullThroughCacheRuleAlreadyExistsException = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.ValidationException = exports.UnableToGetUpstreamImageException = exports.LimitExceededException = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = void 0;
3
+ exports.InvalidLayerPartException = exports.ImageStorageClassUpdateNotSupportedException = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.ImageArchivedException = exports.ExclusionAlreadyExistsException = exports.BlockedByOrganizationPolicyException = exports.ReferencedImagesNotFoundException = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.UnableToListUpstreamImageReferrersException = exports.LifecyclePolicyPreviewNotFoundException = exports.UnableToGetUpstreamLayerException = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.ScanNotFoundException = exports.ImageNotFoundException = exports.ExclusionNotFoundException = exports.SigningConfigurationNotFoundException = exports.RepositoryPolicyNotFoundException = exports.TemplateNotFoundException = exports.RepositoryNotEmptyException = exports.RegistryPolicyNotFoundException = exports.PullThroughCacheRuleNotFoundException = exports.LifecyclePolicyNotFoundException = exports.TemplateAlreadyExistsException = exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.InvalidTagParameterException = exports.UnsupportedUpstreamRegistryException = exports.UnableToDecryptSecretValueException = exports.UnableToAccessSecretException = exports.SecretNotFoundException = exports.PullThroughCacheRuleAlreadyExistsException = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.ValidationException = exports.UnableToGetUpstreamImageException = exports.LimitExceededException = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = void 0;
4
4
  const ECRServiceException_1 = require("./ECRServiceException");
5
5
  class InvalidParameterException extends ECRServiceException_1.ECRServiceException {
6
6
  name = "InvalidParameterException";
@@ -459,6 +459,19 @@ class LifecyclePolicyPreviewNotFoundException extends ECRServiceException_1.ECRS
459
459
  }
460
460
  }
461
461
  exports.LifecyclePolicyPreviewNotFoundException = LifecyclePolicyPreviewNotFoundException;
462
+ class UnableToListUpstreamImageReferrersException extends ECRServiceException_1.ECRServiceException {
463
+ name = "UnableToListUpstreamImageReferrersException";
464
+ $fault = "client";
465
+ constructor(opts) {
466
+ super({
467
+ name: "UnableToListUpstreamImageReferrersException",
468
+ $fault: "client",
469
+ ...opts,
470
+ });
471
+ Object.setPrototypeOf(this, UnableToListUpstreamImageReferrersException.prototype);
472
+ }
473
+ }
474
+ exports.UnableToListUpstreamImageReferrersException = UnableToListUpstreamImageReferrersException;
462
475
  class ImageAlreadyExistsException extends ECRServiceException_1.ECRServiceException {
463
476
  name = "ImageAlreadyExistsException";
464
477
  $fault = "client";
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthorizationData$ = exports.Attribute$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UploadNotFoundException$ = exports.UnsupportedUpstreamRegistryException$ = exports.UnsupportedImageTypeException$ = exports.UnableToGetUpstreamLayerException$ = exports.UnableToGetUpstreamImageException$ = exports.UnableToDecryptSecretValueException$ = exports.UnableToAccessSecretException$ = exports.TooManyTagsException$ = exports.TemplateNotFoundException$ = exports.TemplateAlreadyExistsException$ = exports.SigningConfigurationNotFoundException$ = exports.ServerException$ = exports.SecretNotFoundException$ = exports.ScanNotFoundException$ = exports.RepositoryPolicyNotFoundException$ = exports.RepositoryNotFoundException$ = exports.RepositoryNotEmptyException$ = exports.RepositoryAlreadyExistsException$ = exports.RegistryPolicyNotFoundException$ = exports.ReferencedImagesNotFoundException$ = exports.PullThroughCacheRuleNotFoundException$ = exports.PullThroughCacheRuleAlreadyExistsException$ = exports.LimitExceededException$ = exports.LifecyclePolicyPreviewNotFoundException$ = exports.LifecyclePolicyPreviewInProgressException$ = exports.LifecyclePolicyNotFoundException$ = exports.LayersNotFoundException$ = exports.LayerPartTooSmallException$ = exports.LayerInaccessibleException$ = exports.LayerAlreadyExistsException$ = exports.KmsException$ = exports.InvalidTagParameterException$ = exports.InvalidParameterException$ = exports.InvalidLayerPartException$ = exports.InvalidLayerException$ = exports.ImageTagAlreadyExistsException$ = exports.ImageStorageClassUpdateNotSupportedException$ = exports.ImageNotFoundException$ = exports.ImageDigestDoesNotMatchException$ = exports.ImageArchivedException$ = exports.ImageAlreadyExistsException$ = exports.ExclusionNotFoundException$ = exports.ExclusionAlreadyExistsException$ = exports.EmptyUploadException$ = exports.BlockedByOrganizationPolicyException$ = exports.ECRServiceException$ = void 0;
4
- exports.DescribeRepositoriesRequest$ = exports.DescribeRegistryResponse$ = exports.DescribeRegistryRequest$ = exports.DescribePullThroughCacheRulesResponse$ = exports.DescribePullThroughCacheRulesRequest$ = exports.DescribeImagesResponse$ = exports.DescribeImagesRequest$ = exports.DescribeImageSigningStatusResponse$ = exports.DescribeImageSigningStatusRequest$ = exports.DescribeImagesFilter$ = exports.DescribeImageScanFindingsResponse$ = exports.DescribeImageScanFindingsRequest$ = exports.DescribeImageReplicationStatusResponse$ = exports.DescribeImageReplicationStatusRequest$ = exports.DeregisterPullTimeUpdateExclusionResponse$ = exports.DeregisterPullTimeUpdateExclusionRequest$ = exports.DeleteSigningConfigurationResponse$ = exports.DeleteSigningConfigurationRequest$ = exports.DeleteRepositoryResponse$ = exports.DeleteRepositoryRequest$ = exports.DeleteRepositoryPolicyResponse$ = exports.DeleteRepositoryPolicyRequest$ = exports.DeleteRepositoryCreationTemplateResponse$ = exports.DeleteRepositoryCreationTemplateRequest$ = exports.DeleteRegistryPolicyResponse$ = exports.DeleteRegistryPolicyRequest$ = exports.DeletePullThroughCacheRuleResponse$ = exports.DeletePullThroughCacheRuleRequest$ = exports.DeleteLifecyclePolicyResponse$ = exports.DeleteLifecyclePolicyRequest$ = exports.CvssScoreDetails$ = exports.CvssScoreAdjustment$ = exports.CvssScore$ = exports.CreateRepositoryResponse$ = exports.CreateRepositoryRequest$ = exports.CreateRepositoryCreationTemplateResponse$ = exports.CreateRepositoryCreationTemplateRequest$ = exports.CreatePullThroughCacheRuleResponse$ = exports.CreatePullThroughCacheRuleRequest$ = exports.CompleteLayerUploadResponse$ = exports.CompleteLayerUploadRequest$ = exports.BatchGetRepositoryScanningConfigurationResponse$ = exports.BatchGetRepositoryScanningConfigurationRequest$ = exports.BatchGetImageResponse$ = exports.BatchGetImageRequest$ = exports.BatchDeleteImageResponse$ = exports.BatchDeleteImageRequest$ = exports.BatchCheckLayerAvailabilityResponse$ = exports.BatchCheckLayerAvailabilityRequest$ = exports.AwsEcrContainerImageDetails$ = void 0;
5
- exports.ListImagesRequest$ = exports.ListImagesFilter$ = exports.ListImageReferrersResponse$ = exports.ListImageReferrersRequest$ = exports.ListImageReferrersFilter$ = exports.LifecyclePolicyRuleAction$ = exports.LifecyclePolicyPreviewSummary$ = exports.LifecyclePolicyPreviewResult$ = exports.LifecyclePolicyPreviewFilter$ = exports.LayerFailure$ = exports.Layer$ = exports.InitiateLayerUploadResponse$ = exports.InitiateLayerUploadRequest$ = exports.ImageTagMutabilityExclusionFilter$ = exports.ImageSigningStatus$ = exports.ImageScanStatus$ = exports.ImageScanningConfiguration$ = exports.ImageScanFindingsSummary$ = exports.ImageScanFindings$ = exports.ImageScanFinding$ = exports.ImageReplicationStatus$ = exports.ImageReferrer$ = exports.ImageIdentifier$ = exports.ImageFailure$ = exports.ImageDetail$ = exports.Image$ = exports.GetSigningConfigurationResponse$ = exports.GetSigningConfigurationRequest$ = exports.GetRepositoryPolicyResponse$ = exports.GetRepositoryPolicyRequest$ = exports.GetRegistryScanningConfigurationResponse$ = exports.GetRegistryScanningConfigurationRequest$ = exports.GetRegistryPolicyResponse$ = exports.GetRegistryPolicyRequest$ = exports.GetLifecyclePolicyResponse$ = exports.GetLifecyclePolicyRequest$ = exports.GetLifecyclePolicyPreviewResponse$ = exports.GetLifecyclePolicyPreviewRequest$ = exports.GetDownloadUrlForLayerResponse$ = exports.GetDownloadUrlForLayerRequest$ = exports.GetAuthorizationTokenResponse$ = exports.GetAuthorizationTokenRequest$ = exports.GetAccountSettingResponse$ = exports.GetAccountSettingRequest$ = exports.EnhancedImageScanFinding$ = exports.EncryptionConfigurationForRepositoryCreationTemplate$ = exports.EncryptionConfiguration$ = exports.DescribeRepositoryCreationTemplatesResponse$ = exports.DescribeRepositoryCreationTemplatesRequest$ = exports.DescribeRepositoriesResponse$ = void 0;
6
- exports.StartImageScanResponse$ = exports.StartImageScanRequest$ = exports.SigningRule$ = exports.SigningRepositoryFilter$ = exports.SigningConfiguration$ = exports.SetRepositoryPolicyResponse$ = exports.SetRepositoryPolicyRequest$ = exports.ScoreDetails$ = exports.ScanningRepositoryFilter$ = exports.ResourceDetails$ = exports.Resource$ = exports.RepositoryScanningConfigurationFailure$ = exports.RepositoryScanningConfiguration$ = exports.RepositoryFilter$ = exports.RepositoryCreationTemplate$ = exports.Repository$ = exports.ReplicationRule$ = exports.ReplicationDestination$ = exports.ReplicationConfiguration$ = exports.Remediation$ = exports.RegistryScanningRule$ = exports.RegistryScanningConfiguration$ = exports.RegisterPullTimeUpdateExclusionResponse$ = exports.RegisterPullTimeUpdateExclusionRequest$ = exports.Recommendation$ = exports.PutSigningConfigurationResponse$ = exports.PutSigningConfigurationRequest$ = exports.PutReplicationConfigurationResponse$ = exports.PutReplicationConfigurationRequest$ = exports.PutRegistryScanningConfigurationResponse$ = exports.PutRegistryScanningConfigurationRequest$ = exports.PutRegistryPolicyResponse$ = exports.PutRegistryPolicyRequest$ = exports.PutLifecyclePolicyResponse$ = exports.PutLifecyclePolicyRequest$ = exports.PutImageTagMutabilityResponse$ = exports.PutImageTagMutabilityRequest$ = exports.PutImageScanningConfigurationResponse$ = exports.PutImageScanningConfigurationRequest$ = exports.PutImageResponse$ = exports.PutImageRequest$ = exports.PutAccountSettingResponse$ = exports.PutAccountSettingRequest$ = exports.PullThroughCacheRule$ = exports.PackageVulnerabilityDetails$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPullTimeUpdateExclusionsResponse$ = exports.ListPullTimeUpdateExclusionsRequest$ = exports.ListImagesResponse$ = void 0;
7
- exports.GetRegistryPolicy$ = exports.GetLifecyclePolicyPreview$ = exports.GetLifecyclePolicy$ = exports.GetDownloadUrlForLayer$ = exports.GetAuthorizationToken$ = exports.GetAccountSetting$ = exports.DescribeRepositoryCreationTemplates$ = exports.DescribeRepositories$ = exports.DescribeRegistry$ = exports.DescribePullThroughCacheRules$ = exports.DescribeImageSigningStatus$ = exports.DescribeImageScanFindings$ = exports.DescribeImages$ = exports.DescribeImageReplicationStatus$ = exports.DeregisterPullTimeUpdateExclusion$ = exports.DeleteSigningConfiguration$ = exports.DeleteRepositoryPolicy$ = exports.DeleteRepositoryCreationTemplate$ = exports.DeleteRepository$ = exports.DeleteRegistryPolicy$ = exports.DeletePullThroughCacheRule$ = exports.DeleteLifecyclePolicy$ = exports.CreateRepositoryCreationTemplate$ = exports.CreateRepository$ = exports.CreatePullThroughCacheRule$ = exports.CompleteLayerUpload$ = exports.BatchGetRepositoryScanningConfiguration$ = exports.BatchGetImage$ = exports.BatchDeleteImage$ = exports.BatchCheckLayerAvailability$ = exports.VulnerablePackage$ = exports.ValidatePullThroughCacheRuleResponse$ = exports.ValidatePullThroughCacheRuleRequest$ = exports.UploadLayerPartResponse$ = exports.UploadLayerPartRequest$ = exports.UpdateRepositoryCreationTemplateResponse$ = exports.UpdateRepositoryCreationTemplateRequest$ = exports.UpdatePullThroughCacheRuleResponse$ = exports.UpdatePullThroughCacheRuleRequest$ = exports.UpdateImageStorageClassResponse$ = exports.UpdateImageStorageClassRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TransitioningImageTotalCount$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.SubjectIdentifier$ = exports.StartLifecyclePolicyPreviewResponse$ = exports.StartLifecyclePolicyPreviewRequest$ = void 0;
8
- exports.ValidatePullThroughCacheRule$ = exports.UploadLayerPart$ = exports.UpdateRepositoryCreationTemplate$ = exports.UpdatePullThroughCacheRule$ = exports.UpdateImageStorageClass$ = exports.UntagResource$ = exports.TagResource$ = exports.StartLifecyclePolicyPreview$ = exports.StartImageScan$ = exports.SetRepositoryPolicy$ = exports.RegisterPullTimeUpdateExclusion$ = exports.PutSigningConfiguration$ = exports.PutReplicationConfiguration$ = exports.PutRegistryScanningConfiguration$ = exports.PutRegistryPolicy$ = exports.PutLifecyclePolicy$ = exports.PutImageTagMutability$ = exports.PutImageScanningConfiguration$ = exports.PutImage$ = exports.PutAccountSetting$ = exports.ListTagsForResource$ = exports.ListPullTimeUpdateExclusions$ = exports.ListImages$ = exports.ListImageReferrers$ = exports.InitiateLayerUpload$ = exports.GetSigningConfiguration$ = exports.GetRepositoryPolicy$ = exports.GetRegistryScanningConfiguration$ = void 0;
3
+ exports.Attribute$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UploadNotFoundException$ = exports.UnsupportedUpstreamRegistryException$ = exports.UnsupportedImageTypeException$ = exports.UnableToListUpstreamImageReferrersException$ = exports.UnableToGetUpstreamLayerException$ = exports.UnableToGetUpstreamImageException$ = exports.UnableToDecryptSecretValueException$ = exports.UnableToAccessSecretException$ = exports.TooManyTagsException$ = exports.TemplateNotFoundException$ = exports.TemplateAlreadyExistsException$ = exports.SigningConfigurationNotFoundException$ = exports.ServerException$ = exports.SecretNotFoundException$ = exports.ScanNotFoundException$ = exports.RepositoryPolicyNotFoundException$ = exports.RepositoryNotFoundException$ = exports.RepositoryNotEmptyException$ = exports.RepositoryAlreadyExistsException$ = exports.RegistryPolicyNotFoundException$ = exports.ReferencedImagesNotFoundException$ = exports.PullThroughCacheRuleNotFoundException$ = exports.PullThroughCacheRuleAlreadyExistsException$ = exports.LimitExceededException$ = exports.LifecyclePolicyPreviewNotFoundException$ = exports.LifecyclePolicyPreviewInProgressException$ = exports.LifecyclePolicyNotFoundException$ = exports.LayersNotFoundException$ = exports.LayerPartTooSmallException$ = exports.LayerInaccessibleException$ = exports.LayerAlreadyExistsException$ = exports.KmsException$ = exports.InvalidTagParameterException$ = exports.InvalidParameterException$ = exports.InvalidLayerPartException$ = exports.InvalidLayerException$ = exports.ImageTagAlreadyExistsException$ = exports.ImageStorageClassUpdateNotSupportedException$ = exports.ImageNotFoundException$ = exports.ImageDigestDoesNotMatchException$ = exports.ImageArchivedException$ = exports.ImageAlreadyExistsException$ = exports.ExclusionNotFoundException$ = exports.ExclusionAlreadyExistsException$ = exports.EmptyUploadException$ = exports.BlockedByOrganizationPolicyException$ = exports.ECRServiceException$ = void 0;
4
+ exports.DescribeRegistryResponse$ = exports.DescribeRegistryRequest$ = exports.DescribePullThroughCacheRulesResponse$ = exports.DescribePullThroughCacheRulesRequest$ = exports.DescribeImagesResponse$ = exports.DescribeImagesRequest$ = exports.DescribeImageSigningStatusResponse$ = exports.DescribeImageSigningStatusRequest$ = exports.DescribeImagesFilter$ = exports.DescribeImageScanFindingsResponse$ = exports.DescribeImageScanFindingsRequest$ = exports.DescribeImageReplicationStatusResponse$ = exports.DescribeImageReplicationStatusRequest$ = exports.DeregisterPullTimeUpdateExclusionResponse$ = exports.DeregisterPullTimeUpdateExclusionRequest$ = exports.DeleteSigningConfigurationResponse$ = exports.DeleteSigningConfigurationRequest$ = exports.DeleteRepositoryResponse$ = exports.DeleteRepositoryRequest$ = exports.DeleteRepositoryPolicyResponse$ = exports.DeleteRepositoryPolicyRequest$ = exports.DeleteRepositoryCreationTemplateResponse$ = exports.DeleteRepositoryCreationTemplateRequest$ = exports.DeleteRegistryPolicyResponse$ = exports.DeleteRegistryPolicyRequest$ = exports.DeletePullThroughCacheRuleResponse$ = exports.DeletePullThroughCacheRuleRequest$ = exports.DeleteLifecyclePolicyResponse$ = exports.DeleteLifecyclePolicyRequest$ = exports.CvssScoreDetails$ = exports.CvssScoreAdjustment$ = exports.CvssScore$ = exports.CreateRepositoryResponse$ = exports.CreateRepositoryRequest$ = exports.CreateRepositoryCreationTemplateResponse$ = exports.CreateRepositoryCreationTemplateRequest$ = exports.CreatePullThroughCacheRuleResponse$ = exports.CreatePullThroughCacheRuleRequest$ = exports.CompleteLayerUploadResponse$ = exports.CompleteLayerUploadRequest$ = exports.BatchGetRepositoryScanningConfigurationResponse$ = exports.BatchGetRepositoryScanningConfigurationRequest$ = exports.BatchGetImageResponse$ = exports.BatchGetImageRequest$ = exports.BatchDeleteImageResponse$ = exports.BatchDeleteImageRequest$ = exports.BatchCheckLayerAvailabilityResponse$ = exports.BatchCheckLayerAvailabilityRequest$ = exports.AwsEcrContainerImageDetails$ = exports.AuthorizationData$ = void 0;
5
+ exports.ListImagesFilter$ = exports.ListImageReferrersResponse$ = exports.ListImageReferrersRequest$ = exports.ListImageReferrersFilter$ = exports.LifecyclePolicyRuleAction$ = exports.LifecyclePolicyPreviewSummary$ = exports.LifecyclePolicyPreviewResult$ = exports.LifecyclePolicyPreviewFilter$ = exports.LayerFailure$ = exports.Layer$ = exports.InitiateLayerUploadResponse$ = exports.InitiateLayerUploadRequest$ = exports.ImageTagMutabilityExclusionFilter$ = exports.ImageSigningStatus$ = exports.ImageScanStatus$ = exports.ImageScanningConfiguration$ = exports.ImageScanFindingsSummary$ = exports.ImageScanFindings$ = exports.ImageScanFinding$ = exports.ImageReplicationStatus$ = exports.ImageReferrer$ = exports.ImageIdentifier$ = exports.ImageFailure$ = exports.ImageDetail$ = exports.Image$ = exports.GetSigningConfigurationResponse$ = exports.GetSigningConfigurationRequest$ = exports.GetRepositoryPolicyResponse$ = exports.GetRepositoryPolicyRequest$ = exports.GetRegistryScanningConfigurationResponse$ = exports.GetRegistryScanningConfigurationRequest$ = exports.GetRegistryPolicyResponse$ = exports.GetRegistryPolicyRequest$ = exports.GetLifecyclePolicyResponse$ = exports.GetLifecyclePolicyRequest$ = exports.GetLifecyclePolicyPreviewResponse$ = exports.GetLifecyclePolicyPreviewRequest$ = exports.GetDownloadUrlForLayerResponse$ = exports.GetDownloadUrlForLayerRequest$ = exports.GetAuthorizationTokenResponse$ = exports.GetAuthorizationTokenRequest$ = exports.GetAccountSettingResponse$ = exports.GetAccountSettingRequest$ = exports.EnhancedImageScanFinding$ = exports.EncryptionConfigurationForRepositoryCreationTemplate$ = exports.EncryptionConfiguration$ = exports.DescribeRepositoryCreationTemplatesResponse$ = exports.DescribeRepositoryCreationTemplatesRequest$ = exports.DescribeRepositoriesResponse$ = exports.DescribeRepositoriesRequest$ = void 0;
6
+ exports.StartImageScanRequest$ = exports.SigningRule$ = exports.SigningRepositoryFilter$ = exports.SigningConfiguration$ = exports.SetRepositoryPolicyResponse$ = exports.SetRepositoryPolicyRequest$ = exports.ScoreDetails$ = exports.ScanningRepositoryFilter$ = exports.ResourceDetails$ = exports.Resource$ = exports.RepositoryScanningConfigurationFailure$ = exports.RepositoryScanningConfiguration$ = exports.RepositoryFilter$ = exports.RepositoryCreationTemplate$ = exports.Repository$ = exports.ReplicationRule$ = exports.ReplicationDestination$ = exports.ReplicationConfiguration$ = exports.Remediation$ = exports.RegistryScanningRule$ = exports.RegistryScanningConfiguration$ = exports.RegisterPullTimeUpdateExclusionResponse$ = exports.RegisterPullTimeUpdateExclusionRequest$ = exports.Recommendation$ = exports.PutSigningConfigurationResponse$ = exports.PutSigningConfigurationRequest$ = exports.PutReplicationConfigurationResponse$ = exports.PutReplicationConfigurationRequest$ = exports.PutRegistryScanningConfigurationResponse$ = exports.PutRegistryScanningConfigurationRequest$ = exports.PutRegistryPolicyResponse$ = exports.PutRegistryPolicyRequest$ = exports.PutLifecyclePolicyResponse$ = exports.PutLifecyclePolicyRequest$ = exports.PutImageTagMutabilityResponse$ = exports.PutImageTagMutabilityRequest$ = exports.PutImageScanningConfigurationResponse$ = exports.PutImageScanningConfigurationRequest$ = exports.PutImageResponse$ = exports.PutImageRequest$ = exports.PutAccountSettingResponse$ = exports.PutAccountSettingRequest$ = exports.PullThroughCacheRule$ = exports.PackageVulnerabilityDetails$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPullTimeUpdateExclusionsResponse$ = exports.ListPullTimeUpdateExclusionsRequest$ = exports.ListImagesResponse$ = exports.ListImagesRequest$ = void 0;
7
+ exports.GetLifecyclePolicyPreview$ = exports.GetLifecyclePolicy$ = exports.GetDownloadUrlForLayer$ = exports.GetAuthorizationToken$ = exports.GetAccountSetting$ = exports.DescribeRepositoryCreationTemplates$ = exports.DescribeRepositories$ = exports.DescribeRegistry$ = exports.DescribePullThroughCacheRules$ = exports.DescribeImageSigningStatus$ = exports.DescribeImageScanFindings$ = exports.DescribeImages$ = exports.DescribeImageReplicationStatus$ = exports.DeregisterPullTimeUpdateExclusion$ = exports.DeleteSigningConfiguration$ = exports.DeleteRepositoryPolicy$ = exports.DeleteRepositoryCreationTemplate$ = exports.DeleteRepository$ = exports.DeleteRegistryPolicy$ = exports.DeletePullThroughCacheRule$ = exports.DeleteLifecyclePolicy$ = exports.CreateRepositoryCreationTemplate$ = exports.CreateRepository$ = exports.CreatePullThroughCacheRule$ = exports.CompleteLayerUpload$ = exports.BatchGetRepositoryScanningConfiguration$ = exports.BatchGetImage$ = exports.BatchDeleteImage$ = exports.BatchCheckLayerAvailability$ = exports.VulnerablePackage$ = exports.ValidatePullThroughCacheRuleResponse$ = exports.ValidatePullThroughCacheRuleRequest$ = exports.UploadLayerPartResponse$ = exports.UploadLayerPartRequest$ = exports.UpdateRepositoryCreationTemplateResponse$ = exports.UpdateRepositoryCreationTemplateRequest$ = exports.UpdatePullThroughCacheRuleResponse$ = exports.UpdatePullThroughCacheRuleRequest$ = exports.UpdateImageStorageClassResponse$ = exports.UpdateImageStorageClassRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TransitioningImageTotalCount$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.SubjectIdentifier$ = exports.StartLifecyclePolicyPreviewResponse$ = exports.StartLifecyclePolicyPreviewRequest$ = exports.StartImageScanResponse$ = void 0;
8
+ exports.ValidatePullThroughCacheRule$ = exports.UploadLayerPart$ = exports.UpdateRepositoryCreationTemplate$ = exports.UpdatePullThroughCacheRule$ = exports.UpdateImageStorageClass$ = exports.UntagResource$ = exports.TagResource$ = exports.StartLifecyclePolicyPreview$ = exports.StartImageScan$ = exports.SetRepositoryPolicy$ = exports.RegisterPullTimeUpdateExclusion$ = exports.PutSigningConfiguration$ = exports.PutReplicationConfiguration$ = exports.PutRegistryScanningConfiguration$ = exports.PutRegistryPolicy$ = exports.PutLifecyclePolicy$ = exports.PutImageTagMutability$ = exports.PutImageScanningConfiguration$ = exports.PutImage$ = exports.PutAccountSetting$ = exports.ListTagsForResource$ = exports.ListPullTimeUpdateExclusions$ = exports.ListImages$ = exports.ListImageReferrers$ = exports.InitiateLayerUpload$ = exports.GetSigningConfiguration$ = exports.GetRepositoryPolicy$ = exports.GetRegistryScanningConfiguration$ = exports.GetRegistryPolicy$ = void 0;
9
9
  const _A = "Attribute";
10
10
  const _AD = "AuthorizationData";
11
11
  const _ADL = "AuthorizationDataList";
@@ -309,6 +309,7 @@ const _UTASE = "UnableToAccessSecretException";
309
309
  const _UTDSVE = "UnableToDecryptSecretValueException";
310
310
  const _UTGUIE = "UnableToGetUpstreamImageException";
311
311
  const _UTGULE = "UnableToGetUpstreamLayerException";
312
+ const _UTLUIRE = "UnableToListUpstreamImageReferrersException";
312
313
  const _UURE = "UnsupportedUpstreamRegistryException";
313
314
  const _V = "Value";
314
315
  const _VE = "ValidationException";
@@ -772,6 +773,12 @@ exports.UnableToGetUpstreamLayerException$ = [-3, n0, _UTGULE,
772
773
  [0]
773
774
  ];
774
775
  n0_registry.registerError(exports.UnableToGetUpstreamLayerException$, errors_1.UnableToGetUpstreamLayerException);
776
+ exports.UnableToListUpstreamImageReferrersException$ = [-3, n0, _UTLUIRE,
777
+ { [_e]: _c },
778
+ [_m],
779
+ [0]
780
+ ];
781
+ n0_registry.registerError(exports.UnableToListUpstreamImageReferrersException$, errors_1.UnableToListUpstreamImageReferrersException);
775
782
  exports.UnsupportedImageTypeException$ = [-3, n0, _UITE,
776
783
  { [_e]: _c },
777
784
  [_m],
@@ -421,6 +421,18 @@ export class LifecyclePolicyPreviewNotFoundException extends __BaseException {
421
421
  Object.setPrototypeOf(this, LifecyclePolicyPreviewNotFoundException.prototype);
422
422
  }
423
423
  }
424
+ export class UnableToListUpstreamImageReferrersException extends __BaseException {
425
+ name = "UnableToListUpstreamImageReferrersException";
426
+ $fault = "client";
427
+ constructor(opts) {
428
+ super({
429
+ name: "UnableToListUpstreamImageReferrersException",
430
+ $fault: "client",
431
+ ...opts,
432
+ });
433
+ Object.setPrototypeOf(this, UnableToListUpstreamImageReferrersException.prototype);
434
+ }
435
+ }
424
436
  export class ImageAlreadyExistsException extends __BaseException {
425
437
  name = "ImageAlreadyExistsException";
426
438
  $fault = "client";
@@ -301,6 +301,7 @@ const _UTASE = "UnableToAccessSecretException";
301
301
  const _UTDSVE = "UnableToDecryptSecretValueException";
302
302
  const _UTGUIE = "UnableToGetUpstreamImageException";
303
303
  const _UTGULE = "UnableToGetUpstreamLayerException";
304
+ const _UTLUIRE = "UnableToListUpstreamImageReferrersException";
304
305
  const _UURE = "UnsupportedUpstreamRegistryException";
305
306
  const _V = "Value";
306
307
  const _VE = "ValidationException";
@@ -507,7 +508,7 @@ const _ve = "version";
507
508
  const n0 = "com.amazonaws.ecr";
508
509
  import { TypeRegistry } from "@smithy/core/schema";
509
510
  import { ECRServiceException } from "../models/ECRServiceException";
510
- import { BlockedByOrganizationPolicyException, EmptyUploadException, ExclusionAlreadyExistsException, ExclusionNotFoundException, ImageAlreadyExistsException, ImageArchivedException, ImageDigestDoesNotMatchException, ImageNotFoundException, ImageStorageClassUpdateNotSupportedException, ImageTagAlreadyExistsException, InvalidLayerException, InvalidLayerPartException, InvalidParameterException, InvalidTagParameterException, KmsException, LayerAlreadyExistsException, LayerInaccessibleException, LayerPartTooSmallException, LayersNotFoundException, LifecyclePolicyNotFoundException, LifecyclePolicyPreviewInProgressException, LifecyclePolicyPreviewNotFoundException, LimitExceededException, PullThroughCacheRuleAlreadyExistsException, PullThroughCacheRuleNotFoundException, ReferencedImagesNotFoundException, RegistryPolicyNotFoundException, RepositoryAlreadyExistsException, RepositoryNotEmptyException, RepositoryNotFoundException, RepositoryPolicyNotFoundException, ScanNotFoundException, SecretNotFoundException, ServerException, SigningConfigurationNotFoundException, TemplateAlreadyExistsException, TemplateNotFoundException, TooManyTagsException, UnableToAccessSecretException, UnableToDecryptSecretValueException, UnableToGetUpstreamImageException, UnableToGetUpstreamLayerException, UnsupportedImageTypeException, UnsupportedUpstreamRegistryException, UploadNotFoundException, ValidationException, } from "../models/errors";
511
+ import { BlockedByOrganizationPolicyException, EmptyUploadException, ExclusionAlreadyExistsException, ExclusionNotFoundException, ImageAlreadyExistsException, ImageArchivedException, ImageDigestDoesNotMatchException, ImageNotFoundException, ImageStorageClassUpdateNotSupportedException, ImageTagAlreadyExistsException, InvalidLayerException, InvalidLayerPartException, InvalidParameterException, InvalidTagParameterException, KmsException, LayerAlreadyExistsException, LayerInaccessibleException, LayerPartTooSmallException, LayersNotFoundException, LifecyclePolicyNotFoundException, LifecyclePolicyPreviewInProgressException, LifecyclePolicyPreviewNotFoundException, LimitExceededException, PullThroughCacheRuleAlreadyExistsException, PullThroughCacheRuleNotFoundException, ReferencedImagesNotFoundException, RegistryPolicyNotFoundException, RepositoryAlreadyExistsException, RepositoryNotEmptyException, RepositoryNotFoundException, RepositoryPolicyNotFoundException, ScanNotFoundException, SecretNotFoundException, ServerException, SigningConfigurationNotFoundException, TemplateAlreadyExistsException, TemplateNotFoundException, TooManyTagsException, UnableToAccessSecretException, UnableToDecryptSecretValueException, UnableToGetUpstreamImageException, UnableToGetUpstreamLayerException, UnableToListUpstreamImageReferrersException, UnsupportedImageTypeException, UnsupportedUpstreamRegistryException, UploadNotFoundException, ValidationException, } from "../models/errors";
511
512
  const _s_registry = TypeRegistry.for(_s);
512
513
  export var ECRServiceException$ = [-3, _s, "ECRServiceException", 0, [], []];
513
514
  _s_registry.registerError(ECRServiceException$, ECRServiceException);
@@ -764,6 +765,12 @@ export var UnableToGetUpstreamLayerException$ = [-3, n0, _UTGULE,
764
765
  [0]
765
766
  ];
766
767
  n0_registry.registerError(UnableToGetUpstreamLayerException$, UnableToGetUpstreamLayerException);
768
+ export var UnableToListUpstreamImageReferrersException$ = [-3, n0, _UTLUIRE,
769
+ { [_e]: _c },
770
+ [_m],
771
+ [0]
772
+ ];
773
+ n0_registry.registerError(UnableToListUpstreamImageReferrersException$, UnableToListUpstreamImageReferrersException);
767
774
  export var UnsupportedImageTypeException$ = [-3, n0, _UITE,
768
775
  { [_e]: _c },
769
776
  [_m],
@@ -91,6 +91,11 @@ declare const ListImageReferrersCommand_base: {
91
91
  * @throws {@link ServerException} (server fault)
92
92
  * <p>These errors are usually caused by a server-side issue.</p>
93
93
  *
94
+ * @throws {@link UnableToListUpstreamImageReferrersException} (client fault)
95
+ * <p>The referrer or referrers were unable to be listed using the pull through cache rule. This
96
+ * is usually caused because of an issue with the Secrets Manager secret containing the credentials
97
+ * for the upstream registry.</p>
98
+ *
94
99
  * @throws {@link ValidationException} (client fault)
95
100
  * <p>There was an exception validating this request.</p>
96
101
  *
@@ -450,6 +450,20 @@ export declare class LifecyclePolicyPreviewNotFoundException extends __BaseExcep
450
450
  */
451
451
  constructor(opts: __ExceptionOptionType<LifecyclePolicyPreviewNotFoundException, __BaseException>);
452
452
  }
453
+ /**
454
+ * <p>The referrer or referrers were unable to be listed using the pull through cache rule. This
455
+ * is usually caused because of an issue with the Secrets Manager secret containing the credentials
456
+ * for the upstream registry.</p>
457
+ * @public
458
+ */
459
+ export declare class UnableToListUpstreamImageReferrersException extends __BaseException {
460
+ readonly name: "UnableToListUpstreamImageReferrersException";
461
+ readonly $fault: "client";
462
+ /**
463
+ * @internal
464
+ */
465
+ constructor(opts: __ExceptionOptionType<UnableToListUpstreamImageReferrersException, __BaseException>);
466
+ }
453
467
  /**
454
468
  * <p>The specified image has already been pushed, and there were no changes to the manifest
455
469
  * or image tag after the last push.</p>
@@ -1366,7 +1366,9 @@ export interface DescribeImagesFilter {
1366
1366
  */
1367
1367
  tagStatus?: TagStatus | undefined;
1368
1368
  /**
1369
- * <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>
1369
+ * <p>The image status with which to filter your <a>DescribeImages</a> results.
1370
+ * Valid values are <code>ACTIVE</code>, <code>ARCHIVED</code>, and <code>ACTIVATING</code>.
1371
+ * If not specified, only images with <code>ACTIVE</code> status are returned.</p>
1370
1372
  * @public
1371
1373
  */
1372
1374
  imageStatus?: ImageStatusFilter | undefined;
@@ -3178,7 +3180,7 @@ export interface ListImageReferrersRequest {
3178
3180
  * response element. The remaining results of the initial request can be seen by sending
3179
3181
  * another <code>ListImageReferrers</code> request with the returned <code>nextToken</code> value.
3180
3182
  * This value can be between 1 and 50. If this parameter is
3181
- * not used, then <code>ListImageReferrers</code> returns up to 50 results and a
3183
+ * not used, then <code>ListImageReferrers</code> returns up to 20 results and a
3182
3184
  * <code>nextToken</code> value, if applicable.</p>
3183
3185
  * @public
3184
3186
  */
@@ -3250,7 +3252,9 @@ export interface ListImagesFilter {
3250
3252
  */
3251
3253
  tagStatus?: TagStatus | undefined;
3252
3254
  /**
3253
- * <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>
3255
+ * <p>The image status with which to filter your <a>ListImages</a> results.
3256
+ * Valid values are <code>ACTIVE</code>, <code>ARCHIVED</code>, and <code>ACTIVATING</code>.
3257
+ * If not specified, only images with <code>ACTIVE</code> status are returned.</p>
3254
3258
  * @public
3255
3259
  */
3256
3260
  imageStatus?: ImageStatusFilter | undefined;
@@ -43,6 +43,7 @@ export declare var UnableToAccessSecretException$: StaticErrorSchema;
43
43
  export declare var UnableToDecryptSecretValueException$: StaticErrorSchema;
44
44
  export declare var UnableToGetUpstreamImageException$: StaticErrorSchema;
45
45
  export declare var UnableToGetUpstreamLayerException$: StaticErrorSchema;
46
+ export declare var UnableToListUpstreamImageReferrersException$: StaticErrorSchema;
46
47
  export declare var UnsupportedImageTypeException$: StaticErrorSchema;
47
48
  export declare var UnsupportedUpstreamRegistryException$: StaticErrorSchema;
48
49
  export declare var UploadNotFoundException$: StaticErrorSchema;
@@ -278,6 +278,16 @@ export declare class LifecyclePolicyPreviewNotFoundException extends __BaseExcep
278
278
  >
279
279
  );
280
280
  }
281
+ export declare class UnableToListUpstreamImageReferrersException extends __BaseException {
282
+ readonly name: "UnableToListUpstreamImageReferrersException";
283
+ readonly $fault: "client";
284
+ constructor(
285
+ opts: __ExceptionOptionType<
286
+ UnableToListUpstreamImageReferrersException,
287
+ __BaseException
288
+ >
289
+ );
290
+ }
281
291
  export declare class ImageAlreadyExistsException extends __BaseException {
282
292
  readonly name: "ImageAlreadyExistsException";
283
293
  readonly $fault: "client";
@@ -47,6 +47,7 @@ export declare var UnableToAccessSecretException$: StaticErrorSchema;
47
47
  export declare var UnableToDecryptSecretValueException$: StaticErrorSchema;
48
48
  export declare var UnableToGetUpstreamImageException$: StaticErrorSchema;
49
49
  export declare var UnableToGetUpstreamLayerException$: StaticErrorSchema;
50
+ export declare var UnableToListUpstreamImageReferrersException$: StaticErrorSchema;
50
51
  export declare var UnsupportedImageTypeException$: StaticErrorSchema;
51
52
  export declare var UnsupportedUpstreamRegistryException$: StaticErrorSchema;
52
53
  export declare var UploadNotFoundException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecr",
3
3
  "description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
4
- "version": "3.1026.0",
4
+ "version": "3.1028.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecr",