...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/ecrpublic"
Overview
Constants

Overview ▾

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

Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both public and private registries to host your container images. You can use the familiar Docker CLI, or their 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

The stub package, ecrpubliciface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type ECRPublic
func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECRPublic
func (c *ECRPublic) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error)
func (c *ECRPublic) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput)
func (c *ECRPublic) BatchCheckLayerAvailabilityWithContext(ctx aws.Context, input *BatchCheckLayerAvailabilityInput, opts ...request.Option) (*BatchCheckLayerAvailabilityOutput, error)
func (c *ECRPublic) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error)
func (c *ECRPublic) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput)
func (c *ECRPublic) BatchDeleteImageWithContext(ctx aws.Context, input *BatchDeleteImageInput, opts ...request.Option) (*BatchDeleteImageOutput, error)
func (c *ECRPublic) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error)
func (c *ECRPublic) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput)
func (c *ECRPublic) CompleteLayerUploadWithContext(ctx aws.Context, input *CompleteLayerUploadInput, opts ...request.Option) (*CompleteLayerUploadOutput, error)
func (c *ECRPublic) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error)
func (c *ECRPublic) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput)
func (c *ECRPublic) CreateRepositoryWithContext(ctx aws.Context, input *CreateRepositoryInput, opts ...request.Option) (*CreateRepositoryOutput, error)
func (c *ECRPublic) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error)
func (c *ECRPublic) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error)
func (c *ECRPublic) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput)
func (c *ECRPublic) DeleteRepositoryPolicyWithContext(ctx aws.Context, input *DeleteRepositoryPolicyInput, opts ...request.Option) (*DeleteRepositoryPolicyOutput, error)
func (c *ECRPublic) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput)
func (c *ECRPublic) DeleteRepositoryWithContext(ctx aws.Context, input *DeleteRepositoryInput, opts ...request.Option) (*DeleteRepositoryOutput, error)
func (c *ECRPublic) DescribeImageTags(input *DescribeImageTagsInput) (*DescribeImageTagsOutput, error)
func (c *ECRPublic) DescribeImageTagsPages(input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool) error
func (c *ECRPublic) DescribeImageTagsPagesWithContext(ctx aws.Context, input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool, opts ...request.Option) error
func (c *ECRPublic) DescribeImageTagsRequest(input *DescribeImageTagsInput) (req *request.Request, output *DescribeImageTagsOutput)
func (c *ECRPublic) DescribeImageTagsWithContext(ctx aws.Context, input *DescribeImageTagsInput, opts ...request.Option) (*DescribeImageTagsOutput, error)
func (c *ECRPublic) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error)
func (c *ECRPublic) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error
func (c *ECRPublic) DescribeImagesPagesWithContext(ctx aws.Context, input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool, opts ...request.Option) error
func (c *ECRPublic) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput)
func (c *ECRPublic) DescribeImagesWithContext(ctx aws.Context, input *DescribeImagesInput, opts ...request.Option) (*DescribeImagesOutput, error)
func (c *ECRPublic) DescribeRegistries(input *DescribeRegistriesInput) (*DescribeRegistriesOutput, error)
func (c *ECRPublic) DescribeRegistriesPages(input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool) error
func (c *ECRPublic) DescribeRegistriesPagesWithContext(ctx aws.Context, input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool, opts ...request.Option) error
func (c *ECRPublic) DescribeRegistriesRequest(input *DescribeRegistriesInput) (req *request.Request, output *DescribeRegistriesOutput)
func (c *ECRPublic) DescribeRegistriesWithContext(ctx aws.Context, input *DescribeRegistriesInput, opts ...request.Option) (*DescribeRegistriesOutput, error)
func (c *ECRPublic) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error)
func (c *ECRPublic) DescribeRepositoriesPages(input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool) error
func (c *ECRPublic) DescribeRepositoriesPagesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool, opts ...request.Option) error
func (c *ECRPublic) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput)
func (c *ECRPublic) DescribeRepositoriesWithContext(ctx aws.Context, input *DescribeRepositoriesInput, opts ...request.Option) (*DescribeRepositoriesOutput, error)
func (c *ECRPublic) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error)
func (c *ECRPublic) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput)
func (c *ECRPublic) GetAuthorizationTokenWithContext(ctx aws.Context, input *GetAuthorizationTokenInput, opts ...request.Option) (*GetAuthorizationTokenOutput, error)
func (c *ECRPublic) GetRegistryCatalogData(input *GetRegistryCatalogDataInput) (*GetRegistryCatalogDataOutput, error)
func (c *ECRPublic) GetRegistryCatalogDataRequest(input *GetRegistryCatalogDataInput) (req *request.Request, output *GetRegistryCatalogDataOutput)
func (c *ECRPublic) GetRegistryCatalogDataWithContext(ctx aws.Context, input *GetRegistryCatalogDataInput, opts ...request.Option) (*GetRegistryCatalogDataOutput, error)
func (c *ECRPublic) GetRepositoryCatalogData(input *GetRepositoryCatalogDataInput) (*GetRepositoryCatalogDataOutput, error)
func (c *ECRPublic) GetRepositoryCatalogDataRequest(input *GetRepositoryCatalogDataInput) (req *request.Request, output *GetRepositoryCatalogDataOutput)
func (c *ECRPublic) GetRepositoryCatalogDataWithContext(ctx aws.Context, input *GetRepositoryCatalogDataInput, opts ...request.Option) (*GetRepositoryCatalogDataOutput, error)
func (c *ECRPublic) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error)
func (c *ECRPublic) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput)
func (c *ECRPublic) GetRepositoryPolicyWithContext(ctx aws.Context, input *GetRepositoryPolicyInput, opts ...request.Option) (*GetRepositoryPolicyOutput, error)
func (c *ECRPublic) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error)
func (c *ECRPublic) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput)
func (c *ECRPublic) InitiateLayerUploadWithContext(ctx aws.Context, input *InitiateLayerUploadInput, opts ...request.Option) (*InitiateLayerUploadOutput, error)
func (c *ECRPublic) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
func (c *ECRPublic) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
func (c *ECRPublic) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
func (c *ECRPublic) PutImage(input *PutImageInput) (*PutImageOutput, error)
func (c *ECRPublic) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput)
func (c *ECRPublic) PutImageWithContext(ctx aws.Context, input *PutImageInput, opts ...request.Option) (*PutImageOutput, error)
func (c *ECRPublic) PutRegistryCatalogData(input *PutRegistryCatalogDataInput) (*PutRegistryCatalogDataOutput, error)
func (c *ECRPublic) PutRegistryCatalogDataRequest(input *PutRegistryCatalogDataInput) (req *request.Request, output *PutRegistryCatalogDataOutput)
func (c *ECRPublic) PutRegistryCatalogDataWithContext(ctx aws.Context, input *PutRegistryCatalogDataInput, opts ...request.Option) (*PutRegistryCatalogDataOutput, error)
func (c *ECRPublic) PutRepositoryCatalogData(input *PutRepositoryCatalogDataInput) (*PutRepositoryCatalogDataOutput, error)
func (c *ECRPublic) PutRepositoryCatalogDataRequest(input *PutRepositoryCatalogDataInput) (req *request.Request, output *PutRepositoryCatalogDataOutput)
func (c *ECRPublic) PutRepositoryCatalogDataWithContext(ctx aws.Context, input *PutRepositoryCatalogDataInput, opts ...request.Option) (*PutRepositoryCatalogDataOutput, error)
func (c *ECRPublic) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error)
func (c *ECRPublic) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput)
func (c *ECRPublic) SetRepositoryPolicyWithContext(ctx aws.Context, input *SetRepositoryPolicyInput, opts ...request.Option) (*SetRepositoryPolicyOutput, error)
func (c *ECRPublic) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *ECRPublic) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *ECRPublic) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *ECRPublic) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *ECRPublic) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *ECRPublic) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func (c *ECRPublic) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error)
func (c *ECRPublic) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput)
func (c *ECRPublic) UploadLayerPartWithContext(ctx aws.Context, input *UploadLayerPartInput, opts ...request.Option) (*UploadLayerPartOutput, error)
func ImageFailureCode_Values() []string
func LayerAvailability_Values() []string
func LayerFailureCode_Values() []string
func RegistryAliasStatus_Values() []string
type AuthorizationData
type BatchCheckLayerAvailabilityInput
type BatchCheckLayerAvailabilityOutput
type BatchDeleteImageInput
type BatchDeleteImageOutput
type CompleteLayerUploadInput
type CompleteLayerUploadOutput
type CreateRepositoryInput
type CreateRepositoryOutput
type DeleteRepositoryInput
type DeleteRepositoryOutput
type DeleteRepositoryPolicyInput
type DeleteRepositoryPolicyOutput
type DescribeImageTagsInput
type DescribeImageTagsOutput
type DescribeImagesInput
type DescribeImagesOutput
type DescribeRegistriesInput
type DescribeRegistriesOutput
type DescribeRepositoriesInput
type DescribeRepositoriesOutput
type EmptyUploadException
type GetAuthorizationTokenInput
type GetAuthorizationTokenOutput
type GetRegistryCatalogDataInput
type GetRegistryCatalogDataOutput
type GetRepositoryCatalogDataInput
type GetRepositoryCatalogDataOutput
type GetRepositoryPolicyInput
type GetRepositoryPolicyOutput
type Image
type ImageAlreadyExistsException
type ImageDetail
type ImageDigestDoesNotMatchException
type ImageFailure
type ImageIdentifier
type ImageNotFoundException
type ImageTagAlreadyExistsException
type ImageTagDetail
type InitiateLayerUploadInput
type InitiateLayerUploadOutput
type InvalidLayerException
type InvalidLayerPartException
type InvalidParameterException
type InvalidTagParameterException
type Layer
type LayerAlreadyExistsException
type LayerFailure
type LayerPartTooSmallException
type LayersNotFoundException
type LimitExceededException
type ListTagsForResourceInput
type ListTagsForResourceOutput
type PutImageInput
type PutImageOutput
type PutRegistryCatalogDataInput
type PutRegistryCatalogDataOutput
type PutRepositoryCatalogDataInput
type PutRepositoryCatalogDataOutput
type ReferencedImageDetail
type ReferencedImagesNotFoundException
type Registry
type RegistryAlias
type RegistryCatalogData
type RegistryNotFoundException
type Repository
type RepositoryAlreadyExistsException
type RepositoryCatalogData
type RepositoryCatalogDataInput
type RepositoryNotEmptyException
type RepositoryNotFoundException
type RepositoryPolicyNotFoundException
type ServerException
type SetRepositoryPolicyInput
type SetRepositoryPolicyOutput
type Tag
type TagResourceInput
type TagResourceOutput
type TooManyTagsException
type UnsupportedCommandException
type UntagResourceInput
type UntagResourceOutput
type UploadLayerPartInput
type UploadLayerPartOutput
type UploadNotFoundException

