...

Package types

import "github.com/aws/aws-sdk-go-v2/service/ecr/types"
Overview
Index

Overview ▾

Index ▾

type Attribute
type AuthorizationData
type AwsEcrContainerImageDetails
type CvssScore
type CvssScoreAdjustment
type CvssScoreDetails
type DescribeImagesFilter
type EmptyUploadException
    func (e *EmptyUploadException) Error() string
    func (e *EmptyUploadException) ErrorCode() string
    func (e *EmptyUploadException) ErrorFault() smithy.ErrorFault
    func (e *EmptyUploadException) ErrorMessage() string
type EncryptionConfiguration
type EncryptionType
    func (EncryptionType) Values() []EncryptionType
type EnhancedImageScanFinding
type FindingSeverity
    func (FindingSeverity) Values() []FindingSeverity
type Image
type ImageActionType
    func (ImageActionType) Values() []ImageActionType
type ImageAlreadyExistsException
    func (e *ImageAlreadyExistsException) Error() string
    func (e *ImageAlreadyExistsException) ErrorCode() string
    func (e *ImageAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *ImageAlreadyExistsException) ErrorMessage() string
type ImageDetail
type ImageDigestDoesNotMatchException
    func (e *ImageDigestDoesNotMatchException) Error() string
    func (e *ImageDigestDoesNotMatchException) ErrorCode() string
    func (e *ImageDigestDoesNotMatchException) ErrorFault() smithy.ErrorFault
    func (e *ImageDigestDoesNotMatchException) ErrorMessage() string
type ImageFailure
type ImageFailureCode
    func (ImageFailureCode) Values() []ImageFailureCode
type ImageIdentifier
type ImageNotFoundException
    func (e *ImageNotFoundException) Error() string
    func (e *ImageNotFoundException) ErrorCode() string
    func (e *ImageNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *ImageNotFoundException) ErrorMessage() string
type ImageReplicationStatus
type ImageScanFinding
type ImageScanFindings
type ImageScanFindingsSummary
type ImageScanStatus
type ImageScanningConfiguration
type ImageTagAlreadyExistsException
    func (e *ImageTagAlreadyExistsException) Error() string
    func (e *ImageTagAlreadyExistsException) ErrorCode() string
    func (e *ImageTagAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *ImageTagAlreadyExistsException) ErrorMessage() string
type ImageTagMutability
    func (ImageTagMutability) Values() []ImageTagMutability
type InvalidLayerException
    func (e *InvalidLayerException) Error() string
    func (e *InvalidLayerException) ErrorCode() string
    func (e *InvalidLayerException) ErrorFault() smithy.ErrorFault
    func (e *InvalidLayerException) ErrorMessage() string
type InvalidLayerPartException
    func (e *InvalidLayerPartException) Error() string
    func (e *InvalidLayerPartException) ErrorCode() string
    func (e *InvalidLayerPartException) ErrorFault() smithy.ErrorFault
    func (e *InvalidLayerPartException) ErrorMessage() string
type InvalidParameterException
    func (e *InvalidParameterException) Error() string
    func (e *InvalidParameterException) ErrorCode() string
    func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
    func (e *InvalidParameterException) ErrorMessage() string
type InvalidTagParameterException
    func (e *InvalidTagParameterException) Error() string
    func (e *InvalidTagParameterException) ErrorCode() string
    func (e *InvalidTagParameterException) ErrorFault() smithy.ErrorFault
    func (e *InvalidTagParameterException) ErrorMessage() string
type KmsException
    func (e *KmsException) Error() string
    func (e *KmsException) ErrorCode() string
    func (e *KmsException) ErrorFault() smithy.ErrorFault
    func (e *KmsException) ErrorMessage() string
type Layer
type LayerAlreadyExistsException
    func (e *LayerAlreadyExistsException) Error() string
    func (e *LayerAlreadyExistsException) ErrorCode() string
    func (e *LayerAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *LayerAlreadyExistsException) ErrorMessage() string
type LayerAvailability
    func (LayerAvailability) Values() []LayerAvailability
type LayerFailure
type LayerFailureCode
    func (LayerFailureCode) Values() []LayerFailureCode
type LayerInaccessibleException
    func (e *LayerInaccessibleException) Error() string
    func (e *LayerInaccessibleException) ErrorCode() string
    func (e *LayerInaccessibleException) ErrorFault() smithy.ErrorFault
    func (e *LayerInaccessibleException) ErrorMessage() string
type LayerPartTooSmallException
    func (e *LayerPartTooSmallException) Error() string
    func (e *LayerPartTooSmallException) ErrorCode() string
    func (e *LayerPartTooSmallException) ErrorFault() smithy.ErrorFault
    func (e *LayerPartTooSmallException) ErrorMessage() string
type LayersNotFoundException
    func (e *LayersNotFoundException) Error() string
    func (e *LayersNotFoundException) ErrorCode() string
    func (e *LayersNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *LayersNotFoundException) ErrorMessage() string
type LifecyclePolicyNotFoundException
    func (e *LifecyclePolicyNotFoundException) Error() string
    func (e *LifecyclePolicyNotFoundException) ErrorCode() string
    func (e *LifecyclePolicyNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *LifecyclePolicyNotFoundException) ErrorMessage() string
type LifecyclePolicyPreviewFilter
type LifecyclePolicyPreviewInProgressException
    func (e *LifecyclePolicyPreviewInProgressException) Error() string
    func (e *LifecyclePolicyPreviewInProgressException) ErrorCode() string
    func (e *LifecyclePolicyPreviewInProgressException) ErrorFault() smithy.ErrorFault
    func (e *LifecyclePolicyPreviewInProgressException) ErrorMessage() string
type LifecyclePolicyPreviewNotFoundException
    func (e *LifecyclePolicyPreviewNotFoundException) Error() string
    func (e *LifecyclePolicyPreviewNotFoundException) ErrorCode() string
    func (e *LifecyclePolicyPreviewNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *LifecyclePolicyPreviewNotFoundException) ErrorMessage() string
type LifecyclePolicyPreviewResult
type LifecyclePolicyPreviewStatus
    func (LifecyclePolicyPreviewStatus) Values() []LifecyclePolicyPreviewStatus
type LifecyclePolicyPreviewSummary
type LifecyclePolicyRuleAction
type LimitExceededException
    func (e *LimitExceededException) Error() string
    func (e *LimitExceededException) ErrorCode() string
    func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
    func (e *LimitExceededException) ErrorMessage() string
type ListImagesFilter
type PackageVulnerabilityDetails
type PullThroughCacheRule
type PullThroughCacheRuleAlreadyExistsException
    func (e *PullThroughCacheRuleAlreadyExistsException) Error() string
    func (e *PullThroughCacheRuleAlreadyExistsException) ErrorCode() string
    func (e *PullThroughCacheRuleAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *PullThroughCacheRuleAlreadyExistsException) ErrorMessage() string
type PullThroughCacheRuleNotFoundException
    func (e *PullThroughCacheRuleNotFoundException) Error() string
    func (e *PullThroughCacheRuleNotFoundException) ErrorCode() string
    func (e *PullThroughCacheRuleNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *PullThroughCacheRuleNotFoundException) ErrorMessage() string
type Recommendation
type ReferencedImagesNotFoundException
    func (e *ReferencedImagesNotFoundException) Error() string
    func (e *ReferencedImagesNotFoundException) ErrorCode() string
    func (e *ReferencedImagesNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *ReferencedImagesNotFoundException) ErrorMessage() string
type RegistryPolicyNotFoundException
    func (e *RegistryPolicyNotFoundException) Error() string
    func (e *RegistryPolicyNotFoundException) ErrorCode() string
    func (e *RegistryPolicyNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *RegistryPolicyNotFoundException) ErrorMessage() string
type RegistryScanningConfiguration
type RegistryScanningRule
type Remediation
type ReplicationConfiguration
type ReplicationDestination
type ReplicationRule
type ReplicationStatus
    func (ReplicationStatus) Values() []ReplicationStatus
type Repository
type RepositoryAlreadyExistsException
    func (e *RepositoryAlreadyExistsException) Error() string
    func (e *RepositoryAlreadyExistsException) ErrorCode() string
    func (e *RepositoryAlreadyExistsException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryAlreadyExistsException) ErrorMessage() string
type RepositoryFilter
type RepositoryFilterType
    func (RepositoryFilterType) Values() []RepositoryFilterType
type RepositoryNotEmptyException
    func (e *RepositoryNotEmptyException) Error() string
    func (e *RepositoryNotEmptyException) ErrorCode() string
    func (e *RepositoryNotEmptyException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryNotEmptyException) ErrorMessage() string
type RepositoryNotFoundException
    func (e *RepositoryNotFoundException) Error() string
    func (e *RepositoryNotFoundException) ErrorCode() string
    func (e *RepositoryNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryNotFoundException) ErrorMessage() string
type RepositoryPolicyNotFoundException
    func (e *RepositoryPolicyNotFoundException) Error() string
    func (e *RepositoryPolicyNotFoundException) ErrorCode() string
    func (e *RepositoryPolicyNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *RepositoryPolicyNotFoundException) ErrorMessage() string
type RepositoryScanningConfiguration
type RepositoryScanningConfigurationFailure
type Resource
type ResourceDetails
type ScanFrequency
    func (ScanFrequency) Values() []ScanFrequency
type ScanNotFoundException
    func (e *ScanNotFoundException) Error() string
    func (e *ScanNotFoundException) ErrorCode() string
    func (e *ScanNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *ScanNotFoundException) ErrorMessage() string
type ScanStatus
    func (ScanStatus) Values() []ScanStatus
type ScanType
    func (ScanType) Values() []ScanType
type ScanningConfigurationFailureCode
    func (ScanningConfigurationFailureCode) Values() []ScanningConfigurationFailureCode
type ScanningRepositoryFilter
type ScanningRepositoryFilterType
    func (ScanningRepositoryFilterType) Values() []ScanningRepositoryFilterType
type ScoreDetails
type ServerException
    func (e *ServerException) Error() string
    func (e *ServerException) ErrorCode() string
    func (e *ServerException) ErrorFault() smithy.ErrorFault
    func (e *ServerException) ErrorMessage() string
type Tag
type TagStatus
    func (TagStatus) Values() []TagStatus
type TooManyTagsException
    func (e *TooManyTagsException) Error() string
    func (e *TooManyTagsException) ErrorCode() string
    func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault
    func (e *TooManyTagsException) ErrorMessage() string
type UnsupportedImageTypeException
    func (e *UnsupportedImageTypeException) Error() string
    func (e *UnsupportedImageTypeException) ErrorCode() string
    func (e *UnsupportedImageTypeException) ErrorFault() smithy.ErrorFault
    func (e *UnsupportedImageTypeException) ErrorMessage() string
type UnsupportedUpstreamRegistryException
    func (e *UnsupportedUpstreamRegistryException) Error() string
    func (e *UnsupportedUpstreamRegistryException) ErrorCode() string
    func (e *UnsupportedUpstreamRegistryException) ErrorFault() smithy.ErrorFault
    func (e *UnsupportedUpstreamRegistryException) ErrorMessage() string
type UploadNotFoundException
    func (e *UploadNotFoundException) Error() string
    func (e *UploadNotFoundException) ErrorCode() string
    func (e *UploadNotFoundException) ErrorFault() smithy.ErrorFault
    func (e *UploadNotFoundException) ErrorMessage() string
type ValidationException
    func (e *ValidationException) Error() string
    func (e *ValidationException) ErrorCode() string
    func (e *ValidationException) ErrorFault() smithy.ErrorFault
    func (e *ValidationException) ErrorMessage() string
type VulnerablePackage

Package files

enums.go errors.go types.go

type Attribute

This data type is used in the ImageScanFinding data type.

type Attribute struct {

    // The attribute key.
    //
    // This member is required.
    Key *string

    // The value assigned to the attribute key.
    Value *string
    // contains filtered or unexported fields
}

type AuthorizationData

An object representing authorization data for an Amazon ECR registry.

type AuthorizationData struct {

    // A base64-encoded string that contains authorization data for the specified
    // Amazon ECR registry. When the string is decoded, it is presented in the format
    // user:password for private registry authentication using docker login .
    AuthorizationToken *string

    // The Unix time in seconds and milliseconds when the authorization token expires.
    // Authorization tokens are valid for 12 hours.
    ExpiresAt *time.Time

    // The registry URL to use for this authorization token in a docker login command.
    // The Amazon ECR registry URL format is
    // https://aws_account_id.dkr.ecr.region.amazonaws.com . For example,
    // https://012345678910.dkr.ecr.us-east-1.amazonaws.com ..
    ProxyEndpoint *string
    // contains filtered or unexported fields
}

type AwsEcrContainerImageDetails

The image details of the Amazon ECR container image.

type AwsEcrContainerImageDetails struct {

    // The architecture of the Amazon ECR container image.
    Architecture *string

    // The image author of the Amazon ECR container image.
    Author *string

    // The image hash of the Amazon ECR container image.
    ImageHash *string

    // The image tags attached to the Amazon ECR container image.
    ImageTags []string

    // The platform of the Amazon ECR container image.
    Platform *string

    // The date and time the Amazon ECR container image was pushed.
    PushedAt *time.Time

    // The registry the Amazon ECR container image belongs to.
    Registry *string

    // The name of the repository the Amazon ECR container image resides in.
    RepositoryName *string
    // contains filtered or unexported fields
}

type CvssScore

The CVSS score for a finding.

type CvssScore struct {

    // The base CVSS score used for the finding.
    BaseScore float64

    // The vector string of the CVSS score.
    ScoringVector *string

    // The source of the CVSS score.
    Source *string

    // The version of CVSS used for the score.
    Version *string
    // contains filtered or unexported fields
}

type CvssScoreAdjustment

Details on adjustments Amazon Inspector made to the CVSS score for a finding.

type CvssScoreAdjustment struct {

    // The metric used to adjust the CVSS score.
    Metric *string

    // The reason the CVSS score has been adjustment.
    Reason *string
    // contains filtered or unexported fields
}

type CvssScoreDetails

Information about the CVSS score.

type CvssScoreDetails struct {

    // An object that contains details about adjustment Amazon Inspector made to the
    // CVSS score.
    Adjustments []CvssScoreAdjustment

    // The CVSS score.
    Score float64

    // The source for the CVSS score.
    ScoreSource *string

    // The vector for the CVSS score.
    ScoringVector *string

    // The CVSS version used in scoring.
    Version *string
    // contains filtered or unexported fields
}

type DescribeImagesFilter

An object representing a filter on a DescribeImages operation.

type DescribeImagesFilter struct {

    // The tag status with which to filter your DescribeImages results. You can filter
    // results based on whether they are TAGGED or UNTAGGED .
    TagStatus TagStatus
    // contains filtered or unexported fields
}

type EmptyUploadException

The specified layer upload does not contain any layer parts.

type EmptyUploadException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*EmptyUploadException) Error

func (e *EmptyUploadException) Error() string

func (*EmptyUploadException) ErrorCode

func (e *EmptyUploadException) ErrorCode() string

func (*EmptyUploadException) ErrorFault

func (e *EmptyUploadException) ErrorFault() smithy.ErrorFault

func (*EmptyUploadException) ErrorMessage

func (e *EmptyUploadException) ErrorMessage() string

type EncryptionConfiguration

The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest. By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part. For more control over the encryption of the contents of your repository, you can use server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your images. For more information, see Amazon ECR encryption at rest (https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the Amazon Elastic Container Registry User Guide.

type EncryptionConfiguration struct {

    // The encryption type to use. If you use the KMS encryption type, the contents of
    // the repository will be encrypted using server-side encryption with Key
    // Management Service key stored in KMS. When you use KMS to encrypt your data, you
    // can either use the default Amazon Web Services managed KMS key for Amazon ECR,
    // or specify your own KMS key, which you already created. For more information,
    // see Protecting data using server-side encryption with an KMS key stored in Key
    // Management Service (SSE-KMS) (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
    // in the Amazon Simple Storage Service Console Developer Guide. If you use the
    // AES256 encryption type, Amazon ECR uses server-side encryption with Amazon
    // S3-managed encryption keys which encrypts the images in the repository using an
    // AES-256 encryption algorithm. For more information, see Protecting data using
    // server-side encryption with Amazon S3-managed encryption keys (SSE-S3) (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html)
    // in the Amazon Simple Storage Service Console Developer Guide.
    //
    // This member is required.
    EncryptionType EncryptionType

    // If you use the KMS encryption type, specify the KMS key to use for encryption.
    // The alias, key ID, or full ARN of the KMS key can be specified. The key must
    // exist in the same Region as the repository. If no key is specified, the default
    // Amazon Web Services managed KMS key for Amazon ECR will be used.
    KmsKey *string
    // contains filtered or unexported fields
}

type EncryptionType

type EncryptionType string

Enum values for EncryptionType

const (
    EncryptionTypeAes256 EncryptionType = "AES256"
    EncryptionTypeKms    EncryptionType = "KMS"
)

func (EncryptionType) Values

func (EncryptionType) Values() []EncryptionType

Values returns all known values for EncryptionType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type EnhancedImageScanFinding

The details of an enhanced image scan. This is returned when enhanced scanning is enabled for your private registry.

type EnhancedImageScanFinding struct {

    // The Amazon Web Services account ID associated with the image.
    AwsAccountId *string

    // The description of the finding.
    Description *string

    // The Amazon Resource Number (ARN) of the finding.
    FindingArn *string

    // The date and time that the finding was first observed.
    FirstObservedAt *time.Time

    // The date and time that the finding was last observed.
    LastObservedAt *time.Time

    // An object that contains the details of a package vulnerability finding.
    PackageVulnerabilityDetails *PackageVulnerabilityDetails

    // An object that contains the details about how to remediate a finding.
    Remediation *Remediation

    // Contains information on the resources involved in a finding.
    Resources []Resource

    // The Amazon Inspector score given to the finding.
    Score float64

    // An object that contains details of the Amazon Inspector score.
    ScoreDetails *ScoreDetails

    // The severity of the finding.
    Severity *string

    // The status of the finding.
    Status *string

    // The title of the finding.
    Title *string

    // The type of the finding.
    Type *string

    // The date and time the finding was last updated at.
    UpdatedAt *time.Time
    // contains filtered or unexported fields
}

type FindingSeverity

type FindingSeverity string

Enum values for FindingSeverity

const (
    FindingSeverityInformational FindingSeverity = "INFORMATIONAL"
    FindingSeverityLow           FindingSeverity = "LOW"
    FindingSeverityMedium        FindingSeverity = "MEDIUM"
    FindingSeverityHigh          FindingSeverity = "HIGH"
    FindingSeverityCritical      FindingSeverity = "CRITICAL"
    FindingSeverityUndefined     FindingSeverity = "UNDEFINED"
)

func (FindingSeverity) Values

func (FindingSeverity) Values() []FindingSeverity

Values returns all known values for FindingSeverity. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Image

An object representing an Amazon ECR image.

type Image struct {

    // An object containing the image tag and image digest associated with an image.
    ImageId *ImageIdentifier

    // The image manifest associated with the image.
    ImageManifest *string

    // The manifest media type of the image.
    ImageManifestMediaType *string

    // The Amazon Web Services account ID associated with the registry containing the
    // image.
    RegistryId *string

    // The name of the repository associated with the image.
    RepositoryName *string
    // contains filtered or unexported fields
}

type ImageActionType

type ImageActionType string

Enum values for ImageActionType

const (
    ImageActionTypeExpire ImageActionType = "EXPIRE"
)

func (ImageActionType) Values

func (ImageActionType) Values() []ImageActionType

Values returns all known values for ImageActionType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ImageAlreadyExistsException

The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.

type ImageAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageAlreadyExistsException) Error

func (e *ImageAlreadyExistsException) Error() string

func (*ImageAlreadyExistsException) ErrorCode

func (e *ImageAlreadyExistsException) ErrorCode() string

func (*ImageAlreadyExistsException) ErrorFault

func (e *ImageAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*ImageAlreadyExistsException) ErrorMessage

func (e *ImageAlreadyExistsException) ErrorMessage() string

type ImageDetail

An object that describes an image returned by a DescribeImages operation.

type ImageDetail struct {

    // The artifact media type of the image.
    ArtifactMediaType *string

    // The sha256 digest of the image manifest.
    ImageDigest *string

    // The media type of the image manifest.
    ImageManifestMediaType *string

    // The date and time, expressed in standard JavaScript date format, at which the
    // current image was pushed to the repository.
    ImagePushedAt *time.Time

    // A summary of the last completed image scan.
    ImageScanFindingsSummary *ImageScanFindingsSummary

    // The current state of the scan.
    ImageScanStatus *ImageScanStatus

    // The size, in bytes, of the image in the repository. If the image is a manifest
    // list, this will be the max size of all manifests in the list. Beginning with
    // Docker version 1.9, the Docker client compresses image layers before pushing
    // them to a V2 Docker registry. The output of the docker images command shows the
    // uncompressed image size, so it may return a larger image size than the image
    // sizes returned by DescribeImages .
    ImageSizeInBytes *int64

    // The list of tags associated with this image.
    ImageTags []string

    // The date and time, expressed in standard JavaScript date format, when Amazon
    // ECR recorded the last image pull. Amazon ECR refreshes the last image pull
    // timestamp at least once every 24 hours. For example, if you pull an image once a
    // day then the lastRecordedPullTime timestamp will indicate the exact time that
    // the image was last pulled. However, if you pull an image once an hour, because
    // Amazon ECR refreshes the lastRecordedPullTime timestamp at least once every 24
    // hours, the result may not be the exact time that the image was last pulled.
    LastRecordedPullTime *time.Time

    // The Amazon Web Services account ID associated with the registry to which this
    // image belongs.
    RegistryId *string

    // The name of the repository to which this image belongs.
    RepositoryName *string
    // contains filtered or unexported fields
}

type ImageDigestDoesNotMatchException

The specified image digest does not match the digest that Amazon ECR calculated for the image.

type ImageDigestDoesNotMatchException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageDigestDoesNotMatchException) Error

func (e *ImageDigestDoesNotMatchException) Error() string

func (*ImageDigestDoesNotMatchException) ErrorCode

func (e *ImageDigestDoesNotMatchException) ErrorCode() string

func (*ImageDigestDoesNotMatchException) ErrorFault

func (e *ImageDigestDoesNotMatchException) ErrorFault() smithy.ErrorFault

func (*ImageDigestDoesNotMatchException) ErrorMessage

func (e *ImageDigestDoesNotMatchException) ErrorMessage() string

type ImageFailure

An object representing an Amazon ECR image failure.

type ImageFailure struct {

    // The code associated with the failure.
    FailureCode ImageFailureCode

    // The reason for the failure.
    FailureReason *string

    // The image ID associated with the failure.
    ImageId *ImageIdentifier
    // contains filtered or unexported fields
}

type ImageFailureCode

type ImageFailureCode string

Enum values for ImageFailureCode

const (
    ImageFailureCodeInvalidImageDigest            ImageFailureCode = "InvalidImageDigest"
    ImageFailureCodeInvalidImageTag               ImageFailureCode = "InvalidImageTag"
    ImageFailureCodeImageTagDoesNotMatchDigest    ImageFailureCode = "ImageTagDoesNotMatchDigest"
    ImageFailureCodeImageNotFound                 ImageFailureCode = "ImageNotFound"
    ImageFailureCodeMissingDigestAndTag           ImageFailureCode = "MissingDigestAndTag"
    ImageFailureCodeImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList"
    ImageFailureCodeKmsError                      ImageFailureCode = "KmsError"
)

func (ImageFailureCode) Values

func (ImageFailureCode) Values() []ImageFailureCode

Values returns all known values for ImageFailureCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ImageIdentifier

An object with identifying information for an image in an Amazon ECR repository.

type ImageIdentifier struct {

    // The sha256 digest of the image manifest.
    ImageDigest *string

    // The tag used for the image.
    ImageTag *string
    // contains filtered or unexported fields
}

type ImageNotFoundException

The image requested does not exist in the specified repository.

type ImageNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageNotFoundException) Error

func (e *ImageNotFoundException) Error() string

func (*ImageNotFoundException) ErrorCode

func (e *ImageNotFoundException) ErrorCode() string

func (*ImageNotFoundException) ErrorFault

func (e *ImageNotFoundException) ErrorFault() smithy.ErrorFault

func (*ImageNotFoundException) ErrorMessage

func (e *ImageNotFoundException) ErrorMessage() string

type ImageReplicationStatus

The status of the replication process for an image.

type ImageReplicationStatus struct {

    // The failure code for a replication that has failed.
    FailureCode *string

    // The destination Region for the image replication.
    Region *string

    // The Amazon Web Services account ID associated with the registry to which the
    // image belongs.
    RegistryId *string

    // The image replication status.
    Status ReplicationStatus
    // contains filtered or unexported fields
}

type ImageScanFinding

Contains information about an image scan finding.

type ImageScanFinding struct {

    // A collection of attributes of the host from which the finding is generated.
    Attributes []Attribute

    // The description of the finding.
    Description *string

    // The name associated with the finding, usually a CVE number.
    Name *string

    // The finding severity.
    Severity FindingSeverity

    // A link containing additional details about the security vulnerability.
    Uri *string
    // contains filtered or unexported fields
}

type ImageScanFindings

The details of an image scan.

type ImageScanFindings struct {

    // Details about the enhanced scan findings from Amazon Inspector.
    EnhancedFindings []EnhancedImageScanFinding

    // The image vulnerability counts, sorted by severity.
    FindingSeverityCounts map[string]int32

    // The findings from the image scan.
    Findings []ImageScanFinding

    // The time of the last completed image scan.
    ImageScanCompletedAt *time.Time

    // The time when the vulnerability data was last scanned.
    VulnerabilitySourceUpdatedAt *time.Time
    // contains filtered or unexported fields
}

type ImageScanFindingsSummary

A summary of the last completed image scan.

type ImageScanFindingsSummary struct {

    // The image vulnerability counts, sorted by severity.
    FindingSeverityCounts map[string]int32

    // The time of the last completed image scan.
    ImageScanCompletedAt *time.Time

    // The time when the vulnerability data was last scanned.
    VulnerabilitySourceUpdatedAt *time.Time
    // contains filtered or unexported fields
}

type ImageScanStatus

The current status of an image scan.

type ImageScanStatus struct {

    // The description of the image scan status.
    Description *string

    // The current state of an image scan.
    Status ScanStatus
    // contains filtered or unexported fields
}

type ImageScanningConfiguration

The image scanning configuration for a repository.

type ImageScanningConfiguration struct {

    // The setting that determines whether images are scanned after being pushed to a
    // repository. If set to true , images will be scanned after being pushed. If this
    // parameter is not specified, it will default to false and images will not be
    // scanned unless a scan is manually started with the API_StartImageScan (https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html)
    // API.
    ScanOnPush bool
    // contains filtered or unexported fields
}

type ImageTagAlreadyExistsException

The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.

type ImageTagAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ImageTagAlreadyExistsException) Error

func (e *ImageTagAlreadyExistsException) Error() string

func (*ImageTagAlreadyExistsException) ErrorCode

func (e *ImageTagAlreadyExistsException) ErrorCode() string

func (*ImageTagAlreadyExistsException) ErrorFault

func (e *ImageTagAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*ImageTagAlreadyExistsException) ErrorMessage

func (e *ImageTagAlreadyExistsException) ErrorMessage() string

type ImageTagMutability

type ImageTagMutability string

Enum values for ImageTagMutability

const (
    ImageTagMutabilityMutable   ImageTagMutability = "MUTABLE"
    ImageTagMutabilityImmutable ImageTagMutability = "IMMUTABLE"
)

func (ImageTagMutability) Values

func (ImageTagMutability) Values() []ImageTagMutability

Values returns all known values for ImageTagMutability. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InvalidLayerException

The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.

type InvalidLayerException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*InvalidLayerException) Error

func (e *InvalidLayerException) Error() string

func (*InvalidLayerException) ErrorCode

func (e *InvalidLayerException) ErrorCode() string

func (*InvalidLayerException) ErrorFault

func (e *InvalidLayerException) ErrorFault() smithy.ErrorFault

func (*InvalidLayerException) ErrorMessage

func (e *InvalidLayerException) ErrorMessage() string

type InvalidLayerPartException

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.

type InvalidLayerPartException struct {
    Message *string

    ErrorCodeOverride *string

    RegistryId            *string
    RepositoryName        *string
    UploadId              *string
    LastValidByteReceived *int64
    // contains filtered or unexported fields
}

func (*InvalidLayerPartException) Error

func (e *InvalidLayerPartException) Error() string

func (*InvalidLayerPartException) ErrorCode

func (e *InvalidLayerPartException) ErrorCode() string

func (*InvalidLayerPartException) ErrorFault

func (e *InvalidLayerPartException) ErrorFault() smithy.ErrorFault

func (*InvalidLayerPartException) ErrorMessage

func (e *InvalidLayerPartException) ErrorMessage() string

type InvalidParameterException

The specified parameter is invalid. Review the available parameters for the API request.

type InvalidParameterException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type InvalidTagParameterException

An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

type InvalidTagParameterException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*InvalidTagParameterException) Error

func (e *InvalidTagParameterException) Error() string

func (*InvalidTagParameterException) ErrorCode

func (e *InvalidTagParameterException) ErrorCode() string

func (*InvalidTagParameterException) ErrorFault

func (e *InvalidTagParameterException) ErrorFault() smithy.ErrorFault

func (*InvalidTagParameterException) ErrorMessage

func (e *InvalidTagParameterException) ErrorMessage() string

type KmsException

The operation failed due to a KMS exception.

type KmsException struct {
    Message *string

    ErrorCodeOverride *string

    KmsError *string
    // contains filtered or unexported fields
}

func (*KmsException) Error

func (e *KmsException) Error() string

func (*KmsException) ErrorCode

func (e *KmsException) ErrorCode() string

func (*KmsException) ErrorFault

func (e *KmsException) ErrorFault() smithy.ErrorFault

func (*KmsException) ErrorMessage

func (e *KmsException) ErrorMessage() string

type Layer

An object representing an Amazon ECR image layer.

type Layer struct {

    // The availability status of the image layer.
    LayerAvailability LayerAvailability

    // The sha256 digest of the image layer.
    LayerDigest *string

    // The size, in bytes, of the image layer.
    LayerSize *int64

    // The media type of the layer, such as
    // application/vnd.docker.image.rootfs.diff.tar.gzip or
    // application/vnd.oci.image.layer.v1.tar+gzip .
    MediaType *string
    // contains filtered or unexported fields
}

type LayerAlreadyExistsException

The image layer already exists in the associated repository.

type LayerAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LayerAlreadyExistsException) Error

func (e *LayerAlreadyExistsException) Error() string

func (*LayerAlreadyExistsException) ErrorCode

func (e *LayerAlreadyExistsException) ErrorCode() string

func (*LayerAlreadyExistsException) ErrorFault

func (e *LayerAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*LayerAlreadyExistsException) ErrorMessage

func (e *LayerAlreadyExistsException) ErrorMessage() string

type LayerAvailability

type LayerAvailability string

Enum values for LayerAvailability

const (
    LayerAvailabilityAvailable   LayerAvailability = "AVAILABLE"
    LayerAvailabilityUnavailable LayerAvailability = "UNAVAILABLE"
)

func (LayerAvailability) Values

func (LayerAvailability) Values() []LayerAvailability

Values returns all known values for LayerAvailability. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type LayerFailure

An object representing an Amazon ECR image layer failure.

type LayerFailure struct {

    // The failure code associated with the failure.
    FailureCode LayerFailureCode

    // The reason for the failure.
    FailureReason *string

    // The layer digest associated with the failure.
    LayerDigest *string
    // contains filtered or unexported fields
}

type LayerFailureCode

type LayerFailureCode string

Enum values for LayerFailureCode

const (
    LayerFailureCodeInvalidLayerDigest LayerFailureCode = "InvalidLayerDigest"
    LayerFailureCodeMissingLayerDigest LayerFailureCode = "MissingLayerDigest"
)

func (LayerFailureCode) Values

func (LayerFailureCode) Values() []LayerFailureCode

Values returns all known values for LayerFailureCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type LayerInaccessibleException

The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.

type LayerInaccessibleException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LayerInaccessibleException) Error

func (e *LayerInaccessibleException) Error() string

func (*LayerInaccessibleException) ErrorCode

func (e *LayerInaccessibleException) ErrorCode() string

func (*LayerInaccessibleException) ErrorFault

func (e *LayerInaccessibleException) ErrorFault() smithy.ErrorFault

func (*LayerInaccessibleException) ErrorMessage

func (e *LayerInaccessibleException) ErrorMessage() string

type LayerPartTooSmallException

Layer parts must be at least 5 MiB in size.

type LayerPartTooSmallException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LayerPartTooSmallException) Error

func (e *LayerPartTooSmallException) Error() string

func (*LayerPartTooSmallException) ErrorCode

func (e *LayerPartTooSmallException) ErrorCode() string

func (*LayerPartTooSmallException) ErrorFault

func (e *LayerPartTooSmallException) ErrorFault() smithy.ErrorFault

func (*LayerPartTooSmallException) ErrorMessage

func (e *LayerPartTooSmallException) ErrorMessage() string

type LayersNotFoundException

The specified layers could not be found, or the specified layer is not valid for this repository.

type LayersNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LayersNotFoundException) Error

func (e *LayersNotFoundException) Error() string

func (*LayersNotFoundException) ErrorCode

func (e *LayersNotFoundException) ErrorCode() string

func (*LayersNotFoundException) ErrorFault

func (e *LayersNotFoundException) ErrorFault() smithy.ErrorFault

func (*LayersNotFoundException) ErrorMessage

func (e *LayersNotFoundException) ErrorMessage() string

type LifecyclePolicyNotFoundException

The lifecycle policy could not be found, and no policy is set to the repository.

type LifecyclePolicyNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LifecyclePolicyNotFoundException) Error

func (e *LifecyclePolicyNotFoundException) Error() string

func (*LifecyclePolicyNotFoundException) ErrorCode

func (e *LifecyclePolicyNotFoundException) ErrorCode() string

func (*LifecyclePolicyNotFoundException) ErrorFault

func (e *LifecyclePolicyNotFoundException) ErrorFault() smithy.ErrorFault

func (*LifecyclePolicyNotFoundException) ErrorMessage

func (e *LifecyclePolicyNotFoundException) ErrorMessage() string

type LifecyclePolicyPreviewFilter

The filter for the lifecycle policy preview.

type LifecyclePolicyPreviewFilter struct {

    // The tag status of the image.
    TagStatus TagStatus
    // contains filtered or unexported fields
}

type LifecyclePolicyPreviewInProgressException

The previous lifecycle policy preview request has not completed. Wait and try again.

type LifecyclePolicyPreviewInProgressException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LifecyclePolicyPreviewInProgressException) Error

func (e *LifecyclePolicyPreviewInProgressException) Error() string

func (*LifecyclePolicyPreviewInProgressException) ErrorCode

func (e *LifecyclePolicyPreviewInProgressException) ErrorCode() string

func (*LifecyclePolicyPreviewInProgressException) ErrorFault

func (e *LifecyclePolicyPreviewInProgressException) ErrorFault() smithy.ErrorFault

func (*LifecyclePolicyPreviewInProgressException) ErrorMessage

func (e *LifecyclePolicyPreviewInProgressException) ErrorMessage() string

type LifecyclePolicyPreviewNotFoundException

There is no dry run for this repository.

type LifecyclePolicyPreviewNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LifecyclePolicyPreviewNotFoundException) Error

func (e *LifecyclePolicyPreviewNotFoundException) Error() string

func (*LifecyclePolicyPreviewNotFoundException) ErrorCode

func (e *LifecyclePolicyPreviewNotFoundException) ErrorCode() string

func (*LifecyclePolicyPreviewNotFoundException) ErrorFault

func (e *LifecyclePolicyPreviewNotFoundException) ErrorFault() smithy.ErrorFault

func (*LifecyclePolicyPreviewNotFoundException) ErrorMessage

func (e *LifecyclePolicyPreviewNotFoundException) ErrorMessage() string

type LifecyclePolicyPreviewResult

The result of the lifecycle policy preview.

type LifecyclePolicyPreviewResult struct {

    // The type of action to be taken.
    Action *LifecyclePolicyRuleAction

    // The priority of the applied rule.
    AppliedRulePriority *int32

    // The sha256 digest of the image manifest.
    ImageDigest *string

    // The date and time, expressed in standard JavaScript date format, at which the
    // current image was pushed to the repository.
    ImagePushedAt *time.Time

    // The list of tags associated with this image.
    ImageTags []string
    // contains filtered or unexported fields
}

type LifecyclePolicyPreviewStatus

type LifecyclePolicyPreviewStatus string

Enum values for LifecyclePolicyPreviewStatus

const (
    LifecyclePolicyPreviewStatusInProgress LifecyclePolicyPreviewStatus = "IN_PROGRESS"
    LifecyclePolicyPreviewStatusComplete   LifecyclePolicyPreviewStatus = "COMPLETE"
    LifecyclePolicyPreviewStatusExpired    LifecyclePolicyPreviewStatus = "EXPIRED"
    LifecyclePolicyPreviewStatusFailed     LifecyclePolicyPreviewStatus = "FAILED"
)

func (LifecyclePolicyPreviewStatus) Values

func (LifecyclePolicyPreviewStatus) Values() []LifecyclePolicyPreviewStatus

Values returns all known values for LifecyclePolicyPreviewStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type LifecyclePolicyPreviewSummary

The summary of the lifecycle policy preview request.

type LifecyclePolicyPreviewSummary struct {

    // The number of expiring images.
    ExpiringImageTotalCount *int32
    // contains filtered or unexported fields
}

type LifecyclePolicyRuleAction

The type of action to be taken.

type LifecyclePolicyRuleAction struct {

    // The type of action to be taken.
    Type ImageActionType
    // contains filtered or unexported fields
}

type LimitExceededException

The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) in the Amazon Elastic Container Registry User Guide.

type LimitExceededException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type ListImagesFilter

An object representing a filter on a ListImages operation.

type ListImagesFilter struct {

    // The tag status with which to filter your ListImages results. You can filter
    // results based on whether they are TAGGED or UNTAGGED .
    TagStatus TagStatus
    // contains filtered or unexported fields
}

type PackageVulnerabilityDetails

Information about a package vulnerability finding.

type PackageVulnerabilityDetails struct {

    // An object that contains details about the CVSS score of a finding.
    Cvss []CvssScore

    // One or more URLs that contain details about this vulnerability type.
    ReferenceUrls []string

    // One or more vulnerabilities related to the one identified in this finding.
    RelatedVulnerabilities []string

    // The source of the vulnerability information.
    Source *string

    // A URL to the source of the vulnerability information.
    SourceUrl *string

    // The date and time that this vulnerability was first added to the vendor's
    // database.
    VendorCreatedAt *time.Time

    // The severity the vendor has given to this vulnerability type.
    VendorSeverity *string

    // The date and time the vendor last updated this vulnerability in their database.
    VendorUpdatedAt *time.Time

    // The ID given to this vulnerability.
    VulnerabilityId *string

    // The packages impacted by this vulnerability.
    VulnerablePackages []VulnerablePackage
    // contains filtered or unexported fields
}

type PullThroughCacheRule

The details of a pull through cache rule.

type PullThroughCacheRule struct {

    // The date and time the pull through cache was created.
    CreatedAt *time.Time

    // The Amazon ECR repository prefix associated with the pull through cache rule.
    EcrRepositoryPrefix *string

    // The Amazon Web Services account ID associated with the registry the pull
    // through cache rule is associated with.
    RegistryId *string

    // The upstream registry URL associated with the pull through cache rule.
    UpstreamRegistryUrl *string
    // contains filtered or unexported fields
}

type PullThroughCacheRuleAlreadyExistsException

A pull through cache rule with these settings already exists for the private registry.

type PullThroughCacheRuleAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*PullThroughCacheRuleAlreadyExistsException) Error

func (e *PullThroughCacheRuleAlreadyExistsException) Error() string

func (*PullThroughCacheRuleAlreadyExistsException) ErrorCode

func (e *PullThroughCacheRuleAlreadyExistsException) ErrorCode() string

func (*PullThroughCacheRuleAlreadyExistsException) ErrorFault

func (e *PullThroughCacheRuleAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*PullThroughCacheRuleAlreadyExistsException) ErrorMessage

func (e *PullThroughCacheRuleAlreadyExistsException) ErrorMessage() string

type PullThroughCacheRuleNotFoundException

The pull through cache rule was not found. Specify a valid pull through cache rule and try again.

type PullThroughCacheRuleNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*PullThroughCacheRuleNotFoundException) Error

func (e *PullThroughCacheRuleNotFoundException) Error() string

func (*PullThroughCacheRuleNotFoundException) ErrorCode

func (e *PullThroughCacheRuleNotFoundException) ErrorCode() string

func (*PullThroughCacheRuleNotFoundException) ErrorFault

func (e *PullThroughCacheRuleNotFoundException) ErrorFault() smithy.ErrorFault

func (*PullThroughCacheRuleNotFoundException) ErrorMessage

func (e *PullThroughCacheRuleNotFoundException) ErrorMessage() string

type Recommendation

Details about the recommended course of action to remediate the finding.

type Recommendation struct {

    // The recommended course of action to remediate the finding.
    Text *string

    // The URL address to the CVE remediation recommendations.
    Url *string
    // contains filtered or unexported fields
}

type ReferencedImagesNotFoundException

The manifest list is referencing an image that does not exist.

type ReferencedImagesNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ReferencedImagesNotFoundException) Error

func (e *ReferencedImagesNotFoundException) Error() string

func (*ReferencedImagesNotFoundException) ErrorCode

func (e *ReferencedImagesNotFoundException) ErrorCode() string

func (*ReferencedImagesNotFoundException) ErrorFault

func (e *ReferencedImagesNotFoundException) ErrorFault() smithy.ErrorFault

func (*ReferencedImagesNotFoundException) ErrorMessage

func (e *ReferencedImagesNotFoundException) ErrorMessage() string

type RegistryPolicyNotFoundException

The registry doesn't have an associated registry policy.

type RegistryPolicyNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RegistryPolicyNotFoundException) Error

func (e *RegistryPolicyNotFoundException) Error() string

func (*RegistryPolicyNotFoundException) ErrorCode

func (e *RegistryPolicyNotFoundException) ErrorCode() string

func (*RegistryPolicyNotFoundException) ErrorFault

func (e *RegistryPolicyNotFoundException) ErrorFault() smithy.ErrorFault

func (*RegistryPolicyNotFoundException) ErrorMessage

func (e *RegistryPolicyNotFoundException) ErrorMessage() string

type RegistryScanningConfiguration

The scanning configuration for a private registry.

type RegistryScanningConfiguration struct {

    // The scanning rules associated with the registry.
    Rules []RegistryScanningRule

    // The type of scanning configured for the registry.
    ScanType ScanType
    // contains filtered or unexported fields
}

type RegistryScanningRule

The details of a scanning rule for a private registry.

type RegistryScanningRule struct {

    // The repository filters associated with the scanning configuration for a private
    // registry.
    //
    // This member is required.
    RepositoryFilters []ScanningRepositoryFilter

    // The frequency that scans are performed at for a private registry. When the
    // ENHANCED scan type is specified, the supported scan frequencies are
    // CONTINUOUS_SCAN and SCAN_ON_PUSH . When the BASIC scan type is specified, the
    // SCAN_ON_PUSH scan frequency is supported. If scan on push is not specified, then
    // the MANUAL scan frequency is set by default.
    //
    // This member is required.
    ScanFrequency ScanFrequency
    // contains filtered or unexported fields
}

type Remediation

Information on how to remediate a finding.

type Remediation struct {

    // An object that contains information about the recommended course of action to
    // remediate the finding.
    Recommendation *Recommendation
    // contains filtered or unexported fields
}

type ReplicationConfiguration

The replication configuration for a registry.

