All Downloads are FREE. Search and download functionalities are using the official Maven repository.

awscala.stepfunctions.ExecutionStatus.scala Maven / Gradle / Ivy

There is a newer version: 0.8.3
Show newest version
package awscala.stepfunctions

object ExecutionStatus {
  sealed trait ExecutionStatus
  case object NotStarted extends ExecutionStatus
  case object Running extends ExecutionStatus
  case object Succeeded extends ExecutionStatus
  case object Failed extends ExecutionStatus
  case object TimedOut extends ExecutionStatus
  case object Aborted extends ExecutionStatus

  def fromString(status: String): ExecutionStatus = status.toLowerCase match {
    case "running" => Running
    case "succeeded" => Succeeded
    case "failed" => Failed
    case "timed_out" => TimedOut
    case "aborted" => TimedOut
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy