types

package
v1.17.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 82

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

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
}

This data type is used in the ImageScanFinding data type.

type AuthorizationData

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
}

An object representing authorization data for an Amazon ECR registry.

type AwsEcrContainerImageDetails added in v1.11.0

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
}

The image details of the Amazon ECR container image.

type CvssScore added in v1.11.0

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
}

The CVSS score for a finding.

type CvssScoreAdjustment added in v1.11.0

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
}

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

type CvssScoreDetails added in v1.11.0

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
}

Information about the CVSS score.

type DescribeImagesFilter

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
}

An object representing a filter on a DescribeImages operation.

type EmptyUploadException

type EmptyUploadException struct {
	Message *string
	// contains filtered or unexported fields
}

The specified layer upload does not contain any layer parts.

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

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
}

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 EncryptionType

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

Enum values for EncryptionType

func (EncryptionType) Values added in v0.29.0

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 added in v1.11.0

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
}

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

type FindingSeverity

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

Enum values for FindingSeverity

func (FindingSeverity) Values added in v0.29.0

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

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
}

An object representing an Amazon ECR image.

type ImageActionType

type ImageActionType string
const (
	ImageActionTypeExpire ImageActionType = "EXPIRE"
)

Enum values for ImageActionType

func (ImageActionType) Values added in v0.29.0

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

type ImageAlreadyExistsException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*ImageAlreadyExistsException) Error

func (*ImageAlreadyExistsException) ErrorCode

func (e *ImageAlreadyExistsException) ErrorCode() string

func (*ImageAlreadyExistsException) ErrorFault

func (*ImageAlreadyExistsException) ErrorMessage

func (e *ImageAlreadyExistsException) ErrorMessage() string

type ImageDetail

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
}

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

type ImageDigestDoesNotMatchException

type ImageDigestDoesNotMatchException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*ImageDigestDoesNotMatchException) Error

func (*ImageDigestDoesNotMatchException) ErrorCode

func (*ImageDigestDoesNotMatchException) ErrorFault

func (*ImageDigestDoesNotMatchException) ErrorMessage

func (e *ImageDigestDoesNotMatchException) ErrorMessage() string

type ImageFailure

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
}

An object representing an Amazon ECR image failure.

type ImageFailureCode

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

Enum values for ImageFailureCode

func (ImageFailureCode) Values added in v0.29.0

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

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
}

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

type ImageNotFoundException

type ImageNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

The image requested does not exist in the specified repository.

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 added in v1.7.0

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
}

The status of the replication process for an image.

type ImageScanFinding

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
}

Contains information about an image scan finding.

type ImageScanFindings

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
}

The details of an image scan.

type ImageScanFindingsSummary

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
}

A summary of the last completed image scan.

type ImageScanStatus

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
}

The current status of an image scan.

type ImageScanningConfiguration

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
}

The image scanning configuration for a repository.

type ImageTagAlreadyExistsException

type ImageTagAlreadyExistsException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*ImageTagAlreadyExistsException) Error

func (*ImageTagAlreadyExistsException) ErrorCode

func (e *ImageTagAlreadyExistsException) ErrorCode() string

func (*ImageTagAlreadyExistsException) ErrorFault

func (*ImageTagAlreadyExistsException) ErrorMessage

func (e *ImageTagAlreadyExistsException) ErrorMessage() string

type ImageTagMutability

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

Enum values for ImageTagMutability

func (ImageTagMutability) Values added in v0.29.0

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

type InvalidLayerException struct {
	Message *string
	// contains filtered or unexported fields
}

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

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

