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