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