internal GetDownloadUrlForLayerResponse GetDownloadUrlForLayer(GetDownloadUrlForLayerRequest request) { var marshaller = new GetDownloadUrlForLayerRequestMarshaller(); var unmarshaller = GetDownloadUrlForLayerResponseUnmarshaller.Instance; return(Invoke <GetDownloadUrlForLayerRequest, GetDownloadUrlForLayerResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the GetDownloadUrlForLayer operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetDownloadUrlForLayer 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/GetDownloadUrlForLayer">REST API Reference for GetDownloadUrlForLayer Operation</seealso> public Task <GetDownloadUrlForLayerResponse> GetDownloadUrlForLayerAsync(GetDownloadUrlForLayerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetDownloadUrlForLayerRequestMarshaller(); var unmarshaller = GetDownloadUrlForLayerResponseUnmarshaller.Instance; return(InvokeAsync <GetDownloadUrlForLayerRequest, GetDownloadUrlForLayerResponse>(request, marshaller, unmarshaller, cancellationToken)); }