/// <summary> /// Initiates the asynchronous execution of the DescribeBrokerInstanceOptions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeBrokerInstanceOptions 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/mq-2017-11-27/DescribeBrokerInstanceOptions">REST API Reference for DescribeBrokerInstanceOptions Operation</seealso> public virtual Task <DescribeBrokerInstanceOptionsResponse> DescribeBrokerInstanceOptionsAsync(DescribeBrokerInstanceOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBrokerInstanceOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBrokerInstanceOptionsResponseUnmarshaller.Instance; return(InvokeAsync <DescribeBrokerInstanceOptionsResponse>(request, options, cancellationToken)); }
internal virtual DescribeBrokerInstanceOptionsResponse DescribeBrokerInstanceOptions(DescribeBrokerInstanceOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBrokerInstanceOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBrokerInstanceOptionsResponseUnmarshaller.Instance; return(Invoke <DescribeBrokerInstanceOptionsResponse>(request, options)); }