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

zio.aws.iotjobsdataplane.model.JobExecutionStatus.scala Maven / Gradle / Ivy

The newest version!
package zio.aws.iotjobsdataplane.model
import scala.jdk.CollectionConverters.*
sealed trait JobExecutionStatus {
  def unwrap: software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus
}
object JobExecutionStatus {
  def wrap(
      value: software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus
  ): zio.aws.iotjobsdataplane.model.JobExecutionStatus = value match {
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.QUEUED =>
      val r = QUEUED
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.IN_PROGRESS =>
      val r = IN_PROGRESS
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.SUCCEEDED =>
      val r = SUCCEEDED
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.FAILED =>
      val r = FAILED
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.TIMED_OUT =>
      val r = TIMED_OUT
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.REJECTED =>
      val r = REJECTED
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.REMOVED =>
      val r = REMOVED
      r
    case software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.CANCELED =>
      val r = CANCELED
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.UNKNOWN_TO_SDK_VERSION
  }
  case object QUEUED extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.QUEUED
  }
  case object IN_PROGRESS
      extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.IN_PROGRESS
  }
  case object SUCCEEDED
      extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.SUCCEEDED
  }
  case object FAILED extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.FAILED
  }
  case object TIMED_OUT
      extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.TIMED_OUT
  }
  case object REJECTED
      extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.REJECTED
  }
  case object REMOVED
      extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.REMOVED
  }
  case object CANCELED
      extends zio.aws.iotjobsdataplane.model.JobExecutionStatus {
    override def unwrap
        : software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus =
      software.amazon.awssdk.services.iotjobsdataplane.model.JobExecutionStatus.CANCELED
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy