cancelJob
inline suspend fun LocationClient.cancelJob(crossinline block: CancelJobRequest.Builder.() -> Unit): CancelJobResponse
CancelJob cancels a job that is currently running or pending. If the job is already in a terminal state (Completed, Failed, or Cancelled), the operation returns successfully with the current status.
For more information, see Job concepts in the Amazon Location Service Developer Guide.