type ReplicationConfiguration struct {

    // An array of objects representing the replication destinations and repository
    // filters for a replication configuration.
    //
    // This member is required.
    Rules []ReplicationRule
    // contains filtered or unexported fields
}

type ReplicationDestination

An array of objects representing the destination for a replication rule.

type ReplicationDestination struct {

    // The Region to replicate to.
    //
    // This member is required.
    Region *string

    // The Amazon Web Services account ID of the Amazon ECR private registry to
    // replicate to. When configuring cross-Region replication within your own
    // registry, specify your own account ID.
    //
    // This member is required.
    RegistryId *string
    // contains filtered or unexported fields
}

type ReplicationRule

An array of objects representing the replication destinations and repository filters for a replication configuration.

type ReplicationRule struct {

    // An array of objects representing the destination for a replication rule.
    //
    // This member is required.
    Destinations []ReplicationDestination

    // An array of objects representing the filters for a replication rule. Specifying
    // a repository filter for a replication rule provides a method for controlling
    // which repositories in a private registry are replicated.
    RepositoryFilters []RepositoryFilter
    // contains filtered or unexported fields
}

type ReplicationStatus

type ReplicationStatus string

Enum values for ReplicationStatus

const (
    ReplicationStatusInProgress ReplicationStatus = "IN_PROGRESS"
    ReplicationStatusComplete   ReplicationStatus = "COMPLETE"
    ReplicationStatusFailed     ReplicationStatus = "FAILED"
)

func (ReplicationStatus) Values

func (ReplicationStatus) Values() []ReplicationStatus

Values returns all known values for ReplicationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Repository

An object representing a repository.

type Repository struct {

    // The date and time, in JavaScript date format, when the repository was created.
    CreatedAt *time.Time

    // The encryption configuration for the repository. This determines how the
    // contents of your repository are encrypted at rest.
    EncryptionConfiguration *EncryptionConfiguration

    // The image scanning configuration for a repository.
    ImageScanningConfiguration *ImageScanningConfiguration

    // The tag mutability setting for the repository.
    ImageTagMutability ImageTagMutability

    // The Amazon Web Services account ID associated with the registry that contains
    // the repository.
    RegistryId *string

    // The Amazon Resource Name (ARN) that identifies the repository. The ARN contains
    // the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web
    // Services account ID of the repository owner, repository namespace, and
    // repository name. For example,
    // arn:aws:ecr:region:012345678910:repository-namespace/repository-name .
    RepositoryArn *string

    // The name of the repository.
    RepositoryName *string

    // The URI for the repository. You can use this URI for container image push and
    // pull operations.
    RepositoryUri *string
    // contains filtered or unexported fields
}

type RepositoryAlreadyExistsException

The specified repository already exists in the specified registry.

type RepositoryAlreadyExistsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryAlreadyExistsException) Error

func (e *RepositoryAlreadyExistsException) Error() string

func (*RepositoryAlreadyExistsException) ErrorCode

func (e *RepositoryAlreadyExistsException) ErrorCode() string

func (*RepositoryAlreadyExistsException) ErrorFault

func (e *RepositoryAlreadyExistsException) ErrorFault() smithy.ErrorFault

func (*RepositoryAlreadyExistsException) ErrorMessage

func (e *RepositoryAlreadyExistsException) ErrorMessage() string

type RepositoryFilter

The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no filters are added, the contents of all repositories are replicated.

type RepositoryFilter struct {

    // The repository filter details. When the PREFIX_MATCH filter type is specified,
    // this value is required and should be the repository name prefix to configure
    // replication for.
    //
    // This member is required.
    Filter *string

    // The repository filter type. The only supported value is PREFIX_MATCH , which is
    // a repository name prefix specified with the filter parameter.
    //
    // This member is required.
    FilterType RepositoryFilterType
    // contains filtered or unexported fields
}

type RepositoryFilterType

type RepositoryFilterType string

Enum values for RepositoryFilterType

const (
    RepositoryFilterTypePrefixMatch RepositoryFilterType = "PREFIX_MATCH"
)

func (RepositoryFilterType) Values

func (RepositoryFilterType) Values() []RepositoryFilterType

Values returns all known values for RepositoryFilterType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RepositoryNotEmptyException

The specified repository contains images. To delete a repository that contains images, you must force the deletion with the force parameter.

type RepositoryNotEmptyException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryNotEmptyException) Error

func (e *RepositoryNotEmptyException) Error() string

func (*RepositoryNotEmptyException) ErrorCode

func (e *RepositoryNotEmptyException) ErrorCode() string

func (*RepositoryNotEmptyException) ErrorFault

func (e *RepositoryNotEmptyException) ErrorFault() smithy.ErrorFault

func (*RepositoryNotEmptyException) ErrorMessage

func (e *RepositoryNotEmptyException) ErrorMessage() string

type RepositoryNotFoundException

The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.

type RepositoryNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryNotFoundException) Error

func (e *RepositoryNotFoundException) Error() string

func (*RepositoryNotFoundException) ErrorCode

func (e *RepositoryNotFoundException) ErrorCode() string

func (*RepositoryNotFoundException) ErrorFault

func (e *RepositoryNotFoundException) ErrorFault() smithy.ErrorFault

func (*RepositoryNotFoundException) ErrorMessage

func (e *RepositoryNotFoundException) ErrorMessage() string

type RepositoryPolicyNotFoundException

The specified repository and registry combination does not have an associated repository policy.

type RepositoryPolicyNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*RepositoryPolicyNotFoundException) Error

func (e *RepositoryPolicyNotFoundException) Error() string

func (*RepositoryPolicyNotFoundException) ErrorCode

func (e *RepositoryPolicyNotFoundException) ErrorCode() string

func (*RepositoryPolicyNotFoundException) ErrorFault

func (e *RepositoryPolicyNotFoundException) ErrorFault() smithy.ErrorFault

func (*RepositoryPolicyNotFoundException) ErrorMessage

func (e *RepositoryPolicyNotFoundException) ErrorMessage() string

type RepositoryScanningConfiguration

The details of the scanning configuration for a repository.

type RepositoryScanningConfiguration struct {

    // The scan filters applied to the repository.
    AppliedScanFilters []ScanningRepositoryFilter

    // The ARN of the repository.
    RepositoryArn *string

    // The name of the repository.
    RepositoryName *string

    // The scan frequency for the repository.
    ScanFrequency ScanFrequency

    // Whether or not scan on push is configured for the repository.
    ScanOnPush bool
    // contains filtered or unexported fields
}

type RepositoryScanningConfigurationFailure

The details about any failures associated with the scanning configuration of a repository.

type RepositoryScanningConfigurationFailure struct {

    // The failure code.
    FailureCode ScanningConfigurationFailureCode

    // The reason for the failure.
    FailureReason *string

    // The name of the repository.
    RepositoryName *string
    // contains filtered or unexported fields
}

type Resource

Details about the resource involved in a finding.

type Resource struct {

    // An object that contains details about the resource involved in a finding.
    Details *ResourceDetails

    // The ID of the resource.
    Id *string

    // The tags attached to the resource.
    Tags map[string]string

    // The type of resource.
    Type *string
    // contains filtered or unexported fields
}

type ResourceDetails

Contains details about the resource involved in the finding.

type ResourceDetails struct {

    // An object that contains details about the Amazon ECR container image involved
    // in the finding.
    AwsEcrContainerImage *AwsEcrContainerImageDetails
    // contains filtered or unexported fields
}

type ScanFrequency

type ScanFrequency string

