NAME

Paws::ECR - Perl Interface to AWS Amazon EC2 Container Registry

SYNOPSIS

use Paws;

my $obj = Paws->service('ECR');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

Amazon EC2 Container Registry (Amazon ECR) is a managed AWS Docker registry service. Customers can use the familiar Docker CLI to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry. Amazon ECR supports private Docker repositories with resource-based permissions using AWS IAM so that specific users or Amazon EC2 instances can access repositories and images. Developers can use the Docker CLI to author and manage images.

METHODS

BatchCheckLayerAvailability(LayerDigests => ArrayRef[Str], RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::BatchCheckLayerAvailability

Returns: a Paws::ECR::BatchCheckLayerAvailabilityResponse instance

Check the availability of multiple image layers in a specified registry
and repository.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

BatchDeleteImage(ImageIds => ArrayRef[Paws::ECR::ImageIdentifier], RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::BatchDeleteImage

Returns: a Paws::ECR::BatchDeleteImageResponse instance

Deletes a list of specified images within a specified repository.
Images are specified with either C<imageTag> or C<imageDigest>.

BatchGetImage(ImageIds => ArrayRef[Paws::ECR::ImageIdentifier], RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::BatchGetImage

Returns: a Paws::ECR::BatchGetImageResponse instance

Gets detailed information for specified images within a specified
repository. Images are specified with either C<imageTag> or
C<imageDigest>.

CompleteLayerUpload(LayerDigests => ArrayRef[Str], RepositoryName => Str, UploadId => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::CompleteLayerUpload

Returns: a Paws::ECR::CompleteLayerUploadResponse instance

Inform Amazon ECR that the image layer upload for a specified registry,
repository name, and upload ID, has completed. You can optionally
provide a C<sha256> digest of the image layer for data validation
purposes.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

CreateRepository(RepositoryName => Str)

Each argument is described in detail in: Paws::ECR::CreateRepository

Returns: a Paws::ECR::CreateRepositoryResponse instance

Creates an image repository.

DeleteRepository(RepositoryName => Str, [Force => Bool, RegistryId => Str])

Each argument is described in detail in: Paws::ECR::DeleteRepository

Returns: a Paws::ECR::DeleteRepositoryResponse instance

Deletes an existing image repository. If a repository contains images,
you must use the C<force> option to delete it.

DeleteRepositoryPolicy(RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::DeleteRepositoryPolicy

Returns: a Paws::ECR::DeleteRepositoryPolicyResponse instance

Deletes the repository policy from a specified repository.

DescribeRepositories([MaxResults => Int, NextToken => Str, RegistryId => Str, RepositoryNames => ArrayRef[Str]])

Each argument is described in detail in: Paws::ECR::DescribeRepositories

Returns: a Paws::ECR::DescribeRepositoriesResponse instance

Describes image repositories in a registry.

GetAuthorizationToken([RegistryIds => ArrayRef[Str]])

Each argument is described in detail in: Paws::ECR::GetAuthorizationToken

Returns: a Paws::ECR::GetAuthorizationTokenResponse instance

Retrieves a token that is valid for a specified registry for 12 hours.
This command allows you to use the C<docker> CLI to push and pull
images with Amazon ECR. If you do not specify a registry, the default
registry is assumed.

The authorizationToken returned for each registry specified is a base64 encoded string that can be decoded and used in a docker login command to authenticate to a registry. The AWS CLI offers an aws ecr get-login command that simplifies the login process.

GetDownloadUrlForLayer(LayerDigest => Str, RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::GetDownloadUrlForLayer

Returns: a Paws::ECR::GetDownloadUrlForLayerResponse instance

Retrieves the pre-signed Amazon S3 download URL corresponding to an
image layer. You can only get URLs for image layers that are referenced
in an image.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

GetRepositoryPolicy(RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::GetRepositoryPolicy

Returns: a Paws::ECR::GetRepositoryPolicyResponse instance

Retrieves the repository policy for a specified repository.

InitiateLayerUpload(RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::InitiateLayerUpload

Returns: a Paws::ECR::InitiateLayerUploadResponse instance

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

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

ListImages(RepositoryName => Str, [Filter => Paws::ECR::ListImagesFilter, MaxResults => Int, NextToken => Str, RegistryId => Str])

Each argument is described in detail in: Paws::ECR::ListImages

Returns: a Paws::ECR::ListImagesResponse instance

Lists all the image IDs for a given repository.

PutImage(ImageManifest => Str, RepositoryName => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::PutImage

Returns: a Paws::ECR::PutImageResponse instance

Creates or updates the image manifest associated with an image.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

SetRepositoryPolicy(PolicyText => Str, RepositoryName => Str, [Force => Bool, RegistryId => Str])

Each argument is described in detail in: Paws::ECR::SetRepositoryPolicy

Returns: a Paws::ECR::SetRepositoryPolicyResponse instance

Applies a repository policy on a specified repository to control access
permissions.

UploadLayerPart(LayerPartBlob => Str, PartFirstByte => Int, PartLastByte => Int, RepositoryName => Str, UploadId => Str, [RegistryId => Str])

Each argument is described in detail in: Paws::ECR::UploadLayerPart

Returns: a Paws::ECR::UploadLayerPartResponse instance

Uploads an image layer part to Amazon ECR.

This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers. Use the docker CLI to pull, tag, and push images.

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues