zio.aws.verifiedpermissions.model.OpenIdIssuer.scala Maven / Gradle / Ivy
package zio.aws.verifiedpermissions.model
import scala.jdk.CollectionConverters._
sealed trait OpenIdIssuer {
def unwrap
: software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer
}
object OpenIdIssuer {
def wrap(
value: software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer
): zio.aws.verifiedpermissions.model.OpenIdIssuer = value match {
case software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer.COGNITO =>
val r = COGNITO
r
}
case object unknownToSdkVersion
extends zio.aws.verifiedpermissions.model.OpenIdIssuer {
override def unwrap
: software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer =
software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer.UNKNOWN_TO_SDK_VERSION
}
case object COGNITO extends zio.aws.verifiedpermissions.model.OpenIdIssuer {
override def unwrap
: software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer =
software.amazon.awssdk.services.verifiedpermissions.model.OpenIdIssuer.COGNITO
}
}