DeleteJob

data class DeleteJob(val jobId: JobId, val force: Boolean? = null) : IotAction<Unit> (source)

A job which is not in a terminal state (COMPLETED or CANCELED) can only be deleted with force true; otherwise AWS answers with InvalidStateTransitionException (409).

Constructors

Link copied to clipboard
constructor(jobId: JobId, force: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toRequest(): Request
Link copied to clipboard
open override fun toResult(response: Response): Result<Unit, RemoteFailure>