Enum values for ScanFrequency

const (
    ScanFrequencyScanOnPush     ScanFrequency = "SCAN_ON_PUSH"
    ScanFrequencyContinuousScan ScanFrequency = "CONTINUOUS_SCAN"
    ScanFrequencyManual         ScanFrequency = "MANUAL"
)

func (ScanFrequency) Values

func (ScanFrequency) Values() []ScanFrequency

Values returns all known values for ScanFrequency. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ScanNotFoundException

The specified image scan could not be found. Ensure that image scanning is enabled on the repository and try again.

type ScanNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ScanNotFoundException) Error

func (e *ScanNotFoundException) Error() string

func (*ScanNotFoundException) ErrorCode

func (e *ScanNotFoundException) ErrorCode() string

func (*ScanNotFoundException) ErrorFault

func (e *ScanNotFoundException) ErrorFault() smithy.ErrorFault

func (*ScanNotFoundException) ErrorMessage

func (e *ScanNotFoundException) ErrorMessage() string

type ScanStatus

type ScanStatus string

Enum values for ScanStatus

const (
    ScanStatusInProgress             ScanStatus = "IN_PROGRESS"
    ScanStatusComplete               ScanStatus = "COMPLETE"
    ScanStatusFailed                 ScanStatus = "FAILED"
    ScanStatusUnsupportedImage       ScanStatus = "UNSUPPORTED_IMAGE"
    ScanStatusActive                 ScanStatus = "ACTIVE"
    ScanStatusPending                ScanStatus = "PENDING"
    ScanStatusScanEligibilityExpired ScanStatus = "SCAN_ELIGIBILITY_EXPIRED"
    ScanStatusFindingsUnavailable    ScanStatus = "FINDINGS_UNAVAILABLE"
)

func (ScanStatus) Values

func (ScanStatus) Values() []ScanStatus

Values returns all known values for ScanStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ScanType

type ScanType string

Enum values for ScanType

const (
    ScanTypeBasic    ScanType = "BASIC"
    ScanTypeEnhanced ScanType = "ENHANCED"
)

func (ScanType) Values

func (ScanType) Values() []ScanType

Values returns all known values for ScanType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ScanningConfigurationFailureCode

type ScanningConfigurationFailureCode string

Enum values for ScanningConfigurationFailureCode

const (
    ScanningConfigurationFailureCodeRepositoryNotFound ScanningConfigurationFailureCode = "REPOSITORY_NOT_FOUND"
)

func (ScanningConfigurationFailureCode) Values

func (ScanningConfigurationFailureCode) Values() []ScanningConfigurationFailureCode

Values returns all known values for ScanningConfigurationFailureCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ScanningRepositoryFilter

The details of a scanning repository filter. For more information on how to use filters, see Using filters (https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters) in the Amazon Elastic Container Registry User Guide.

type ScanningRepositoryFilter struct {

    // The filter to use when scanning.
    //
    // This member is required.
    Filter *string

    // The type associated with the filter.
    //
    // This member is required.
    FilterType ScanningRepositoryFilterType
    // contains filtered or unexported fields
}

type ScanningRepositoryFilterType

type ScanningRepositoryFilterType string

Enum values for ScanningRepositoryFilterType

const (
    ScanningRepositoryFilterTypeWildcard ScanningRepositoryFilterType = "WILDCARD"
)

func (ScanningRepositoryFilterType) Values

func (ScanningRepositoryFilterType) Values() []ScanningRepositoryFilterType

Values returns all known values for ScanningRepositoryFilterType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ScoreDetails

Information about the Amazon Inspector score given to a finding.

type ScoreDetails struct {

    // An object that contains details about the CVSS score given to a finding.
    Cvss *CvssScoreDetails
    // contains filtered or unexported fields
}

type ServerException

These errors are usually caused by a server-side issue.

type ServerException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ServerException) Error

func (e *ServerException) Error() string

func (*ServerException) ErrorCode

func (e *ServerException) ErrorCode() string

func (*ServerException) ErrorFault

func (e *ServerException) ErrorFault() smithy.ErrorFault

func (*ServerException) ErrorMessage

func (e *ServerException) ErrorMessage() string

type Tag

The metadata to apply to a resource to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

type Tag struct {

    // One part of a key-value pair that make up a tag. A key is a general label that
    // acts like a category for more specific tag values.
    //
    // This member is required.
    Key *string

    // A value acts as a descriptor within a tag category (key).
    //
    // This member is required.
    Value *string
    // contains filtered or unexported fields
}

type TagStatus

type TagStatus string

Enum values for TagStatus

const (
    TagStatusTagged   TagStatus = "TAGGED"
    TagStatusUntagged TagStatus = "UNTAGGED"
    TagStatusAny      TagStatus = "ANY"
)

func (TagStatus) Values

func (TagStatus) Values() []TagStatus

Values returns all known values for TagStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type TooManyTagsException

The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.

type TooManyTagsException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

type UnsupportedImageTypeException

The image is of a type that cannot be scanned.

type UnsupportedImageTypeException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*UnsupportedImageTypeException) Error

func (e *UnsupportedImageTypeException) Error() string

func (*UnsupportedImageTypeException) ErrorCode

func (e *UnsupportedImageTypeException) ErrorCode() string

func (*UnsupportedImageTypeException) ErrorFault

func (e *UnsupportedImageTypeException) ErrorFault() smithy.ErrorFault

func (*UnsupportedImageTypeException) ErrorMessage

func (e *UnsupportedImageTypeException) ErrorMessage() string

type UnsupportedUpstreamRegistryException

The specified upstream registry isn't supported.

type UnsupportedUpstreamRegistryException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*UnsupportedUpstreamRegistryException) Error

func (e *UnsupportedUpstreamRegistryException) Error() string

func (*UnsupportedUpstreamRegistryException) ErrorCode

func (e *UnsupportedUpstreamRegistryException) ErrorCode() string

func (*UnsupportedUpstreamRegistryException) ErrorFault

func (e *UnsupportedUpstreamRegistryException) ErrorFault() smithy.ErrorFault

func (*UnsupportedUpstreamRegistryException) ErrorMessage

func (e *UnsupportedUpstreamRegistryException) ErrorMessage() string

type UploadNotFoundException

The upload could not be found, or the specified upload ID is not valid for this repository.

type UploadNotFoundException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*UploadNotFoundException) Error

func (e *UploadNotFoundException) Error() string

func (*UploadNotFoundException) ErrorCode

func (e *UploadNotFoundException) ErrorCode() string

func (*UploadNotFoundException) ErrorFault

func (e *UploadNotFoundException) ErrorFault() smithy.ErrorFault

func (*UploadNotFoundException) ErrorMessage

func (e *UploadNotFoundException) ErrorMessage() string

type ValidationException

There was an exception validating this request.

type ValidationException struct {
    Message *string

    ErrorCodeOverride *string
    // contains filtered or unexported fields
}

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

type VulnerablePackage

Information on the vulnerable package identified by a finding.

type VulnerablePackage struct {

    // The architecture of the vulnerable package.
    Arch *string

    // The epoch of the vulnerable package.
    Epoch *int32

    // The file path of the vulnerable package.
    FilePath *string

    // The name of the vulnerable package.
    Name *string

    // The package manager of the vulnerable package.
    PackageManager *string

    // The release of the vulnerable package.
    Release *string

    // The source layer hash of the vulnerable package.
    SourceLayerHash *string

    // The version of the vulnerable package.
    Version *string
    // contains filtered or unexported fields
}