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

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
        public BatchDeleteImageResponse BatchDeleteImage(BatchDeleteImageRequest request)
        {
            var marshaller = new BatchDeleteImageRequestMarshaller();
            var unmarshaller = BatchDeleteImageResponseUnmarshaller.Instance;

            return Invoke<BatchDeleteImageRequest,BatchDeleteImageResponse>(request, marshaller, unmarshaller);
        }
AmazonECRClient