internal BatchDeleteImageResponse BatchDeleteImage(BatchDeleteImageRequest request) { var marshaller = new BatchDeleteImageRequestMarshaller(); var unmarshaller = BatchDeleteImageResponseUnmarshaller.Instance; return(Invoke <BatchDeleteImageRequest, BatchDeleteImageResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the BatchDeleteImage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchDeleteImage operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage">REST API Reference for BatchDeleteImage Operation</seealso> public Task <BatchDeleteImageResponse> BatchDeleteImageAsync(BatchDeleteImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new BatchDeleteImageRequestMarshaller(); var unmarshaller = BatchDeleteImageResponseUnmarshaller.Instance; return(InvokeAsync <BatchDeleteImageRequest, BatchDeleteImageResponse>(request, marshaller, unmarshaller, cancellationToken)); }