zio.aws.codecatalyst.model.WorkflowStatus.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 WorkflowStatus {
def unwrap: software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus
}
object WorkflowStatus {
def wrap(
value: software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus
): zio.aws.codecatalyst.model.WorkflowStatus = value match {
case software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.INVALID =>
val r = INVALID
r
case software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.ACTIVE =>
val r = ACTIVE
r
}
case object unknownToSdkVersion
extends zio.aws.codecatalyst.model.WorkflowStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.UNKNOWN_TO_SDK_VERSION
}
case object INVALID extends zio.aws.codecatalyst.model.WorkflowStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.INVALID
}
case object ACTIVE extends zio.aws.codecatalyst.model.WorkflowStatus {
override def unwrap
: software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus =
software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.ACTIVE
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy