{-# 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.AuthenticateCognitoActionConditionalBehaviorEnum
( AuthenticateCognitoActionConditionalBehaviorEnum
( ..,
AuthenticateCognitoActionConditionalBehaviorEnum_Allow,
AuthenticateCognitoActionConditionalBehaviorEnum_Authenticate,
AuthenticateCognitoActionConditionalBehaviorEnum_Deny
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype AuthenticateCognitoActionConditionalBehaviorEnum = AuthenticateCognitoActionConditionalBehaviorEnum'
{ AuthenticateCognitoActionConditionalBehaviorEnum -> Text
fromAuthenticateCognitoActionConditionalBehaviorEnum ::
Core.Text
}
deriving stock
( Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> ShowS
[AuthenticateCognitoActionConditionalBehaviorEnum] -> ShowS
AuthenticateCognitoActionConditionalBehaviorEnum -> String
(Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> ShowS)
-> (AuthenticateCognitoActionConditionalBehaviorEnum -> String)
-> ([AuthenticateCognitoActionConditionalBehaviorEnum] -> ShowS)
-> Show AuthenticateCognitoActionConditionalBehaviorEnum
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuthenticateCognitoActionConditionalBehaviorEnum] -> ShowS
$cshowList :: [AuthenticateCognitoActionConditionalBehaviorEnum] -> ShowS
show :: AuthenticateCognitoActionConditionalBehaviorEnum -> String
$cshow :: AuthenticateCognitoActionConditionalBehaviorEnum -> String
showsPrec :: Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> ShowS
$cshowsPrec :: Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> ShowS
Prelude.Show,
ReadPrec [AuthenticateCognitoActionConditionalBehaviorEnum]
ReadPrec AuthenticateCognitoActionConditionalBehaviorEnum
Int -> ReadS AuthenticateCognitoActionConditionalBehaviorEnum
ReadS [AuthenticateCognitoActionConditionalBehaviorEnum]
(Int -> ReadS AuthenticateCognitoActionConditionalBehaviorEnum)
-> ReadS [AuthenticateCognitoActionConditionalBehaviorEnum]
-> ReadPrec AuthenticateCognitoActionConditionalBehaviorEnum
-> ReadPrec [AuthenticateCognitoActionConditionalBehaviorEnum]
-> Read AuthenticateCognitoActionConditionalBehaviorEnum
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AuthenticateCognitoActionConditionalBehaviorEnum]
$creadListPrec :: ReadPrec [AuthenticateCognitoActionConditionalBehaviorEnum]
readPrec :: ReadPrec AuthenticateCognitoActionConditionalBehaviorEnum
$creadPrec :: ReadPrec AuthenticateCognitoActionConditionalBehaviorEnum
readList :: ReadS [AuthenticateCognitoActionConditionalBehaviorEnum]
$creadList :: ReadS [AuthenticateCognitoActionConditionalBehaviorEnum]
readsPrec :: Int -> ReadS AuthenticateCognitoActionConditionalBehaviorEnum
$creadsPrec :: Int -> ReadS AuthenticateCognitoActionConditionalBehaviorEnum
Prelude.Read,
AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
(AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool)
-> Eq AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
$c/= :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
== :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
$c== :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
Prelude.Eq,
Eq AuthenticateCognitoActionConditionalBehaviorEnum
Eq AuthenticateCognitoActionConditionalBehaviorEnum
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Ordering)
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool)
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum)
-> (AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum)
-> Ord AuthenticateCognitoActionConditionalBehaviorEnum
AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Ordering
AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
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 :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
$cmin :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
max :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
$cmax :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum
>= :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
$c>= :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
> :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
$c> :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
<= :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
$c<= :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
< :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
$c< :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Bool
compare :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Ordering
$ccompare :: AuthenticateCognitoActionConditionalBehaviorEnum
-> AuthenticateCognitoActionConditionalBehaviorEnum -> Ordering
$cp1Ord :: Eq AuthenticateCognitoActionConditionalBehaviorEnum
Prelude.Ord,
(forall x.
AuthenticateCognitoActionConditionalBehaviorEnum
-> Rep AuthenticateCognitoActionConditionalBehaviorEnum x)
-> (forall x.
Rep AuthenticateCognitoActionConditionalBehaviorEnum x
-> AuthenticateCognitoActionConditionalBehaviorEnum)
-> Generic AuthenticateCognitoActionConditionalBehaviorEnum
forall x.
Rep AuthenticateCognitoActionConditionalBehaviorEnum x
-> AuthenticateCognitoActionConditionalBehaviorEnum
forall x.
AuthenticateCognitoActionConditionalBehaviorEnum
-> Rep AuthenticateCognitoActionConditionalBehaviorEnum x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AuthenticateCognitoActionConditionalBehaviorEnum x
-> AuthenticateCognitoActionConditionalBehaviorEnum
$cfrom :: forall x.
AuthenticateCognitoActionConditionalBehaviorEnum
-> Rep AuthenticateCognitoActionConditionalBehaviorEnum x
Prelude.Generic
)
deriving newtype
( Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> Int
AuthenticateCognitoActionConditionalBehaviorEnum -> Int
(Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> Int)
-> (AuthenticateCognitoActionConditionalBehaviorEnum -> Int)
-> Hashable AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AuthenticateCognitoActionConditionalBehaviorEnum -> Int
$chash :: AuthenticateCognitoActionConditionalBehaviorEnum -> Int
hashWithSalt :: Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> Int
$chashWithSalt :: Int -> AuthenticateCognitoActionConditionalBehaviorEnum -> Int
Prelude.Hashable,
AuthenticateCognitoActionConditionalBehaviorEnum -> ()
(AuthenticateCognitoActionConditionalBehaviorEnum -> ())
-> NFData AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (a -> ()) -> NFData a
rnf :: AuthenticateCognitoActionConditionalBehaviorEnum -> ()
$crnf :: AuthenticateCognitoActionConditionalBehaviorEnum -> ()
Prelude.NFData,
Text
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum
(Text
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum)
-> FromText AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (Text -> Either String a) -> FromText a
fromText :: Text
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum
$cfromText :: Text
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum
Core.FromText,
AuthenticateCognitoActionConditionalBehaviorEnum -> Text
(AuthenticateCognitoActionConditionalBehaviorEnum -> Text)
-> ToText AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (a -> Text) -> ToText a
toText :: AuthenticateCognitoActionConditionalBehaviorEnum -> Text
$ctoText :: AuthenticateCognitoActionConditionalBehaviorEnum -> Text
Core.ToText,
AuthenticateCognitoActionConditionalBehaviorEnum -> ByteString
(AuthenticateCognitoActionConditionalBehaviorEnum -> ByteString)
-> ToByteString AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (a -> ByteString) -> ToByteString a
toBS :: AuthenticateCognitoActionConditionalBehaviorEnum -> ByteString
$ctoBS :: AuthenticateCognitoActionConditionalBehaviorEnum -> ByteString
Core.ToByteString,
AuthenticateCognitoActionConditionalBehaviorEnum
-> ByteStringBuilder
(AuthenticateCognitoActionConditionalBehaviorEnum
-> ByteStringBuilder)
-> ToLog AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AuthenticateCognitoActionConditionalBehaviorEnum
-> ByteStringBuilder
$cbuild :: AuthenticateCognitoActionConditionalBehaviorEnum
-> ByteStringBuilder
Core.ToLog,
HeaderName
-> AuthenticateCognitoActionConditionalBehaviorEnum -> [Header]
(HeaderName
-> AuthenticateCognitoActionConditionalBehaviorEnum -> [Header])
-> ToHeader AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName
-> AuthenticateCognitoActionConditionalBehaviorEnum -> [Header]
$ctoHeader :: HeaderName
-> AuthenticateCognitoActionConditionalBehaviorEnum -> [Header]
Core.ToHeader,
AuthenticateCognitoActionConditionalBehaviorEnum -> QueryString
(AuthenticateCognitoActionConditionalBehaviorEnum -> QueryString)
-> ToQuery AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AuthenticateCognitoActionConditionalBehaviorEnum -> QueryString
$ctoQuery :: AuthenticateCognitoActionConditionalBehaviorEnum -> QueryString
Core.ToQuery,
Value -> Parser [AuthenticateCognitoActionConditionalBehaviorEnum]
Value -> Parser AuthenticateCognitoActionConditionalBehaviorEnum
(Value -> Parser AuthenticateCognitoActionConditionalBehaviorEnum)
-> (Value
-> Parser [AuthenticateCognitoActionConditionalBehaviorEnum])
-> FromJSON AuthenticateCognitoActionConditionalBehaviorEnum
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AuthenticateCognitoActionConditionalBehaviorEnum]
$cparseJSONList :: Value -> Parser [AuthenticateCognitoActionConditionalBehaviorEnum]
parseJSON :: Value -> Parser AuthenticateCognitoActionConditionalBehaviorEnum
$cparseJSON :: Value -> Parser AuthenticateCognitoActionConditionalBehaviorEnum
Core.FromJSON,
FromJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
FromJSONKeyFunction
AuthenticateCognitoActionConditionalBehaviorEnum
FromJSONKeyFunction
AuthenticateCognitoActionConditionalBehaviorEnum
-> FromJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
-> FromJSONKey AuthenticateCognitoActionConditionalBehaviorEnum
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
$cfromJSONKeyList :: FromJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
fromJSONKey :: FromJSONKeyFunction
AuthenticateCognitoActionConditionalBehaviorEnum
$cfromJSONKey :: FromJSONKeyFunction
AuthenticateCognitoActionConditionalBehaviorEnum
Core.FromJSONKey,
[AuthenticateCognitoActionConditionalBehaviorEnum] -> Encoding
[AuthenticateCognitoActionConditionalBehaviorEnum] -> Value
AuthenticateCognitoActionConditionalBehaviorEnum -> Encoding
AuthenticateCognitoActionConditionalBehaviorEnum -> Value
(AuthenticateCognitoActionConditionalBehaviorEnum -> Value)
-> (AuthenticateCognitoActionConditionalBehaviorEnum -> Encoding)
-> ([AuthenticateCognitoActionConditionalBehaviorEnum] -> Value)
-> ([AuthenticateCognitoActionConditionalBehaviorEnum] -> Encoding)
-> ToJSON AuthenticateCognitoActionConditionalBehaviorEnum
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AuthenticateCognitoActionConditionalBehaviorEnum] -> Encoding
$ctoEncodingList :: [AuthenticateCognitoActionConditionalBehaviorEnum] -> Encoding
toJSONList :: [AuthenticateCognitoActionConditionalBehaviorEnum] -> Value
$ctoJSONList :: [AuthenticateCognitoActionConditionalBehaviorEnum] -> Value
toEncoding :: AuthenticateCognitoActionConditionalBehaviorEnum -> Encoding
$ctoEncoding :: AuthenticateCognitoActionConditionalBehaviorEnum -> Encoding
toJSON :: AuthenticateCognitoActionConditionalBehaviorEnum -> Value
$ctoJSON :: AuthenticateCognitoActionConditionalBehaviorEnum -> Value
Core.ToJSON,
ToJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
ToJSONKeyFunction AuthenticateCognitoActionConditionalBehaviorEnum
ToJSONKeyFunction AuthenticateCognitoActionConditionalBehaviorEnum
-> ToJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
-> ToJSONKey AuthenticateCognitoActionConditionalBehaviorEnum
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
$ctoJSONKeyList :: ToJSONKeyFunction
[AuthenticateCognitoActionConditionalBehaviorEnum]
toJSONKey :: ToJSONKeyFunction AuthenticateCognitoActionConditionalBehaviorEnum
$ctoJSONKey :: ToJSONKeyFunction AuthenticateCognitoActionConditionalBehaviorEnum
Core.ToJSONKey,
[Node]
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum
([Node]
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum)
-> FromXML AuthenticateCognitoActionConditionalBehaviorEnum
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node]
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum
$cparseXML :: [Node]
-> Either String AuthenticateCognitoActionConditionalBehaviorEnum
Core.FromXML,
AuthenticateCognitoActionConditionalBehaviorEnum -> XML
(AuthenticateCognitoActionConditionalBehaviorEnum -> XML)
-> ToXML AuthenticateCognitoActionConditionalBehaviorEnum
forall a. (a -> XML) -> ToXML a
toXML :: AuthenticateCognitoActionConditionalBehaviorEnum -> XML
$ctoXML :: AuthenticateCognitoActionConditionalBehaviorEnum -> XML
Core.ToXML
)
pattern AuthenticateCognitoActionConditionalBehaviorEnum_Allow :: AuthenticateCognitoActionConditionalBehaviorEnum
pattern $bAuthenticateCognitoActionConditionalBehaviorEnum_Allow :: AuthenticateCognitoActionConditionalBehaviorEnum
$mAuthenticateCognitoActionConditionalBehaviorEnum_Allow :: forall r.
AuthenticateCognitoActionConditionalBehaviorEnum
-> (Void# -> r) -> (Void# -> r) -> r
AuthenticateCognitoActionConditionalBehaviorEnum_Allow = AuthenticateCognitoActionConditionalBehaviorEnum' "allow"
pattern AuthenticateCognitoActionConditionalBehaviorEnum_Authenticate :: AuthenticateCognitoActionConditionalBehaviorEnum
pattern $bAuthenticateCognitoActionConditionalBehaviorEnum_Authenticate :: AuthenticateCognitoActionConditionalBehaviorEnum
$mAuthenticateCognitoActionConditionalBehaviorEnum_Authenticate :: forall r.
AuthenticateCognitoActionConditionalBehaviorEnum
-> (Void# -> r) -> (Void# -> r) -> r
AuthenticateCognitoActionConditionalBehaviorEnum_Authenticate = AuthenticateCognitoActionConditionalBehaviorEnum' "authenticate"
pattern AuthenticateCognitoActionConditionalBehaviorEnum_Deny :: AuthenticateCognitoActionConditionalBehaviorEnum
pattern $bAuthenticateCognitoActionConditionalBehaviorEnum_Deny :: AuthenticateCognitoActionConditionalBehaviorEnum
$mAuthenticateCognitoActionConditionalBehaviorEnum_Deny :: forall r.
AuthenticateCognitoActionConditionalBehaviorEnum
-> (Void# -> r) -> (Void# -> r) -> r
AuthenticateCognitoActionConditionalBehaviorEnum_Deny = AuthenticateCognitoActionConditionalBehaviorEnum' "deny"
{-# COMPLETE
AuthenticateCognitoActionConditionalBehaviorEnum_Allow,
AuthenticateCognitoActionConditionalBehaviorEnum_Authenticate,
AuthenticateCognitoActionConditionalBehaviorEnum_Deny,
AuthenticateCognitoActionConditionalBehaviorEnum'
#-}