internal virtual UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request) { var marshaller = UpdateVirtualNodeRequestMarshaller.Instance; var unmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return(Invoke <UpdateVirtualNodeRequest, UpdateVirtualNodeResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode 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/appmesh-2018-10-01/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual Task <UpdateVirtualNodeResponse> UpdateVirtualNodeAsync(UpdateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = UpdateVirtualNodeRequestMarshaller.Instance; var unmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return(InvokeAsync <UpdateVirtualNodeRequest, UpdateVirtualNodeResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the UpdateVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode 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/appmesh-2018-10-01/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual Task <UpdateVirtualNodeResponse> UpdateVirtualNodeAsync(UpdateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return(InvokeAsync <UpdateVirtualNodeResponse>(request, options, cancellationToken)); }
internal virtual UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return(Invoke <UpdateVirtualNodeResponse>(request, options)); }