cancelCommand

inline suspend fun SsmClient.cancelCommand(crossinline block: CancelCommandRequest.Builder.() -> Unit): CancelCommandResponse

Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.