ecrpublic

package
v0.0.0-...-fd14076 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package ecrpublic provides the client and types for making API requests to Amazon Elastic Container Registry Public.

Amazon Elastic Container Registry Public (Amazon ECR Public) is a managed container image registry service. Amazon ECR provides both public and private registries to host your container images. You can use the Docker CLI or your preferred client to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR API for private repositories, see Amazon Elastic Container Registry API Reference (https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html).

See https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30 for more information on this service.

See ecrpublic package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/ecrpublic/

Using the Client

To contact Amazon Elastic Container Registry Public with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Elastic Container Registry Public client ECRPublic for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ecrpublic/#New

Index

Constants

View Source
const (
	// ImageFailureCodeInvalidImageDigest is a ImageFailureCode enum value
	ImageFailureCodeInvalidImageDigest = "InvalidImageDigest"

	// ImageFailureCodeInvalidImageTag is a ImageFailureCode enum value
	ImageFailureCodeInvalidImageTag = "InvalidImageTag"

	// ImageFailureCodeImageTagDoesNotMatchDigest is a ImageFailureCode enum value
	ImageFailureCodeImageTagDoesNotMatchDigest = "ImageTagDoesNotMatchDigest"

	// ImageFailureCodeImageNotFound is a ImageFailureCode enum value
	ImageFailureCodeImageNotFound = "ImageNotFound"

	// ImageFailureCodeMissingDigestAndTag is a ImageFailureCode enum value
	ImageFailureCodeMissingDigestAndTag = "MissingDigestAndTag"

	// ImageFailureCodeImageReferencedByManifestList is a ImageFailureCode enum value
	ImageFailureCodeImageReferencedByManifestList = "ImageReferencedByManifestList"

	// ImageFailureCodeKmsError is a ImageFailureCode enum value
	ImageFailureCodeKmsError = "KmsError"
)
View Source
const (
	// LayerAvailabilityAvailable is a LayerAvailability enum value
	LayerAvailabilityAvailable = "AVAILABLE"

	// LayerAvailabilityUnavailable is a LayerAvailability enum value
	LayerAvailabilityUnavailable = "UNAVAILABLE"
)
View Source
const (
	// LayerFailureCodeInvalidLayerDigest is a LayerFailureCode enum value
	LayerFailureCodeInvalidLayerDigest = "InvalidLayerDigest"

	// LayerFailureCodeMissingLayerDigest is a LayerFailureCode enum value
	LayerFailureCodeMissingLayerDigest = "MissingLayerDigest"
)
View Source
const (
	// RegistryAliasStatusActive is a RegistryAliasStatus enum value
	RegistryAliasStatusActive = "ACTIVE"

	// RegistryAliasStatusPending is a RegistryAliasStatus enum value
	RegistryAliasStatusPending = "PENDING"

	// RegistryAliasStatusRejected is a RegistryAliasStatus enum value
	RegistryAliasStatusRejected = "REJECTED"
)
View Source
const (

	// ErrCodeEmptyUploadException for service response error code
	// "EmptyUploadException".
	//
	// The specified layer upload doesn't contain any layer parts.
	ErrCodeEmptyUploadException = "EmptyUploadException"

	// ErrCodeImageAlreadyExistsException for service response error code
	// "ImageAlreadyExistsException".
	//
	// The specified image has already been pushed, and there were no changes to
	// the manifest or image tag after the last push.
	ErrCodeImageAlreadyExistsException = "ImageAlreadyExistsException"

	// ErrCodeImageDigestDoesNotMatchException for service response error code
	// "ImageDigestDoesNotMatchException".
	//
	// The specified image digest doesn't match the digest that Amazon ECR calculated
	// for the image.
	ErrCodeImageDigestDoesNotMatchException = "ImageDigestDoesNotMatchException"

	// ErrCodeImageNotFoundException for service response error code
	// "ImageNotFoundException".
	//
	// The image requested doesn't exist in the specified repository.
	ErrCodeImageNotFoundException = "ImageNotFoundException"

	// ErrCodeImageTagAlreadyExistsException for service response error code
	// "ImageTagAlreadyExistsException".
	//
	// The specified image is tagged with a tag that already exists. The repository
	// is configured for tag immutability.
	ErrCodeImageTagAlreadyExistsException = "ImageTagAlreadyExistsException"

	// ErrCodeInvalidLayerException for service response error code
	// "InvalidLayerException".
	//
	// The layer digest calculation performed by Amazon ECR when the image layer
	// doesn't match the digest specified.
	ErrCodeInvalidLayerException = "InvalidLayerException"

	// ErrCodeInvalidLayerPartException for service response error code
	// "InvalidLayerPartException".
	//
	// The layer part size isn't valid, or the first byte specified isn't consecutive
	// to the last byte of a previous layer part upload.
	ErrCodeInvalidLayerPartException = "InvalidLayerPartException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// The specified parameter is invalid. Review the available parameters for the
	// API request.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeInvalidTagParameterException for service response error code
	// "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.
	ErrCodeInvalidTagParameterException = "InvalidTagParameterException"

	// ErrCodeLayerAlreadyExistsException for service response error code
	// "LayerAlreadyExistsException".
	//
	// The image layer already exists in the associated repository.
	ErrCodeLayerAlreadyExistsException = "LayerAlreadyExistsException"

	// ErrCodeLayerPartTooSmallException for service response error code
	// "LayerPartTooSmallException".
	//
	// Layer parts must be at least 5 MiB in size.
	ErrCodeLayerPartTooSmallException = "LayerPartTooSmallException"

	// ErrCodeLayersNotFoundException for service response error code
	// "LayersNotFoundException".
	//
	// The specified layers can't be found, or the specified layer isn't valid for
	// this repository.
	ErrCodeLayersNotFoundException = "LayersNotFoundException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The operation didn't 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.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeReferencedImagesNotFoundException for service response error code
	// "ReferencedImagesNotFoundException".
	//
	// The manifest list is referencing an image that doesn't exist.
	ErrCodeReferencedImagesNotFoundException = "ReferencedImagesNotFoundException"

	// ErrCodeRegistryNotFoundException for service response error code
	// "RegistryNotFoundException".
	//
	// The registry doesn't exist.
	ErrCodeRegistryNotFoundException = "RegistryNotFoundException"

	// ErrCodeRepositoryAlreadyExistsException for service response error code
	// "RepositoryAlreadyExistsException".
	//
	// The specified repository already exists in the specified registry.
	ErrCodeRepositoryAlreadyExistsException = "RepositoryAlreadyExistsException"

	// ErrCodeRepositoryCatalogDataNotFoundException for service response error code
	// "RepositoryCatalogDataNotFoundException".
	//
	// The repository catalog data doesn't exist.
	ErrCodeRepositoryCatalogDataNotFoundException = "RepositoryCatalogDataNotFoundException"

	// ErrCodeRepositoryNotEmptyException for service response error code
	// "RepositoryNotEmptyException".
	//
	// The specified repository contains images. To delete a repository that contains
	// images, you must force the deletion with the force parameter.
	ErrCodeRepositoryNotEmptyException = "RepositoryNotEmptyException"

	// ErrCodeRepositoryNotFoundException for service response error code
	// "RepositoryNotFoundException".
	//
	// The specified repository can't be found. Check the spelling of the specified
	// repository and ensure that you're performing operations on the correct registry.
	ErrCodeRepositoryNotFoundException = "RepositoryNotFoundException"

	// ErrCodeRepositoryPolicyNotFoundException for service response error code
	// "RepositoryPolicyNotFoundException".
	//
	// The specified repository and registry combination doesn't have an associated
	// repository policy.
	ErrCodeRepositoryPolicyNotFoundException = "RepositoryPolicyNotFoundException"

	// ErrCodeServerException for service response error code
	// "ServerException".
	//
	// These errors are usually caused by a server-side issue.
	ErrCodeServerException = "ServerException"

	// ErrCodeTooManyTagsException for service response error code
	// "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.
	ErrCodeTooManyTagsException = "TooManyTagsException"

	// ErrCodeUnsupportedCommandException for service response error code
	// "UnsupportedCommandException".
	//
	// The action isn't supported in this Region.
	ErrCodeUnsupportedCommandException = "UnsupportedCommandException"

	// ErrCodeUploadNotFoundException for service response error code
	// "UploadNotFoundException".
	//
	// The upload can't be found, or the specified upload ID isn't valid for this
	// repository.
	ErrCodeUploadNotFoundException = "UploadNotFoundException"
)
View Source
const (
	ServiceName = "ECR PUBLIC"     // Name of service.
	EndpointsID = "api.ecr-public" // ID to lookup a service endpoint with.
	ServiceID   = "ECR PUBLIC"     // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ImageFailureCode_Values

func ImageFailureCode_Values() []string

ImageFailureCode_Values returns all elements of the ImageFailureCode enum

func LayerAvailability_Values

func LayerAvailability_Values() []string

LayerAvailability_Values returns all elements of the LayerAvailability enum

func LayerFailureCode_Values

func LayerFailureCode_Values() []string

LayerFailureCode_Values returns all elements of the LayerFailureCode enum

func RegistryAliasStatus_Values

func RegistryAliasStatus_Values() []string

RegistryAliasStatus_Values returns all elements of the RegistryAliasStatus enum

Types

type AuthorizationData

type AuthorizationData struct {

	// A base64-encoded string that contains authorization data for a public Amazon
	// ECR registry. When the string is decoded, it's presented in the format user:password
	// for public registry authentication using docker login.
	AuthorizationToken *string `locationName:"authorizationToken" type:"string"`

	// The Unix time in seconds and milliseconds when the authorization token expires.
	// Authorization tokens are valid for 12 hours.
	ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp"`
	// contains filtered or unexported fields
}

An authorization token data object that corresponds to a public registry.

func (AuthorizationData) GoString

func (s AuthorizationData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthorizationData) SetAuthorizationToken

func (s *AuthorizationData) SetAuthorizationToken(v string) *AuthorizationData

SetAuthorizationToken sets the AuthorizationToken field's value.

func (*AuthorizationData) SetExpiresAt

func (s *AuthorizationData) SetExpiresAt(v time.Time) *AuthorizationData

SetExpiresAt sets the ExpiresAt field's value.

func (AuthorizationData) String

func (s AuthorizationData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchCheckLayerAvailabilityInput

type BatchCheckLayerAvailabilityInput struct {

	// The digests of the image layers to check.
	//
	// LayerDigests is a required field
	LayerDigests []*string `locationName:"layerDigests" min:"1" type:"list" required:"true"`

	// The Amazon Web Services account ID, or registry alias, associated with the
	// public registry that contains the image layers to check. If you do not specify
	// a registry, the default public registry is assumed.
	RegistryId *string `locationName:"registryId" min:"2" type:"string"`

	// The name of the repository that's associated with the image layers to check.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchCheckLayerAvailabilityInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchCheckLayerAvailabilityInput) SetLayerDigests

SetLayerDigests sets the LayerDigests field's value.

func (*BatchCheckLayerAvailabilityInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*BatchCheckLayerAvailabilityInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (BatchCheckLayerAvailabilityInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchCheckLayerAvailabilityInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type BatchCheckLayerAvailabilityOutput

type BatchCheckLayerAvailabilityOutput struct {

	// Any failures associated with the call.
	Failures []*LayerFailure `locationName:"failures" type:"list"`

	// A list of image layer objects that correspond to the image layer references
	// in the request.
	Layers []*Layer `locationName:"layers" type:"list"`
	// contains filtered or unexported fields
}

func (BatchCheckLayerAvailabilityOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchCheckLayerAvailabilityOutput) SetFailures

SetFailures sets the Failures field's value.

func (*BatchCheckLayerAvailabilityOutput) SetLayers

SetLayers sets the Layers field's value.

func (BatchCheckLayerAvailabilityOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchDeleteImageInput

type BatchDeleteImageInput struct {

	// A list of image ID references that correspond to images to delete. The format
	// of the imageIds reference is imageTag=tag or imageDigest=digest.
	//
	// ImageIds is a required field
	ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list" required:"true"`

	// The Amazon Web Services account ID, or registry alias, that's associated
	// with the registry that contains the image to delete. If you do not specify
	// a registry, the default public registry is assumed.
	RegistryId *string `locationName:"registryId" min:"2" type:"string"`

	// The repository in a public registry that contains the image to delete.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDeleteImageInput) GoString

func (s BatchDeleteImageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDeleteImageInput) SetImageIds

SetImageIds sets the ImageIds field's value.

func (*BatchDeleteImageInput) SetRegistryId

func (s *BatchDeleteImageInput) SetRegistryId(v string) *BatchDeleteImageInput

SetRegistryId sets the RegistryId field's value.

func (*BatchDeleteImageInput) SetRepositoryName

func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInput

SetRepositoryName sets the RepositoryName field's value.

func (BatchDeleteImageInput) String

func (s BatchDeleteImageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDeleteImageInput) Validate

func (s *BatchDeleteImageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchDeleteImageOutput

type BatchDeleteImageOutput struct {

	// Any failures associated with the call.
	Failures []*ImageFailure `locationName:"failures" type:"list"`

	// The image IDs of the deleted images.
	ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (BatchDeleteImageOutput) GoString

func (s BatchDeleteImageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDeleteImageOutput) SetFailures

SetFailures sets the Failures field's value.

func (*BatchDeleteImageOutput) SetImageIds

SetImageIds sets the ImageIds field's value.

func (BatchDeleteImageOutput) String

func (s BatchDeleteImageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CompleteLayerUploadInput

type CompleteLayerUploadInput struct {

	// The sha256 digest of the image layer.
	//
	// LayerDigests is a required field
	LayerDigests []*string `locationName:"layerDigests" min:"1" type:"list" required:"true"`

	// The Amazon Web Services account ID, or registry alias, associated with the
	// registry where layers are uploaded. If you do not specify a registry, the
	// default public registry is assumed.
	RegistryId *string `locationName:"registryId" min:"2" type:"string"`

	// The name of the repository in a public registry to associate with the image
	// layer.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`

	// The upload ID from a previous InitiateLayerUpload operation to associate
	// with the image layer.
	//
	// UploadId is a required field
	UploadId *string `locationName:"uploadId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CompleteLayerUploadInput) GoString

func (s CompleteLayerUploadInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteLayerUploadInput) SetLayerDigests

func (s *CompleteLayerUploadInput) SetLayerDigests(v []*string) *CompleteLayerUploadInput

SetLayerDigests sets the LayerDigests field's value.

func (*CompleteLayerUploadInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*CompleteLayerUploadInput) SetRepositoryName

func (s *CompleteLayerUploadInput) SetRepositoryName(v string) *CompleteLayerUploadInput

SetRepositoryName sets the RepositoryName field's value.

func (*CompleteLayerUploadInput) SetUploadId

SetUploadId sets the UploadId field's value.

func (CompleteLayerUploadInput) String

func (s CompleteLayerUploadInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteLayerUploadInput) Validate

func (s *CompleteLayerUploadInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CompleteLayerUploadOutput

type CompleteLayerUploadOutput struct {

	// The sha256 digest of the image layer.
	LayerDigest *string `locationName:"layerDigest" type:"string"`

	// The public registry ID that's associated with the request.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The repository name that's associated with the request.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`

	// The upload ID that's associated with the layer.
	UploadId *string `locationName:"uploadId" type:"string"`
	// contains filtered or unexported fields
}

func (CompleteLayerUploadOutput) GoString

func (s CompleteLayerUploadOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CompleteLayerUploadOutput) SetLayerDigest

SetLayerDigest sets the LayerDigest field's value.

func (*CompleteLayerUploadOutput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*CompleteLayerUploadOutput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (*CompleteLayerUploadOutput) SetUploadId

SetUploadId sets the UploadId field's value.

func (CompleteLayerUploadOutput) String

func (s CompleteLayerUploadOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRepositoryInput

type CreateRepositoryInput struct {

	// The details about the repository that are publicly visible in the Amazon
	// ECR Public Gallery.
	CatalogData *RepositoryCatalogDataInput `locationName:"catalogData" type:"structure"`

	// The name to use for the repository. This appears publicly in the Amazon ECR
	// Public Gallery. The repository name can be specified on its own (for example
	// nginx-web-app) or prepended with a namespace to group the repository into
	// a category (for example project-a/nginx-web-app).
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`

	// The metadata that you apply to each repository to help categorize and organize
	// your repositories. Each tag consists of a key and an optional value. You
	// define both of them. Tag keys can have a maximum character length of 128
	// characters, and tag values can have a maximum length of 256 characters.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateRepositoryInput) GoString

func (s CreateRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryInput) SetCatalogData

SetCatalogData sets the CatalogData field's value.

func (*CreateRepositoryInput) SetRepositoryName

func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput

SetRepositoryName sets the RepositoryName field's value.

func (*CreateRepositoryInput) SetTags

SetTags sets the Tags field's value.

func (CreateRepositoryInput) String

func (s CreateRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryInput) Validate

func (s *CreateRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRepositoryOutput

type CreateRepositoryOutput struct {

	// The catalog data for a repository. This data is publicly visible in the Amazon
	// ECR Public Gallery.
	CatalogData *RepositoryCatalogData `locationName:"catalogData" type:"structure"`

	// The repository that was created.
	Repository *Repository `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateRepositoryOutput) GoString

func (s CreateRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRepositoryOutput) SetCatalogData

SetCatalogData sets the CatalogData field's value.

func (*CreateRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRepositoryInput

type DeleteRepositoryInput struct {

	// The force option can be used to delete a repository that contains images.
	// If the force option is not used, the repository must be empty prior to deletion.
	Force *bool `locationName:"force" type:"boolean"`

	// The Amazon Web Services account ID that's associated with the public registry
	// that contains the repository to delete. If you do not specify a registry,
	// the default public registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository to delete.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryInput) GoString

func (s DeleteRepositoryInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryInput) SetForce

SetForce sets the Force field's value.

func (*DeleteRepositoryInput) SetRegistryId

func (s *DeleteRepositoryInput) SetRegistryId(v string) *DeleteRepositoryInput

SetRegistryId sets the RegistryId field's value.

func (*DeleteRepositoryInput) SetRepositoryName

func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryInput) String

func (s DeleteRepositoryInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryInput) Validate

func (s *DeleteRepositoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRepositoryOutput

type DeleteRepositoryOutput struct {

	// The repository that was deleted.
	Repository *Repository `locationName:"repository" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryOutput) GoString

func (s DeleteRepositoryOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryOutput) SetRepository

SetRepository sets the Repository field's value.

func (DeleteRepositoryOutput) String

func (s DeleteRepositoryOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRepositoryPolicyInput

type DeleteRepositoryPolicyInput struct {

	// The Amazon Web Services account ID that's associated with the public registry
	// that contains the repository policy to delete. If you do not specify a registry,
	// the default public registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository that's associated with the repository policy to
	// delete.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryPolicyInput) GoString

func (s DeleteRepositoryPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryPolicyInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*DeleteRepositoryPolicyInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryPolicyInput) Validate

func (s *DeleteRepositoryPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRepositoryPolicyOutput

type DeleteRepositoryPolicyOutput struct {

	// The JSON repository policy that was deleted from the repository.
	PolicyText *string `locationName:"policyText" type:"string"`

	// The registry ID that's associated with the request.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The repository name that's associated with the request.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteRepositoryPolicyOutput) GoString

func (s DeleteRepositoryPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRepositoryPolicyOutput) SetPolicyText

SetPolicyText sets the PolicyText field's value.

func (*DeleteRepositoryPolicyOutput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*DeleteRepositoryPolicyOutput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeImageTagsInput

type DescribeImageTagsInput struct {

	// The maximum number of repository results that's returned by DescribeImageTags
	// in paginated output. When this parameter is used, DescribeImageTags only
	// returns maxResults results in a single page along with a nextToken response
	// element. You can see the remaining results of the initial request by sending
	// another DescribeImageTags request with the returned nextToken value. This
	// value can be between 1 and 1000. If this parameter isn't used, then DescribeImageTags
	// returns up to 100 results and a nextToken value, if applicable. If you specify
	// images with imageIds, you can't use this option.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value that's returned from a previous paginated DescribeImageTags
	// request where maxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the nextToken value. If there are no more results to return, this
	// value is null. If you specify images with imageIds, you can't use this option.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The Amazon Web Services account ID that's associated with the public registry
	// that contains the repository where images are described. If you do not specify
	// a registry, the default public registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository that contains the image tag details to describe.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeImageTagsInput) GoString

func (s DescribeImageTagsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeImageTagsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeImageTagsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeImageTagsInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*DescribeImageTagsInput) SetRepositoryName

func (s *DescribeImageTagsInput) SetRepositoryName(v string) *DescribeImageTagsInput

SetRepositoryName sets the RepositoryName field's value.

func (DescribeImageTagsInput) String

func (s DescribeImageTagsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeImageTagsInput) Validate

func (s *DescribeImageTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeImageTagsOutput

type DescribeImageTagsOutput struct {

	// The image tag details for the images in the requested repository.
	ImageTagDetails []*ImageTagDetail `locationName:"imageTagDetails" type:"list"`

	// The nextToken value to include in a future DescribeImageTags request. When
	// the results of a DescribeImageTags request exceed maxResults, you can use
	// this value to retrieve the next page of results. If there are no more results
	// to return, this value is null.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeImageTagsOutput) GoString

func (s DescribeImageTagsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeImageTagsOutput) SetImageTagDetails

func (s *DescribeImageTagsOutput) SetImageTagDetails(v []*ImageTagDetail) *DescribeImageTagsOutput

SetImageTagDetails sets the ImageTagDetails field's value.

func (*DescribeImageTagsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeImageTagsOutput) String

func (s DescribeImageTagsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeImagesInput

type DescribeImagesInput struct {

	// The list of image IDs for the requested repository.
	ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list"`

	// The maximum number of repository results that's returned by DescribeImages
	// in paginated output. When this parameter is used, DescribeImages only returns
	// maxResults results in a single page along with a nextToken response element.
	// You can see the remaining results of the initial request by sending another
	// DescribeImages request with the returned nextToken value. This value can
	// be between 1 and 1000. If this parameter isn't used, then DescribeImages
	// returns up to 100 results and a nextToken value, if applicable. If you specify
	// images with imageIds, you can't use this option.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value that's returned from a previous paginated DescribeImages
	// request where maxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the nextToken value. If there are no more results to return, this
	// value is null. If you specify images with imageIds, you can't use this option.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The Amazon Web Services account ID that's associated with the public registry
	// that contains the repository where images are described. If you do not specify
	// a registry, the default public registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The repository that contains the images to describe.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeImagesInput) GoString

func (s DescribeImagesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeImagesInput) SetImageIds

SetImageIds sets the ImageIds field's value.

func (*DescribeImagesInput) SetMaxResults

func (s *DescribeImagesInput) SetMaxResults(v int64) *DescribeImagesInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeImagesInput) SetNextToken

func (s *DescribeImagesInput) SetNextToken(v string) *DescribeImagesInput

SetNextToken sets the NextToken field's value.

func (*DescribeImagesInput) SetRegistryId

func (s *DescribeImagesInput) SetRegistryId(v string) *DescribeImagesInput

SetRegistryId sets the RegistryId field's value.

func (*DescribeImagesInput) SetRepositoryName

func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput

SetRepositoryName sets the RepositoryName field's value.

func (DescribeImagesInput) String

func (s DescribeImagesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeImagesInput) Validate

func (s *DescribeImagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeImagesOutput

type DescribeImagesOutput struct {

	// A list of ImageDetail objects that contain data about the image.
	ImageDetails []*ImageDetail `locationName:"imageDetails" type:"list"`

	// The nextToken value to include in a future DescribeImages request. When the
	// results of a DescribeImages request exceed maxResults, you can use this value
	// to retrieve the next page of results. If there are no more results to return,
	// this value is null.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeImagesOutput) GoString

func (s DescribeImagesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeImagesOutput) SetImageDetails

func (s *DescribeImagesOutput) SetImageDetails(v []*ImageDetail) *DescribeImagesOutput

SetImageDetails sets the ImageDetails field's value.

func (*DescribeImagesOutput) SetNextToken

func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput

SetNextToken sets the NextToken field's value.

func (DescribeImagesOutput) String

func (s DescribeImagesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRegistriesInput

type DescribeRegistriesInput struct {

	// The maximum number of repository results that's returned by DescribeRegistries
	// in paginated output. When this parameter is used, DescribeRegistries only
	// returns maxResults results in a single page along with a nextToken response
	// element. The remaining results of the initial request can be seen by sending
	// another DescribeRegistries request with the returned nextToken value. This
	// value can be between 1 and 1000. If this parameter isn't used, then DescribeRegistries
	// returns up to 100 results and a nextToken value, if applicable.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value that's returned from a previous paginated DescribeRegistries
	// request where maxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the nextToken value. If there are no more results to return, this
	// value is null.
	//
	// This token should be treated as an opaque identifier that is only used to
	// retrieve the next items in a list and not for other programmatic purposes.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeRegistriesInput) GoString

func (s DescribeRegistriesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistriesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistriesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (DescribeRegistriesInput) String

func (s DescribeRegistriesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistriesInput) Validate

func (s *DescribeRegistriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRegistriesOutput

type DescribeRegistriesOutput struct {

	// The nextToken value to include in a future DescribeRepositories request.
	// If the results of a DescribeRepositories request exceed maxResults, you can
	// use this value to retrieve the next page of results. If there are no more
	// results, this value is null.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An object that contains the details for a public registry.
	//
	// Registries is a required field
	Registries []*Registry `locationName:"registries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRegistriesOutput) GoString

func (s DescribeRegistriesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRegistriesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRegistriesOutput) SetRegistries

SetRegistries sets the Registries field's value.

func (DescribeRegistriesOutput) String

func (s DescribeRegistriesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRepositoriesInput

type DescribeRepositoriesInput struct {

	// The maximum number of repository results that's returned by DescribeRepositories
	// in paginated output. When this parameter is used, DescribeRepositories only
	// returns maxResults results in a single page along with a nextToken response
	// element. You can see the remaining results of the initial request by sending
	// another DescribeRepositories request with the returned nextToken value. This
	// value can be between 1 and 1000. If this parameter isn't used, then DescribeRepositories
	// returns up to 100 results and a nextToken value, if applicable. If you specify
	// repositories with repositoryNames, you can't use this option.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The nextToken value that's returned from a previous paginated DescribeRepositories
	// request where maxResults was used and the results exceeded the value of that
	// parameter. Pagination continues from the end of the previous results that
	// returned the nextToken value. If there are no more results to return, this
	// value is null. If you specify repositories with repositoryNames, you can't
	// use this option.
	//
	// This token should be treated as an opaque identifier that is only used to
	// retrieve the next items in a list and not for other programmatic purposes.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The Amazon Web Services account ID that's associated with the registry that
	// contains the repositories to be described. If you do not specify a registry,
	// the default public registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// A list of repositories to describe. If this parameter is omitted, then all
	// repositories in a registry are described.
	RepositoryNames []*string `locationName:"repositoryNames" min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRepositoriesInput) GoString

func (s DescribeRepositoriesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRepositoriesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*DescribeRepositoriesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRepositoriesInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*DescribeRepositoriesInput) SetRepositoryNames

func (s *DescribeRepositoriesInput) SetRepositoryNames(v []*string) *DescribeRepositoriesInput

SetRepositoryNames sets the RepositoryNames field's value.

func (DescribeRepositoriesInput) String

func (s DescribeRepositoriesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRepositoriesInput) Validate

func (s *DescribeRepositoriesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRepositoriesOutput

type DescribeRepositoriesOutput struct {

	// The nextToken value to include in a future DescribeRepositories request.
	// When the results of a DescribeRepositories request exceed maxResults, this
	// value can be used to retrieve the next page of results. If there are no more
	// results to return, this value is null.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of repository objects corresponding to valid repositories.
	Repositories []*Repository `locationName:"repositories" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRepositoriesOutput) GoString

func (s DescribeRepositoriesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRepositoriesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*DescribeRepositoriesOutput) SetRepositories

SetRepositories sets the Repositories field's value.

func (DescribeRepositoriesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ECRPublic

type ECRPublic struct {
	*client.Client
}

ECRPublic provides the API operation methods for making requests to Amazon Elastic Container Registry Public. See this package's package overview docs for details on the service.

ECRPublic methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECRPublic

New creates a new instance of the ECRPublic client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ECRPublic client from just a session.
svc := ecrpublic.New(mySession)

// Create a ECRPublic client with additional configuration
svc := ecrpublic.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ECRPublic) BatchCheckLayerAvailability

func (c *ECRPublic) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error)

BatchCheckLayerAvailability API operation for Amazon Elastic Container Registry Public.

Checks the availability of one or more image layers that are within a repository in a public registry. When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation BatchCheckLayerAvailability for usage and error information.

Returned Error Types:

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

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

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

  • RegistryNotFoundException The registry doesn't exist.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchCheckLayerAvailability

func (*ECRPublic) BatchCheckLayerAvailabilityRequest

func (c *ECRPublic) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput)

BatchCheckLayerAvailabilityRequest generates a "aws/request.Request" representing the client's request for the BatchCheckLayerAvailability operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchCheckLayerAvailability for more information on using the BatchCheckLayerAvailability API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchCheckLayerAvailabilityRequest method.
req, resp := client.BatchCheckLayerAvailabilityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchCheckLayerAvailability

func (*ECRPublic) BatchCheckLayerAvailabilityWithContext

func (c *ECRPublic) BatchCheckLayerAvailabilityWithContext(ctx aws.Context, input *BatchCheckLayerAvailabilityInput, opts ...request.Option) (*BatchCheckLayerAvailabilityOutput, error)

BatchCheckLayerAvailabilityWithContext is the same as BatchCheckLayerAvailability with the addition of the ability to pass a context and additional request options.

See BatchCheckLayerAvailability for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) BatchDeleteImage

func (c *ECRPublic) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error)

BatchDeleteImage API operation for Amazon Elastic Container Registry Public.

Deletes a list of specified images that are within a repository in a public registry. Images are specified with either an imageTag or imageDigest.

You can remove a tag from an image by specifying the image's tag in your request. When you remove the last tag from an image, the image is deleted from your repository.

You can completely delete an image (and all of its tags) by specifying the digest of the image in your request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation BatchDeleteImage for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchDeleteImage

func (*ECRPublic) BatchDeleteImageRequest

func (c *ECRPublic) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput)

BatchDeleteImageRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteImage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDeleteImage for more information on using the BatchDeleteImage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDeleteImageRequest method.
req, resp := client.BatchDeleteImageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchDeleteImage

func (*ECRPublic) BatchDeleteImageWithContext

func (c *ECRPublic) BatchDeleteImageWithContext(ctx aws.Context, input *BatchDeleteImageInput, opts ...request.Option) (*BatchDeleteImageOutput, error)

BatchDeleteImageWithContext is the same as BatchDeleteImage with the addition of the ability to pass a context and additional request options.

See BatchDeleteImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) CompleteLayerUpload

func (c *ECRPublic) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error)

CompleteLayerUpload API operation for Amazon Elastic Container Registry Public.

Informs Amazon ECR that the image layer upload is complete for a specified public registry, repository name, and upload ID. You can optionally provide a sha256 digest of the image layer for data validation purposes.

When an image is pushed, the CompleteLayerUpload API is called once for each new image layer to verify that the upload is complete.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation CompleteLayerUpload for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UploadNotFoundException The upload can't be found, or the specified upload ID isn't valid for this repository.

  • InvalidLayerException The layer digest calculation performed by Amazon ECR when the image layer doesn't match the digest specified.

  • LayerPartTooSmallException Layer parts must be at least 5 MiB in size.

  • LayerAlreadyExistsException The image layer already exists in the associated repository.

  • EmptyUploadException The specified layer upload doesn't contain any layer parts.

  • RegistryNotFoundException The registry doesn't exist.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CompleteLayerUpload

func (*ECRPublic) CompleteLayerUploadRequest

func (c *ECRPublic) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput)

CompleteLayerUploadRequest generates a "aws/request.Request" representing the client's request for the CompleteLayerUpload operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CompleteLayerUpload for more information on using the CompleteLayerUpload API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CompleteLayerUploadRequest method.
req, resp := client.CompleteLayerUploadRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CompleteLayerUpload

func (*ECRPublic) CompleteLayerUploadWithContext

func (c *ECRPublic) CompleteLayerUploadWithContext(ctx aws.Context, input *CompleteLayerUploadInput, opts ...request.Option) (*CompleteLayerUploadOutput, error)

CompleteLayerUploadWithContext is the same as CompleteLayerUpload with the addition of the ability to pass a context and additional request options.

See CompleteLayerUpload for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) CreateRepository

func (c *ECRPublic) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)

CreateRepository API operation for Amazon Elastic Container Registry Public.

Creates a repository in a public registry. For more information, see Amazon ECR repositories (https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the Amazon Elastic Container Registry User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation CreateRepository for usage and error information.

Returned Error Types:

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

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

  • 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.

  • 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.

  • RepositoryAlreadyExistsException The specified repository already exists in the specified registry.

  • LimitExceededException The operation didn't 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.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CreateRepository

func (*ECRPublic) CreateRepositoryRequest

func (c *ECRPublic) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)

CreateRepositoryRequest generates a "aws/request.Request" representing the client's request for the CreateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRepository for more information on using the CreateRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRepositoryRequest method.
req, resp := client.CreateRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CreateRepository

func (*ECRPublic) CreateRepositoryWithContext

func (c *ECRPublic) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)

CreateRepositoryWithContext is the same as CreateRepository with the addition of the ability to pass a context and additional request options.

See CreateRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DeleteRepository

func (c *ECRPublic) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)

DeleteRepository API operation for Amazon Elastic Container Registry Public.

Deletes a repository in a public registry. If the repository contains images, you must either manually delete all images in the repository or use the force option. This option deletes all images on your behalf before deleting the repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DeleteRepository for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

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

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepository

func (*ECRPublic) DeleteRepositoryPolicy

func (c *ECRPublic) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error)

DeleteRepositoryPolicy API operation for Amazon Elastic Container Registry Public.

Deletes the repository policy that's associated with the specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DeleteRepositoryPolicy for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • RepositoryPolicyNotFoundException The specified repository and registry combination doesn't have an associated repository policy.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepositoryPolicy

func (*ECRPublic) DeleteRepositoryPolicyRequest

func (c *ECRPublic) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput)

DeleteRepositoryPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteRepositoryPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRepositoryPolicy for more information on using the DeleteRepositoryPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRepositoryPolicyRequest method.
req, resp := client.DeleteRepositoryPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepositoryPolicy

func (*ECRPublic) DeleteRepositoryPolicyWithContext

func (c *ECRPublic) DeleteRepositoryPolicyWithContext(ctx aws.Context, input *DeleteRepositoryPolicyInput, opts ...request.Option) (*DeleteRepositoryPolicyOutput, error)

DeleteRepositoryPolicyWithContext is the same as DeleteRepositoryPolicy with the addition of the ability to pass a context and additional request options.

See DeleteRepositoryPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DeleteRepositoryRequest

func (c *ECRPublic) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)

DeleteRepositoryRequest generates a "aws/request.Request" representing the client's request for the DeleteRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRepository for more information on using the DeleteRepository API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRepositoryRequest method.
req, resp := client.DeleteRepositoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepository

func (*ECRPublic) DeleteRepositoryWithContext

func (c *ECRPublic) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)

DeleteRepositoryWithContext is the same as DeleteRepository with the addition of the ability to pass a context and additional request options.

See DeleteRepository for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeImageTags

func (c *ECRPublic) DescribeImageTags(input *DescribeImageTagsInput) (*DescribeImageTagsOutput, error)

DescribeImageTags API operation for Amazon Elastic Container Registry Public.

Returns the image tag details for a repository in a public registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeImageTags for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImageTags

func (*ECRPublic) DescribeImageTagsPages

func (c *ECRPublic) DescribeImageTagsPages(input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool) error

DescribeImageTagsPages iterates over the pages of a DescribeImageTags operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeImageTags method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeImageTags operation.
pageNum := 0
err := client.DescribeImageTagsPages(params,
    func(page *ecrpublic.DescribeImageTagsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ECRPublic) DescribeImageTagsPagesWithContext

func (c *ECRPublic) DescribeImageTagsPagesWithContext(ctx aws.Context, input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool, opts ...request.Option) error

DescribeImageTagsPagesWithContext same as DescribeImageTagsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeImageTagsRequest

func (c *ECRPublic) DescribeImageTagsRequest(input *DescribeImageTagsInput) (req *request.Request, output *DescribeImageTagsOutput)

DescribeImageTagsRequest generates a "aws/request.Request" representing the client's request for the DescribeImageTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeImageTags for more information on using the DescribeImageTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeImageTagsRequest method.
req, resp := client.DescribeImageTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImageTags

func (*ECRPublic) DescribeImageTagsWithContext

func (c *ECRPublic) DescribeImageTagsWithContext(ctx aws.Context, input *DescribeImageTagsInput, opts ...request.Option) (*DescribeImageTagsOutput, error)

DescribeImageTagsWithContext is the same as DescribeImageTags with the addition of the ability to pass a context and additional request options.

See DescribeImageTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeImages

func (c *ECRPublic) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error)

DescribeImages API operation for Amazon Elastic Container Registry Public.

Returns metadata that's related to the images in a repository in a public registry.

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. Therefore, it might return a larger image size than the image sizes that are returned by DescribeImages.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeImages for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • ImageNotFoundException The image requested doesn't exist in the specified repository.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImages

func (*ECRPublic) DescribeImagesPages

func (c *ECRPublic) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error

DescribeImagesPages iterates over the pages of a DescribeImages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeImages method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeImages operation.
pageNum := 0
err := client.DescribeImagesPages(params,
    func(page *ecrpublic.DescribeImagesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ECRPublic) DescribeImagesPagesWithContext

func (c *ECRPublic) DescribeImagesPagesWithContext(ctx aws.Context, input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool, opts ...request.Option) error

DescribeImagesPagesWithContext same as DescribeImagesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeImagesRequest

func (c *ECRPublic) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput)

DescribeImagesRequest generates a "aws/request.Request" representing the client's request for the DescribeImages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeImages for more information on using the DescribeImages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeImagesRequest method.
req, resp := client.DescribeImagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImages

func (*ECRPublic) DescribeImagesWithContext

func (c *ECRPublic) DescribeImagesWithContext(ctx aws.Context, input *DescribeImagesInput, opts ...request.Option) (*DescribeImagesOutput, error)

DescribeImagesWithContext is the same as DescribeImages with the addition of the ability to pass a context and additional request options.

See DescribeImages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeRegistries

func (c *ECRPublic) DescribeRegistries(input *DescribeRegistriesInput) (*DescribeRegistriesOutput, error)

DescribeRegistries API operation for Amazon Elastic Container Registry Public.

Returns details for a public registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeRegistries for usage and error information.

Returned Error Types:

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

  • UnsupportedCommandException The action isn't supported in this Region.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRegistries

func (*ECRPublic) DescribeRegistriesPages

func (c *ECRPublic) DescribeRegistriesPages(input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool) error

DescribeRegistriesPages iterates over the pages of a DescribeRegistries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRegistries method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRegistries operation.
pageNum := 0
err := client.DescribeRegistriesPages(params,
    func(page *ecrpublic.DescribeRegistriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ECRPublic) DescribeRegistriesPagesWithContext

func (c *ECRPublic) DescribeRegistriesPagesWithContext(ctx aws.Context, input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool, opts ...request.Option) error

DescribeRegistriesPagesWithContext same as DescribeRegistriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeRegistriesRequest

func (c *ECRPublic) DescribeRegistriesRequest(input *DescribeRegistriesInput) (req *request.Request, output *DescribeRegistriesOutput)

DescribeRegistriesRequest generates a "aws/request.Request" representing the client's request for the DescribeRegistries operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRegistries for more information on using the DescribeRegistries API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRegistriesRequest method.
req, resp := client.DescribeRegistriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRegistries

func (*ECRPublic) DescribeRegistriesWithContext

func (c *ECRPublic) DescribeRegistriesWithContext(ctx aws.Context, input *DescribeRegistriesInput, opts ...request.Option) (*DescribeRegistriesOutput, error)

DescribeRegistriesWithContext is the same as DescribeRegistries with the addition of the ability to pass a context and additional request options.

See DescribeRegistries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeRepositories

func (c *ECRPublic) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error)

DescribeRepositories API operation for Amazon Elastic Container Registry Public.

Describes repositories that are in a public registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation DescribeRepositories for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRepositories

func (*ECRPublic) DescribeRepositoriesPages

func (c *ECRPublic) DescribeRepositoriesPages(input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool) error

DescribeRepositoriesPages iterates over the pages of a DescribeRepositories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeRepositories method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeRepositories operation.
pageNum := 0
err := client.DescribeRepositoriesPages(params,
    func(page *ecrpublic.DescribeRepositoriesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ECRPublic) DescribeRepositoriesPagesWithContext

func (c *ECRPublic) DescribeRepositoriesPagesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool, opts ...request.Option) error

DescribeRepositoriesPagesWithContext same as DescribeRepositoriesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) DescribeRepositoriesRequest

func (c *ECRPublic) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput)

DescribeRepositoriesRequest generates a "aws/request.Request" representing the client's request for the DescribeRepositories operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRepositories for more information on using the DescribeRepositories API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRepositoriesRequest method.
req, resp := client.DescribeRepositoriesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRepositories

func (*ECRPublic) DescribeRepositoriesWithContext

func (c *ECRPublic) DescribeRepositoriesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, opts ...request.Option) (*DescribeRepositoriesOutput, error)

DescribeRepositoriesWithContext is the same as DescribeRepositories with the addition of the ability to pass a context and additional request options.

See DescribeRepositories for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) GetAuthorizationToken

func (c *ECRPublic) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error)

GetAuthorizationToken API operation for Amazon Elastic Container Registry Public.

Retrieves an authorization token. An authorization token represents your IAM authentication credentials. You can use it to access any Amazon ECR registry that your IAM principal has access to. The authorization token is valid for 12 hours. This API requires the ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken permissions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetAuthorizationToken for usage and error information.

Returned Error Types:

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

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

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetAuthorizationToken

func (*ECRPublic) GetAuthorizationTokenRequest

func (c *ECRPublic) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput)

GetAuthorizationTokenRequest generates a "aws/request.Request" representing the client's request for the GetAuthorizationToken operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAuthorizationToken for more information on using the GetAuthorizationToken API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAuthorizationTokenRequest method.
req, resp := client.GetAuthorizationTokenRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetAuthorizationToken

func (*ECRPublic) GetAuthorizationTokenWithContext

func (c *ECRPublic) GetAuthorizationTokenWithContext(ctx aws.Context, input *GetAuthorizationTokenInput, opts ...request.Option) (*GetAuthorizationTokenOutput, error)

GetAuthorizationTokenWithContext is the same as GetAuthorizationToken with the addition of the ability to pass a context and additional request options.

See GetAuthorizationToken for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) GetRegistryCatalogData

func (c *ECRPublic) GetRegistryCatalogData(input *GetRegistryCatalogDataInput) (*GetRegistryCatalogDataOutput, error)

GetRegistryCatalogData API operation for Amazon Elastic Container Registry Public.

Retrieves catalog metadata for a public registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetRegistryCatalogData for usage and error information.

Returned Error Types:

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

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRegistryCatalogData

func (*ECRPublic) GetRegistryCatalogDataRequest

func (c *ECRPublic) GetRegistryCatalogDataRequest(input *GetRegistryCatalogDataInput) (req *request.Request, output *GetRegistryCatalogDataOutput)

GetRegistryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the GetRegistryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRegistryCatalogData for more information on using the GetRegistryCatalogData API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRegistryCatalogDataRequest method.
req, resp := client.GetRegistryCatalogDataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRegistryCatalogData

func (*ECRPublic) GetRegistryCatalogDataWithContext

func (c *ECRPublic) GetRegistryCatalogDataWithContext(ctx aws.Context, input *GetRegistryCatalogDataInput, opts ...request.Option) (*GetRegistryCatalogDataOutput, error)

GetRegistryCatalogDataWithContext is the same as GetRegistryCatalogData with the addition of the ability to pass a context and additional request options.

See GetRegistryCatalogData for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) GetRepositoryCatalogData

func (c *ECRPublic) GetRepositoryCatalogData(input *GetRepositoryCatalogDataInput) (*GetRepositoryCatalogDataOutput, error)

GetRepositoryCatalogData API operation for Amazon Elastic Container Registry Public.

Retrieve catalog metadata for a repository in a public registry. This metadata is displayed publicly in the Amazon ECR Public Gallery.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetRepositoryCatalogData for usage and error information.

Returned Error Types:

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

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

  • RepositoryCatalogDataNotFoundException The repository catalog data doesn't exist.

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryCatalogData

func (*ECRPublic) GetRepositoryCatalogDataRequest

func (c *ECRPublic) GetRepositoryCatalogDataRequest(input *GetRepositoryCatalogDataInput) (req *request.Request, output *GetRepositoryCatalogDataOutput)

GetRepositoryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepositoryCatalogData for more information on using the GetRepositoryCatalogData API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryCatalogDataRequest method.
req, resp := client.GetRepositoryCatalogDataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryCatalogData

func (*ECRPublic) GetRepositoryCatalogDataWithContext

func (c *ECRPublic) GetRepositoryCatalogDataWithContext(ctx aws.Context, input *GetRepositoryCatalogDataInput, opts ...request.Option) (*GetRepositoryCatalogDataOutput, error)

GetRepositoryCatalogDataWithContext is the same as GetRepositoryCatalogData with the addition of the ability to pass a context and additional request options.

See GetRepositoryCatalogData for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) GetRepositoryPolicy

func (c *ECRPublic) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error)

GetRepositoryPolicy API operation for Amazon Elastic Container Registry Public.

Retrieves the repository policy for the specified repository.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation GetRepositoryPolicy for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • RepositoryPolicyNotFoundException The specified repository and registry combination doesn't have an associated repository policy.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryPolicy

func (*ECRPublic) GetRepositoryPolicyRequest

func (c *ECRPublic) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput)

GetRepositoryPolicyRequest generates a "aws/request.Request" representing the client's request for the GetRepositoryPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetRepositoryPolicy for more information on using the GetRepositoryPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetRepositoryPolicyRequest method.
req, resp := client.GetRepositoryPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryPolicy

func (*ECRPublic) GetRepositoryPolicyWithContext

func (c *ECRPublic) GetRepositoryPolicyWithContext(ctx aws.Context, input *GetRepositoryPolicyInput, opts ...request.Option) (*GetRepositoryPolicyOutput, error)

GetRepositoryPolicyWithContext is the same as GetRepositoryPolicy with the addition of the ability to pass a context and additional request options.

See GetRepositoryPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) InitiateLayerUpload

func (c *ECRPublic) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error)

InitiateLayerUpload API operation for Amazon Elastic Container Registry Public.

Notifies Amazon ECR that you intend to upload an image layer.

When an image is pushed, the InitiateLayerUpload API is called once for each image layer that hasn't already been uploaded. Whether an image layer uploads is determined by the BatchCheckLayerAvailability API action.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation InitiateLayerUpload for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • RegistryNotFoundException The registry doesn't exist.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/InitiateLayerUpload

func (*ECRPublic) InitiateLayerUploadRequest

func (c *ECRPublic) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput)

InitiateLayerUploadRequest generates a "aws/request.Request" representing the client's request for the InitiateLayerUpload operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See InitiateLayerUpload for more information on using the InitiateLayerUpload API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the InitiateLayerUploadRequest method.
req, resp := client.InitiateLayerUploadRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/InitiateLayerUpload

func (*ECRPublic) InitiateLayerUploadWithContext

func (c *ECRPublic) InitiateLayerUploadWithContext(ctx aws.Context, input *InitiateLayerUploadInput, opts ...request.Option) (*InitiateLayerUploadOutput, error)

InitiateLayerUploadWithContext is the same as InitiateLayerUpload with the addition of the ability to pass a context and additional request options.

See InitiateLayerUpload for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) ListTagsForResource

func (c *ECRPublic) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Elastic Container Registry Public.

List the tags for an Amazon ECR Public resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation ListTagsForResource for usage and error information.

Returned Error Types:

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/ListTagsForResource

func (*ECRPublic) ListTagsForResourceRequest

func (c *ECRPublic) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/ListTagsForResource

func (*ECRPublic) ListTagsForResourceWithContext

func (c *ECRPublic) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) PutImage

func (c *ECRPublic) PutImage(input *PutImageInput) (*PutImageOutput, error)

PutImage API operation for Amazon Elastic Container Registry Public.

Creates or updates the image manifest and tags that are associated with an image.

When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags that are associated with the image.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation PutImage for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

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

  • LayersNotFoundException The specified layers can't be found, or the specified layer isn't valid for this repository.

  • ReferencedImagesNotFoundException The manifest list is referencing an image that doesn't exist.

  • LimitExceededException The operation didn't 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.

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

  • ImageDigestDoesNotMatchException The specified image digest doesn't match the digest that Amazon ECR calculated for the image.

  • RegistryNotFoundException The registry doesn't exist.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutImage

func (*ECRPublic) PutImageRequest

func (c *ECRPublic) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput)

PutImageRequest generates a "aws/request.Request" representing the client's request for the PutImage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutImage for more information on using the PutImage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutImageRequest method.
req, resp := client.PutImageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutImage

func (*ECRPublic) PutImageWithContext

func (c *ECRPublic) PutImageWithContext(ctx aws.Context, input *PutImageInput, opts ...request.Option) (*PutImageOutput, error)

PutImageWithContext is the same as PutImage with the addition of the ability to pass a context and additional request options.

See PutImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) PutRegistryCatalogData

func (c *ECRPublic) PutRegistryCatalogData(input *PutRegistryCatalogDataInput) (*PutRegistryCatalogDataOutput, error)

PutRegistryCatalogData API operation for Amazon Elastic Container Registry Public.

Create or update the catalog data for a public registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation PutRegistryCatalogData for usage and error information.

Returned Error Types:

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

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

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRegistryCatalogData

func (*ECRPublic) PutRegistryCatalogDataRequest

func (c *ECRPublic) PutRegistryCatalogDataRequest(input *PutRegistryCatalogDataInput) (req *request.Request, output *PutRegistryCatalogDataOutput)

PutRegistryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the PutRegistryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRegistryCatalogData for more information on using the PutRegistryCatalogData API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRegistryCatalogDataRequest method.
req, resp := client.PutRegistryCatalogDataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRegistryCatalogData

func (*ECRPublic) PutRegistryCatalogDataWithContext

func (c *ECRPublic) PutRegistryCatalogDataWithContext(ctx aws.Context, input *PutRegistryCatalogDataInput, opts ...request.Option) (*PutRegistryCatalogDataOutput, error)

PutRegistryCatalogDataWithContext is the same as PutRegistryCatalogData with the addition of the ability to pass a context and additional request options.

See PutRegistryCatalogData for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) PutRepositoryCatalogData

func (c *ECRPublic) PutRepositoryCatalogData(input *PutRepositoryCatalogDataInput) (*PutRepositoryCatalogDataOutput, error)

PutRepositoryCatalogData API operation for Amazon Elastic Container Registry Public.

Creates or updates the catalog data for a repository in a public registry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation PutRepositoryCatalogData for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRepositoryCatalogData

func (*ECRPublic) PutRepositoryCatalogDataRequest

func (c *ECRPublic) PutRepositoryCatalogDataRequest(input *PutRepositoryCatalogDataInput) (req *request.Request, output *PutRepositoryCatalogDataOutput)

PutRepositoryCatalogDataRequest generates a "aws/request.Request" representing the client's request for the PutRepositoryCatalogData operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutRepositoryCatalogData for more information on using the PutRepositoryCatalogData API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutRepositoryCatalogDataRequest method.
req, resp := client.PutRepositoryCatalogDataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRepositoryCatalogData

func (*ECRPublic) PutRepositoryCatalogDataWithContext

func (c *ECRPublic) PutRepositoryCatalogDataWithContext(ctx aws.Context, input *PutRepositoryCatalogDataInput, opts ...request.Option) (*PutRepositoryCatalogDataOutput, error)

PutRepositoryCatalogDataWithContext is the same as PutRepositoryCatalogData with the addition of the ability to pass a context and additional request options.

See PutRepositoryCatalogData for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) SetRepositoryPolicy

func (c *ECRPublic) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error)

SetRepositoryPolicy API operation for Amazon Elastic Container Registry Public.

Applies a repository policy to the specified public repository to control access permissions. For more information, see Amazon ECR Repository Policies (https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html) in the Amazon Elastic Container Registry User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation SetRepositoryPolicy for usage and error information.

Returned Error Types:

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

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

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/SetRepositoryPolicy

func (*ECRPublic) SetRepositoryPolicyRequest

func (c *ECRPublic) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput)

SetRepositoryPolicyRequest generates a "aws/request.Request" representing the client's request for the SetRepositoryPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetRepositoryPolicy for more information on using the SetRepositoryPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetRepositoryPolicyRequest method.
req, resp := client.SetRepositoryPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/SetRepositoryPolicy

func (*ECRPublic) SetRepositoryPolicyWithContext

func (c *ECRPublic) SetRepositoryPolicyWithContext(ctx aws.Context, input *SetRepositoryPolicyInput, opts ...request.Option) (*SetRepositoryPolicyOutput, error)

SetRepositoryPolicyWithContext is the same as SetRepositoryPolicy with the addition of the ability to pass a context and additional request options.

See SetRepositoryPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) TagResource

func (c *ECRPublic) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Elastic Container Registry Public.

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation TagResource for usage and error information.

Returned Error Types:

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

  • 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.

  • 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.

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TagResource

func (*ECRPublic) TagResourceRequest

func (c *ECRPublic) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TagResource

func (*ECRPublic) TagResourceWithContext

func (c *ECRPublic) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) UntagResource

func (c *ECRPublic) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Elastic Container Registry Public.

Deletes specified tags from a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation UntagResource for usage and error information.

Returned Error Types:

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

  • 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.

  • 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.

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UnsupportedCommandException The action isn't supported in this Region.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UntagResource

func (*ECRPublic) UntagResourceRequest

func (c *ECRPublic) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UntagResource

func (*ECRPublic) UntagResourceWithContext

func (c *ECRPublic) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECRPublic) UploadLayerPart

func (c *ECRPublic) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error)

UploadLayerPart API operation for Amazon Elastic Container Registry Public.

Uploads an image layer part to Amazon ECR.

When an image is pushed, each new image layer is uploaded in parts. The maximum size of each image layer part can be 20971520 bytes (about 20MB). The UploadLayerPart API is called once for each new image layer part.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Elastic Container Registry Public's API operation UploadLayerPart for usage and error information.

Returned Error Types:

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

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

  • InvalidLayerPartException The layer part size isn't valid, or the first byte specified isn't consecutive to the last byte of a previous layer part upload.

  • RepositoryNotFoundException The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

  • UploadNotFoundException The upload can't be found, or the specified upload ID isn't valid for this repository.

  • LimitExceededException The operation didn't 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.

  • RegistryNotFoundException The registry doesn't exist.

  • UnsupportedCommandException The action isn't supported in this Region.

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UploadLayerPart

func (*ECRPublic) UploadLayerPartRequest

func (c *ECRPublic) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput)

UploadLayerPartRequest generates a "aws/request.Request" representing the client's request for the UploadLayerPart operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UploadLayerPart for more information on using the UploadLayerPart API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UploadLayerPartRequest method.
req, resp := client.UploadLayerPartRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UploadLayerPart

func (*ECRPublic) UploadLayerPartWithContext

func (c *ECRPublic) UploadLayerPartWithContext(ctx aws.Context, input *UploadLayerPartInput, opts ...request.Option) (*UploadLayerPartOutput, error)

UploadLayerPartWithContext is the same as UploadLayerPart with the addition of the ability to pass a context and additional request options.

See UploadLayerPart for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type EmptyUploadException

type EmptyUploadException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified layer upload doesn't contain any layer parts.

func (*EmptyUploadException) Code

func (s *EmptyUploadException) Code() string

Code returns the exception type name.

func (*EmptyUploadException) Error

func (s *EmptyUploadException) Error() string

func (EmptyUploadException) GoString

func (s EmptyUploadException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EmptyUploadException) Message

func (s *EmptyUploadException) Message() string

Message returns the exception's message.

func (*EmptyUploadException) OrigErr

func (s *EmptyUploadException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EmptyUploadException) RequestID

func (s *EmptyUploadException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EmptyUploadException) StatusCode

func (s *EmptyUploadException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EmptyUploadException) String

func (s EmptyUploadException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAuthorizationTokenInput

type GetAuthorizationTokenInput struct {
	// contains filtered or unexported fields
}

func (GetAuthorizationTokenInput) GoString

func (s GetAuthorizationTokenInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetAuthorizationTokenInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAuthorizationTokenOutput

type GetAuthorizationTokenOutput struct {

	// An authorization token data object that corresponds to a public registry.
	AuthorizationData *AuthorizationData `locationName:"authorizationData" type:"structure"`
	// contains filtered or unexported fields
}

func (GetAuthorizationTokenOutput) GoString

func (s GetAuthorizationTokenOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAuthorizationTokenOutput) SetAuthorizationData

SetAuthorizationData sets the AuthorizationData field's value.

func (GetAuthorizationTokenOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRegistryCatalogDataInput

type GetRegistryCatalogDataInput struct {
	// contains filtered or unexported fields
}

func (GetRegistryCatalogDataInput) GoString

func (s GetRegistryCatalogDataInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetRegistryCatalogDataInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRegistryCatalogDataOutput

type GetRegistryCatalogDataOutput struct {

	// The catalog metadata for the public registry.
	//
	// RegistryCatalogData is a required field
	RegistryCatalogData *RegistryCatalogData `locationName:"registryCatalogData" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetRegistryCatalogDataOutput) GoString

func (s GetRegistryCatalogDataOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRegistryCatalogDataOutput) SetRegistryCatalogData

SetRegistryCatalogData sets the RegistryCatalogData field's value.

func (GetRegistryCatalogDataOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRepositoryCatalogDataInput

type GetRepositoryCatalogDataInput struct {

	// The Amazon Web Services account ID that's associated with the registry that
	// contains the repositories to be described. If you do not specify a registry,
	// the default public registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository to retrieve the catalog metadata for.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRepositoryCatalogDataInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryCatalogDataInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*GetRepositoryCatalogDataInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryCatalogDataInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryCatalogDataInput) Validate

func (s *GetRepositoryCatalogDataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRepositoryCatalogDataOutput

type GetRepositoryCatalogDataOutput struct {

	// The catalog metadata for the repository.
	CatalogData *RepositoryCatalogData `locationName:"catalogData" type:"structure"`
	// contains filtered or unexported fields
}

func (GetRepositoryCatalogDataOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryCatalogDataOutput) SetCatalogData

SetCatalogData sets the CatalogData field's value.

func (GetRepositoryCatalogDataOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetRepositoryPolicyInput

type GetRepositoryPolicyInput struct {

	// The Amazon Web Services account ID that's associated with the public registry
	// that contains the repository. If you do not specify a registry, the default
	// public registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository with the policy to retrieve.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRepositoryPolicyInput) GoString

func (s GetRepositoryPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryPolicyInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*GetRepositoryPolicyInput) SetRepositoryName

func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPolicyInput

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryPolicyInput) String

func (s GetRepositoryPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryPolicyInput) Validate

func (s *GetRepositoryPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRepositoryPolicyOutput

type GetRepositoryPolicyOutput struct {

	// The repository policy text that's associated with the repository. The policy
	// text will be in JSON format.
	PolicyText *string `locationName:"policyText" type:"string"`

	// The registry ID that's associated with the request.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The repository name that's associated with the request.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (GetRepositoryPolicyOutput) GoString

func (s GetRepositoryPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetRepositoryPolicyOutput) SetPolicyText

SetPolicyText sets the PolicyText field's value.

func (*GetRepositoryPolicyOutput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*GetRepositoryPolicyOutput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryPolicyOutput) String

func (s GetRepositoryPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Image

type Image struct {

	// An object that contains the image tag and image digest associated with an
	// image.
	ImageId *ImageIdentifier `locationName:"imageId" type:"structure"`

	// The image manifest that's associated with the image.
	ImageManifest *string `locationName:"imageManifest" min:"1" type:"string"`

	// The manifest media type of the image.
	ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"`

	// The Amazon Web Services account ID that's associated with the registry containing
	// the image.
	RegistryId *string `locationName:"registryId" min:"2" type:"string"`

	// The name of the repository that's associated with the image.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`
	// contains filtered or unexported fields
}

An object that represents an Amazon ECR image.

func (Image) GoString

func (s Image) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Image) SetImageId

func (s *Image) SetImageId(v *ImageIdentifier) *Image

SetImageId sets the ImageId field's value.

func (*Image) SetImageManifest

func (s *Image) SetImageManifest(v string) *Image

SetImageManifest sets the ImageManifest field's value.

func (*Image) SetImageManifestMediaType

func (s *Image) SetImageManifestMediaType(v string) *Image

SetImageManifestMediaType sets the ImageManifestMediaType field's value.

func (*Image) SetRegistryId

func (s *Image) SetRegistryId(v string) *Image

SetRegistryId sets the RegistryId field's value.

func (*Image) SetRepositoryName

func (s *Image) SetRepositoryName(v string) *Image

SetRepositoryName sets the RepositoryName field's value.

func (Image) String

func (s Image) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageAlreadyExistsException

type ImageAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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) Code

Code returns the exception type name.

func (*ImageAlreadyExistsException) Error

func (ImageAlreadyExistsException) GoString

func (s ImageAlreadyExistsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageAlreadyExistsException) Message

func (s *ImageAlreadyExistsException) Message() string

Message returns the exception's message.

func (*ImageAlreadyExistsException) OrigErr

func (s *ImageAlreadyExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ImageAlreadyExistsException) RequestID

func (s *ImageAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ImageAlreadyExistsException) StatusCode

func (s *ImageAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ImageAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageDetail

type ImageDetail struct {

	// The artifact media type of the image.
	ArtifactMediaType *string `locationName:"artifactMediaType" type:"string"`

	// The sha256 digest of the image manifest.
	ImageDigest *string `locationName:"imageDigest" type:"string"`

	// The media type of the image manifest.
	ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"`

	// The date and time, expressed in standard JavaScript date format, that the
	// current image was pushed to the repository at.
	ImagePushedAt *time.Time `locationName:"imagePushedAt" type:"timestamp"`

	// The size, in bytes, of the image in the repository.
	//
	// If the image is a manifest list, this is 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 might return a larger image
	// size than the image sizes that are returned by DescribeImages.
	ImageSizeInBytes *int64 `locationName:"imageSizeInBytes" type:"long"`

	// The list of tags that's associated with this image.
	ImageTags []*string `locationName:"imageTags" type:"list"`

	// The Amazon Web Services account ID that's associated with the public registry
	// where this image belongs.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository where this image belongs.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`
	// contains filtered or unexported fields
}

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

func (ImageDetail) GoString

func (s ImageDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageDetail) SetArtifactMediaType

func (s *ImageDetail) SetArtifactMediaType(v string) *ImageDetail

SetArtifactMediaType sets the ArtifactMediaType field's value.

func (*ImageDetail) SetImageDigest

func (s *ImageDetail) SetImageDigest(v string) *ImageDetail

SetImageDigest sets the ImageDigest field's value.

func (*ImageDetail) SetImageManifestMediaType

func (s *ImageDetail) SetImageManifestMediaType(v string) *ImageDetail

SetImageManifestMediaType sets the ImageManifestMediaType field's value.

func (*ImageDetail) SetImagePushedAt

func (s *ImageDetail) SetImagePushedAt(v time.Time) *ImageDetail

SetImagePushedAt sets the ImagePushedAt field's value.

func (*ImageDetail) SetImageSizeInBytes

func (s *ImageDetail) SetImageSizeInBytes(v int64) *ImageDetail

SetImageSizeInBytes sets the ImageSizeInBytes field's value.

func (*ImageDetail) SetImageTags

func (s *ImageDetail) SetImageTags(v []*string) *ImageDetail

SetImageTags sets the ImageTags field's value.

func (*ImageDetail) SetRegistryId

func (s *ImageDetail) SetRegistryId(v string) *ImageDetail

SetRegistryId sets the RegistryId field's value.

func (*ImageDetail) SetRepositoryName

func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail

SetRepositoryName sets the RepositoryName field's value.

func (ImageDetail) String

func (s ImageDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageDigestDoesNotMatchException

type ImageDigestDoesNotMatchException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified image digest doesn't match the digest that Amazon ECR calculated for the image.

func (*ImageDigestDoesNotMatchException) Code

Code returns the exception type name.

func (*ImageDigestDoesNotMatchException) Error

func (ImageDigestDoesNotMatchException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageDigestDoesNotMatchException) Message

Message returns the exception's message.

func (*ImageDigestDoesNotMatchException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ImageDigestDoesNotMatchException) RequestID

RequestID returns the service's response RequestID for request.

func (*ImageDigestDoesNotMatchException) StatusCode

func (s *ImageDigestDoesNotMatchException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ImageDigestDoesNotMatchException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageFailure

type ImageFailure struct {

	// The code that's associated with the failure.
	FailureCode *string `locationName:"failureCode" type:"string" enum:"ImageFailureCode"`

	// The reason for the failure.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The image ID that's associated with the failure.
	ImageId *ImageIdentifier `locationName:"imageId" type:"structure"`
	// contains filtered or unexported fields
}

An object that represents an Amazon ECR image failure.

func (ImageFailure) GoString

func (s ImageFailure) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageFailure) SetFailureCode

func (s *ImageFailure) SetFailureCode(v string) *ImageFailure

SetFailureCode sets the FailureCode field's value.

func (*ImageFailure) SetFailureReason

func (s *ImageFailure) SetFailureReason(v string) *ImageFailure

SetFailureReason sets the FailureReason field's value.

func (*ImageFailure) SetImageId

func (s *ImageFailure) SetImageId(v *ImageIdentifier) *ImageFailure

SetImageId sets the ImageId field's value.

func (ImageFailure) String

func (s ImageFailure) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageIdentifier

type ImageIdentifier struct {

	// The sha256 digest of the image manifest.
	ImageDigest *string `locationName:"imageDigest" type:"string"`

	// The tag that's used for the image.
	ImageTag *string `locationName:"imageTag" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An object with identifying information for an Amazon ECR image.

func (ImageIdentifier) GoString

func (s ImageIdentifier) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageIdentifier) SetImageDigest

func (s *ImageIdentifier) SetImageDigest(v string) *ImageIdentifier

SetImageDigest sets the ImageDigest field's value.

func (*ImageIdentifier) SetImageTag

func (s *ImageIdentifier) SetImageTag(v string) *ImageIdentifier

SetImageTag sets the ImageTag field's value.

func (ImageIdentifier) String

func (s ImageIdentifier) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageIdentifier) Validate

func (s *ImageIdentifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImageNotFoundException

type ImageNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The image requested doesn't exist in the specified repository.

func (*ImageNotFoundException) Code

func (s *ImageNotFoundException) Code() string

Code returns the exception type name.

func (*ImageNotFoundException) Error

func (s *ImageNotFoundException) Error() string

func (ImageNotFoundException) GoString

func (s ImageNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageNotFoundException) Message

func (s *ImageNotFoundException) Message() string

Message returns the exception's message.

func (*ImageNotFoundException) OrigErr

func (s *ImageNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ImageNotFoundException) RequestID

func (s *ImageNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ImageNotFoundException) StatusCode

func (s *ImageNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ImageNotFoundException) String

func (s ImageNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageTagAlreadyExistsException

type ImageTagAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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) Code

Code returns the exception type name.

func (*ImageTagAlreadyExistsException) Error

func (ImageTagAlreadyExistsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageTagAlreadyExistsException) Message

Message returns the exception's message.

func (*ImageTagAlreadyExistsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ImageTagAlreadyExistsException) RequestID

func (s *ImageTagAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ImageTagAlreadyExistsException) StatusCode

func (s *ImageTagAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ImageTagAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ImageTagDetail

type ImageTagDetail struct {

	// The time stamp that indicates when the image tag was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// An object that describes the details of an image.
	ImageDetail *ReferencedImageDetail `locationName:"imageDetail" type:"structure"`

	// The tag that's associated with the image.
	ImageTag *string `locationName:"imageTag" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An object that represents the image tag details for an image.

func (ImageTagDetail) GoString

func (s ImageTagDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ImageTagDetail) SetCreatedAt

func (s *ImageTagDetail) SetCreatedAt(v time.Time) *ImageTagDetail

SetCreatedAt sets the CreatedAt field's value.

func (*ImageTagDetail) SetImageDetail

func (s *ImageTagDetail) SetImageDetail(v *ReferencedImageDetail) *ImageTagDetail

SetImageDetail sets the ImageDetail field's value.

func (*ImageTagDetail) SetImageTag

func (s *ImageTagDetail) SetImageTag(v string) *ImageTagDetail

SetImageTag sets the ImageTag field's value.

func (ImageTagDetail) String

func (s ImageTagDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InitiateLayerUploadInput

type InitiateLayerUploadInput struct {

	// The Amazon Web Services account ID, or registry alias, that's associated
	// with the registry to which you intend to upload layers. If you do not specify
	// a registry, the default public registry is assumed.
	RegistryId *string `locationName:"registryId" min:"2" type:"string"`

	// The name of the repository that you want to upload layers to.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (InitiateLayerUploadInput) GoString

func (s InitiateLayerUploadInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InitiateLayerUploadInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*InitiateLayerUploadInput) SetRepositoryName

func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUploadInput

SetRepositoryName sets the RepositoryName field's value.

func (InitiateLayerUploadInput) String

func (s InitiateLayerUploadInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InitiateLayerUploadInput) Validate

func (s *InitiateLayerUploadInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InitiateLayerUploadOutput

type InitiateLayerUploadOutput struct {

	// The size, in bytes, that Amazon ECR expects future layer part uploads to
	// be.
	PartSize *int64 `locationName:"partSize" type:"long"`

	// The upload ID for the layer upload. This parameter is passed to further UploadLayerPart
	// and CompleteLayerUpload operations.
	UploadId *string `locationName:"uploadId" type:"string"`
	// contains filtered or unexported fields
}

func (InitiateLayerUploadOutput) GoString

func (s InitiateLayerUploadOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InitiateLayerUploadOutput) SetPartSize

SetPartSize sets the PartSize field's value.

func (*InitiateLayerUploadOutput) SetUploadId

SetUploadId sets the UploadId field's value.

func (InitiateLayerUploadOutput) String

func (s InitiateLayerUploadOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidLayerException

type InvalidLayerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The layer digest calculation performed by Amazon ECR when the image layer doesn't match the digest specified.

func (*InvalidLayerException) Code

func (s *InvalidLayerException) Code() string

Code returns the exception type name.

func (*InvalidLayerException) Error

func (s *InvalidLayerException) Error() string

func (InvalidLayerException) GoString

func (s InvalidLayerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidLayerException) Message

func (s *InvalidLayerException) Message() string

Message returns the exception's message.

func (*InvalidLayerException) OrigErr

func (s *InvalidLayerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidLayerException) RequestID

func (s *InvalidLayerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidLayerException) StatusCode

func (s *InvalidLayerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidLayerException) String

func (s InvalidLayerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidLayerPartException

type InvalidLayerPartException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The position of the last byte of the layer part.
	LastValidByteReceived *int64 `locationName:"lastValidByteReceived" type:"long"`

	Message_ *string `locationName:"message" type:"string"`

	// The Amazon Web Services account ID that's associated with the layer part.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`

	// The upload ID that's associated with the layer part.
	UploadId *string `locationName:"uploadId" type:"string"`
	// contains filtered or unexported fields
}

The layer part size isn't valid, or the first byte specified isn't consecutive to the last byte of a previous layer part upload.

func (*InvalidLayerPartException) Code

Code returns the exception type name.

func (*InvalidLayerPartException) Error

func (s *InvalidLayerPartException) Error() string

func (InvalidLayerPartException) GoString

func (s InvalidLayerPartException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidLayerPartException) Message

func (s *InvalidLayerPartException) Message() string

Message returns the exception's message.

func (*InvalidLayerPartException) OrigErr

func (s *InvalidLayerPartException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidLayerPartException) RequestID

func (s *InvalidLayerPartException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidLayerPartException) StatusCode

func (s *InvalidLayerPartException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidLayerPartException) String

func (s InvalidLayerPartException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidParameterException

type InvalidParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*InvalidParameterException) Code

Code returns the exception type name.

func (*InvalidParameterException) Error

func (s *InvalidParameterException) Error() string

func (InvalidParameterException) GoString

func (s InvalidParameterException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidParameterException) Message

func (s *InvalidParameterException) Message() string

Message returns the exception's message.

func (*InvalidParameterException) OrigErr

func (s *InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterException) RequestID

func (s *InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterException) StatusCode

func (s *InvalidParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterException) String

func (s InvalidParameterException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidTagParameterException

type InvalidTagParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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) Code

Code returns the exception type name.

func (*InvalidTagParameterException) Error

func (InvalidTagParameterException) GoString

func (s InvalidTagParameterException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidTagParameterException) Message

func (s *InvalidTagParameterException) Message() string

Message returns the exception's message.

func (*InvalidTagParameterException) OrigErr

func (s *InvalidTagParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidTagParameterException) RequestID

func (s *InvalidTagParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidTagParameterException) StatusCode

func (s *InvalidTagParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidTagParameterException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Layer

type Layer struct {

	// The availability status of the image layer.
	LayerAvailability *string `locationName:"layerAvailability" type:"string" enum:"LayerAvailability"`

	// The sha256 digest of the image layer.
	LayerDigest *string `locationName:"layerDigest" type:"string"`

	// The size, in bytes, of the image layer.
	LayerSize *int64 `locationName:"layerSize" type:"long"`

	// 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 `locationName:"mediaType" type:"string"`
	// contains filtered or unexported fields
}

An object that represents an Amazon ECR image layer.

func (Layer) GoString

func (s Layer) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Layer) SetLayerAvailability

func (s *Layer) SetLayerAvailability(v string) *Layer

SetLayerAvailability sets the LayerAvailability field's value.

func (*Layer) SetLayerDigest

func (s *Layer) SetLayerDigest(v string) *Layer

SetLayerDigest sets the LayerDigest field's value.

func (*Layer) SetLayerSize

func (s *Layer) SetLayerSize(v int64) *Layer

SetLayerSize sets the LayerSize field's value.

func (*Layer) SetMediaType

func (s *Layer) SetMediaType(v string) *Layer

SetMediaType sets the MediaType field's value.

func (Layer) String

func (s Layer) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LayerAlreadyExistsException

type LayerAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The image layer already exists in the associated repository.

func (*LayerAlreadyExistsException) Code

Code returns the exception type name.

func (*LayerAlreadyExistsException) Error

func (LayerAlreadyExistsException) GoString

func (s LayerAlreadyExistsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LayerAlreadyExistsException) Message

func (s *LayerAlreadyExistsException) Message() string

Message returns the exception's message.

func (*LayerAlreadyExistsException) OrigErr

func (s *LayerAlreadyExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LayerAlreadyExistsException) RequestID

func (s *LayerAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LayerAlreadyExistsException) StatusCode

func (s *LayerAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LayerAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LayerFailure

type LayerFailure struct {

	// The failure code that's associated with the failure.
	FailureCode *string `locationName:"failureCode" type:"string" enum:"LayerFailureCode"`

	// The reason for the failure.
	FailureReason *string `locationName:"failureReason" type:"string"`

	// The layer digest that's associated with the failure.
	LayerDigest *string `locationName:"layerDigest" type:"string"`
	// contains filtered or unexported fields
}

An object that represents an Amazon ECR image layer failure.

func (LayerFailure) GoString

func (s LayerFailure) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LayerFailure) SetFailureCode

func (s *LayerFailure) SetFailureCode(v string) *LayerFailure

SetFailureCode sets the FailureCode field's value.

func (*LayerFailure) SetFailureReason

func (s *LayerFailure) SetFailureReason(v string) *LayerFailure

SetFailureReason sets the FailureReason field's value.

func (*LayerFailure) SetLayerDigest

func (s *LayerFailure) SetLayerDigest(v string) *LayerFailure

SetLayerDigest sets the LayerDigest field's value.

func (LayerFailure) String

func (s LayerFailure) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LayerPartTooSmallException

type LayerPartTooSmallException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Layer parts must be at least 5 MiB in size.

func (*LayerPartTooSmallException) Code

Code returns the exception type name.

func (*LayerPartTooSmallException) Error

func (LayerPartTooSmallException) GoString

func (s LayerPartTooSmallException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LayerPartTooSmallException) Message

func (s *LayerPartTooSmallException) Message() string

Message returns the exception's message.

func (*LayerPartTooSmallException) OrigErr

func (s *LayerPartTooSmallException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LayerPartTooSmallException) RequestID

func (s *LayerPartTooSmallException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LayerPartTooSmallException) StatusCode

func (s *LayerPartTooSmallException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LayerPartTooSmallException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LayersNotFoundException

type LayersNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified layers can't be found, or the specified layer isn't valid for this repository.

func (*LayersNotFoundException) Code

func (s *LayersNotFoundException) Code() string

Code returns the exception type name.

func (*LayersNotFoundException) Error

func (s *LayersNotFoundException) Error() string

func (LayersNotFoundException) GoString

func (s LayersNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LayersNotFoundException) Message

func (s *LayersNotFoundException) Message() string

Message returns the exception's message.

func (*LayersNotFoundException) OrigErr

func (s *LayersNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LayersNotFoundException) RequestID

func (s *LayersNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LayersNotFoundException) StatusCode

func (s *LayersNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LayersNotFoundException) String

func (s LayersNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LimitExceededException

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The operation didn't 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) Code

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String

func (s LimitExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) that identifies the resource to list the tags
	// for. Currently, the supported resource is an Amazon ECR Public repository.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags for the resource.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutImageInput

type PutImageInput struct {

	// The image digest of the image manifest that corresponds to the image.
	ImageDigest *string `locationName:"imageDigest" type:"string"`

	// The image manifest that corresponds to the image to be uploaded.
	//
	// ImageManifest is a required field
	ImageManifest *string `locationName:"imageManifest" min:"1" type:"string" required:"true"`

	// The media type of the image manifest. If you push an image manifest that
	// doesn't contain the mediaType field, you must specify the imageManifestMediaType
	// in the request.
	ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"`

	// The tag to associate with the image. This parameter is required for images
	// that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative
	// (OCI) formats.
	ImageTag *string `locationName:"imageTag" min:"1" type:"string"`

	// The Amazon Web Services account ID, or registry alias, that's associated
	// with the public registry that contains the repository where the image is
	// put. If you do not specify a registry, the default public registry is assumed.
	RegistryId *string `locationName:"registryId" min:"2" type:"string"`

	// The name of the repository where the image is put.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutImageInput) GoString

func (s PutImageInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutImageInput) SetImageDigest

func (s *PutImageInput) SetImageDigest(v string) *PutImageInput

SetImageDigest sets the ImageDigest field's value.

func (*PutImageInput) SetImageManifest

func (s *PutImageInput) SetImageManifest(v string) *PutImageInput

SetImageManifest sets the ImageManifest field's value.

func (*PutImageInput) SetImageManifestMediaType

func (s *PutImageInput) SetImageManifestMediaType(v string) *PutImageInput

SetImageManifestMediaType sets the ImageManifestMediaType field's value.

func (*PutImageInput) SetImageTag

func (s *PutImageInput) SetImageTag(v string) *PutImageInput

SetImageTag sets the ImageTag field's value.

func (*PutImageInput) SetRegistryId

func (s *PutImageInput) SetRegistryId(v string) *PutImageInput

SetRegistryId sets the RegistryId field's value.

func (*PutImageInput) SetRepositoryName

func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput

SetRepositoryName sets the RepositoryName field's value.

func (PutImageInput) String

func (s PutImageInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutImageInput) Validate

func (s *PutImageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutImageOutput

type PutImageOutput struct {

	// Details of the image uploaded.
	Image *Image `locationName:"image" type:"structure"`
	// contains filtered or unexported fields
}

func (PutImageOutput) GoString

func (s PutImageOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutImageOutput) SetImage

func (s *PutImageOutput) SetImage(v *Image) *PutImageOutput

SetImage sets the Image field's value.

func (PutImageOutput) String

func (s PutImageOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutRegistryCatalogDataInput

type PutRegistryCatalogDataInput struct {

	// The display name for a public registry. The display name is shown as the
	// repository author in the Amazon ECR Public Gallery.
	//
	// The registry display name is only publicly visible in the Amazon ECR Public
	// Gallery for verified accounts.
	DisplayName *string `locationName:"displayName" type:"string"`
	// contains filtered or unexported fields
}

func (PutRegistryCatalogDataInput) GoString

func (s PutRegistryCatalogDataInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRegistryCatalogDataInput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (PutRegistryCatalogDataInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutRegistryCatalogDataOutput

type PutRegistryCatalogDataOutput struct {

	// The catalog data for the public registry.
	//
	// RegistryCatalogData is a required field
	RegistryCatalogData *RegistryCatalogData `locationName:"registryCatalogData" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutRegistryCatalogDataOutput) GoString

func (s PutRegistryCatalogDataOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRegistryCatalogDataOutput) SetRegistryCatalogData

SetRegistryCatalogData sets the RegistryCatalogData field's value.

func (PutRegistryCatalogDataOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutRepositoryCatalogDataInput

type PutRepositoryCatalogDataInput struct {

	// An object containing the catalog data for a repository. This data is publicly
	// visible in the Amazon ECR Public Gallery.
	//
	// CatalogData is a required field
	CatalogData *RepositoryCatalogDataInput `locationName:"catalogData" type:"structure" required:"true"`

	// The Amazon Web Services account ID that's associated with the public registry
	// the repository is in. If you do not specify a registry, the default public
	// registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository to create or update the catalog data for.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutRepositoryCatalogDataInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryCatalogDataInput) SetCatalogData

SetCatalogData sets the CatalogData field's value.

func (*PutRepositoryCatalogDataInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*PutRepositoryCatalogDataInput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (PutRepositoryCatalogDataInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryCatalogDataInput) Validate

func (s *PutRepositoryCatalogDataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutRepositoryCatalogDataOutput

type PutRepositoryCatalogDataOutput struct {

	// The catalog data for the repository.
	CatalogData *RepositoryCatalogData `locationName:"catalogData" type:"structure"`
	// contains filtered or unexported fields
}

func (PutRepositoryCatalogDataOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutRepositoryCatalogDataOutput) SetCatalogData

SetCatalogData sets the CatalogData field's value.

func (PutRepositoryCatalogDataOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReferencedImageDetail

type ReferencedImageDetail struct {

	// The artifact media type of the image.
	ArtifactMediaType *string `locationName:"artifactMediaType" type:"string"`

	// The sha256 digest of the image manifest.
	ImageDigest *string `locationName:"imageDigest" type:"string"`

	// The media type of the image manifest.
	ImageManifestMediaType *string `locationName:"imageManifestMediaType" type:"string"`

	// The date and time, expressed in standard JavaScript date format, which the
	// current image tag was pushed to the repository at.
	ImagePushedAt *time.Time `locationName:"imagePushedAt" type:"timestamp"`

	// The size, in bytes, of the image in the repository.
	//
	// If the image is a manifest list, this is 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 might return a larger image
	// size than the image sizes that are returned by DescribeImages.
	ImageSizeInBytes *int64 `locationName:"imageSizeInBytes" type:"long"`
	// contains filtered or unexported fields
}

An object that describes the image tag details that are returned by a DescribeImageTags action.

func (ReferencedImageDetail) GoString

func (s ReferencedImageDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReferencedImageDetail) SetArtifactMediaType

func (s *ReferencedImageDetail) SetArtifactMediaType(v string) *ReferencedImageDetail

SetArtifactMediaType sets the ArtifactMediaType field's value.

func (*ReferencedImageDetail) SetImageDigest

func (s *ReferencedImageDetail) SetImageDigest(v string) *ReferencedImageDetail

SetImageDigest sets the ImageDigest field's value.

func (*ReferencedImageDetail) SetImageManifestMediaType

func (s *ReferencedImageDetail) SetImageManifestMediaType(v string) *ReferencedImageDetail

SetImageManifestMediaType sets the ImageManifestMediaType field's value.

func (*ReferencedImageDetail) SetImagePushedAt

func (s *ReferencedImageDetail) SetImagePushedAt(v time.Time) *ReferencedImageDetail

SetImagePushedAt sets the ImagePushedAt field's value.

func (*ReferencedImageDetail) SetImageSizeInBytes

func (s *ReferencedImageDetail) SetImageSizeInBytes(v int64) *ReferencedImageDetail

SetImageSizeInBytes sets the ImageSizeInBytes field's value.

func (ReferencedImageDetail) String

func (s ReferencedImageDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReferencedImagesNotFoundException

type ReferencedImagesNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The manifest list is referencing an image that doesn't exist.

func (*ReferencedImagesNotFoundException) Code

Code returns the exception type name.

func (*ReferencedImagesNotFoundException) Error

func (ReferencedImagesNotFoundException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReferencedImagesNotFoundException) Message

Message returns the exception's message.

func (*ReferencedImagesNotFoundException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReferencedImagesNotFoundException) RequestID

RequestID returns the service's response RequestID for request.

func (*ReferencedImagesNotFoundException) StatusCode

func (s *ReferencedImagesNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ReferencedImagesNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Registry

type Registry struct {

	// An array of objects that represents the aliases for a public registry.
	//
	// Aliases is a required field
	Aliases []*RegistryAlias `locationName:"aliases" type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the public registry.
	//
	// RegistryArn is a required field
	RegistryArn *string `locationName:"registryArn" min:"1" type:"string" required:"true"`

	// The Amazon Web Services account ID that's associated with the registry. If
	// you do not specify a registry, the default public registry is assumed.
	//
	// RegistryId is a required field
	RegistryId *string `locationName:"registryId" type:"string" required:"true"`

	// The URI of a public registry. The URI contains a universal prefix and the
	// registry alias.
	//
	// RegistryUri is a required field
	RegistryUri *string `locationName:"registryUri" type:"string" required:"true"`

	// Indicates whether the account is a verified Amazon Web Services Marketplace
	// vendor. If an account is verified, each public repository receives a verified
	// account badge on the Amazon ECR Public Gallery.
	//
	// Verified is a required field
	Verified *bool `locationName:"verified" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The details of a public registry.

func (Registry) GoString

func (s Registry) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Registry) SetAliases

func (s *Registry) SetAliases(v []*RegistryAlias) *Registry

SetAliases sets the Aliases field's value.

func (*Registry) SetRegistryArn

func (s *Registry) SetRegistryArn(v string) *Registry

SetRegistryArn sets the RegistryArn field's value.

func (*Registry) SetRegistryId

func (s *Registry) SetRegistryId(v string) *Registry

SetRegistryId sets the RegistryId field's value.

func (*Registry) SetRegistryUri

func (s *Registry) SetRegistryUri(v string) *Registry

SetRegistryUri sets the RegistryUri field's value.

func (*Registry) SetVerified

func (s *Registry) SetVerified(v bool) *Registry

SetVerified sets the Verified field's value.

func (Registry) String

func (s Registry) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistryAlias

type RegistryAlias struct {

	// Indicates whether the registry alias is the default alias for the registry.
	// When the first public repository is created, your public registry is assigned
	// a default registry alias.
	//
	// DefaultRegistryAlias is a required field
	DefaultRegistryAlias *bool `locationName:"defaultRegistryAlias" type:"boolean" required:"true"`

	// The name of the registry alias.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"2" type:"string" required:"true"`

	// Indicates whether the registry alias is the primary alias for the registry.
	// If true, the alias is the primary registry alias and is displayed in both
	// the repository URL and the image URI used in the docker pull commands on
	// the Amazon ECR Public Gallery.
	//
	// A registry alias that isn't the primary registry alias can be used in the
	// repository URI in a docker pull command.
	//
	// PrimaryRegistryAlias is a required field
	PrimaryRegistryAlias *bool `locationName:"primaryRegistryAlias" type:"boolean" required:"true"`

	// The status of the registry alias.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RegistryAliasStatus"`
	// contains filtered or unexported fields
}

An object representing the aliases for a public registry. A public registry is given an alias when it's created. However, a custom alias can be set using the Amazon ECR console. For more information, see Registries (https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html) in the Amazon Elastic Container Registry User Guide.

func (RegistryAlias) GoString

func (s RegistryAlias) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistryAlias) SetDefaultRegistryAlias

func (s *RegistryAlias) SetDefaultRegistryAlias(v bool) *RegistryAlias

SetDefaultRegistryAlias sets the DefaultRegistryAlias field's value.

func (*RegistryAlias) SetName

func (s *RegistryAlias) SetName(v string) *RegistryAlias

SetName sets the Name field's value.

func (*RegistryAlias) SetPrimaryRegistryAlias

func (s *RegistryAlias) SetPrimaryRegistryAlias(v bool) *RegistryAlias

SetPrimaryRegistryAlias sets the PrimaryRegistryAlias field's value.

func (*RegistryAlias) SetStatus

func (s *RegistryAlias) SetStatus(v string) *RegistryAlias

SetStatus sets the Status field's value.

func (RegistryAlias) String

func (s RegistryAlias) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistryCatalogData

type RegistryCatalogData struct {

	// The display name for a public registry. This appears on the Amazon ECR Public
	// Gallery.
	//
	// Only accounts that have the verified account badge can have a registry display
	// name.
	DisplayName *string `locationName:"displayName" type:"string"`
	// contains filtered or unexported fields
}

The metadata for a public registry.

func (RegistryCatalogData) GoString

func (s RegistryCatalogData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistryCatalogData) SetDisplayName

func (s *RegistryCatalogData) SetDisplayName(v string) *RegistryCatalogData

SetDisplayName sets the DisplayName field's value.

func (RegistryCatalogData) String

func (s RegistryCatalogData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegistryNotFoundException

type RegistryNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The registry doesn't exist.

func (*RegistryNotFoundException) Code

Code returns the exception type name.

func (*RegistryNotFoundException) Error

func (s *RegistryNotFoundException) Error() string

func (RegistryNotFoundException) GoString

func (s RegistryNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegistryNotFoundException) Message

func (s *RegistryNotFoundException) Message() string

Message returns the exception's message.

func (*RegistryNotFoundException) OrigErr

func (s *RegistryNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RegistryNotFoundException) RequestID

func (s *RegistryNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RegistryNotFoundException) StatusCode

func (s *RegistryNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RegistryNotFoundException) String

func (s RegistryNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Repository

type Repository struct {

	// The date and time, in JavaScript date format, when the repository was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The Amazon Web Services account ID that's associated with the public registry
	// that contains the repository.
	RegistryId *string `locationName:"registryId" type:"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 `locationName:"repositoryArn" min:"1" type:"string"`

	// The name of the repository.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`

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

An object representing a repository.

func (Repository) GoString

func (s Repository) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Repository) SetCreatedAt

func (s *Repository) SetCreatedAt(v time.Time) *Repository

SetCreatedAt sets the CreatedAt field's value.

func (*Repository) SetRegistryId

func (s *Repository) SetRegistryId(v string) *Repository

SetRegistryId sets the RegistryId field's value.

func (*Repository) SetRepositoryArn

func (s *Repository) SetRepositoryArn(v string) *Repository

SetRepositoryArn sets the RepositoryArn field's value.

func (*Repository) SetRepositoryName

func (s *Repository) SetRepositoryName(v string) *Repository

SetRepositoryName sets the RepositoryName field's value.

func (*Repository) SetRepositoryUri

func (s *Repository) SetRepositoryUri(v string) *Repository

SetRepositoryUri sets the RepositoryUri field's value.

func (Repository) String

func (s Repository) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryAlreadyExistsException

type RepositoryAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified repository already exists in the specified registry.

func (*RepositoryAlreadyExistsException) Code

Code returns the exception type name.

func (*RepositoryAlreadyExistsException) Error

func (RepositoryAlreadyExistsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryAlreadyExistsException) Message

Message returns the exception's message.

func (*RepositoryAlreadyExistsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryAlreadyExistsException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryAlreadyExistsException) StatusCode

func (s *RepositoryAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryCatalogData

type RepositoryCatalogData struct {

	// The longform description of the contents of the repository. This text appears
	// in the repository details on the Amazon ECR Public Gallery.
	AboutText *string `locationName:"aboutText" type:"string"`

	// The architecture tags that are associated with the repository.
	//
	// Only supported operating system tags appear publicly in the Amazon ECR Public
	// Gallery. For more information, see RepositoryCatalogDataInput.
	Architectures []*string `locationName:"architectures" type:"list"`

	// The short description of the repository.
	Description *string `locationName:"description" type:"string"`

	// The URL that contains the logo that's associated with the repository.
	LogoUrl *string `locationName:"logoUrl" type:"string"`

	// Indicates whether the repository is certified by Amazon Web Services Marketplace.
	MarketplaceCertified *bool `locationName:"marketplaceCertified" type:"boolean"`

	// The operating system tags that are associated with the repository.
	//
	// Only supported operating system tags appear publicly in the Amazon ECR Public
	// Gallery. For more information, see RepositoryCatalogDataInput.
	OperatingSystems []*string `locationName:"operatingSystems" type:"list"`

	// The longform usage details of the contents of the repository. The usage text
	// provides context for users of the repository.
	UsageText *string `locationName:"usageText" type:"string"`
	// contains filtered or unexported fields
}

The catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.

func (RepositoryCatalogData) GoString

func (s RepositoryCatalogData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryCatalogData) SetAboutText

SetAboutText sets the AboutText field's value.

func (*RepositoryCatalogData) SetArchitectures

func (s *RepositoryCatalogData) SetArchitectures(v []*string) *RepositoryCatalogData

SetArchitectures sets the Architectures field's value.

func (*RepositoryCatalogData) SetDescription

func (s *RepositoryCatalogData) SetDescription(v string) *RepositoryCatalogData

SetDescription sets the Description field's value.

func (*RepositoryCatalogData) SetLogoUrl

SetLogoUrl sets the LogoUrl field's value.

func (*RepositoryCatalogData) SetMarketplaceCertified

func (s *RepositoryCatalogData) SetMarketplaceCertified(v bool) *RepositoryCatalogData

SetMarketplaceCertified sets the MarketplaceCertified field's value.

func (*RepositoryCatalogData) SetOperatingSystems

func (s *RepositoryCatalogData) SetOperatingSystems(v []*string) *RepositoryCatalogData

SetOperatingSystems sets the OperatingSystems field's value.

func (*RepositoryCatalogData) SetUsageText

SetUsageText sets the UsageText field's value.

func (RepositoryCatalogData) String

func (s RepositoryCatalogData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryCatalogDataInput

type RepositoryCatalogDataInput struct {

	// A detailed description of the contents of the repository. It's publicly visible
	// in the Amazon ECR Public Gallery. The text must be in markdown format.
	AboutText *string `locationName:"aboutText" type:"string"`

	// The system architecture that the images in the repository are compatible
	// with. On the Amazon ECR Public Gallery, the following supported architectures
	// appear as badges on the repository and are used as search filters.
	//
	// If an unsupported tag is added to your repository catalog data, it's associated
	// with the repository and can be retrieved using the API but isn't discoverable
	// in the Amazon ECR Public Gallery.
	//
	//    * ARM
	//
	//    * ARM 64
	//
	//    * x86
	//
	//    * x86-64
	Architectures []*string `locationName:"architectures" type:"list"`

	// A short description of the contents of the repository. This text appears
	// in both the image details and also when searching for repositories on the
	// Amazon ECR Public Gallery.
	Description *string `locationName:"description" type:"string"`

	// The base64-encoded repository logo payload.
	//
	// The repository logo is only publicly visible in the Amazon ECR Public Gallery
	// for verified accounts.
	// LogoImageBlob is automatically base64 encoded/decoded by the SDK.
	LogoImageBlob []byte `locationName:"logoImageBlob" type:"blob"`

	// The operating systems that the images in the repository are compatible with.
	// On the Amazon ECR Public Gallery, the following supported operating systems
	// appear as badges on the repository and are used as search filters.
	//
	// If an unsupported tag is added to your repository catalog data, it's associated
	// with the repository and can be retrieved using the API but isn't discoverable
	// in the Amazon ECR Public Gallery.
	//
	//    * Linux
	//
	//    * Windows
	OperatingSystems []*string `locationName:"operatingSystems" type:"list"`

	// Detailed information about how to use the contents of the repository. It's
	// publicly visible in the Amazon ECR Public Gallery. The usage text provides
	// context, support information, and additional usage details for users of the
	// repository. The text must be in markdown format.
	UsageText *string `locationName:"usageText" type:"string"`
	// contains filtered or unexported fields
}

An object that contains the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.

func (RepositoryCatalogDataInput) GoString

func (s RepositoryCatalogDataInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryCatalogDataInput) SetAboutText

SetAboutText sets the AboutText field's value.

func (*RepositoryCatalogDataInput) SetArchitectures

SetArchitectures sets the Architectures field's value.

func (*RepositoryCatalogDataInput) SetDescription

SetDescription sets the Description field's value.

func (*RepositoryCatalogDataInput) SetLogoImageBlob

SetLogoImageBlob sets the LogoImageBlob field's value.

func (*RepositoryCatalogDataInput) SetOperatingSystems

func (s *RepositoryCatalogDataInput) SetOperatingSystems(v []*string) *RepositoryCatalogDataInput

SetOperatingSystems sets the OperatingSystems field's value.

func (*RepositoryCatalogDataInput) SetUsageText

SetUsageText sets the UsageText field's value.

func (RepositoryCatalogDataInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryCatalogDataNotFoundException

type RepositoryCatalogDataNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The repository catalog data doesn't exist.

func (*RepositoryCatalogDataNotFoundException) Code

Code returns the exception type name.

func (*RepositoryCatalogDataNotFoundException) Error

func (RepositoryCatalogDataNotFoundException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryCatalogDataNotFoundException) Message

Message returns the exception's message.

func (*RepositoryCatalogDataNotFoundException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryCatalogDataNotFoundException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryCatalogDataNotFoundException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (RepositoryCatalogDataNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryNotEmptyException

type RepositoryNotEmptyException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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) Code

Code returns the exception type name.

func (*RepositoryNotEmptyException) Error

func (RepositoryNotEmptyException) GoString

func (s RepositoryNotEmptyException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryNotEmptyException) Message

func (s *RepositoryNotEmptyException) Message() string

Message returns the exception's message.

func (*RepositoryNotEmptyException) OrigErr

func (s *RepositoryNotEmptyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryNotEmptyException) RequestID

func (s *RepositoryNotEmptyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RepositoryNotEmptyException) StatusCode

func (s *RepositoryNotEmptyException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryNotEmptyException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryNotFoundException

type RepositoryNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.

func (*RepositoryNotFoundException) Code

Code returns the exception type name.

func (*RepositoryNotFoundException) Error

func (RepositoryNotFoundException) GoString

func (s RepositoryNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryNotFoundException) Message

func (s *RepositoryNotFoundException) Message() string

Message returns the exception's message.

func (*RepositoryNotFoundException) OrigErr

func (s *RepositoryNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryNotFoundException) RequestID

func (s *RepositoryNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*RepositoryNotFoundException) StatusCode

func (s *RepositoryNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RepositoryPolicyNotFoundException

type RepositoryPolicyNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified repository and registry combination doesn't have an associated repository policy.

func (*RepositoryPolicyNotFoundException) Code

Code returns the exception type name.

func (*RepositoryPolicyNotFoundException) Error

func (RepositoryPolicyNotFoundException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RepositoryPolicyNotFoundException) Message

Message returns the exception's message.

func (*RepositoryPolicyNotFoundException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryPolicyNotFoundException) RequestID

RequestID returns the service's response RequestID for request.

func (*RepositoryPolicyNotFoundException) StatusCode

func (s *RepositoryPolicyNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (RepositoryPolicyNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServerException

type ServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ServerException) Code

func (s *ServerException) Code() string

Code returns the exception type name.

func (*ServerException) Error

func (s *ServerException) Error() string

func (ServerException) GoString

func (s ServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServerException) Message

func (s *ServerException) Message() string

Message returns the exception's message.

func (*ServerException) OrigErr

func (s *ServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServerException) RequestID

func (s *ServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServerException) StatusCode

func (s *ServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServerException) String

func (s ServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetRepositoryPolicyInput

type SetRepositoryPolicyInput struct {

	// If the policy that you want to set on a repository policy would prevent you
	// from setting another policy in the future, you must force the SetRepositoryPolicy
	// operation. This prevents accidental repository lockouts.
	Force *bool `locationName:"force" type:"boolean"`

	// The JSON repository policy text to apply to the repository. For more information,
	// see Amazon ECR Repository Policies (https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html)
	// in the Amazon Elastic Container Registry User Guide.
	//
	// PolicyText is a required field
	PolicyText *string `locationName:"policyText" type:"string" required:"true"`

	// The Amazon Web Services account ID that's associated with the registry that
	// contains the repository. If you do not specify a registry, the default public
	// registry is assumed.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The name of the repository to receive the policy.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetRepositoryPolicyInput) GoString

func (s SetRepositoryPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetRepositoryPolicyInput) SetForce

SetForce sets the Force field's value.

func (*SetRepositoryPolicyInput) SetPolicyText

SetPolicyText sets the PolicyText field's value.

func (*SetRepositoryPolicyInput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*SetRepositoryPolicyInput) SetRepositoryName

func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPolicyInput

SetRepositoryName sets the RepositoryName field's value.

func (SetRepositoryPolicyInput) String

func (s SetRepositoryPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetRepositoryPolicyInput) Validate

func (s *SetRepositoryPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetRepositoryPolicyOutput

type SetRepositoryPolicyOutput struct {

	// The JSON repository policy text that's applied to the repository.
	PolicyText *string `locationName:"policyText" type:"string"`

	// The registry ID that's associated with the request.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The repository name that's associated with the request.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`
	// contains filtered or unexported fields
}

func (SetRepositoryPolicyOutput) GoString

func (s SetRepositoryPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetRepositoryPolicyOutput) SetPolicyText

SetPolicyText sets the PolicyText field's value.

func (*SetRepositoryPolicyOutput) SetRegistryId

SetRegistryId sets the RegistryId field's value.

func (*SetRepositoryPolicyOutput) SetRepositoryName

SetRepositoryName sets the RepositoryName field's value.

func (SetRepositoryPolicyOutput) String

func (s SetRepositoryPolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `min:"1" type:"string"`

	// The optional part of a key-value pair that make up a tag. A value acts as
	// a descriptor within a tag category (key).
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

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

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to add tags to. Currently,
	// the supported resource is an Amazon ECR Public repository.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tags to add to the resource. A tag is an array of key-value pairs. Tag
	// keys can have a maximum character length of 128 characters, and tag values
	// can have a maximum length of 256 characters.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TooManyTagsException

type TooManyTagsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"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) Code

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString

func (s TooManyTagsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TooManyTagsException) Message

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode

func (s *TooManyTagsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (TooManyTagsException) String

func (s TooManyTagsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UnsupportedCommandException

type UnsupportedCommandException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The action isn't supported in this Region.

func (*UnsupportedCommandException) Code

Code returns the exception type name.

func (*UnsupportedCommandException) Error

func (UnsupportedCommandException) GoString

func (s UnsupportedCommandException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnsupportedCommandException) Message

func (s *UnsupportedCommandException) Message() string

Message returns the exception's message.

func (*UnsupportedCommandException) OrigErr

func (s *UnsupportedCommandException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnsupportedCommandException) RequestID

func (s *UnsupportedCommandException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnsupportedCommandException) StatusCode

func (s *UnsupportedCommandException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UnsupportedCommandException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to delete tags from. Currently,
	// the supported resource is an Amazon ECR Public repository.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The keys of the tags to be removed.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UploadLayerPartInput

type UploadLayerPartInput struct {

	// The base64-encoded layer part payload.
	// LayerPartBlob is automatically base64 encoded/decoded by the SDK.
	//
	// LayerPartBlob is a required field
	LayerPartBlob []byte `locationName:"layerPartBlob" type:"blob" required:"true"`

	// The position of the first byte of the layer part witin the overall image
	// layer.
	//
	// PartFirstByte is a required field
	PartFirstByte *int64 `locationName:"partFirstByte" type:"long" required:"true"`

	// The position of the last byte of the layer part within the overall image
	// layer.
	//
	// PartLastByte is a required field
	PartLastByte *int64 `locationName:"partLastByte" type:"long" required:"true"`

	// The Amazon Web Services account ID, or registry alias, that's associated
	// with the registry that you're uploading layer parts to. If you do not specify
	// a registry, the default public registry is assumed.
	RegistryId *string `locationName:"registryId" min:"2" type:"string"`

	// The name of the repository that you're uploading layer parts to.
	//
	// RepositoryName is a required field
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"`

	// The upload ID from a previous InitiateLayerUpload operation to associate
	// with the layer part upload.
	//
	// UploadId is a required field
	UploadId *string `locationName:"uploadId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UploadLayerPartInput) GoString

func (s UploadLayerPartInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UploadLayerPartInput) SetLayerPartBlob

func (s *UploadLayerPartInput) SetLayerPartBlob(v []byte) *UploadLayerPartInput

SetLayerPartBlob sets the LayerPartBlob field's value.

func (*UploadLayerPartInput) SetPartFirstByte

func (s *UploadLayerPartInput) SetPartFirstByte(v int64) *UploadLayerPartInput

SetPartFirstByte sets the PartFirstByte field's value.

func (*UploadLayerPartInput) SetPartLastByte

func (s *UploadLayerPartInput) SetPartLastByte(v int64) *UploadLayerPartInput

SetPartLastByte sets the PartLastByte field's value.

func (*UploadLayerPartInput) SetRegistryId

func (s *UploadLayerPartInput) SetRegistryId(v string) *UploadLayerPartInput

SetRegistryId sets the RegistryId field's value.

func (*UploadLayerPartInput) SetRepositoryName

func (s *UploadLayerPartInput) SetRepositoryName(v string) *UploadLayerPartInput

SetRepositoryName sets the RepositoryName field's value.

func (*UploadLayerPartInput) SetUploadId

SetUploadId sets the UploadId field's value.

func (UploadLayerPartInput) String

func (s UploadLayerPartInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UploadLayerPartInput) Validate

func (s *UploadLayerPartInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UploadLayerPartOutput

type UploadLayerPartOutput struct {

	// The integer value of the last byte that's received in the request.
	LastByteReceived *int64 `locationName:"lastByteReceived" type:"long"`

	// The registry ID that's associated with the request.
	RegistryId *string `locationName:"registryId" type:"string"`

	// The repository name that's associated with the request.
	RepositoryName *string `locationName:"repositoryName" min:"2" type:"string"`

	// The upload ID that's associated with the request.
	UploadId *string `locationName:"uploadId" type:"string"`
	// contains filtered or unexported fields
}

func (UploadLayerPartOutput) GoString

func (s UploadLayerPartOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UploadLayerPartOutput) SetLastByteReceived

func (s *UploadLayerPartOutput) SetLastByteReceived(v int64) *UploadLayerPartOutput

SetLastByteReceived sets the LastByteReceived field's value.

func (*UploadLayerPartOutput) SetRegistryId

func (s *UploadLayerPartOutput) SetRegistryId(v string) *UploadLayerPartOutput

SetRegistryId sets the RegistryId field's value.

func (*UploadLayerPartOutput) SetRepositoryName

func (s *UploadLayerPartOutput) SetRepositoryName(v string) *UploadLayerPartOutput

SetRepositoryName sets the RepositoryName field's value.

func (*UploadLayerPartOutput) SetUploadId

SetUploadId sets the UploadId field's value.

func (UploadLayerPartOutput) String

func (s UploadLayerPartOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UploadNotFoundException

type UploadNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The upload can't be found, or the specified upload ID isn't valid for this repository.

func (*UploadNotFoundException) Code

func (s *UploadNotFoundException) Code() string

Code returns the exception type name.

func (*UploadNotFoundException) Error

func (s *UploadNotFoundException) Error() string

func (UploadNotFoundException) GoString

func (s UploadNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UploadNotFoundException) Message

func (s *UploadNotFoundException) Message() string

Message returns the exception's message.

func (*UploadNotFoundException) OrigErr

func (s *UploadNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UploadNotFoundException) RequestID

func (s *UploadNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UploadNotFoundException) StatusCode

func (s *UploadNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UploadNotFoundException) String

func (s UploadNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package ecrpubliciface provides an interface to enable mocking the Amazon Elastic Container Registry Public service client for testing your code.
Package ecrpubliciface provides an interface to enable mocking the Amazon Elastic Container Registry Public service client for testing your code.

Jump to

Keyboard shortcuts

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