@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonECRAsync extends AbstractAmazonECR implements AmazonECRAsync
AmazonECRAsync. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler, which throws an UnsupportedOperationException.ENDPOINT_PREFIXbatchCheckLayerAvailability, batchDeleteImage, batchGetImage, completeLayerUpload, createRepository, deleteRepository, deleteRepositoryPolicy, describeImages, describeRepositories, getAuthorizationToken, getCachedResponseMetadata, getDownloadUrlForLayer, getRepositoryPolicy, initiateLayerUpload, listImages, putImage, setEndpoint, setRegion, setRepositoryPolicy, shutdown, uploadLayerPartequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchCheckLayerAvailability, batchDeleteImage, batchGetImage, completeLayerUpload, createRepository, deleteRepository, deleteRepositoryPolicy, describeImages, describeRepositories, getAuthorizationToken, getCachedResponseMetadata, getDownloadUrlForLayer, getRepositoryPolicy, initiateLayerUpload, listImages, putImage, setEndpoint, setRegion, setRepositoryPolicy, shutdown, uploadLayerPartpublic Future<BatchCheckLayerAvailabilityResult> batchCheckLayerAvailabilityAsync(BatchCheckLayerAvailabilityRequest request)
AmazonECRAsyncCheck 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
batchCheckLayerAvailabilityAsync in interface AmazonECRAsyncpublic Future<BatchCheckLayerAvailabilityResult> batchCheckLayerAvailabilityAsync(BatchCheckLayerAvailabilityRequest request, AsyncHandler<BatchCheckLayerAvailabilityRequest,BatchCheckLayerAvailabilityResult> asyncHandler)
AmazonECRAsyncCheck 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
batchCheckLayerAvailabilityAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDeleteImageResult> batchDeleteImageAsync(BatchDeleteImageRequest request)
AmazonECRAsync
Deletes a list of specified images within a specified repository. Images are specified with either
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.
batchDeleteImageAsync in interface AmazonECRAsyncrequest - Deletes specified images within a specified repository. Images are specified with either the
imageTag or imageDigest.public Future<BatchDeleteImageResult> batchDeleteImageAsync(BatchDeleteImageRequest request, AsyncHandler<BatchDeleteImageRequest,BatchDeleteImageResult> asyncHandler)
AmazonECRAsync
Deletes a list of specified images within a specified repository. Images are specified with either
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.
batchDeleteImageAsync in interface AmazonECRAsyncrequest - Deletes specified images within a specified repository. Images are specified with either the
imageTag or imageDigest.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchGetImageResult> batchGetImageAsync(BatchGetImageRequest request)
AmazonECRAsync
Gets detailed information for specified images within a specified repository. Images are specified with either
imageTag or imageDigest.
batchGetImageAsync in interface AmazonECRAsyncpublic Future<BatchGetImageResult> batchGetImageAsync(BatchGetImageRequest request, AsyncHandler<BatchGetImageRequest,BatchGetImageResult> asyncHandler)
AmazonECRAsync
Gets detailed information for specified images within a specified repository. Images are specified with either
imageTag or imageDigest.
batchGetImageAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CompleteLayerUploadResult> completeLayerUploadAsync(CompleteLayerUploadRequest request)
AmazonECRAsync
Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has
completed. You can optionally provide a 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
completeLayerUploadAsync in interface AmazonECRAsyncpublic Future<CompleteLayerUploadResult> completeLayerUploadAsync(CompleteLayerUploadRequest request, AsyncHandler<CompleteLayerUploadRequest,CompleteLayerUploadResult> asyncHandler)
AmazonECRAsync
Inform Amazon ECR that the image layer upload for a specified registry, repository name, and upload ID, has
completed. You can optionally provide a 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
completeLayerUploadAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request)
AmazonECRAsyncCreates an image repository.
createRepositoryAsync in interface AmazonECRAsyncpublic Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
AmazonECRAsyncCreates an image repository.
createRepositoryAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request)
AmazonECRAsync
Deletes an existing image repository. If a repository contains images, you must use the force option
to delete it.
deleteRepositoryAsync in interface AmazonECRAsyncpublic Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
AmazonECRAsync
Deletes an existing image repository. If a repository contains images, you must use the force option
to delete it.
deleteRepositoryAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRepositoryPolicyResult> deleteRepositoryPolicyAsync(DeleteRepositoryPolicyRequest request)
AmazonECRAsyncDeletes the repository policy from a specified repository.
deleteRepositoryPolicyAsync in interface AmazonECRAsyncpublic Future<DeleteRepositoryPolicyResult> deleteRepositoryPolicyAsync(DeleteRepositoryPolicyRequest request, AsyncHandler<DeleteRepositoryPolicyRequest,DeleteRepositoryPolicyResult> asyncHandler)
AmazonECRAsyncDeletes the repository policy from a specified repository.
deleteRepositoryPolicyAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest request)
AmazonECRAsyncReturns metadata about the images in a repository, including image size, image tags, and creation date.
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.
describeImagesAsync in interface AmazonECRAsyncpublic Future<DescribeImagesResult> describeImagesAsync(DescribeImagesRequest request, AsyncHandler<DescribeImagesRequest,DescribeImagesResult> asyncHandler)
AmazonECRAsyncReturns metadata about the images in a repository, including image size, image tags, and creation date.
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.
describeImagesAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRepositoriesResult> describeRepositoriesAsync(DescribeRepositoriesRequest request)
AmazonECRAsyncDescribes image repositories in a registry.
describeRepositoriesAsync in interface AmazonECRAsyncpublic Future<DescribeRepositoriesResult> describeRepositoriesAsync(DescribeRepositoriesRequest request, AsyncHandler<DescribeRepositoriesRequest,DescribeRepositoriesResult> asyncHandler)
AmazonECRAsyncDescribes image repositories in a registry.
describeRepositoriesAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAuthorizationTokenResult> getAuthorizationTokenAsync(GetAuthorizationTokenRequest request)
AmazonECRAsync
Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the
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.
getAuthorizationTokenAsync in interface AmazonECRAsyncpublic Future<GetAuthorizationTokenResult> getAuthorizationTokenAsync(GetAuthorizationTokenRequest request, AsyncHandler<GetAuthorizationTokenRequest,GetAuthorizationTokenResult> asyncHandler)
AmazonECRAsync
Retrieves a token that is valid for a specified registry for 12 hours. This command allows you to use the
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.
getAuthorizationTokenAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDownloadUrlForLayerResult> getDownloadUrlForLayerAsync(GetDownloadUrlForLayerRequest request)
AmazonECRAsyncRetrieves 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
getDownloadUrlForLayerAsync in interface AmazonECRAsyncpublic Future<GetDownloadUrlForLayerResult> getDownloadUrlForLayerAsync(GetDownloadUrlForLayerRequest request, AsyncHandler<GetDownloadUrlForLayerRequest,GetDownloadUrlForLayerResult> asyncHandler)
AmazonECRAsyncRetrieves 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
getDownloadUrlForLayerAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRepositoryPolicyResult> getRepositoryPolicyAsync(GetRepositoryPolicyRequest request)
AmazonECRAsyncRetrieves the repository policy for a specified repository.
getRepositoryPolicyAsync in interface AmazonECRAsyncpublic Future<GetRepositoryPolicyResult> getRepositoryPolicyAsync(GetRepositoryPolicyRequest request, AsyncHandler<GetRepositoryPolicyRequest,GetRepositoryPolicyResult> asyncHandler)
AmazonECRAsyncRetrieves the repository policy for a specified repository.
getRepositoryPolicyAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<InitiateLayerUploadResult> initiateLayerUploadAsync(InitiateLayerUploadRequest request)
AmazonECRAsyncNotify 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
initiateLayerUploadAsync in interface AmazonECRAsyncpublic Future<InitiateLayerUploadResult> initiateLayerUploadAsync(InitiateLayerUploadRequest request, AsyncHandler<InitiateLayerUploadRequest,InitiateLayerUploadResult> asyncHandler)
AmazonECRAsyncNotify 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
initiateLayerUploadAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListImagesResult> listImagesAsync(ListImagesRequest request)
AmazonECRAsyncLists all the image IDs for a given repository.
You can filter images based on whether or not they are tagged by setting the tagStatus parameter to
TAGGED or UNTAGGED. For example, you can filter your results to return only
UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or,
you can filter your results to return only TAGGED images to list all of the tags in your repository.
listImagesAsync in interface AmazonECRAsyncpublic Future<ListImagesResult> listImagesAsync(ListImagesRequest request, AsyncHandler<ListImagesRequest,ListImagesResult> asyncHandler)
AmazonECRAsyncLists all the image IDs for a given repository.
You can filter images based on whether or not they are tagged by setting the tagStatus parameter to
TAGGED or UNTAGGED. For example, you can filter your results to return only
UNTAGGED images and then pipe that result to a BatchDeleteImage operation to delete them. Or,
you can filter your results to return only TAGGED images to list all of the tags in your repository.
listImagesAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutImageResult> putImageAsync(PutImageRequest request)
AmazonECRAsyncCreates or updates the image manifest and tags associated with an image.
This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
putImageAsync in interface AmazonECRAsyncpublic Future<PutImageResult> putImageAsync(PutImageRequest request, AsyncHandler<PutImageRequest,PutImageResult> asyncHandler)
AmazonECRAsyncCreates or updates the image manifest and tags associated with an image.
This operation is used by the Amazon ECR proxy, and it is not intended for general use by customers for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
putImageAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SetRepositoryPolicyResult> setRepositoryPolicyAsync(SetRepositoryPolicyRequest request)
AmazonECRAsyncApplies a repository policy on a specified repository to control access permissions.
setRepositoryPolicyAsync in interface AmazonECRAsyncpublic Future<SetRepositoryPolicyResult> setRepositoryPolicyAsync(SetRepositoryPolicyRequest request, AsyncHandler<SetRepositoryPolicyRequest,SetRepositoryPolicyResult> asyncHandler)
AmazonECRAsyncApplies a repository policy on a specified repository to control access permissions.
setRepositoryPolicyAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UploadLayerPartResult> uploadLayerPartAsync(UploadLayerPartRequest request)
AmazonECRAsyncUploads 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
uploadLayerPartAsync in interface AmazonECRAsyncpublic Future<UploadLayerPartResult> uploadLayerPartAsync(UploadLayerPartRequest request, AsyncHandler<UploadLayerPartRequest,UploadLayerPartResult> asyncHandler)
AmazonECRAsyncUploads 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 for pulling
and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
uploadLayerPartAsync in interface AmazonECRAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.