Пример #1
0
        internal virtual DescribeOfferingResponse DescribeOffering(DescribeOfferingRequest request)
        {
            var marshaller   = DescribeOfferingRequestMarshaller.Instance;
            var unmarshaller = DescribeOfferingResponseUnmarshaller.Instance;

            return(Invoke <DescribeOfferingRequest, DescribeOfferingResponse>(request, marshaller, unmarshaller));
        }
Пример #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the DescribeOffering operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DescribeOffering 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/medialive-2017-10-14/DescribeOffering">REST API Reference for DescribeOffering Operation</seealso>
        public virtual Task <DescribeOfferingResponse> DescribeOfferingAsync(DescribeOfferingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = DescribeOfferingRequestMarshaller.Instance;
            var unmarshaller = DescribeOfferingResponseUnmarshaller.Instance;

            return(InvokeAsync <DescribeOfferingRequest, DescribeOfferingResponse>(request, marshaller,
                                                                                   unmarshaller, cancellationToken));
        }