Amazon.StepFunctions.AmazonStepFunctionsClient.CreateStateMachineAsync C# (CSharp) Метод

CreateStateMachineAsync() публичный Метод

Initiates the asynchronous execution of the CreateStateMachine operation.
public CreateStateMachineAsync ( CreateStateMachineRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.StepFunctions.Model.CreateStateMachineRequest Container for the necessary parameters to execute the CreateStateMachine operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreateStateMachineResponse> CreateStateMachineAsync(CreateStateMachineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateStateMachineRequestMarshaller();
            var unmarshaller = CreateStateMachineResponseUnmarshaller.Instance;

            return InvokeAsync<CreateStateMachineRequest,CreateStateMachineResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }