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

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
        public Task<InitiateLayerUploadResponse> InitiateLayerUploadAsync(InitiateLayerUploadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new InitiateLayerUploadRequestMarshaller();
            var unmarshaller = InitiateLayerUploadResponseUnmarshaller.Instance;

            return InvokeAsync<InitiateLayerUploadRequest,InitiateLayerUploadResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonECRClient