# Packages
Package ecriface provides an interface to enable mocking the Amazon EC2 Container Registry service client for testing your code.
# Functions
EncryptionType_Values returns all elements of the EncryptionType enum.
FindingSeverity_Values returns all elements of the FindingSeverity enum.
ImageActionType_Values returns all elements of the ImageActionType enum.
ImageFailureCode_Values returns all elements of the ImageFailureCode enum.
ImageTagMutability_Values returns all elements of the ImageTagMutability enum.
LayerAvailability_Values returns all elements of the LayerAvailability enum.
LayerFailureCode_Values returns all elements of the LayerFailureCode enum.
LifecyclePolicyPreviewStatus_Values returns all elements of the LifecyclePolicyPreviewStatus enum.
New creates a new instance of the ECR client with a session.
RCTAppliedFor_Values returns all elements of the RCTAppliedFor enum.
ReplicationStatus_Values returns all elements of the ReplicationStatus enum.
RepositoryFilterType_Values returns all elements of the RepositoryFilterType enum.
ScanFrequency_Values returns all elements of the ScanFrequency enum.
ScanningConfigurationFailureCode_Values returns all elements of the ScanningConfigurationFailureCode enum.
ScanningRepositoryFilterType_Values returns all elements of the ScanningRepositoryFilterType enum.
ScanStatus_Values returns all elements of the ScanStatus enum.
ScanType_Values returns all elements of the ScanType enum.
TagStatus_Values returns all elements of the TagStatus enum.
UpstreamRegistry_Values returns all elements of the UpstreamRegistry enum.
# Constants
EncryptionTypeAes256 is a EncryptionType enum value.
EncryptionTypeKms is a EncryptionType enum value.
ID to lookup a service endpoint with.
ErrCodeEmptyUploadException for service response error code "EmptyUploadException".
ErrCodeImageAlreadyExistsException for service response error code "ImageAlreadyExistsException".
ErrCodeImageDigestDoesNotMatchException for service response error code "ImageDigestDoesNotMatchException".
ErrCodeImageNotFoundException for service response error code "ImageNotFoundException".
ErrCodeImageTagAlreadyExistsException for service response error code "ImageTagAlreadyExistsException".
ErrCodeInvalidLayerException for service response error code "InvalidLayerException".
ErrCodeInvalidLayerPartException for service response error code "InvalidLayerPartException".
ErrCodeInvalidParameterException for service response error code "InvalidParameterException".
ErrCodeInvalidTagParameterException for service response error code "InvalidTagParameterException".
ErrCodeKmsException for service response error code "KmsException".
ErrCodeLayerAlreadyExistsException for service response error code "LayerAlreadyExistsException".
ErrCodeLayerInaccessibleException for service response error code "LayerInaccessibleException".
ErrCodeLayerPartTooSmallException for service response error code "LayerPartTooSmallException".
ErrCodeLayersNotFoundException for service response error code "LayersNotFoundException".
ErrCodeLifecyclePolicyNotFoundException for service response error code "LifecyclePolicyNotFoundException".
ErrCodeLifecyclePolicyPreviewInProgressException for service response error code "LifecyclePolicyPreviewInProgressException".
ErrCodeLifecyclePolicyPreviewNotFoundException for service response error code "LifecyclePolicyPreviewNotFoundException".
ErrCodeLimitExceededException for service response error code "LimitExceededException".
ErrCodePullThroughCacheRuleAlreadyExistsException for service response error code "PullThroughCacheRuleAlreadyExistsException".
ErrCodePullThroughCacheRuleNotFoundException for service response error code "PullThroughCacheRuleNotFoundException".
ErrCodeReferencedImagesNotFoundException for service response error code "ReferencedImagesNotFoundException".
ErrCodeRegistryPolicyNotFoundException for service response error code "RegistryPolicyNotFoundException".
ErrCodeRepositoryAlreadyExistsException for service response error code "RepositoryAlreadyExistsException".
ErrCodeRepositoryNotEmptyException for service response error code "RepositoryNotEmptyException".
ErrCodeRepositoryNotFoundException for service response error code "RepositoryNotFoundException".
ErrCodeRepositoryPolicyNotFoundException for service response error code "RepositoryPolicyNotFoundException".
ErrCodeScanNotFoundException for service response error code "ScanNotFoundException".
ErrCodeSecretNotFoundException for service response error code "SecretNotFoundException".
ErrCodeServerException for service response error code "ServerException".
ErrCodeTemplateAlreadyExistsException for service response error code "TemplateAlreadyExistsException".
ErrCodeTemplateNotFoundException for service response error code "TemplateNotFoundException".
ErrCodeTooManyTagsException for service response error code "TooManyTagsException".
ErrCodeUnableToAccessSecretException for service response error code "UnableToAccessSecretException".
ErrCodeUnableToDecryptSecretValueException for service response error code "UnableToDecryptSecretValueException".
ErrCodeUnableToGetUpstreamImageException for service response error code "UnableToGetUpstreamImageException".
ErrCodeUnableToGetUpstreamLayerException for service response error code "UnableToGetUpstreamLayerException".
ErrCodeUnsupportedImageTypeException for service response error code "UnsupportedImageTypeException".
ErrCodeUnsupportedUpstreamRegistryException for service response error code "UnsupportedUpstreamRegistryException".
ErrCodeUploadNotFoundException for service response error code "UploadNotFoundException".
ErrCodeValidationException for service response error code "ValidationException".
FindingSeverityCritical is a FindingSeverity enum value.
FindingSeverityHigh is a FindingSeverity enum value.
FindingSeverityInformational is a FindingSeverity enum value.
FindingSeverityLow is a FindingSeverity enum value.
FindingSeverityMedium is a FindingSeverity enum value.
FindingSeverityUndefined is a FindingSeverity enum value.
ImageActionTypeExpire is a ImageActionType enum value.
ImageFailureCodeImageNotFound is a ImageFailureCode enum value.
ImageFailureCodeImageReferencedByManifestList is a ImageFailureCode enum value.
ImageFailureCodeImageTagDoesNotMatchDigest is a ImageFailureCode enum value.
ImageFailureCodeInvalidImageDigest is a ImageFailureCode enum value.
ImageFailureCodeInvalidImageTag is a ImageFailureCode enum value.
ImageFailureCodeKmsError is a ImageFailureCode enum value.
ImageFailureCodeMissingDigestAndTag is a ImageFailureCode enum value.
ImageFailureCodeUpstreamAccessDenied is a ImageFailureCode enum value.
ImageFailureCodeUpstreamTooManyRequests is a ImageFailureCode enum value.
ImageFailureCodeUpstreamUnavailable is a ImageFailureCode enum value.
ImageTagMutabilityImmutable is a ImageTagMutability enum value.
ImageTagMutabilityMutable is a ImageTagMutability enum value.
LayerAvailabilityAvailable is a LayerAvailability enum value.
LayerAvailabilityUnavailable is a LayerAvailability enum value.
LayerFailureCodeInvalidLayerDigest is a LayerFailureCode enum value.
LayerFailureCodeMissingLayerDigest is a LayerFailureCode enum value.
LifecyclePolicyPreviewStatusComplete is a LifecyclePolicyPreviewStatus enum value.
LifecyclePolicyPreviewStatusExpired is a LifecyclePolicyPreviewStatus enum value.
LifecyclePolicyPreviewStatusFailed is a LifecyclePolicyPreviewStatus enum value.
LifecyclePolicyPreviewStatusInProgress is a LifecyclePolicyPreviewStatus enum value.
RCTAppliedForPullThroughCache is a RCTAppliedFor enum value.
RCTAppliedForReplication is a RCTAppliedFor enum value.
ReplicationStatusComplete is a ReplicationStatus enum value.
ReplicationStatusFailed is a ReplicationStatus enum value.
ReplicationStatusInProgress is a ReplicationStatus enum value.
RepositoryFilterTypePrefixMatch is a RepositoryFilterType enum value.
ScanFrequencyContinuousScan is a ScanFrequency enum value.
ScanFrequencyManual is a ScanFrequency enum value.
ScanFrequencyScanOnPush is a ScanFrequency enum value.
ScanningConfigurationFailureCodeRepositoryNotFound is a ScanningConfigurationFailureCode enum value.
ScanningRepositoryFilterTypeWildcard is a ScanningRepositoryFilterType enum value.
ScanStatusActive is a ScanStatus enum value.
ScanStatusComplete is a ScanStatus enum value.
ScanStatusFailed is a ScanStatus enum value.
ScanStatusFindingsUnavailable is a ScanStatus enum value.
ScanStatusInProgress is a ScanStatus enum value.
ScanStatusPending is a ScanStatus enum value.
ScanStatusScanEligibilityExpired is a ScanStatus enum value.
ScanStatusUnsupportedImage is a ScanStatus enum value.
ScanTypeBasic is a ScanType enum value.
ScanTypeEnhanced is a ScanType enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
TagStatusAny is a TagStatus enum value.
TagStatusTagged is a TagStatus enum value.
TagStatusUntagged is a TagStatus enum value.
UpstreamRegistryAzureContainerRegistry is a UpstreamRegistry enum value.
UpstreamRegistryDockerHub is a UpstreamRegistry enum value.
UpstreamRegistryEcrPublic is a UpstreamRegistry enum value.
UpstreamRegistryGithubContainerRegistry is a UpstreamRegistry enum value.
UpstreamRegistryGitlabContainerRegistry is a UpstreamRegistry enum value.
UpstreamRegistryK8s is a UpstreamRegistry enum value.
UpstreamRegistryQuay is a UpstreamRegistry enum value.
# Structs
This data type is used in the ImageScanFinding data type.
An object representing authorization data for an Amazon ECR registry.
The image details of the Amazon ECR container image.
Deletes specified images within a specified repository.
The CVSS score for a finding.
Details on adjustments Amazon Inspector made to the CVSS score for a finding.
Information about the CVSS score.
An object representing a filter on a DescribeImages operation.
ECR provides the API operation methods for making requests to Amazon EC2 Container Registry.
The specified layer upload does not contain any layer parts.
The encryption configuration for the repository.
The encryption configuration to associate with the repository creation template.
The details of an enhanced image scan.
An object representing an Amazon ECR image.
The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
An object that describes an image returned by a DescribeImages operation.
The specified image digest does not match the digest that Amazon ECR calculated for the image.
An object representing an Amazon ECR image failure.
An object with identifying information for an image in an Amazon ECR repository.
The image requested does not exist in the specified repository.
The status of the replication process for an image.
Contains information about an image scan finding.
The details of an image scan.
A summary of the last completed image scan.
The image scanning configuration for a repository.
The current status of an image scan.
The specified image is tagged with a tag that already exists.
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
The specified parameter is invalid.
An invalid parameter has been specified.
The operation failed due to a KMS exception.
An object representing an Amazon ECR image layer.
The image layer already exists in the associated repository.
An object representing an Amazon ECR image layer failure.
The specified layer is not available because it is not associated with an image.
Layer parts must be at least 5 MiB in size.
The specified layers could not be found, or the specified layer is not valid for this repository.
The lifecycle policy could not be found, and no policy is set to the repository.
The filter for the lifecycle policy preview.
The previous lifecycle policy preview request has not completed.
There is no dry run for this repository.
The result of the lifecycle policy preview.
The summary of the lifecycle policy preview request.
The type of action to be taken.
The operation did not succeed because it would have exceeded a service limit for your account.
An object representing a filter on a ListImages operation.
Information about a package vulnerability finding.
The details of a pull through cache rule.
A pull through cache rule with these settings already exists for the private registry.
The pull through cache rule was not found.
Details about the recommended course of action to remediate the finding.
The manifest list is referencing an image that does not exist.
The registry doesn't have an associated registry policy.
The scanning configuration for a private registry.
The details of a scanning rule for a private registry.
Information on how to remediate a finding.
The replication configuration for a registry.
An array of objects representing the destination for a replication rule.
An array of objects representing the replication destinations and repository filters for a replication configuration.
An object representing a repository.
The specified repository already exists in the specified registry.
The details of the repository creation template associated with the request.
The filter settings used with image replication.
The specified repository contains images.
The specified repository could not be found.
The specified repository and registry combination does not have an associated repository policy.
The details of the scanning configuration for a repository.
The details about any failures associated with the scanning configuration of a repository.
Details about the resource involved in a finding.
Contains details about the resource involved in the finding.
The details of a scanning repository filter.
The specified image scan could not be found.
Information about the Amazon Inspector score given to a finding.
The ARN of the secret specified in the pull through cache rule was not found.
These errors are usually caused by a server-side issue.
The metadata to apply to a resource to help you categorize and organize them.
The repository creation template already exists.
The specified repository creation template can't be found.
The list of tags on the repository is over the limit.
The secret is unable to be accessed.
The secret is accessible but is unable to be decrypted.
The image or images were unable to be pulled using the pull through cache rule.
There was an issue getting the upstream layer matching the pull through cache rule.
The image is of a type that cannot be scanned.
The specified upstream registry isn't supported.
The upload could not be found, or the specified upload ID is not valid for this repository.
There was an exception validating this request.
Information on the vulnerable package identified by a finding.