type InvalidLayerPartException struct {
	Message *string

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

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.

func (*InvalidLayerPartException) Error

func (e *InvalidLayerPartException) Error() string

func (*InvalidLayerPartException) ErrorCode

func (e *InvalidLayerPartException) ErrorCode() string

func (*InvalidLayerPartException) ErrorFault

func (*InvalidLayerPartException) ErrorMessage

func (e *InvalidLayerPartException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type InvalidTagParameterException

type InvalidTagParameterException struct {
	Message *string
	// contains filtered or unexported fields
}

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.

func (*InvalidTagParameterException) Error

func (*InvalidTagParameterException) ErrorCode

func (e *InvalidTagParameterException) ErrorCode() string

func (*InvalidTagParameterException) ErrorFault

func (*InvalidTagParameterException) ErrorMessage

func (e *InvalidTagParameterException) ErrorMessage() string

type KmsException

type KmsException struct {
	Message *string

	KmsError *string
	// contains filtered or unexported fields
}

The operation failed due to a KMS exception.

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

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
}

An object representing an Amazon ECR image layer.

type LayerAlreadyExistsException

type LayerAlreadyExistsException struct {
	Message *string
	// contains filtered or unexported fields
}

The image layer already exists in the associated repository.

func (*LayerAlreadyExistsException) Error

func (*LayerAlreadyExistsException) ErrorCode

func (e *LayerAlreadyExistsException) ErrorCode() string

func (*LayerAlreadyExistsException) ErrorFault

func (*LayerAlreadyExistsException) ErrorMessage

func (e *LayerAlreadyExistsException) ErrorMessage() string

type LayerAvailability

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

Enum values for LayerAvailability

func (LayerAvailability) Values added in v0.29.0

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

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
}

An object representing an Amazon ECR image layer failure.

type LayerFailureCode

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

Enum values for LayerFailureCode

func (LayerFailureCode) Values added in v0.29.0

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

type LayerInaccessibleException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*LayerInaccessibleException) Error

func (*LayerInaccessibleException) ErrorCode

func (e *LayerInaccessibleException) ErrorCode() string

func (*LayerInaccessibleException) ErrorFault

func (*LayerInaccessibleException) ErrorMessage

func (e *LayerInaccessibleException) ErrorMessage() string

type LayerPartTooSmallException

type LayerPartTooSmallException struct {
	Message *string
	// contains filtered or unexported fields
}

Layer parts must be at least 5 MiB in size.

func (*LayerPartTooSmallException) Error

func (*LayerPartTooSmallException) ErrorCode

func (e *LayerPartTooSmallException) ErrorCode() string

func (*LayerPartTooSmallException) ErrorFault

func (*LayerPartTooSmallException) ErrorMessage

func (e *LayerPartTooSmallException) ErrorMessage() string

type LayersNotFoundException

type LayersNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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

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

type LifecyclePolicyNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*LifecyclePolicyNotFoundException) Error

func (*LifecyclePolicyNotFoundException) ErrorCode

func (*LifecyclePolicyNotFoundException) ErrorFault

func (*LifecyclePolicyNotFoundException) ErrorMessage

func (e *LifecyclePolicyNotFoundException) ErrorMessage() string

type LifecyclePolicyPreviewFilter

type LifecyclePolicyPreviewFilter struct {

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

The filter for the lifecycle policy preview.

type LifecyclePolicyPreviewInProgressException

type LifecyclePolicyPreviewInProgressException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*LifecyclePolicyPreviewInProgressException) Error

func (*LifecyclePolicyPreviewInProgressException) ErrorCode

func (*LifecyclePolicyPreviewInProgressException) ErrorFault

func (*LifecyclePolicyPreviewInProgressException) ErrorMessage

type LifecyclePolicyPreviewNotFoundException

type LifecyclePolicyPreviewNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

There is no dry run for this repository.

func (*LifecyclePolicyPreviewNotFoundException) Error

func (*LifecyclePolicyPreviewNotFoundException) ErrorCode

func (*LifecyclePolicyPreviewNotFoundException) ErrorFault

func (*LifecyclePolicyPreviewNotFoundException) ErrorMessage

type LifecyclePolicyPreviewResult

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
}

The result of the lifecycle policy preview.

type LifecyclePolicyPreviewStatus

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

Enum values for LifecyclePolicyPreviewStatus

func (LifecyclePolicyPreviewStatus) Values added in v0.29.0

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

type LifecyclePolicyPreviewSummary struct {

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

The summary of the lifecycle policy preview request.

type LifecyclePolicyRuleAction

type LifecyclePolicyRuleAction struct {

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

The type of action to be taken.

type LimitExceededException

type LimitExceededException struct {
	Message *string
	// contains filtered or unexported fields
}

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.

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

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
}

An object representing a filter on a ListImages operation.

type PackageVulnerabilityDetails added in v1.11.0

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
}

Information about a package vulnerability finding.

type PullThroughCacheRule added in v1.11.0

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
}

The details of a pull through cache rule.

type PullThroughCacheRuleAlreadyExistsException added in v1.11.0

type PullThroughCacheRuleAlreadyExistsException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*PullThroughCacheRuleAlreadyExistsException) Error added in v1.11.0

func (*PullThroughCacheRuleAlreadyExistsException) ErrorCode added in v1.11.0

func (*PullThroughCacheRuleAlreadyExistsException) ErrorFault added in v1.11.0

func (*PullThroughCacheRuleAlreadyExistsException) ErrorMessage added in v1.11.0

type PullThroughCacheRuleNotFoundException added in v1.11.0

type PullThroughCacheRuleNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*PullThroughCacheRuleNotFoundException) Error added in v1.11.0

func (*PullThroughCacheRuleNotFoundException) ErrorCode added in v1.11.0

func (*PullThroughCacheRuleNotFoundException) ErrorFault added in v1.11.0

func (*PullThroughCacheRuleNotFoundException) ErrorMessage added in v1.11.0

type Recommendation added in v1.11.0

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
}

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

type ReferencedImagesNotFoundException

type ReferencedImagesNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*ReferencedImagesNotFoundException) Error

func (*ReferencedImagesNotFoundException) ErrorCode

func (*ReferencedImagesNotFoundException) ErrorFault

func (*ReferencedImagesNotFoundException) ErrorMessage

func (e *ReferencedImagesNotFoundException) ErrorMessage() string

type RegistryPolicyNotFoundException added in v0.31.0

type RegistryPolicyNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

The registry doesn't have an associated registry policy.

func (*RegistryPolicyNotFoundException) Error added in v0.31.0

func (*RegistryPolicyNotFoundException) ErrorCode added in v0.31.0

func (e *RegistryPolicyNotFoundException) ErrorCode() string

func (*RegistryPolicyNotFoundException) ErrorFault added in v0.31.0

func (*RegistryPolicyNotFoundException) ErrorMessage added in v0.31.0

func (e *RegistryPolicyNotFoundException) ErrorMessage() string

type RegistryScanningConfiguration added in v1.11.0

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
}

The scanning configuration for a private registry.

type RegistryScanningRule added in v1.11.0

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 and MANUAL scan frequencies are supported.
	//
	// This member is required.
	ScanFrequency ScanFrequency
	// contains filtered or unexported fields
}

The details of a scanning rule for a private registry.

type Remediation added in v1.11.0

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
}

Information on how to remediate a finding.

type ReplicationConfiguration added in v0.31.0

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
}

The replication configuration for a registry.

type ReplicationDestination added in v0.31.0

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
}

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

type ReplicationRule added in v0.31.0

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
}

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

type ReplicationStatus added in v1.7.0

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

Enum values for ReplicationStatus

func (ReplicationStatus) Values added in v1.7.0

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

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/test.
	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
}

An object representing a repository.

type RepositoryAlreadyExistsException

type RepositoryAlreadyExistsException struct {
	Message *string
	// contains filtered or unexported fields
}

The specified repository already exists in the specified registry.

func (*RepositoryAlreadyExistsException) Error

func (*RepositoryAlreadyExistsException) ErrorCode

func (*RepositoryAlreadyExistsException) ErrorFault

func (*RepositoryAlreadyExistsException) ErrorMessage

func (e *RepositoryAlreadyExistsException) ErrorMessage() string

type RepositoryFilter added in v1.7.0

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
}

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 repository filter is specified, all images in the repository are replicated.

type RepositoryFilterType added in v1.7.0

type RepositoryFilterType string
const (
	RepositoryFilterTypePrefixMatch RepositoryFilterType = "PREFIX_MATCH"
)

Enum values for RepositoryFilterType

func (RepositoryFilterType) Values added in v1.7.0

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

type RepositoryNotEmptyException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*RepositoryNotEmptyException) Error

func (*RepositoryNotEmptyException) ErrorCode

func (e *RepositoryNotEmptyException) ErrorCode() string

func (*RepositoryNotEmptyException) ErrorFault

func (*RepositoryNotEmptyException) ErrorMessage

func (e *RepositoryNotEmptyException) ErrorMessage() string

type RepositoryNotFoundException

type RepositoryNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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.

func (*RepositoryNotFoundException) Error

