cancelRun

abstract suspend fun cancelRun(input: CancelRunRequest): CancelRunResponse

Cancels a run using its ID and returns a response with no body if the operation is successful. To confirm that the run has been cancelled, use the ListRuns API operation to check that it is no longer listed.