zio.aws.managedblockchainquery.model.ExecutionStatus.scala Maven / Gradle / Ivy
The newest version!
package zio.aws.managedblockchainquery.model
import scala.jdk.CollectionConverters.*
sealed trait ExecutionStatus {
def unwrap: software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus
}
object ExecutionStatus {
def wrap(
value: software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus
): zio.aws.managedblockchainquery.model.ExecutionStatus = value match {
case software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus.FAILED =>
val r = FAILED
r
case software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus.SUCCEEDED =>
val r = SUCCEEDED
r
}
case object unknownToSdkVersion
extends zio.aws.managedblockchainquery.model.ExecutionStatus {
override def unwrap
: software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus =
software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus.UNKNOWN_TO_SDK_VERSION
}
case object FAILED
extends zio.aws.managedblockchainquery.model.ExecutionStatus {
override def unwrap
: software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus =
software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus.FAILED
}
case object SUCCEEDED
extends zio.aws.managedblockchainquery.model.ExecutionStatus {
override def unwrap
: software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus =
software.amazon.awssdk.services.managedblockchainquery.model.ExecutionStatus.SUCCEEDED
}
}