Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient.StopAutomationExecutionAsync C# (CSharp) Method

StopAutomationExecutionAsync() public method

Initiates the asynchronous execution of the StopAutomationExecution operation.
public StopAutomationExecutionAsync ( StopAutomationExecutionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleSystemsManagement.Model.StopAutomationExecutionRequest Container for the necessary parameters to execute the StopAutomationExecution operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<StopAutomationExecutionResponse> StopAutomationExecutionAsync(StopAutomationExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new StopAutomationExecutionRequestMarshaller();
            var unmarshaller = StopAutomationExecutionResponseUnmarshaller.Instance;

            return InvokeAsync<StopAutomationExecutionRequest,StopAutomationExecutionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleSystemsManagementClient