zio.aws.nimble.model.StudioPersona.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-nimble_3 Show documentation
Show all versions of zio-aws-nimble_3 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.nimble.model
import scala.jdk.CollectionConverters.*
sealed trait StudioPersona {
def unwrap: software.amazon.awssdk.services.nimble.model.StudioPersona
}
object StudioPersona {
def wrap(
value: software.amazon.awssdk.services.nimble.model.StudioPersona
): zio.aws.nimble.model.StudioPersona = value match {
case software.amazon.awssdk.services.nimble.model.StudioPersona.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.nimble.model.StudioPersona.ADMINISTRATOR =>
val r = ADMINISTRATOR
r
}
case object unknownToSdkVersion extends zio.aws.nimble.model.StudioPersona {
override def unwrap
: software.amazon.awssdk.services.nimble.model.StudioPersona =
software.amazon.awssdk.services.nimble.model.StudioPersona.UNKNOWN_TO_SDK_VERSION
}
case object ADMINISTRATOR extends zio.aws.nimble.model.StudioPersona {
override def unwrap
: software.amazon.awssdk.services.nimble.model.StudioPersona =
software.amazon.awssdk.services.nimble.model.StudioPersona.ADMINISTRATOR
}
}