コード例 #1
0
        internal virtual UpdateFlowEntitlementResponse UpdateFlowEntitlement(UpdateFlowEntitlementRequest request)
        {
            var marshaller   = UpdateFlowEntitlementRequestMarshaller.Instance;
            var unmarshaller = UpdateFlowEntitlementResponseUnmarshaller.Instance;

            return(Invoke <UpdateFlowEntitlementRequest, UpdateFlowEntitlementResponse>(request, marshaller, unmarshaller));
        }
コード例 #2
0
        internal virtual UpdateFlowEntitlementResponse UpdateFlowEntitlement(UpdateFlowEntitlementRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateFlowEntitlementRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateFlowEntitlementResponseUnmarshaller.Instance;

            return(Invoke <UpdateFlowEntitlementResponse>(request, options));
        }
コード例 #3
0
        /// <summary>
        /// Initiates the asynchronous execution of the UpdateFlowEntitlement operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the UpdateFlowEntitlement 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/mediaconnect-2018-11-14/UpdateFlowEntitlement">REST API Reference for UpdateFlowEntitlement Operation</seealso>
        public virtual Task <UpdateFlowEntitlementResponse> UpdateFlowEntitlementAsync(UpdateFlowEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = UpdateFlowEntitlementRequestMarshaller.Instance;
            options.ResponseUnmarshaller = UpdateFlowEntitlementResponseUnmarshaller.Instance;

            return(InvokeAsync <UpdateFlowEntitlementResponse>(request, options, cancellationToken));
        }