internal virtual BatchCheckLayerAvailabilityResponse BatchCheckLayerAvailability(BatchCheckLayerAvailabilityRequest request)
        {
            var marshaller   = new BatchCheckLayerAvailabilityRequestMarshaller();
            var unmarshaller = BatchCheckLayerAvailabilityResponseUnmarshaller.Instance;

            return(Invoke <BatchCheckLayerAvailabilityRequest, BatchCheckLayerAvailabilityResponse>(request, marshaller, unmarshaller));
        }
Exemple #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the BatchCheckLayerAvailability operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the BatchCheckLayerAvailability 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/BatchCheckLayerAvailability">REST API Reference for BatchCheckLayerAvailability Operation</seealso>
        public virtual Task <BatchCheckLayerAvailabilityResponse> BatchCheckLayerAvailabilityAsync(BatchCheckLayerAvailabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new BatchCheckLayerAvailabilityRequestMarshaller();
            var unmarshaller = BatchCheckLayerAvailabilityResponseUnmarshaller.Instance;

            return(InvokeAsync <BatchCheckLayerAvailabilityRequest, BatchCheckLayerAvailabilityResponse>(request, marshaller,
                                                                                                         unmarshaller, cancellationToken));
        }