Constants ▾

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"
)
const (
    // LayerAvailabilityAvailable is a LayerAvailability enum value
    LayerAvailabilityAvailable = "AVAILABLE"

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

    // LayerFailureCodeMissingLayerDigest is a LayerFailureCode enum value
    LayerFailureCodeMissingLayerDigest = "MissingLayerDigest"
)
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"
)
const (

    // ErrCodeEmptyUploadException for service response error code
    // "EmptyUploadException".
    //
    // The specified layer upload does not 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 does not match the digest that Amazon ECR calculated
    // for the image.
    ErrCodeImageDigestDoesNotMatchException = "ImageDigestDoesNotMatchException"

    // ErrCodeImageNotFoundException for service response error code
    // "ImageNotFoundException".
    //
    // The image requested does not 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 upon receipt of the
    // image layer does not match the digest specified.
    ErrCodeInvalidLayerException = "InvalidLayerException"

    // ErrCodeInvalidLayerPartException for service response error code
    // "InvalidLayerPartException".
    //
    // The layer part size is not valid, or the first byte specified is not consecutive
    // to the last byte of a previous layer part upload.
    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 could not be found, or the specified layer is not valid
    // for this repository.
    ErrCodeLayersNotFoundException = "LayersNotFoundException"

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

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

    // ErrCodeRegistryNotFoundException for service response error code
    // "RegistryNotFoundException".
    //
    // The registry does not exist.
    ErrCodeRegistryNotFoundException = "RegistryNotFoundException"

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

    // 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 could not be found. Check the spelling of the specified
    // repository and ensure that you are performing operations on the correct registry.
    ErrCodeRepositoryNotFoundException = "RepositoryNotFoundException"

    // ErrCodeRepositoryPolicyNotFoundException for service response error code
    // "RepositoryPolicyNotFoundException".
    //
    // The specified repository and registry combination does not 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 is not supported in this Region.
    ErrCodeUnsupportedCommandException = "UnsupportedCommandException"

    // ErrCodeUploadNotFoundException for service response error code
    // "UploadNotFoundException".
    //
    // The upload could not be found, or the specified upload ID is not valid for
    // this repository.
    ErrCodeUploadNotFoundException = "UploadNotFoundException"
)
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

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

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 is 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

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

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 AWS account ID 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:"1" type:"string"`

    // The name of the repository that is 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

func (s BatchCheckLayerAvailabilityInput) GoString() string

GoString returns the string representation

func (*BatchCheckLayerAvailabilityInput) SetLayerDigests

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

SetLayerDigests sets the LayerDigests field's value.

func (*BatchCheckLayerAvailabilityInput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*BatchCheckLayerAvailabilityInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (BatchCheckLayerAvailabilityInput) String

func (s BatchCheckLayerAvailabilityInput) String() string

String returns the string representation

func (*BatchCheckLayerAvailabilityInput) Validate

func (s *BatchCheckLayerAvailabilityInput) Validate() error

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 corresponding to the image layer references
    // in the request.
    Layers []*Layer `locationName:"layers" type:"list"`
    // contains filtered or unexported fields
}

func (BatchCheckLayerAvailabilityOutput) GoString

func (s BatchCheckLayerAvailabilityOutput) GoString() string

GoString returns the string representation

func (*BatchCheckLayerAvailabilityOutput) SetFailures

func (s *BatchCheckLayerAvailabilityOutput) SetFailures(v []*LayerFailure) *BatchCheckLayerAvailabilityOutput

SetFailures sets the Failures field's value.

func (*BatchCheckLayerAvailabilityOutput) SetLayers

func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []*Layer) *BatchCheckLayerAvailabilityOutput

SetLayers sets the Layers field's value.

func (BatchCheckLayerAvailabilityOutput) String

func (s BatchCheckLayerAvailabilityOutput) String() string

String returns the string representation

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 AWS account ID 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" 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

func (*BatchDeleteImageInput) SetImageIds

func (s *BatchDeleteImageInput) SetImageIds(v []*ImageIdentifier) *BatchDeleteImageInput

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

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

func (*BatchDeleteImageOutput) SetFailures

func (s *BatchDeleteImageOutput) SetFailures(v []*ImageFailure) *BatchDeleteImageOutput

SetFailures sets the Failures field's value.

func (*BatchDeleteImageOutput) SetImageIds

func (s *BatchDeleteImageOutput) SetImageIds(v []*ImageIdentifier) *BatchDeleteImageOutput

SetImageIds sets the ImageIds field's value.

func (BatchDeleteImageOutput) String

func (s BatchDeleteImageOutput) String() string

String returns the string representation

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 AWS account ID associated with the registry to which to upload layers.
    // If you do not specify a registry, the default public registry is assumed.
    RegistryId *string `locationName:"registryId" min:"1" 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

func (*CompleteLayerUploadInput) SetLayerDigests

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

SetLayerDigests sets the LayerDigests field's value.

func (*CompleteLayerUploadInput) SetRegistryId

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

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

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

SetUploadId sets the UploadId field's value.

func (CompleteLayerUploadInput) String

func (s CompleteLayerUploadInput) String() string

String returns the string representation

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 associated with the request.
    RegistryId *string `locationName:"registryId" type:"string"`

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

    // The upload ID 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

func (*CompleteLayerUploadOutput) SetLayerDigest

func (s *CompleteLayerUploadOutput) SetLayerDigest(v string) *CompleteLayerUploadOutput

SetLayerDigest sets the LayerDigest field's value.

func (*CompleteLayerUploadOutput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*CompleteLayerUploadOutput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (*CompleteLayerUploadOutput) SetUploadId

func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOutput

SetUploadId sets the UploadId field's value.

func (CompleteLayerUploadOutput) String

func (s CompleteLayerUploadOutput) String() string

String returns the string representation

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 may be specified on its own (such as
    // nginx-web-app) or it can be prepended with a namespace to group the repository
    // into a category (such as 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 the repository to help you categorize and
    // organize them. Each tag consists of a key and an optional value, both of
    // which you define. Tag keys can have a maximum character length of 128 characters,
    // and tag values can have a maximum length of 256 characters.
    Tags []*Tag `locationName:"tags" type:"list"`
    // contains filtered or unexported fields
}

func (CreateRepositoryInput) GoString

func (s CreateRepositoryInput) GoString() string

GoString returns the string representation

func (*CreateRepositoryInput) SetCatalogData

func (s *CreateRepositoryInput) SetCatalogData(v *RepositoryCatalogDataInput) *CreateRepositoryInput

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

func (s *CreateRepositoryInput) SetTags(v []*Tag) *CreateRepositoryInput

SetTags sets the Tags field's value.

func (CreateRepositoryInput) String

func (s CreateRepositoryInput) String() string

String returns the string representation

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

func (*CreateRepositoryOutput) SetCatalogData

func (s *CreateRepositoryOutput) SetCatalogData(v *RepositoryCatalogData) *CreateRepositoryOutput

SetCatalogData sets the CatalogData field's value.

func (*CreateRepositoryOutput) SetRepository

func (s *CreateRepositoryOutput) SetRepository(v *Repository) *CreateRepositoryOutput

SetRepository sets the Repository field's value.

func (CreateRepositoryOutput) String

func (s CreateRepositoryOutput) String() string

String returns the string representation

type DeleteRepositoryInput

type DeleteRepositoryInput struct {

    // If a repository contains images, forces the deletion.
    Force *bool `locationName:"force" type:"boolean"`

    // The AWS account ID 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

func (*DeleteRepositoryInput) SetForce

func (s *DeleteRepositoryInput) SetForce(v bool) *DeleteRepositoryInput

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

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

func (*DeleteRepositoryOutput) SetRepository

func (s *DeleteRepositoryOutput) SetRepository(v *Repository) *DeleteRepositoryOutput

SetRepository sets the Repository field's value.

func (DeleteRepositoryOutput) String

func (s DeleteRepositoryOutput) String() string

String returns the string representation

type DeleteRepositoryPolicyInput

type DeleteRepositoryPolicyInput struct {

    // The AWS account ID 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 is 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

func (*DeleteRepositoryPolicyInput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*DeleteRepositoryPolicyInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryPolicyInput) String

func (s DeleteRepositoryPolicyInput) String() string

String returns the string representation

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 associated with the request.
    RegistryId *string `locationName:"registryId" type:"string"`

    // The repository name 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

func (*DeleteRepositoryPolicyOutput) SetPolicyText

func (s *DeleteRepositoryPolicyOutput) SetPolicyText(v string) *DeleteRepositoryPolicyOutput

SetPolicyText sets the PolicyText field's value.

func (*DeleteRepositoryPolicyOutput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*DeleteRepositoryPolicyOutput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (DeleteRepositoryPolicyOutput) String

func (s DeleteRepositoryPolicyOutput) String() string

String returns the string representation

type DescribeImageTagsInput

type DescribeImageTagsInput struct {

    // The maximum number of repository results 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.
    // The remaining results of the initial request can be seen by sending another
    // DescribeImageTags request with the returned nextToken value. This value can
    // be between 1 and 1000. If this parameter is not used, then DescribeImageTags
    // returns up to 100 results and a nextToken value, if applicable. This option
    // cannot be used when you specify images with imageIds.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The nextToken value 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. This value is null when there are no more results
    // to return. This option cannot be used when you specify images with imageIds.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The AWS account ID associated with the public registry that contains the
    // repository in which to describe images. 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

func (*DescribeImageTagsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*DescribeImageTagsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*DescribeImageTagsInput) SetRegistryId

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

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

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, this value
    // can be used to retrieve the next page of results. This value is null when
    // there are no more results to return.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeImageTagsOutput) GoString

func (s DescribeImageTagsOutput) GoString() string

GoString returns the string representation

func (*DescribeImageTagsOutput) SetImageTagDetails

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

SetImageTagDetails sets the ImageTagDetails field's value.

func (*DescribeImageTagsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (DescribeImageTagsOutput) String

func (s DescribeImageTagsOutput) String() string

String returns the string representation

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 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. The remaining
    // results of the initial request can be seen by sending another DescribeImages
    // request with the returned nextToken value. This value can be between 1 and
    // 1000. If this parameter is not used, then DescribeImages returns up to 100
    // results and a nextToken value, if applicable. This option cannot be used
    // when you specify images with imageIds.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The nextToken value 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. This value is null when there are no more results to return.
    // This option cannot be used when you specify images with imageIds.
    NextToken *string `locationName:"nextToken" type:"string"`

    // The AWS account ID associated with the public registry that contains the
    // repository in which to describe images. 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

func (*DescribeImagesInput) SetImageIds

func (s *DescribeImagesInput) SetImageIds(v []*ImageIdentifier) *DescribeImagesInput

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

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, this value can be
    // used to retrieve the next page of results. This value is null when there
    // are no more results to return.
    NextToken *string `locationName:"nextToken" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeImagesOutput) GoString

func (s DescribeImagesOutput) GoString() string

GoString returns the string representation

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

type DescribeRegistriesInput

type DescribeRegistriesInput struct {

    // The maximum number of repository results 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 is not 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 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. This value is null when there are no more results
    // to return.
    //
    // 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

func (*DescribeRegistriesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*DescribeRegistriesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (DescribeRegistriesInput) String

func (s DescribeRegistriesInput) String() string

String returns the string representation

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.
    // When the results of a DescribeRepositories request exceed maxResults, this
    // value can be used to retrieve the next page of results. This value is null
    // when there are no more results to return.
    NextToken *string `locationName:"nextToken" type:"string"`

    // An object containing 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

func (*DescribeRegistriesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*DescribeRegistriesOutput) SetRegistries

func (s *DescribeRegistriesOutput) SetRegistries(v []*Registry) *DescribeRegistriesOutput

SetRegistries sets the Registries field's value.

func (DescribeRegistriesOutput) String

func (s DescribeRegistriesOutput) String() string

String returns the string representation

type DescribeRepositoriesInput

type DescribeRepositoriesInput struct {

    // The maximum number of repository results 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. The remaining results of the initial request can be seen by sending
    // another DescribeRepositories request with the returned nextToken value. This
    // value can be between 1 and 1000. If this parameter is not used, then DescribeRepositories
    // returns up to 100 results and a nextToken value, if applicable. This option
    // cannot be used when you specify repositories with repositoryNames.
    MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

    // The nextToken value 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. This value is null when there are no more results
    // to return. This option cannot be used when you specify repositories with
    // repositoryNames.
    //
    // 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 AWS account ID 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

func (*DescribeRepositoriesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*DescribeRepositoriesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*DescribeRepositoriesInput) SetRegistryId

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

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

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. This value is null
    // when there are no more results to return.
    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

func (*DescribeRepositoriesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*DescribeRepositoriesOutput) SetRepositories

func (s *DescribeRepositoriesOutput) SetRepositories(v []*Repository) *DescribeRepositoriesOutput

SetRepositories sets the Repositories field's value.

func (DescribeRepositoriesOutput) String

func (s DescribeRepositoriesOutput) String() string

String returns the string representation

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 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 could not be found. Check the spelling of the specified
repository and ensure that you are 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 does not exist.

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 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 image's digest 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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 has completed 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 per each new image layer to verify that the upload has completed.

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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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

* InvalidLayerException
The layer digest calculation performed by Amazon ECR upon receipt of the
image layer does not 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 does not contain any layer parts.

* RegistryNotFoundException
The registry does not exist.

* UnsupportedCommandException
The action is not 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 did not succeed because it would have exceeded a service limit
for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html)
in the Amazon Elastic Container Registry User Guide.

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 delete all images in the repository or use the force option which 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 could not be found. Check the spelling of the specified
repository and ensure that you are 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.

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 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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

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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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 about 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, so it may return a larger image size than the image sizes 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

* ImageNotFoundException
The image requested does not exist in the specified repository.

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 is not 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 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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 and can be used 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.

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 is not 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.

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

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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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

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 per image layer that has not already been uploaded. Whether or not an image layer has been uploaded 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

* RegistryNotFoundException
The registry does not exist.

* UnsupportedCommandException
The action is not 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

* 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 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 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 could not be found. Check the spelling of the specified
repository and ensure that you are 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 could not be found, or the specified layer is not valid
for this repository.

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

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

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

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

* RegistryNotFoundException
The registry does not exist.

* UnsupportedCommandException
The action is not 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 updates 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 is not 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

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 are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.

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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

* 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 could not be found. Check the spelling of the specified
repository and ensure that you are performing operations on the correct registry.

* 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 (or about 20MB). The UploadLayerPart API is called once per 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 is not valid, or the first byte specified is not consecutive
to the last byte of a previous layer part upload.

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

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

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

* RegistryNotFoundException
The registry does not exist.

* UnsupportedCommandException
The action is not 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 does not 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

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

type GetAuthorizationTokenInput

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

func (GetAuthorizationTokenInput) GoString

func (s GetAuthorizationTokenInput) GoString() string

GoString returns the string representation

func (GetAuthorizationTokenInput) String

func (s GetAuthorizationTokenInput) String() string

String returns the string representation

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

func (*GetAuthorizationTokenOutput) SetAuthorizationData

func (s *GetAuthorizationTokenOutput) SetAuthorizationData(v *AuthorizationData) *GetAuthorizationTokenOutput

SetAuthorizationData sets the AuthorizationData field's value.

func (GetAuthorizationTokenOutput) String

func (s GetAuthorizationTokenOutput) String() string

String returns the string representation

type GetRegistryCatalogDataInput

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

func (GetRegistryCatalogDataInput) GoString

func (s GetRegistryCatalogDataInput) GoString() string

GoString returns the string representation

func (GetRegistryCatalogDataInput) String

func (s GetRegistryCatalogDataInput) String() string

String returns the string representation

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

func (*GetRegistryCatalogDataOutput) SetRegistryCatalogData

func (s *GetRegistryCatalogDataOutput) SetRegistryCatalogData(v *RegistryCatalogData) *GetRegistryCatalogDataOutput

SetRegistryCatalogData sets the RegistryCatalogData field's value.

func (GetRegistryCatalogDataOutput) String

func (s GetRegistryCatalogDataOutput) String() string

String returns the string representation

type GetRepositoryCatalogDataInput

type GetRepositoryCatalogDataInput struct {

    // The AWS account ID 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

func (s GetRepositoryCatalogDataInput) GoString() string

GoString returns the string representation

func (*GetRepositoryCatalogDataInput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*GetRepositoryCatalogDataInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryCatalogDataInput) String

func (s GetRepositoryCatalogDataInput) String() string

String returns the string representation

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

func (s GetRepositoryCatalogDataOutput) GoString() string

GoString returns the string representation

func (*GetRepositoryCatalogDataOutput) SetCatalogData

func (s *GetRepositoryCatalogDataOutput) SetCatalogData(v *RepositoryCatalogData) *GetRepositoryCatalogDataOutput

SetCatalogData sets the CatalogData field's value.

func (GetRepositoryCatalogDataOutput) String

func (s GetRepositoryCatalogDataOutput) String() string

String returns the string representation

type GetRepositoryPolicyInput

type GetRepositoryPolicyInput struct {

    // The AWS account ID 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

func (*GetRepositoryPolicyInput) SetRegistryId

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

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

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 associated with the repository. The policy text
    // will be in JSON format.
    PolicyText *string `locationName:"policyText" type:"string"`

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

    // The repository name 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

func (*GetRepositoryPolicyOutput) SetPolicyText

func (s *GetRepositoryPolicyOutput) SetPolicyText(v string) *GetRepositoryPolicyOutput

SetPolicyText sets the PolicyText field's value.

func (*GetRepositoryPolicyOutput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*GetRepositoryPolicyOutput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (GetRepositoryPolicyOutput) String

func (s GetRepositoryPolicyOutput) String() string

String returns the string representation

type Image

type Image struct {

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

    // The image manifest 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 AWS account ID associated with the registry containing the image.
    RegistryId *string `locationName:"registryId" min:"1" type:"string"`

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

An object representing an Amazon ECR image.

func (Image) GoString

func (s Image) GoString() string

GoString returns the string representation

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

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

func (s *ImageAlreadyExistsException) Code() string

Code returns the exception type name.

func (*ImageAlreadyExistsException) Error

func (s *ImageAlreadyExistsException) Error() string

func (ImageAlreadyExistsException) GoString

func (s ImageAlreadyExistsException) GoString() string

GoString returns the string representation

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

func (s ImageAlreadyExistsException) String() string

String returns the string representation

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, at which
    // the current image was pushed to the repository.
    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 will be the max size of all manifests
    // in the list.
    //
    // Beginning with Docker version 1.9, the Docker client compresses image layers
    // before pushing them to a V2 Docker registry. The output of the docker images
    // command shows the uncompressed image size, so it may return a larger image
    // size than the image sizes returned by DescribeImages.
    ImageSizeInBytes *int64 `locationName:"imageSizeInBytes" type:"long"`

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

    // The AWS account ID associated with the public registry to which this image
    // belongs.
    RegistryId *string `locationName:"registryId" type:"string"`

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

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

func (ImageDetail) GoString

func (s ImageDetail) GoString() string

GoString returns the string representation

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

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 does not match the digest that Amazon ECR calculated for the image.

func (*ImageDigestDoesNotMatchException) Code

func (s *ImageDigestDoesNotMatchException) Code() string

Code returns the exception type name.

func (*ImageDigestDoesNotMatchException) Error

func (s *ImageDigestDoesNotMatchException) Error() string

func (ImageDigestDoesNotMatchException) GoString

func (s ImageDigestDoesNotMatchException) GoString() string

GoString returns the string representation

func (*ImageDigestDoesNotMatchException) Message

func (s *ImageDigestDoesNotMatchException) Message() string

Message returns the exception's message.

func (*ImageDigestDoesNotMatchException) OrigErr

func (s *ImageDigestDoesNotMatchException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ImageDigestDoesNotMatchException) RequestID

func (s *ImageDigestDoesNotMatchException) RequestID() string

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

func (s ImageDigestDoesNotMatchException) String() string

String returns the string representation

type ImageFailure

type ImageFailure struct {

    // The code 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 associated with the failure.
    ImageId *ImageIdentifier `locationName:"imageId" type:"structure"`
    // contains filtered or unexported fields
}

An object representing an Amazon ECR image failure.

func (ImageFailure) GoString

func (s ImageFailure) GoString() string

GoString returns the string representation

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

type ImageIdentifier

type ImageIdentifier struct {

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

    // The tag 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

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

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 does not 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

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

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

func (s *ImageTagAlreadyExistsException) Code() string

Code returns the exception type name.

func (*ImageTagAlreadyExistsException) Error

func (s *ImageTagAlreadyExistsException) Error() string

func (ImageTagAlreadyExistsException) GoString

func (s ImageTagAlreadyExistsException) GoString() string

GoString returns the string representation

func (*ImageTagAlreadyExistsException) Message

func (s *ImageTagAlreadyExistsException) Message() string

Message returns the exception's message.

func (*ImageTagAlreadyExistsException) OrigErr

func (s *ImageTagAlreadyExistsException) OrigErr() error

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

func (s ImageTagAlreadyExistsException) String() string

String returns the string representation

type ImageTagDetail

type ImageTagDetail struct {

    // The time stamp indicating 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 associated with the image.
    ImageTag *string `locationName:"imageTag" min:"1" type:"string"`
    // contains filtered or unexported fields
}

An object representing the image tag details for an image.

func (ImageTagDetail) GoString

func (s ImageTagDetail) GoString() string

GoString returns the string representation

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

type InitiateLayerUploadInput

type InitiateLayerUploadInput struct {

    // The AWS account ID 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:"1" type:"string"`

    // The name of the repository to which you intend to upload layers.
    //
    // 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

func (*InitiateLayerUploadInput) SetRegistryId

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

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

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

func (*InitiateLayerUploadOutput) SetPartSize

func (s *InitiateLayerUploadOutput) SetPartSize(v int64) *InitiateLayerUploadOutput

SetPartSize sets the PartSize field's value.

func (*InitiateLayerUploadOutput) SetUploadId

func (s *InitiateLayerUploadOutput) SetUploadId(v string) *InitiateLayerUploadOutput

SetUploadId sets the UploadId field's value.

func (InitiateLayerUploadOutput) String

func (s InitiateLayerUploadOutput) String() string

String returns the string representation

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 upon receipt of the image layer does not 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

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

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 AWS account ID 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 associated with the layer part.
    UploadId *string `locationName:"uploadId" type:"string"`
    // contains filtered or unexported fields
}

The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.

func (*InvalidLayerPartException) Code

func (s *InvalidLayerPartException) Code() string

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

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

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

func (s *InvalidParameterException) Code() string

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

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

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

func (s *InvalidTagParameterException) Code() string

Code returns the exception type name.

func (*InvalidTagParameterException) Error

func (s *InvalidTagParameterException) Error() string

func (InvalidTagParameterException) GoString

func (s InvalidTagParameterException) GoString() string

GoString returns the string representation

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

func (s InvalidTagParameterException) String() string

String returns the string representation

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 representing an Amazon ECR image layer.

func (Layer) GoString

func (s Layer) GoString() string

GoString returns the string representation

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

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

func (s *LayerAlreadyExistsException) Code() string

Code returns the exception type name.

func (*LayerAlreadyExistsException) Error

func (s *LayerAlreadyExistsException) Error() string

func (LayerAlreadyExistsException) GoString

func (s LayerAlreadyExistsException) GoString() string

GoString returns the string representation

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

func (s LayerAlreadyExistsException) String() string

String returns the string representation

type LayerFailure

type LayerFailure struct {

    // The failure code 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 associated with the failure.
    LayerDigest *string `locationName:"layerDigest" type:"string"`
    // contains filtered or unexported fields
}

An object representing an Amazon ECR image layer failure.

func (LayerFailure) GoString

func (s LayerFailure) GoString() string

GoString returns the string representation

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

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

func (s *LayerPartTooSmallException) Code() string

Code returns the exception type name.

func (*LayerPartTooSmallException) Error

func (s *LayerPartTooSmallException) Error() string

func (LayerPartTooSmallException) GoString

func (s LayerPartTooSmallException) GoString() string

GoString returns the string representation

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

func (s LayerPartTooSmallException) String() string

String returns the string representation

type LayersNotFoundException

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

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

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

func (*LayersNotFoundException) 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

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

type LimitExceededException

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

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

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

func (*LimitExceededException) 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

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

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

    // The Amazon Resource Name (ARN) that identifies the resource for which to
    // list the tags. Currently, the supported resource is an Amazon ECR Public
    // repository.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

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

func (*ListTagsForResourceOutput) SetTags

func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type PutImageInput

type PutImageInput struct {

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

    // The image manifest corresponding 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
    // does not 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 AWS account ID associated with the public registry that contains the
    // repository in which to put the image. If you do not specify a registry, the
    // default public registry is assumed.
    RegistryId *string `locationName:"registryId" min:"1" type:"string"`

    // The name of the repository in which to put the image.
    //
    // 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

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

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

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

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

func (*PutRegistryCatalogDataInput) SetDisplayName

func (s *PutRegistryCatalogDataInput) SetDisplayName(v string) *PutRegistryCatalogDataInput

SetDisplayName sets the DisplayName field's value.

func (PutRegistryCatalogDataInput) String

func (s PutRegistryCatalogDataInput) String() string

String returns the string representation

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

func (*PutRegistryCatalogDataOutput) SetRegistryCatalogData

func (s *PutRegistryCatalogDataOutput) SetRegistryCatalogData(v *RegistryCatalogData) *PutRegistryCatalogDataOutput

SetRegistryCatalogData sets the RegistryCatalogData field's value.

func (PutRegistryCatalogDataOutput) String

func (s PutRegistryCatalogDataOutput) String() string

String returns the string representation

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 AWS account ID 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

func (s PutRepositoryCatalogDataInput) GoString() string

GoString returns the string representation

func (*PutRepositoryCatalogDataInput) SetCatalogData

func (s *PutRepositoryCatalogDataInput) SetCatalogData(v *RepositoryCatalogDataInput) *PutRepositoryCatalogDataInput

SetCatalogData sets the CatalogData field's value.

func (*PutRepositoryCatalogDataInput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*PutRepositoryCatalogDataInput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (PutRepositoryCatalogDataInput) String

func (s PutRepositoryCatalogDataInput) String() string

String returns the string representation

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

func (s PutRepositoryCatalogDataOutput) GoString() string

GoString returns the string representation

func (*PutRepositoryCatalogDataOutput) SetCatalogData

func (s *PutRepositoryCatalogDataOutput) SetCatalogData(v *RepositoryCatalogData) *PutRepositoryCatalogDataOutput

SetCatalogData sets the CatalogData field's value.

func (PutRepositoryCatalogDataOutput) String

func (s PutRepositoryCatalogDataOutput) String() string

String returns the string representation

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, at which
    // the current image tag was pushed to the repository.
    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 will be the max size of all manifests
    // in the list.
    //
    // Beginning with Docker version 1.9, the Docker client compresses image layers
    // before pushing them to a V2 Docker registry. The output of the docker images
    // command shows the uncompressed image size, so it may return a larger image
    // size than the image sizes returned by DescribeImages.
    ImageSizeInBytes *int64 `locationName:"imageSizeInBytes" type:"long"`
    // contains filtered or unexported fields
}

An object that describes the image tag details returned by a DescribeImageTags action.

func (ReferencedImageDetail) GoString

func (s ReferencedImageDetail) GoString() string

GoString returns the string representation

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

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 does not exist.

func (*ReferencedImagesNotFoundException) Code

func (s *ReferencedImagesNotFoundException) Code() string

Code returns the exception type name.

func (*ReferencedImagesNotFoundException) Error

func (s *ReferencedImagesNotFoundException) Error() string

func (ReferencedImagesNotFoundException) GoString

func (s ReferencedImagesNotFoundException) GoString() string

GoString returns the string representation

func (*ReferencedImagesNotFoundException) Message

func (s *ReferencedImagesNotFoundException) Message() string

Message returns the exception's message.

func (*ReferencedImagesNotFoundException) OrigErr

func (s *ReferencedImagesNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ReferencedImagesNotFoundException) RequestID

func (s *ReferencedImagesNotFoundException) RequestID() string

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

func (s ReferencedImagesNotFoundException) String() string

String returns the string representation

type Registry

type Registry struct {

    // An array of objects representing 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" type:"string" required:"true"`

    // The AWS account ID 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"`

    // Whether the account is verified. This indicates whether the account is an
    // AWS Marketplace vendor. If an account is verified, each public repository
    // will received 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

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

type RegistryAlias

type RegistryAlias struct {

    // Whether or not 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"`

    // Whether or not 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 is not 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 upon creation but 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

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

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

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

type RegistryNotFoundException

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

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

The registry does not exist.

func (*RegistryNotFoundException) Code

func (s *RegistryNotFoundException) Code() string

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

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

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 AWS account ID 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, AWS
    // account ID of the repository owner, repository namespace, and repository
    // name. For example, arn:aws:ecr:region:012345678910:repository/test.
    RepositoryArn *string `locationName:"repositoryArn" 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

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

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

func (s *RepositoryAlreadyExistsException) Code() string

Code returns the exception type name.

func (*RepositoryAlreadyExistsException) Error

func (s *RepositoryAlreadyExistsException) Error() string

func (RepositoryAlreadyExistsException) GoString

func (s RepositoryAlreadyExistsException) GoString() string

GoString returns the string representation

func (*RepositoryAlreadyExistsException) Message

func (s *RepositoryAlreadyExistsException) Message() string

Message returns the exception's message.

func (*RepositoryAlreadyExistsException) OrigErr

func (s *RepositoryAlreadyExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryAlreadyExistsException) RequestID

func (s *RepositoryAlreadyExistsException) RequestID() string

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

func (s RepositoryAlreadyExistsException) String() string

String returns the string representation

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 containing the logo associated with the repository.
    LogoUrl *string `locationName:"logoUrl" type:"string"`

    // Whether or not the repository is certified by AWS 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

func (*RepositoryCatalogData) SetAboutText

func (s *RepositoryCatalogData) SetAboutText(v string) *RepositoryCatalogData

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

func (s *RepositoryCatalogData) SetLogoUrl(v string) *RepositoryCatalogData

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

func (s *RepositoryCatalogData) SetUsageText(v string) *RepositoryCatalogData

SetUsageText sets the UsageText field's value.

func (RepositoryCatalogData) String

func (s RepositoryCatalogData) String() string

String returns the string representation

type RepositoryCatalogDataInput

type RepositoryCatalogDataInput struct {

    // A detailed description of the contents of the repository. It is 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
    // will appear as badges on the repository and are used as search filters.
    //
    //    * Linux
    //
    //    * Windows
    //
    // If an unsupported tag is added to your repository catalog data, it will be
    // associated with the repository and can be retrieved using the API but will
    // not be discoverable in the Amazon ECR Public Gallery.
    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
    // will appear as badges on the repository and are used as search filters.
    //
    //    * ARM
    //
    //    * ARM 64
    //
    //    * x86
    //
    //    * x86-64
    //
    // If an unsupported tag is added to your repository catalog data, it will be
    // associated with the repository and can be retrieved using the API but will
    // not be discoverable in the Amazon ECR Public Gallery.
    OperatingSystems []*string `locationName:"operatingSystems" type:"list"`

    // Detailed information on how to use the contents of the repository. It is
    // 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 containing 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

func (*RepositoryCatalogDataInput) SetAboutText

func (s *RepositoryCatalogDataInput) SetAboutText(v string) *RepositoryCatalogDataInput

SetAboutText sets the AboutText field's value.

func (*RepositoryCatalogDataInput) SetArchitectures

func (s *RepositoryCatalogDataInput) SetArchitectures(v []*string) *RepositoryCatalogDataInput

SetArchitectures sets the Architectures field's value.

func (*RepositoryCatalogDataInput) SetDescription

func (s *RepositoryCatalogDataInput) SetDescription(v string) *RepositoryCatalogDataInput

SetDescription sets the Description field's value.

func (*RepositoryCatalogDataInput) SetLogoImageBlob

func (s *RepositoryCatalogDataInput) SetLogoImageBlob(v []byte) *RepositoryCatalogDataInput

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

func (s *RepositoryCatalogDataInput) SetUsageText(v string) *RepositoryCatalogDataInput

SetUsageText sets the UsageText field's value.

func (RepositoryCatalogDataInput) String

func (s RepositoryCatalogDataInput) String() string

String returns the string representation

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

func (s *RepositoryNotEmptyException) Code() string

Code returns the exception type name.

func (*RepositoryNotEmptyException) Error

func (s *RepositoryNotEmptyException) Error() string

func (RepositoryNotEmptyException) GoString

func (s RepositoryNotEmptyException) GoString() string

GoString returns the string representation

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

func (s RepositoryNotEmptyException) String() string

String returns the string representation

type RepositoryNotFoundException

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

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

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

func (*RepositoryNotFoundException) Code

func (s *RepositoryNotFoundException) Code() string

Code returns the exception type name.

func (*RepositoryNotFoundException) Error

func (s *RepositoryNotFoundException) Error() string

func (RepositoryNotFoundException) GoString

func (s RepositoryNotFoundException) GoString() string

GoString returns the string representation

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

func (s RepositoryNotFoundException) String() string

String returns the string representation

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 does not have an associated repository policy.

func (*RepositoryPolicyNotFoundException) Code

func (s *RepositoryPolicyNotFoundException) Code() string

Code returns the exception type name.

func (*RepositoryPolicyNotFoundException) Error

func (s *RepositoryPolicyNotFoundException) Error() string

func (RepositoryPolicyNotFoundException) GoString

func (s RepositoryPolicyNotFoundException) GoString() string

GoString returns the string representation

func (*RepositoryPolicyNotFoundException) Message

func (s *RepositoryPolicyNotFoundException) Message() string

Message returns the exception's message.

func (*RepositoryPolicyNotFoundException) OrigErr

func (s *RepositoryPolicyNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*RepositoryPolicyNotFoundException) RequestID

func (s *RepositoryPolicyNotFoundException) RequestID() string

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

func (s RepositoryPolicyNotFoundException) String() string

String returns the string representation

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

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

type SetRepositoryPolicyInput

type SetRepositoryPolicyInput struct {

    // If the policy you are attempting to set on a repository policy would prevent
    // you from setting another policy in the future, you must force the SetRepositoryPolicy
    // operation. This is intended to prevent accidental repository lock outs.
    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 AWS account ID 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

func (*SetRepositoryPolicyInput) SetForce

func (s *SetRepositoryPolicyInput) SetForce(v bool) *SetRepositoryPolicyInput

SetForce sets the Force field's value.

func (*SetRepositoryPolicyInput) SetPolicyText

func (s *SetRepositoryPolicyInput) SetPolicyText(v string) *SetRepositoryPolicyInput

SetPolicyText sets the PolicyText field's value.

func (*SetRepositoryPolicyInput) SetRegistryId

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

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

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 applied to the repository.
    PolicyText *string `locationName:"policyText" type:"string"`

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

    // The repository name 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

func (*SetRepositoryPolicyOutput) SetPolicyText

func (s *SetRepositoryPolicyOutput) SetPolicyText(v string) *SetRepositoryPolicyOutput

SetPolicyText sets the PolicyText field's value.

func (*SetRepositoryPolicyOutput) SetRegistryId

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

SetRegistryId sets the RegistryId field's value.

func (*SetRepositoryPolicyOutput) SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

func (SetRepositoryPolicyOutput) String

func (s SetRepositoryPolicyOutput) String() string

String returns the string representation

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, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

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

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 which to add tags. Currently,
    // the supported resource is an Amazon ECR Public repository.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" 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

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

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

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

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

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

type UnsupportedCommandException

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

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

The action is not supported in this Region.

func (*UnsupportedCommandException) Code

func (s *UnsupportedCommandException) Code() string

Code returns the exception type name.

func (*UnsupportedCommandException) Error

func (s *UnsupportedCommandException) Error() string

func (UnsupportedCommandException) GoString

func (s UnsupportedCommandException) GoString() string

GoString returns the string representation

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

func (s UnsupportedCommandException) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

    // The Amazon Resource Name (ARN) of the resource from which to delete tags.
    // Currently, the supported resource is an Amazon ECR Public repository.
    //
    // ResourceArn is a required field
    ResourceArn *string `locationName:"resourceArn" 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

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

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

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

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 AWS account ID associated with the registry to which you are uploading
    // layer parts. If you do not specify a registry, the default public registry
    // is assumed.
    RegistryId *string `locationName:"registryId" min:"1" type:"string"`

    // The name of the repository to which you are uploading layer parts.
    //
    // 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

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

func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput

SetUploadId sets the UploadId field's value.

func (UploadLayerPartInput) String

func (s UploadLayerPartInput) String() string

String returns the string representation

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 received in the request.
    LastByteReceived *int64 `locationName:"lastByteReceived" type:"long"`

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

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

    // The upload ID 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

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

func (s *UploadLayerPartOutput) SetUploadId(v string) *UploadLayerPartOutput

SetUploadId sets the UploadId field's value.

func (UploadLayerPartOutput) String

func (s UploadLayerPartOutput) String() string

String returns the string representation

type UploadNotFoundException

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

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

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

func (*UploadNotFoundException) 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

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