Beispiel #1
0
        internal UploadLayerPartResponse UploadLayerPart(UploadLayerPartRequest request)
        {
            var marshaller   = new UploadLayerPartRequestMarshaller();
            var unmarshaller = UploadLayerPartResponseUnmarshaller.Instance;

            return(Invoke <UploadLayerPartRequest, UploadLayerPartResponse>(request, marshaller, unmarshaller));
        }
Beispiel #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the UploadLayerPart operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UploadLayerPart 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/UploadLayerPart">REST API Reference for UploadLayerPart Operation</seealso>
        public Task <UploadLayerPartResponse> UploadLayerPartAsync(UploadLayerPartRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new UploadLayerPartRequestMarshaller();
            var unmarshaller = UploadLayerPartResponseUnmarshaller.Instance;

            return(InvokeAsync <UploadLayerPartRequest, UploadLayerPartResponse>(request, marshaller,
                                                                                 unmarshaller, cancellationToken));
        }