internal virtual UpdateJobQueueResponse UpdateJobQueue(UpdateJobQueueRequest request) { var marshaller = new UpdateJobQueueRequestMarshaller(); var unmarshaller = UpdateJobQueueResponseUnmarshaller.Instance; return(Invoke <UpdateJobQueueRequest, UpdateJobQueueResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateJobQueue operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateJobQueue 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/batch-2016-08-10/UpdateJobQueue">REST API Reference for UpdateJobQueue Operation</seealso> public virtual Task <UpdateJobQueueResponse> UpdateJobQueueAsync(UpdateJobQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new UpdateJobQueueRequestMarshaller(); var unmarshaller = UpdateJobQueueResponseUnmarshaller.Instance; return(InvokeAsync <UpdateJobQueueRequest, UpdateJobQueueResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateJobQueue operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateJobQueue 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/batch-2016-08-10/UpdateJobQueue">REST API Reference for UpdateJobQueue Operation</seealso> public virtual Task <UpdateJobQueueResponse> UpdateJobQueueAsync(UpdateJobQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobQueueResponseUnmarshaller.Instance; return(InvokeAsync <UpdateJobQueueResponse>(request, options, cancellationToken)); }
internal virtual UpdateJobQueueResponse UpdateJobQueue(UpdateJobQueueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobQueueResponseUnmarshaller.Instance; return(Invoke <UpdateJobQueueResponse>(request, options)); }