internal virtual UpdateBrokerResponse UpdateBroker(UpdateBrokerRequest request) { var marshaller = UpdateBrokerRequestMarshaller.Instance; var unmarshaller = UpdateBrokerResponseUnmarshaller.Instance; return(Invoke <UpdateBrokerRequest, UpdateBrokerResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateBroker operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBroker 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/UpdateBroker">REST API Reference for UpdateBroker Operation</seealso> public virtual Task <UpdateBrokerResponse> UpdateBrokerAsync(UpdateBrokerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = UpdateBrokerRequestMarshaller.Instance; var unmarshaller = UpdateBrokerResponseUnmarshaller.Instance; return(InvokeAsync <UpdateBrokerRequest, UpdateBrokerResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateBroker operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBroker 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/UpdateBroker">REST API Reference for UpdateBroker Operation</seealso> public virtual Task <UpdateBrokerResponse> UpdateBrokerAsync(UpdateBrokerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBrokerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBrokerResponseUnmarshaller.Instance; return(InvokeAsync <UpdateBrokerResponse>(request, options, cancellationToken)); }
internal virtual UpdateBrokerResponse UpdateBroker(UpdateBrokerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBrokerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBrokerResponseUnmarshaller.Instance; return(Invoke <UpdateBrokerResponse>(request, options)); }