![JAR search and dependency download from the Maven repository](/logo.png)
zio.aws.lexruntimev2.model.InterpretationSource.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-lexruntimev2_2.13 Show documentation
Show all versions of zio-aws-lexruntimev2_2.13 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.lexruntimev2.model
import scala.jdk.CollectionConverters._
sealed trait InterpretationSource {
def unwrap
: software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource
}
object InterpretationSource {
def wrap(
value: software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource
): zio.aws.lexruntimev2.model.InterpretationSource = value match {
case software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.BEDROCK =>
val r = Bedrock
r
case software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.LEX =>
val r = Lex
r
}
case object unknownToSdkVersion
extends zio.aws.lexruntimev2.model.InterpretationSource {
override def unwrap
: software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource =
software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.UNKNOWN_TO_SDK_VERSION
}
case object Bedrock extends zio.aws.lexruntimev2.model.InterpretationSource {
override def unwrap
: software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource =
software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.BEDROCK
}
case object Lex extends zio.aws.lexruntimev2.model.InterpretationSource {
override def unwrap
: software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource =
software.amazon.awssdk.services.lexruntimev2.model.InterpretationSource.LEX
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy