zio.aws.codecatalyst.model.WorkflowRunStatus.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-codecatalyst_3 Show documentation
Show all versions of zio-aws-codecatalyst_3 Show documentation
Low-level AWS wrapper for ZIO
The newest version!
package zio.aws.codecatalyst.model
import scala.jdk.CollectionConverters.*
sealed trait WorkflowRunStatus {
def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus
}
object WorkflowRunStatus {
def wrap(
value: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus
): zio.aws.codecatalyst.model.WorkflowRunStatus = value match {
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.SUCCEEDED =>
val r = SUCCEEDED
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.FAILED =>
val r = FAILED
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.STOPPED =>
val r = STOPPED
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.SUPERSEDED =>
val r = SUPERSEDED
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.CANCELLED =>
val r = CANCELLED
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.NOT_RUN =>
val r = NOT_RUN
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.VALIDATING =>
val r = VALIDATING
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.PROVISIONING =>
val r = PROVISIONING
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.IN_PROGRESS =>
val r = IN_PROGRESS
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.STOPPING =>
val r = STOPPING
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.ABANDONED =>
val r = ABANDONED
r
}
case object unknownToSdkVersion
extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.UNKNOWN_TO_SDK_VERSION
}
case object SUCCEEDED extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.SUCCEEDED
}
case object FAILED extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.FAILED
}
case object STOPPED extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.STOPPED
}
case object SUPERSEDED extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.SUPERSEDED
}
case object CANCELLED extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.CANCELLED
}
case object NOT_RUN extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.NOT_RUN
}
case object VALIDATING extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.VALIDATING
}
case object PROVISIONING
extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.PROVISIONING
}
case object IN_PROGRESS extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.IN_PROGRESS
}
case object STOPPING extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.STOPPING
}
case object ABANDONED extends zio.aws.codecatalyst.model.WorkflowRunStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowRunStatus.ABANDONED
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy