All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.aws.amplifybackend.model.UnAuthenticatedElement.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.10
Show newest version
package zio.aws.amplifybackend.model
import scala.jdk.CollectionConverters.*
sealed trait UnAuthenticatedElement {
  def unwrap: software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement
}
object UnAuthenticatedElement {
  def wrap(
      value: software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement
  ): zio.aws.amplifybackend.model.UnAuthenticatedElement = value match {
    case software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.READ =>
      val r = READ
      r
    case software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.CREATE_AND_UPDATE =>
      val r = CREATE_AND_UPDATE
      r
    case software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.DELETE =>
      val r = DELETE
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.amplifybackend.model.UnAuthenticatedElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement =
      software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.UNKNOWN_TO_SDK_VERSION
  }
  case object READ extends zio.aws.amplifybackend.model.UnAuthenticatedElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement =
      software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.READ
  }
  case object CREATE_AND_UPDATE
      extends zio.aws.amplifybackend.model.UnAuthenticatedElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement =
      software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.CREATE_AND_UPDATE
  }
  case object DELETE
      extends zio.aws.amplifybackend.model.UnAuthenticatedElement {
    override def unwrap
        : software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement =
      software.amazon.awssdk.services.amplifybackend.model.UnAuthenticatedElement.DELETE
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy