internal virtual DeleteStateMachineResponse DeleteStateMachine(DeleteStateMachineRequest request) { var marshaller = new DeleteStateMachineRequestMarshaller(); var unmarshaller = DeleteStateMachineResponseUnmarshaller.Instance; return(Invoke <DeleteStateMachineRequest, DeleteStateMachineResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteStateMachine operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteStateMachine 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/states-2016-11-23/DeleteStateMachine">REST API Reference for DeleteStateMachine Operation</seealso> public virtual Task <DeleteStateMachineResponse> DeleteStateMachineAsync(DeleteStateMachineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteStateMachineRequestMarshaller(); var unmarshaller = DeleteStateMachineResponseUnmarshaller.Instance; return(InvokeAsync <DeleteStateMachineRequest, DeleteStateMachineResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteStateMachine operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteStateMachine 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/states-2016-11-23/DeleteStateMachine">REST API Reference for DeleteStateMachine Operation</seealso> public virtual Task <DeleteStateMachineResponse> DeleteStateMachineAsync(DeleteStateMachineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStateMachineRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStateMachineResponseUnmarshaller.Instance; return(InvokeAsync <DeleteStateMachineResponse>(request, options, cancellationToken)); }
internal virtual DeleteStateMachineResponse DeleteStateMachine(DeleteStateMachineRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStateMachineRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStateMachineResponseUnmarshaller.Instance; return(Invoke <DeleteStateMachineResponse>(request, options)); }