func (*RepositoryNotFoundException) ErrorCode

func (e *RepositoryNotFoundException) ErrorCode() string

func (*RepositoryNotFoundException) ErrorFault

func (*RepositoryNotFoundException) ErrorMessage

func (e *RepositoryNotFoundException) ErrorMessage() string

type RepositoryPolicyNotFoundException

type RepositoryPolicyNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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

func (*RepositoryPolicyNotFoundException) Error

func (*RepositoryPolicyNotFoundException) ErrorCode

func (*RepositoryPolicyNotFoundException) ErrorFault

func (*RepositoryPolicyNotFoundException) ErrorMessage

func (e *RepositoryPolicyNotFoundException) ErrorMessage() string

type RepositoryScanningConfiguration added in v1.11.0

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
}

The details of the scanning configuration for a repository.

type RepositoryScanningConfigurationFailure added in v1.11.0

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
}

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

type Resource added in v1.11.0

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
}

Details about the resource involved in a finding.

type ResourceDetails added in v1.11.0

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
}

Contains details about the resource involved in the finding.

type ScanFrequency added in v1.11.0

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

Enum values for ScanFrequency

func (ScanFrequency) Values added in v1.11.0

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

type ScanNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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

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
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"
)

Enum values for ScanStatus

func (ScanStatus) Values added in v0.29.0

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 added in v1.11.0

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

Enum values for ScanType

func (ScanType) Values added in v1.11.0

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 added in v1.11.0

type ScanningConfigurationFailureCode string
const (
	ScanningConfigurationFailureCodeRepositoryNotFound ScanningConfigurationFailureCode = "REPOSITORY_NOT_FOUND"
)

Enum values for ScanningConfigurationFailureCode

func (ScanningConfigurationFailureCode) Values added in v1.11.0

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 added in v1.11.0

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
}

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 ScanningRepositoryFilterType added in v1.11.0

type ScanningRepositoryFilterType string
const (
	ScanningRepositoryFilterTypeWildcard ScanningRepositoryFilterType = "WILDCARD"
)

Enum values for ScanningRepositoryFilterType

func (ScanningRepositoryFilterType) Values added in v1.11.0

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 added in v1.11.0

type ScoreDetails struct {

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

Information about the Amazon Inspector score given to a finding.

type ServerException

type ServerException struct {
	Message *string
	// contains filtered or unexported fields
}

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

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

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.
	Key *string

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

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 TagStatus

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

Enum values for TagStatus

func (TagStatus) Values added in v0.29.0

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

type TooManyTagsException struct {
	Message *string
	// contains filtered or unexported fields
}

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.

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

type UnsupportedImageTypeException struct {
	Message *string
	// contains filtered or unexported fields
}

The image is of a type that cannot be scanned.

func (*UnsupportedImageTypeException) Error

func (*UnsupportedImageTypeException) ErrorCode

func (e *UnsupportedImageTypeException) ErrorCode() string

func (*UnsupportedImageTypeException) ErrorFault

func (*UnsupportedImageTypeException) ErrorMessage

func (e *UnsupportedImageTypeException) ErrorMessage() string

type UnsupportedUpstreamRegistryException added in v1.11.0

type UnsupportedUpstreamRegistryException struct {
	Message *string
	// contains filtered or unexported fields
}

The specified upstream registry isn't supported.

func (*UnsupportedUpstreamRegistryException) Error added in v1.11.0

func (*UnsupportedUpstreamRegistryException) ErrorCode added in v1.11.0

func (*UnsupportedUpstreamRegistryException) ErrorFault added in v1.11.0

func (*UnsupportedUpstreamRegistryException) ErrorMessage added in v1.11.0

func (e *UnsupportedUpstreamRegistryException) ErrorMessage() string

type UploadNotFoundException

type UploadNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

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

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 added in v0.31.0

type ValidationException struct {
	Message *string
	// contains filtered or unexported fields
}

There was an exception validating this request.

func (*ValidationException) Error added in v0.31.0

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode added in v0.31.0

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault added in v0.31.0

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

func (*ValidationException) ErrorMessage added in v0.31.0

func (e *ValidationException) ErrorMessage() string

type VulnerablePackage added in v1.11.0

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
}

Information on the vulnerable package identified by a finding.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL