C# Class Amazon.ECR.AmazonECRClient

Implementation for accessing ECR 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.
Inheritance: AmazonServiceClient, IAmazonECR
Show file Open project: aws/aws-sdk-net

Public Methods

Method Description
AmazonECRClient ( ) : System

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonECRClient ( AWSCredentials credentials ) : System

Constructs AmazonECRClient with AWS Credentials

AmazonECRClient ( AWSCredentials credentials, AmazonECRConfig clientConfig ) : System

Constructs AmazonECRClient with AWS Credentials and an AmazonECRClient Configuration object.

AmazonECRClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonECRClient with AWS Credentials

AmazonECRClient ( AmazonECRConfig config ) : System

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonECRClient ( RegionEndpoint region ) : System

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonECRConfig clientConfig ) : System

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonECRConfig clientConfig ) : System

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.

AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key

BatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request ) : BatchCheckLayerAvailabilityResponse

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

BatchCheckLayerAvailabilityAsync ( BatchCheckLayerAvailabilityRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.

BatchDeleteImage ( BatchDeleteImageRequest request ) : BatchDeleteImageResponse

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 ( BatchDeleteImageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchDeleteImage operation.

BatchGetImage ( BatchGetImageRequest request ) : BatchGetImageResponse

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

BatchGetImageAsync ( BatchGetImageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchGetImage operation.

BeginBatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.

BeginBatchDeleteImage ( BatchDeleteImageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchDeleteImage operation.

BeginBatchGetImage ( BatchGetImageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchGetImage operation.

BeginCompleteLayerUpload ( CompleteLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CompleteLayerUpload operation.

BeginCreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateRepository operation.

BeginDeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteRepository operation.

BeginDeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.

BeginDescribeImages ( DescribeImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeImages operation.

BeginDescribeRepositories ( DescribeRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeRepositories operation.

BeginGetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetAuthorizationToken operation.

BeginGetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.

BeginGetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetRepositoryPolicy operation.

BeginInitiateLayerUpload ( InitiateLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the InitiateLayerUpload operation.

BeginListImages ( ListImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ListImages operation.

BeginPutImage ( PutImageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutImage operation.

BeginSetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetRepositoryPolicy operation.

BeginUploadLayerPart ( UploadLayerPartRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UploadLayerPart operation.

CompleteLayerUpload ( CompleteLayerUploadRequest request ) : CompleteLayerUploadResponse

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 ( CompleteLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CompleteLayerUpload operation.

CreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request ) : CreateRepositoryResponse

Creates an image repository.

CreateRepositoryAsync ( Amazon.ECR.Model.CreateRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateRepository operation.

DeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request ) : DeleteRepositoryResponse

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

DeleteRepositoryAsync ( Amazon.ECR.Model.DeleteRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteRepository operation.

DeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request ) : DeleteRepositoryPolicyResponse

Deletes the repository policy from a specified repository.

DeleteRepositoryPolicyAsync ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.

DescribeImages ( DescribeImagesRequest request ) : DescribeImagesResponse

Returns 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 ( DescribeImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeImages operation.

DescribeRepositories ( DescribeRepositoriesRequest request ) : DescribeRepositoriesResponse

Describes image repositories in a registry.

DescribeRepositoriesAsync ( DescribeRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeRepositories operation.

EndBatchCheckLayerAvailability ( IAsyncResult asyncResult ) : BatchCheckLayerAvailabilityResponse

Finishes the asynchronous execution of the BatchCheckLayerAvailability operation.

EndBatchDeleteImage ( IAsyncResult asyncResult ) : BatchDeleteImageResponse

Finishes the asynchronous execution of the BatchDeleteImage operation.

EndBatchGetImage ( IAsyncResult asyncResult ) : BatchGetImageResponse

Finishes the asynchronous execution of the BatchGetImage operation.

EndCompleteLayerUpload ( IAsyncResult asyncResult ) : CompleteLayerUploadResponse

Finishes the asynchronous execution of the CompleteLayerUpload operation.

EndCreateRepository ( IAsyncResult asyncResult ) : CreateRepositoryResponse

Finishes the asynchronous execution of the CreateRepository operation.

EndDeleteRepository ( IAsyncResult asyncResult ) : DeleteRepositoryResponse

Finishes the asynchronous execution of the DeleteRepository operation.

EndDeleteRepositoryPolicy ( IAsyncResult asyncResult ) : DeleteRepositoryPolicyResponse

Finishes the asynchronous execution of the DeleteRepositoryPolicy operation.

EndDescribeImages ( IAsyncResult asyncResult ) : DescribeImagesResponse

Finishes the asynchronous execution of the DescribeImages operation.

EndDescribeRepositories ( IAsyncResult asyncResult ) : DescribeRepositoriesResponse

Finishes the asynchronous execution of the DescribeRepositories operation.

EndGetAuthorizationToken ( IAsyncResult asyncResult ) : GetAuthorizationTokenResponse

Finishes the asynchronous execution of the GetAuthorizationToken operation.

EndGetDownloadUrlForLayer ( IAsyncResult asyncResult ) : GetDownloadUrlForLayerResponse

Finishes the asynchronous execution of the GetDownloadUrlForLayer operation.

EndGetRepositoryPolicy ( IAsyncResult asyncResult ) : GetRepositoryPolicyResponse

Finishes the asynchronous execution of the GetRepositoryPolicy operation.

EndInitiateLayerUpload ( IAsyncResult asyncResult ) : InitiateLayerUploadResponse

Finishes the asynchronous execution of the InitiateLayerUpload operation.

EndListImages ( IAsyncResult asyncResult ) : ListImagesResponse

Finishes the asynchronous execution of the ListImages operation.

EndPutImage ( IAsyncResult asyncResult ) : PutImageResponse

Finishes the asynchronous execution of the PutImage operation.

EndSetRepositoryPolicy ( IAsyncResult asyncResult ) : SetRepositoryPolicyResponse

Finishes the asynchronous execution of the SetRepositoryPolicy operation.

EndUploadLayerPart ( IAsyncResult asyncResult ) : UploadLayerPartResponse

Finishes the asynchronous execution of the UploadLayerPart operation.

GetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request ) : GetAuthorizationTokenResponse

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 ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetAuthorizationToken operation.

GetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request ) : GetDownloadUrlForLayerResponse

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

GetDownloadUrlForLayerAsync ( GetDownloadUrlForLayerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.

GetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request ) : GetRepositoryPolicyResponse

Retrieves the repository policy for a specified repository.

GetRepositoryPolicyAsync ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetRepositoryPolicy operation.

InitiateLayerUpload ( InitiateLayerUploadRequest request ) : InitiateLayerUploadResponse

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

InitiateLayerUploadAsync ( InitiateLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the InitiateLayerUpload operation.

ListImages ( ListImagesRequest request ) : ListImagesResponse

Lists 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 ( ListImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ListImages operation.

PutImage ( PutImageRequest request ) : PutImageResponse

Creates 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 ( PutImageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutImage operation.

SetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request ) : SetRepositoryPolicyResponse

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

SetRepositoryPolicyAsync ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetRepositoryPolicy operation.

UploadLayerPart ( UploadLayerPartRequest request ) : UploadLayerPartResponse

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

UploadLayerPartAsync ( UploadLayerPartRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UploadLayerPart operation.

Protected Methods

Method Description
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Method Details

AmazonECRClient() public method

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonECRClient ( ) : System
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Credentials
public AmazonECRClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Credentials and an AmazonECRClient Configuration object.
public AmazonECRClient ( AWSCredentials credentials, AmazonECRConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonECRConfig The AmazonECRClient Configuration Object
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Credentials
public AmazonECRClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
return System

AmazonECRClient() public method

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonECRClient ( AmazonECRConfig config ) : System
config AmazonECRConfig The AmazonECRClient Configuration Object
return System

AmazonECRClient() public method

Constructs AmazonECRClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonECRClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonECRConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonECRConfig The AmazonECRClient Configuration Object
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Access Key ID, AWS Secret Key and an AmazonECRClient Configuration object.
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonECRConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonECRConfig The AmazonECRClient Configuration Object
return System

AmazonECRClient() public method

Constructs AmazonECRClient with AWS Access Key ID and AWS Secret Key
public AmazonECRClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
return System

BatchCheckLayerAvailability() public method

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public BatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request ) : BatchCheckLayerAvailabilityResponse
request Amazon.ECR.Model.BatchCheckLayerAvailabilityRequest Container for the necessary parameters to execute the BatchCheckLayerAvailability service method.
return Amazon.ECR.Model.BatchCheckLayerAvailabilityResponse

BatchCheckLayerAvailabilityAsync() public method

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.
public BatchCheckLayerAvailabilityAsync ( BatchCheckLayerAvailabilityRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.BatchCheckLayerAvailabilityRequest Container for the necessary parameters to execute the BatchCheckLayerAvailability operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

BatchDeleteImage() public method

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.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public BatchDeleteImage ( BatchDeleteImageRequest request ) : BatchDeleteImageResponse
request Amazon.ECR.Model.BatchDeleteImageRequest Container for the necessary parameters to execute the BatchDeleteImage service method.
return Amazon.ECR.Model.BatchDeleteImageResponse

BatchDeleteImageAsync() public method

Initiates the asynchronous execution of the BatchDeleteImage operation.
public BatchDeleteImageAsync ( BatchDeleteImageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.BatchDeleteImageRequest Container for the necessary parameters to execute the BatchDeleteImage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

BatchGetImage() public method

Gets detailed information for specified images within a specified repository. Images are specified with either imageTag or imageDigest.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public BatchGetImage ( BatchGetImageRequest request ) : BatchGetImageResponse
request Amazon.ECR.Model.BatchGetImageRequest Container for the necessary parameters to execute the BatchGetImage service method.
return Amazon.ECR.Model.BatchGetImageResponse

BatchGetImageAsync() public method

Initiates the asynchronous execution of the BatchGetImage operation.
public BatchGetImageAsync ( BatchGetImageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.BatchGetImageRequest Container for the necessary parameters to execute the BatchGetImage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

BeginBatchCheckLayerAvailability() public method

Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.
public BeginBatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.BatchCheckLayerAvailabilityRequest Container for the necessary parameters to execute the BatchCheckLayerAvailability operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginBatchDeleteImage() public method

Initiates the asynchronous execution of the BatchDeleteImage operation.
public BeginBatchDeleteImage ( BatchDeleteImageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.BatchDeleteImageRequest Container for the necessary parameters to execute the BatchDeleteImage operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginBatchGetImage() public method

Initiates the asynchronous execution of the BatchGetImage operation.
public BeginBatchGetImage ( BatchGetImageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.BatchGetImageRequest Container for the necessary parameters to execute the BatchGetImage operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCompleteLayerUpload() public method

Initiates the asynchronous execution of the CompleteLayerUpload operation.
public BeginCompleteLayerUpload ( CompleteLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.CompleteLayerUploadRequest Container for the necessary parameters to execute the CompleteLayerUpload operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateRepository() public method

Initiates the asynchronous execution of the CreateRepository operation.
public BeginCreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteRepository() public method

Initiates the asynchronous execution of the DeleteRepository operation.
public BeginDeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteRepositoryPolicy() public method

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.
public BeginDeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DeleteRepositoryPolicyRequest Container for the necessary parameters to execute the DeleteRepositoryPolicy operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeImages() public method

Initiates the asynchronous execution of the DescribeImages operation.
public BeginDescribeImages ( DescribeImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DescribeImagesRequest Container for the necessary parameters to execute the DescribeImages operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeRepositories() public method

Initiates the asynchronous execution of the DescribeRepositories operation.
public BeginDescribeRepositories ( DescribeRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.DescribeRepositoriesRequest Container for the necessary parameters to execute the DescribeRepositories operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginGetAuthorizationToken() public method

Initiates the asynchronous execution of the GetAuthorizationToken operation.
public BeginGetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.GetAuthorizationTokenRequest Container for the necessary parameters to execute the GetAuthorizationToken operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginGetDownloadUrlForLayer() public method

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.
public BeginGetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.GetDownloadUrlForLayerRequest Container for the necessary parameters to execute the GetDownloadUrlForLayer operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginGetRepositoryPolicy() public method

Initiates the asynchronous execution of the GetRepositoryPolicy operation.
public BeginGetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.GetRepositoryPolicyRequest Container for the necessary parameters to execute the GetRepositoryPolicy operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginInitiateLayerUpload() public method

Initiates the asynchronous execution of the InitiateLayerUpload operation.
public BeginInitiateLayerUpload ( InitiateLayerUploadRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.InitiateLayerUploadRequest Container for the necessary parameters to execute the InitiateLayerUpload operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginListImages() public method

Initiates the asynchronous execution of the ListImages operation.
public BeginListImages ( ListImagesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.ListImagesRequest Container for the necessary parameters to execute the ListImages operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginPutImage() public method

Initiates the asynchronous execution of the PutImage operation.
public BeginPutImage ( PutImageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.PutImageRequest Container for the necessary parameters to execute the PutImage operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSetRepositoryPolicy() public method

Initiates the asynchronous execution of the SetRepositoryPolicy operation.
public BeginSetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.SetRepositoryPolicyRequest Container for the necessary parameters to execute the SetRepositoryPolicy operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginUploadLayerPart() public method

Initiates the asynchronous execution of the UploadLayerPart operation.
public BeginUploadLayerPart ( UploadLayerPartRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ECR.Model.UploadLayerPartRequest Container for the necessary parameters to execute the UploadLayerPart operation on AmazonECRClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

CompleteLayerUpload() public method

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.

/// The specified layer upload does not contain any layer parts. /// /// The layer digest calculation performed by Amazon ECR upon receipt of the image layer /// does not match the digest specified. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// The image layer already exists in the associated repository. /// /// Layer parts must be at least 5 MiB in size. /// /// 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. /// /// These errors are usually caused by a server-side issue. /// /// The upload could not be found, or the specified upload id is not valid for this repository. ///
public CompleteLayerUpload ( CompleteLayerUploadRequest request ) : CompleteLayerUploadResponse
request Amazon.ECR.Model.CompleteLayerUploadRequest Container for the necessary parameters to execute the CompleteLayerUpload service method.
return Amazon.ECR.Model.CompleteLayerUploadResponse

CompleteLayerUploadAsync() public method

Initiates the asynchronous execution of the CompleteLayerUpload operation.
public CompleteLayerUploadAsync ( CompleteLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.CompleteLayerUploadRequest Container for the necessary parameters to execute the CompleteLayerUpload operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateRepository() public method

Creates an image repository.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The operation did not succeed because it would have exceeded a service limit for your /// account. For more information, see Amazon /// ECR Default Service Limits in the Amazon EC2 Container Registry User Guide. /// /// The specified repository already exists in the specified registry. /// /// These errors are usually caused by a server-side issue. ///
public CreateRepository ( Amazon.ECR.Model.CreateRepositoryRequest request ) : CreateRepositoryResponse
request Amazon.ECR.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository service method.
return Amazon.ECR.Model.CreateRepositoryResponse

CreateRepositoryAsync() public method

Initiates the asynchronous execution of the CreateRepository operation.
public CreateRepositoryAsync ( Amazon.ECR.Model.CreateRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateSigner() protected method

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
return Amazon.Runtime.Internal.Auth.AbstractAWSSigner

DeleteRepository() public method

Deletes an existing image repository. If a repository contains images, you must use the force option to delete it.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified repository contains images. To delete a repository that contains images, /// you must force the deletion with the force parameter. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public DeleteRepository ( Amazon.ECR.Model.DeleteRepositoryRequest request ) : DeleteRepositoryResponse
request Amazon.ECR.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository service method.
return Amazon.ECR.Model.DeleteRepositoryResponse

DeleteRepositoryAsync() public method

Initiates the asynchronous execution of the DeleteRepository operation.
public DeleteRepositoryAsync ( Amazon.ECR.Model.DeleteRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteRepositoryPolicy() public method

Deletes the repository policy from a specified repository.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// The specified repository and registry combination does not have an associated repository /// policy. /// /// These errors are usually caused by a server-side issue. ///
public DeleteRepositoryPolicy ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request ) : DeleteRepositoryPolicyResponse
request Amazon.ECR.Model.DeleteRepositoryPolicyRequest Container for the necessary parameters to execute the DeleteRepositoryPolicy service method.
return Amazon.ECR.Model.DeleteRepositoryPolicyResponse

DeleteRepositoryPolicyAsync() public method

Initiates the asynchronous execution of the DeleteRepositoryPolicy operation.
public DeleteRepositoryPolicyAsync ( Amazon.ECR.Model.DeleteRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DeleteRepositoryPolicyRequest Container for the necessary parameters to execute the DeleteRepositoryPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeImages() public method

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

/// The image requested does not exist in the specified repository. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public DescribeImages ( DescribeImagesRequest request ) : DescribeImagesResponse
request Amazon.ECR.Model.DescribeImagesRequest Container for the necessary parameters to execute the DescribeImages service method.
return Amazon.ECR.Model.DescribeImagesResponse

DescribeImagesAsync() public method

Initiates the asynchronous execution of the DescribeImages operation.
public DescribeImagesAsync ( DescribeImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DescribeImagesRequest Container for the necessary parameters to execute the DescribeImages operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeRepositories() public method

Describes image repositories in a registry.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public DescribeRepositories ( DescribeRepositoriesRequest request ) : DescribeRepositoriesResponse
request Amazon.ECR.Model.DescribeRepositoriesRequest Container for the necessary parameters to execute the DescribeRepositories service method.
return Amazon.ECR.Model.DescribeRepositoriesResponse

DescribeRepositoriesAsync() public method

Initiates the asynchronous execution of the DescribeRepositories operation.
public DescribeRepositoriesAsync ( DescribeRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.DescribeRepositoriesRequest Container for the necessary parameters to execute the DescribeRepositories operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

Dispose() protected method

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
return void

EndBatchCheckLayerAvailability() public method

Finishes the asynchronous execution of the BatchCheckLayerAvailability operation.
public EndBatchCheckLayerAvailability ( IAsyncResult asyncResult ) : BatchCheckLayerAvailabilityResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchCheckLayerAvailability.
return Amazon.ECR.Model.BatchCheckLayerAvailabilityResponse

EndBatchDeleteImage() public method

Finishes the asynchronous execution of the BatchDeleteImage operation.
public EndBatchDeleteImage ( IAsyncResult asyncResult ) : BatchDeleteImageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchDeleteImage.
return Amazon.ECR.Model.BatchDeleteImageResponse

EndBatchGetImage() public method

Finishes the asynchronous execution of the BatchGetImage operation.
public EndBatchGetImage ( IAsyncResult asyncResult ) : BatchGetImageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchGetImage.
return Amazon.ECR.Model.BatchGetImageResponse

EndCompleteLayerUpload() public method

Finishes the asynchronous execution of the CompleteLayerUpload operation.
public EndCompleteLayerUpload ( IAsyncResult asyncResult ) : CompleteLayerUploadResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCompleteLayerUpload.
return Amazon.ECR.Model.CompleteLayerUploadResponse

EndCreateRepository() public method

Finishes the asynchronous execution of the CreateRepository operation.
public EndCreateRepository ( IAsyncResult asyncResult ) : CreateRepositoryResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateRepository.
return Amazon.ECR.Model.CreateRepositoryResponse

EndDeleteRepository() public method

Finishes the asynchronous execution of the DeleteRepository operation.
public EndDeleteRepository ( IAsyncResult asyncResult ) : DeleteRepositoryResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteRepository.
return Amazon.ECR.Model.DeleteRepositoryResponse

EndDeleteRepositoryPolicy() public method

Finishes the asynchronous execution of the DeleteRepositoryPolicy operation.
public EndDeleteRepositoryPolicy ( IAsyncResult asyncResult ) : DeleteRepositoryPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteRepositoryPolicy.
return Amazon.ECR.Model.DeleteRepositoryPolicyResponse

EndDescribeImages() public method

Finishes the asynchronous execution of the DescribeImages operation.
public EndDescribeImages ( IAsyncResult asyncResult ) : DescribeImagesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeImages.
return Amazon.ECR.Model.DescribeImagesResponse

EndDescribeRepositories() public method

Finishes the asynchronous execution of the DescribeRepositories operation.
public EndDescribeRepositories ( IAsyncResult asyncResult ) : DescribeRepositoriesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeRepositories.
return Amazon.ECR.Model.DescribeRepositoriesResponse

EndGetAuthorizationToken() public method

Finishes the asynchronous execution of the GetAuthorizationToken operation.
public EndGetAuthorizationToken ( IAsyncResult asyncResult ) : GetAuthorizationTokenResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetAuthorizationToken.
return Amazon.ECR.Model.GetAuthorizationTokenResponse

EndGetDownloadUrlForLayer() public method

Finishes the asynchronous execution of the GetDownloadUrlForLayer operation.
public EndGetDownloadUrlForLayer ( IAsyncResult asyncResult ) : GetDownloadUrlForLayerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetDownloadUrlForLayer.
return Amazon.ECR.Model.GetDownloadUrlForLayerResponse

EndGetRepositoryPolicy() public method

Finishes the asynchronous execution of the GetRepositoryPolicy operation.
public EndGetRepositoryPolicy ( IAsyncResult asyncResult ) : GetRepositoryPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetRepositoryPolicy.
return Amazon.ECR.Model.GetRepositoryPolicyResponse

EndInitiateLayerUpload() public method

Finishes the asynchronous execution of the InitiateLayerUpload operation.
public EndInitiateLayerUpload ( IAsyncResult asyncResult ) : InitiateLayerUploadResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginInitiateLayerUpload.
return Amazon.ECR.Model.InitiateLayerUploadResponse

EndListImages() public method

Finishes the asynchronous execution of the ListImages operation.
public EndListImages ( IAsyncResult asyncResult ) : ListImagesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginListImages.
return Amazon.ECR.Model.ListImagesResponse

EndPutImage() public method

Finishes the asynchronous execution of the PutImage operation.
public EndPutImage ( IAsyncResult asyncResult ) : PutImageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutImage.
return Amazon.ECR.Model.PutImageResponse

EndSetRepositoryPolicy() public method

Finishes the asynchronous execution of the SetRepositoryPolicy operation.
public EndSetRepositoryPolicy ( IAsyncResult asyncResult ) : SetRepositoryPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetRepositoryPolicy.
return Amazon.ECR.Model.SetRepositoryPolicyResponse

EndUploadLayerPart() public method

Finishes the asynchronous execution of the UploadLayerPart operation.
public EndUploadLayerPart ( IAsyncResult asyncResult ) : UploadLayerPartResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUploadLayerPart.
return Amazon.ECR.Model.UploadLayerPartResponse

GetAuthorizationToken() public method

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.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// These errors are usually caused by a server-side issue. ///
public GetAuthorizationToken ( Amazon.ECR.Model.GetAuthorizationTokenRequest request ) : GetAuthorizationTokenResponse
request Amazon.ECR.Model.GetAuthorizationTokenRequest Container for the necessary parameters to execute the GetAuthorizationToken service method.
return Amazon.ECR.Model.GetAuthorizationTokenResponse

GetAuthorizationTokenAsync() public method

Initiates the asynchronous execution of the GetAuthorizationToken operation.
public GetAuthorizationTokenAsync ( Amazon.ECR.Model.GetAuthorizationTokenRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.GetAuthorizationTokenRequest Container for the necessary parameters to execute the GetAuthorizationToken operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

GetDownloadUrlForLayer() public method

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified layer is not available because it is not associated with an image. Unassociated /// image layers may be cleaned up at any time. /// /// The specified layers could not be found, or the specified layer is not valid for this /// repository. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public GetDownloadUrlForLayer ( GetDownloadUrlForLayerRequest request ) : GetDownloadUrlForLayerResponse
request Amazon.ECR.Model.GetDownloadUrlForLayerRequest Container for the necessary parameters to execute the GetDownloadUrlForLayer service method.
return Amazon.ECR.Model.GetDownloadUrlForLayerResponse

GetDownloadUrlForLayerAsync() public method

Initiates the asynchronous execution of the GetDownloadUrlForLayer operation.
public GetDownloadUrlForLayerAsync ( GetDownloadUrlForLayerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.GetDownloadUrlForLayerRequest Container for the necessary parameters to execute the GetDownloadUrlForLayer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

GetRepositoryPolicy() public method

Retrieves the repository policy for a specified repository.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// The specified repository and registry combination does not have an associated repository /// policy. /// /// These errors are usually caused by a server-side issue. ///
public GetRepositoryPolicy ( Amazon.ECR.Model.GetRepositoryPolicyRequest request ) : GetRepositoryPolicyResponse
request Amazon.ECR.Model.GetRepositoryPolicyRequest Container for the necessary parameters to execute the GetRepositoryPolicy service method.
return Amazon.ECR.Model.GetRepositoryPolicyResponse

GetRepositoryPolicyAsync() public method

Initiates the asynchronous execution of the GetRepositoryPolicy operation.
public GetRepositoryPolicyAsync ( Amazon.ECR.Model.GetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.GetRepositoryPolicyRequest Container for the necessary parameters to execute the GetRepositoryPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

InitiateLayerUpload() public method

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public InitiateLayerUpload ( InitiateLayerUploadRequest request ) : InitiateLayerUploadResponse
request Amazon.ECR.Model.InitiateLayerUploadRequest Container for the necessary parameters to execute the InitiateLayerUpload service method.
return Amazon.ECR.Model.InitiateLayerUploadResponse

InitiateLayerUploadAsync() public method

Initiates the asynchronous execution of the InitiateLayerUpload operation.
public InitiateLayerUploadAsync ( InitiateLayerUploadRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.InitiateLayerUploadRequest Container for the necessary parameters to execute the InitiateLayerUpload operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

ListImages() public method

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

/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public ListImages ( ListImagesRequest request ) : ListImagesResponse
request Amazon.ECR.Model.ListImagesRequest Container for the necessary parameters to execute the ListImages service method.
return Amazon.ECR.Model.ListImagesResponse

ListImagesAsync() public method

Initiates the asynchronous execution of the ListImages operation.
public ListImagesAsync ( ListImagesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.ListImagesRequest Container for the necessary parameters to execute the ListImages operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

PutImage() public method

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

/// The specified image has already been pushed, and there are no changes to the manifest /// or image tag since the last push. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// The specified layers could not be found, or the specified layer is not valid for this /// repository. /// /// The operation did not succeed because it would have exceeded a service limit for your /// account. For more information, see Amazon /// ECR Default Service Limits in the Amazon EC2 Container Registry User Guide. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public PutImage ( PutImageRequest request ) : PutImageResponse
request Amazon.ECR.Model.PutImageRequest Container for the necessary parameters to execute the PutImage service method.
return Amazon.ECR.Model.PutImageResponse

PutImageAsync() public method

Initiates the asynchronous execution of the PutImage operation.
public PutImageAsync ( PutImageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.PutImageRequest Container for the necessary parameters to execute the PutImage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SetRepositoryPolicy() public method

Applies a repository policy on a specified repository to control access permissions.
/// The specified parameter is invalid. Review the available parameters for the API request. /// /// 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. /// /// These errors are usually caused by a server-side issue. ///
public SetRepositoryPolicy ( Amazon.ECR.Model.SetRepositoryPolicyRequest request ) : SetRepositoryPolicyResponse
request Amazon.ECR.Model.SetRepositoryPolicyRequest Container for the necessary parameters to execute the SetRepositoryPolicy service method.
return Amazon.ECR.Model.SetRepositoryPolicyResponse

SetRepositoryPolicyAsync() public method

Initiates the asynchronous execution of the SetRepositoryPolicy operation.
public SetRepositoryPolicyAsync ( Amazon.ECR.Model.SetRepositoryPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.SetRepositoryPolicyRequest Container for the necessary parameters to execute the SetRepositoryPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

UploadLayerPart() public method

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 for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

/// 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. /// /// The specified parameter is invalid. Review the available parameters for the API request. /// /// The operation did not succeed because it would have exceeded a service limit for your /// account. For more information, see Amazon /// ECR Default Service Limits in the Amazon EC2 Container Registry User Guide. /// /// 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. /// /// These errors are usually caused by a server-side issue. /// /// The upload could not be found, or the specified upload id is not valid for this repository. ///
public UploadLayerPart ( UploadLayerPartRequest request ) : UploadLayerPartResponse
request Amazon.ECR.Model.UploadLayerPartRequest Container for the necessary parameters to execute the UploadLayerPart service method.
return Amazon.ECR.Model.UploadLayerPartResponse

UploadLayerPartAsync() public method

Initiates the asynchronous execution of the UploadLayerPart operation.
public UploadLayerPartAsync ( UploadLayerPartRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ECR.Model.UploadLayerPartRequest Container for the necessary parameters to execute the UploadLayerPart operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task