{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.ELBV2.Types.AuthenticateOidcActionConditionalBehaviorEnum
( AuthenticateOidcActionConditionalBehaviorEnum
( ..,
AuthenticateOidcActionConditionalBehaviorEnum_Allow,
AuthenticateOidcActionConditionalBehaviorEnum_Authenticate,
AuthenticateOidcActionConditionalBehaviorEnum_Deny
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype AuthenticateOidcActionConditionalBehaviorEnum = AuthenticateOidcActionConditionalBehaviorEnum'
{ AuthenticateOidcActionConditionalBehaviorEnum -> Text
fromAuthenticateOidcActionConditionalBehaviorEnum ::
Core.Text
}
deriving stock
( Int -> AuthenticateOidcActionConditionalBehaviorEnum -> ShowS
[AuthenticateOidcActionConditionalBehaviorEnum] -> ShowS
AuthenticateOidcActionConditionalBehaviorEnum -> String
(Int -> AuthenticateOidcActionConditionalBehaviorEnum -> ShowS)
-> (AuthenticateOidcActionConditionalBehaviorEnum -> String)
-> ([AuthenticateOidcActionConditionalBehaviorEnum] -> ShowS)
-> Show AuthenticateOidcActionConditionalBehaviorEnum
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuthenticateOidcActionConditionalBehaviorEnum] -> ShowS
$cshowList :: [AuthenticateOidcActionConditionalBehaviorEnum] -> ShowS
show :: AuthenticateOidcActionConditionalBehaviorEnum -> String
$cshow :: AuthenticateOidcActionConditionalBehaviorEnum -> String
showsPrec :: Int -> AuthenticateOidcActionConditionalBehaviorEnum -> ShowS
$cshowsPrec :: Int -> AuthenticateOidcActionConditionalBehaviorEnum -> ShowS
Prelude.Show,
ReadPrec [AuthenticateOidcActionConditionalBehaviorEnum]
ReadPrec AuthenticateOidcActionConditionalBehaviorEnum
Int -> ReadS AuthenticateOidcActionConditionalBehaviorEnum
ReadS [AuthenticateOidcActionConditionalBehaviorEnum]
(Int -> ReadS AuthenticateOidcActionConditionalBehaviorEnum)
-> ReadS [AuthenticateOidcActionConditionalBehaviorEnum]
-> ReadPrec AuthenticateOidcActionConditionalBehaviorEnum
-> ReadPrec [AuthenticateOidcActionConditionalBehaviorEnum]
-> Read AuthenticateOidcActionConditionalBehaviorEnum
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AuthenticateOidcActionConditionalBehaviorEnum]
$creadListPrec :: ReadPrec [AuthenticateOidcActionConditionalBehaviorEnum]
readPrec :: ReadPrec AuthenticateOidcActionConditionalBehaviorEnum
$creadPrec :: ReadPrec AuthenticateOidcActionConditionalBehaviorEnum
readList :: ReadS [AuthenticateOidcActionConditionalBehaviorEnum]
$creadList :: ReadS [AuthenticateOidcActionConditionalBehaviorEnum]
readsPrec :: Int -> ReadS AuthenticateOidcActionConditionalBehaviorEnum
$creadsPrec :: Int -> ReadS AuthenticateOidcActionConditionalBehaviorEnum
Prelude.Read,
AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
(AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool)
-> Eq AuthenticateOidcActionConditionalBehaviorEnum
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
$c/= :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
== :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
$c== :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
Prelude.Eq,
Eq AuthenticateOidcActionConditionalBehaviorEnum
Eq AuthenticateOidcActionConditionalBehaviorEnum
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Ordering)
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum)
-> (AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum)
-> Ord AuthenticateOidcActionConditionalBehaviorEnum
AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Ordering
AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
$cmin :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
max :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
$cmax :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum
>= :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
$c>= :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
> :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
$c> :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
<= :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
$c<= :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
< :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
$c< :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Bool
compare :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Ordering
$ccompare :: AuthenticateOidcActionConditionalBehaviorEnum
-> AuthenticateOidcActionConditionalBehaviorEnum -> Ordering
$cp1Ord :: Eq AuthenticateOidcActionConditionalBehaviorEnum
Prelude.Ord,
(forall x.
AuthenticateOidcActionConditionalBehaviorEnum
-> Rep AuthenticateOidcActionConditionalBehaviorEnum x)
-> (forall x.
Rep AuthenticateOidcActionConditionalBehaviorEnum x
-> AuthenticateOidcActionConditionalBehaviorEnum)
-> Generic AuthenticateOidcActionConditionalBehaviorEnum
forall x.
Rep AuthenticateOidcActionConditionalBehaviorEnum x
-> AuthenticateOidcActionConditionalBehaviorEnum
forall x.
AuthenticateOidcActionConditionalBehaviorEnum
-> Rep AuthenticateOidcActionConditionalBehaviorEnum x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AuthenticateOidcActionConditionalBehaviorEnum x
-> AuthenticateOidcActionConditionalBehaviorEnum
$cfrom :: forall x.
AuthenticateOidcActionConditionalBehaviorEnum
-> Rep AuthenticateOidcActionConditionalBehaviorEnum x
Prelude.Generic
)
deriving newtype
( Int -> AuthenticateOidcActionConditionalBehaviorEnum -> Int
AuthenticateOidcActionConditionalBehaviorEnum -> Int
(Int -> AuthenticateOidcActionConditionalBehaviorEnum -> Int)
-> (AuthenticateOidcActionConditionalBehaviorEnum -> Int)
-> Hashable AuthenticateOidcActionConditionalBehaviorEnum
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AuthenticateOidcActionConditionalBehaviorEnum -> Int
$chash :: AuthenticateOidcActionConditionalBehaviorEnum -> Int
hashWithSalt :: Int -> AuthenticateOidcActionConditionalBehaviorEnum -> Int
$chashWithSalt :: Int -> AuthenticateOidcActionConditionalBehaviorEnum -> Int
Prelude.Hashable,
AuthenticateOidcActionConditionalBehaviorEnum -> ()
(AuthenticateOidcActionConditionalBehaviorEnum -> ())
-> NFData AuthenticateOidcActionConditionalBehaviorEnum
forall a. (a -> ()) -> NFData a
rnf :: AuthenticateOidcActionConditionalBehaviorEnum -> ()
$crnf :: AuthenticateOidcActionConditionalBehaviorEnum -> ()
Prelude.NFData,
Text -> Either String AuthenticateOidcActionConditionalBehaviorEnum
(Text
-> Either String AuthenticateOidcActionConditionalBehaviorEnum)
-> FromText AuthenticateOidcActionConditionalBehaviorEnum
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AuthenticateOidcActionConditionalBehaviorEnum
$cfromText :: Text -> Either String AuthenticateOidcActionConditionalBehaviorEnum
Core.FromText,
AuthenticateOidcActionConditionalBehaviorEnum -> Text
(AuthenticateOidcActionConditionalBehaviorEnum -> Text)
-> ToText AuthenticateOidcActionConditionalBehaviorEnum
forall a. (a -> Text) -> ToText a
toText :: AuthenticateOidcActionConditionalBehaviorEnum -> Text
$ctoText :: AuthenticateOidcActionConditionalBehaviorEnum -> Text
Core.ToText,
AuthenticateOidcActionConditionalBehaviorEnum -> ByteString
(AuthenticateOidcActionConditionalBehaviorEnum -> ByteString)
-> ToByteString AuthenticateOidcActionConditionalBehaviorEnum
forall a. (a -> ByteString) -> ToByteString a
toBS :: AuthenticateOidcActionConditionalBehaviorEnum -> ByteString
$ctoBS :: AuthenticateOidcActionConditionalBehaviorEnum -> ByteString
Core.ToByteString,
AuthenticateOidcActionConditionalBehaviorEnum -> ByteStringBuilder
(AuthenticateOidcActionConditionalBehaviorEnum
-> ByteStringBuilder)
-> ToLog AuthenticateOidcActionConditionalBehaviorEnum
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AuthenticateOidcActionConditionalBehaviorEnum -> ByteStringBuilder
$cbuild :: AuthenticateOidcActionConditionalBehaviorEnum -> ByteStringBuilder
Core.ToLog,
HeaderName
-> AuthenticateOidcActionConditionalBehaviorEnum -> [Header]
(HeaderName
-> AuthenticateOidcActionConditionalBehaviorEnum -> [Header])
-> ToHeader AuthenticateOidcActionConditionalBehaviorEnum
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName
-> AuthenticateOidcActionConditionalBehaviorEnum -> [Header]
$ctoHeader :: HeaderName
-> AuthenticateOidcActionConditionalBehaviorEnum -> [Header]
Core.ToHeader,
AuthenticateOidcActionConditionalBehaviorEnum -> QueryString
(AuthenticateOidcActionConditionalBehaviorEnum -> QueryString)
-> ToQuery AuthenticateOidcActionConditionalBehaviorEnum
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AuthenticateOidcActionConditionalBehaviorEnum -> QueryString
$ctoQuery :: AuthenticateOidcActionConditionalBehaviorEnum -> QueryString
Core.ToQuery,
Value -> Parser [AuthenticateOidcActionConditionalBehaviorEnum]
Value -> Parser AuthenticateOidcActionConditionalBehaviorEnum
(Value -> Parser AuthenticateOidcActionConditionalBehaviorEnum)
-> (Value
-> Parser [AuthenticateOidcActionConditionalBehaviorEnum])
-> FromJSON AuthenticateOidcActionConditionalBehaviorEnum
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AuthenticateOidcActionConditionalBehaviorEnum]
$cparseJSONList :: Value -> Parser [AuthenticateOidcActionConditionalBehaviorEnum]
parseJSON :: Value -> Parser AuthenticateOidcActionConditionalBehaviorEnum
$cparseJSON :: Value -> Parser AuthenticateOidcActionConditionalBehaviorEnum
Core.FromJSON,
FromJSONKeyFunction [AuthenticateOidcActionConditionalBehaviorEnum]
FromJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
FromJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
-> FromJSONKeyFunction
[AuthenticateOidcActionConditionalBehaviorEnum]
-> FromJSONKey AuthenticateOidcActionConditionalBehaviorEnum
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AuthenticateOidcActionConditionalBehaviorEnum]
$cfromJSONKeyList :: FromJSONKeyFunction [AuthenticateOidcActionConditionalBehaviorEnum]
fromJSONKey :: FromJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
$cfromJSONKey :: FromJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
Core.FromJSONKey,
[AuthenticateOidcActionConditionalBehaviorEnum] -> Encoding
[AuthenticateOidcActionConditionalBehaviorEnum] -> Value
AuthenticateOidcActionConditionalBehaviorEnum -> Encoding
AuthenticateOidcActionConditionalBehaviorEnum -> Value
(AuthenticateOidcActionConditionalBehaviorEnum -> Value)
-> (AuthenticateOidcActionConditionalBehaviorEnum -> Encoding)
-> ([AuthenticateOidcActionConditionalBehaviorEnum] -> Value)
-> ([AuthenticateOidcActionConditionalBehaviorEnum] -> Encoding)
-> ToJSON AuthenticateOidcActionConditionalBehaviorEnum
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AuthenticateOidcActionConditionalBehaviorEnum] -> Encoding
$ctoEncodingList :: [AuthenticateOidcActionConditionalBehaviorEnum] -> Encoding
toJSONList :: [AuthenticateOidcActionConditionalBehaviorEnum] -> Value
$ctoJSONList :: [AuthenticateOidcActionConditionalBehaviorEnum] -> Value
toEncoding :: AuthenticateOidcActionConditionalBehaviorEnum -> Encoding
$ctoEncoding :: AuthenticateOidcActionConditionalBehaviorEnum -> Encoding
toJSON :: AuthenticateOidcActionConditionalBehaviorEnum -> Value
$ctoJSON :: AuthenticateOidcActionConditionalBehaviorEnum -> Value
Core.ToJSON,
ToJSONKeyFunction [AuthenticateOidcActionConditionalBehaviorEnum]
ToJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
ToJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
-> ToJSONKeyFunction
[AuthenticateOidcActionConditionalBehaviorEnum]
-> ToJSONKey AuthenticateOidcActionConditionalBehaviorEnum
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AuthenticateOidcActionConditionalBehaviorEnum]
$ctoJSONKeyList :: ToJSONKeyFunction [AuthenticateOidcActionConditionalBehaviorEnum]
toJSONKey :: ToJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
$ctoJSONKey :: ToJSONKeyFunction AuthenticateOidcActionConditionalBehaviorEnum
Core.ToJSONKey,
[Node]
-> Either String AuthenticateOidcActionConditionalBehaviorEnum
([Node]
-> Either String AuthenticateOidcActionConditionalBehaviorEnum)
-> FromXML AuthenticateOidcActionConditionalBehaviorEnum
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node]
-> Either String AuthenticateOidcActionConditionalBehaviorEnum
$cparseXML :: [Node]
-> Either String AuthenticateOidcActionConditionalBehaviorEnum
Core.FromXML,
AuthenticateOidcActionConditionalBehaviorEnum -> XML
(AuthenticateOidcActionConditionalBehaviorEnum -> XML)
-> ToXML AuthenticateOidcActionConditionalBehaviorEnum
forall a. (a -> XML) -> ToXML a
toXML :: AuthenticateOidcActionConditionalBehaviorEnum -> XML
$ctoXML :: AuthenticateOidcActionConditionalBehaviorEnum -> XML
Core.ToXML
)
pattern AuthenticateOidcActionConditionalBehaviorEnum_Allow :: AuthenticateOidcActionConditionalBehaviorEnum
pattern $bAuthenticateOidcActionConditionalBehaviorEnum_Allow :: AuthenticateOidcActionConditionalBehaviorEnum
$mAuthenticateOidcActionConditionalBehaviorEnum_Allow :: forall r.
AuthenticateOidcActionConditionalBehaviorEnum
-> (Void# -> r) -> (Void# -> r) -> r
AuthenticateOidcActionConditionalBehaviorEnum_Allow = AuthenticateOidcActionConditionalBehaviorEnum' "allow"
pattern AuthenticateOidcActionConditionalBehaviorEnum_Authenticate :: AuthenticateOidcActionConditionalBehaviorEnum
pattern $bAuthenticateOidcActionConditionalBehaviorEnum_Authenticate :: AuthenticateOidcActionConditionalBehaviorEnum
$mAuthenticateOidcActionConditionalBehaviorEnum_Authenticate :: forall r.
AuthenticateOidcActionConditionalBehaviorEnum
-> (Void# -> r) -> (Void# -> r) -> r
AuthenticateOidcActionConditionalBehaviorEnum_Authenticate = AuthenticateOidcActionConditionalBehaviorEnum' "authenticate"
pattern AuthenticateOidcActionConditionalBehaviorEnum_Deny :: AuthenticateOidcActionConditionalBehaviorEnum
pattern $bAuthenticateOidcActionConditionalBehaviorEnum_Deny :: AuthenticateOidcActionConditionalBehaviorEnum
$mAuthenticateOidcActionConditionalBehaviorEnum_Deny :: forall r.
AuthenticateOidcActionConditionalBehaviorEnum
-> (Void# -> r) -> (Void# -> r) -> r
AuthenticateOidcActionConditionalBehaviorEnum_Deny = AuthenticateOidcActionConditionalBehaviorEnum' "deny"
{-# COMPLETE
AuthenticateOidcActionConditionalBehaviorEnum_Allow,
AuthenticateOidcActionConditionalBehaviorEnum_Authenticate,
AuthenticateOidcActionConditionalBehaviorEnum_Deny,
AuthenticateOidcActionConditionalBehaviorEnum'
#-}