Beispiel #1
0
        internal virtual RevokeFlowEntitlementResponse RevokeFlowEntitlement(RevokeFlowEntitlementRequest request)
        {
            var marshaller   = RevokeFlowEntitlementRequestMarshaller.Instance;
            var unmarshaller = RevokeFlowEntitlementResponseUnmarshaller.Instance;

            return(Invoke <RevokeFlowEntitlementRequest, RevokeFlowEntitlementResponse>(request, marshaller, unmarshaller));
        }
        internal virtual RevokeFlowEntitlementResponse RevokeFlowEntitlement(RevokeFlowEntitlementRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = RevokeFlowEntitlementRequestMarshaller.Instance;
            options.ResponseUnmarshaller = RevokeFlowEntitlementResponseUnmarshaller.Instance;

            return(Invoke <RevokeFlowEntitlementResponse>(request, options));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the RevokeFlowEntitlement operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the RevokeFlowEntitlement 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/RevokeFlowEntitlement">REST API Reference for RevokeFlowEntitlement Operation</seealso>
        public virtual Task <RevokeFlowEntitlementResponse> RevokeFlowEntitlementAsync(RevokeFlowEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = RevokeFlowEntitlementRequestMarshaller.Instance;
            options.ResponseUnmarshaller = RevokeFlowEntitlementResponseUnmarshaller.Instance;

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