zio.aws.amplifybackend.model.AuthResources.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-amplifybackend_3 Show documentation
Show all versions of zio-aws-amplifybackend_3 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.amplifybackend.model
import scala.jdk.CollectionConverters.*
sealed trait AuthResources {
def unwrap: software.amazon.awssdk.services.amplifybackend.model.AuthResources
}
object AuthResources {
def wrap(
value: software.amazon.awssdk.services.amplifybackend.model.AuthResources
): zio.aws.amplifybackend.model.AuthResources = value match {
case software.amazon.awssdk.services.amplifybackend.model.AuthResources.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.amplifybackend.model.AuthResources.USER_POOL_ONLY =>
val r = USER_POOL_ONLY
r
case software.amazon.awssdk.services.amplifybackend.model.AuthResources.IDENTITY_POOL_AND_USER_POOL =>
val r = IDENTITY_POOL_AND_USER_POOL
r
}
case object unknownToSdkVersion
extends zio.aws.amplifybackend.model.AuthResources {
override def unwrap
: software.amazon.awssdk.services.amplifybackend.model.AuthResources =
software.amazon.awssdk.services.amplifybackend.model.AuthResources.UNKNOWN_TO_SDK_VERSION
}
case object USER_POOL_ONLY
extends zio.aws.amplifybackend.model.AuthResources {
override def unwrap
: software.amazon.awssdk.services.amplifybackend.model.AuthResources =
software.amazon.awssdk.services.amplifybackend.model.AuthResources.USER_POOL_ONLY
}
case object IDENTITY_POOL_AND_USER_POOL
extends zio.aws.amplifybackend.model.AuthResources {
override def unwrap
: software.amazon.awssdk.services.amplifybackend.model.AuthResources =
software.amazon.awssdk.services.amplifybackend.model.AuthResources.IDENTITY_POOL_AND_USER_POOL
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy