Amazon.ECR.AmazonECRClient.CompleteLayerUpload C# (CSharp) Method

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
        public CompleteLayerUploadResponse CompleteLayerUpload(CompleteLayerUploadRequest request)
        {
            var marshaller = new CompleteLayerUploadRequestMarshaller();
            var unmarshaller = CompleteLayerUploadResponseUnmarshaller.Instance;

            return Invoke<CompleteLayerUploadRequest,CompleteLayerUploadResponse>(request, marshaller, unmarshaller);
        }
AmazonECRClient