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