{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.QuickSight.Types.AuthenticationMethodOption
( AuthenticationMethodOption
( ..,
AuthenticationMethodOption_ACTIVE_DIRECTORY,
AuthenticationMethodOption_IAM_AND_QUICKSIGHT,
AuthenticationMethodOption_IAM_ONLY
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype AuthenticationMethodOption = AuthenticationMethodOption'
{ AuthenticationMethodOption -> Text
fromAuthenticationMethodOption ::
Data.Text
}
deriving stock
( Int -> AuthenticationMethodOption -> ShowS
[AuthenticationMethodOption] -> ShowS
AuthenticationMethodOption -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuthenticationMethodOption] -> ShowS
$cshowList :: [AuthenticationMethodOption] -> ShowS
show :: AuthenticationMethodOption -> String
$cshow :: AuthenticationMethodOption -> String
showsPrec :: Int -> AuthenticationMethodOption -> ShowS
$cshowsPrec :: Int -> AuthenticationMethodOption -> ShowS
Prelude.Show,
ReadPrec [AuthenticationMethodOption]
ReadPrec AuthenticationMethodOption
Int -> ReadS AuthenticationMethodOption
ReadS [AuthenticationMethodOption]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AuthenticationMethodOption]
$creadListPrec :: ReadPrec [AuthenticationMethodOption]
readPrec :: ReadPrec AuthenticationMethodOption
$creadPrec :: ReadPrec AuthenticationMethodOption
readList :: ReadS [AuthenticationMethodOption]
$creadList :: ReadS [AuthenticationMethodOption]
readsPrec :: Int -> ReadS AuthenticationMethodOption
$creadsPrec :: Int -> ReadS AuthenticationMethodOption
Prelude.Read,
AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
$c/= :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
== :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
$c== :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
Prelude.Eq,
Eq AuthenticationMethodOption
AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
AuthenticationMethodOption
-> AuthenticationMethodOption -> Ordering
AuthenticationMethodOption
-> AuthenticationMethodOption -> AuthenticationMethodOption
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 :: AuthenticationMethodOption
-> AuthenticationMethodOption -> AuthenticationMethodOption
$cmin :: AuthenticationMethodOption
-> AuthenticationMethodOption -> AuthenticationMethodOption
max :: AuthenticationMethodOption
-> AuthenticationMethodOption -> AuthenticationMethodOption
$cmax :: AuthenticationMethodOption
-> AuthenticationMethodOption -> AuthenticationMethodOption
>= :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
$c>= :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
> :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
$c> :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
<= :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
$c<= :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
< :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
$c< :: AuthenticationMethodOption -> AuthenticationMethodOption -> Bool
compare :: AuthenticationMethodOption
-> AuthenticationMethodOption -> Ordering
$ccompare :: AuthenticationMethodOption
-> AuthenticationMethodOption -> Ordering
Prelude.Ord,
forall x.
Rep AuthenticationMethodOption x -> AuthenticationMethodOption
forall x.
AuthenticationMethodOption -> Rep AuthenticationMethodOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AuthenticationMethodOption x -> AuthenticationMethodOption
$cfrom :: forall x.
AuthenticationMethodOption -> Rep AuthenticationMethodOption x
Prelude.Generic
)
deriving newtype
( Eq AuthenticationMethodOption
Int -> AuthenticationMethodOption -> Int
AuthenticationMethodOption -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AuthenticationMethodOption -> Int
$chash :: AuthenticationMethodOption -> Int
hashWithSalt :: Int -> AuthenticationMethodOption -> Int
$chashWithSalt :: Int -> AuthenticationMethodOption -> Int
Prelude.Hashable,
AuthenticationMethodOption -> ()
forall a. (a -> ()) -> NFData a
rnf :: AuthenticationMethodOption -> ()
$crnf :: AuthenticationMethodOption -> ()
Prelude.NFData,
Text -> Either String AuthenticationMethodOption
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AuthenticationMethodOption
$cfromText :: Text -> Either String AuthenticationMethodOption
Data.FromText,
AuthenticationMethodOption -> Text
forall a. (a -> Text) -> ToText a
toText :: AuthenticationMethodOption -> Text
$ctoText :: AuthenticationMethodOption -> Text
Data.ToText,
AuthenticationMethodOption -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: AuthenticationMethodOption -> ByteString
$ctoBS :: AuthenticationMethodOption -> ByteString
Data.ToByteString,
AuthenticationMethodOption -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AuthenticationMethodOption -> ByteStringBuilder
$cbuild :: AuthenticationMethodOption -> ByteStringBuilder
Data.ToLog,
HeaderName -> AuthenticationMethodOption -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AuthenticationMethodOption -> [Header]
$ctoHeader :: HeaderName -> AuthenticationMethodOption -> [Header]
Data.ToHeader,
AuthenticationMethodOption -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AuthenticationMethodOption -> QueryString
$ctoQuery :: AuthenticationMethodOption -> QueryString
Data.ToQuery,
Value -> Parser [AuthenticationMethodOption]
Value -> Parser AuthenticationMethodOption
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AuthenticationMethodOption]
$cparseJSONList :: Value -> Parser [AuthenticationMethodOption]
parseJSON :: Value -> Parser AuthenticationMethodOption
$cparseJSON :: Value -> Parser AuthenticationMethodOption
Data.FromJSON,
FromJSONKeyFunction [AuthenticationMethodOption]
FromJSONKeyFunction AuthenticationMethodOption
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AuthenticationMethodOption]
$cfromJSONKeyList :: FromJSONKeyFunction [AuthenticationMethodOption]
fromJSONKey :: FromJSONKeyFunction AuthenticationMethodOption
$cfromJSONKey :: FromJSONKeyFunction AuthenticationMethodOption
Data.FromJSONKey,
[AuthenticationMethodOption] -> Encoding
[AuthenticationMethodOption] -> Value
AuthenticationMethodOption -> Encoding
AuthenticationMethodOption -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AuthenticationMethodOption] -> Encoding
$ctoEncodingList :: [AuthenticationMethodOption] -> Encoding
toJSONList :: [AuthenticationMethodOption] -> Value
$ctoJSONList :: [AuthenticationMethodOption] -> Value
toEncoding :: AuthenticationMethodOption -> Encoding
$ctoEncoding :: AuthenticationMethodOption -> Encoding
toJSON :: AuthenticationMethodOption -> Value
$ctoJSON :: AuthenticationMethodOption -> Value
Data.ToJSON,
ToJSONKeyFunction [AuthenticationMethodOption]
ToJSONKeyFunction AuthenticationMethodOption
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AuthenticationMethodOption]
$ctoJSONKeyList :: ToJSONKeyFunction [AuthenticationMethodOption]
toJSONKey :: ToJSONKeyFunction AuthenticationMethodOption
$ctoJSONKey :: ToJSONKeyFunction AuthenticationMethodOption
Data.ToJSONKey,
[Node] -> Either String AuthenticationMethodOption
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AuthenticationMethodOption
$cparseXML :: [Node] -> Either String AuthenticationMethodOption
Data.FromXML,
AuthenticationMethodOption -> XML
forall a. (a -> XML) -> ToXML a
toXML :: AuthenticationMethodOption -> XML
$ctoXML :: AuthenticationMethodOption -> XML
Data.ToXML
)
pattern AuthenticationMethodOption_ACTIVE_DIRECTORY :: AuthenticationMethodOption
pattern $bAuthenticationMethodOption_ACTIVE_DIRECTORY :: AuthenticationMethodOption
$mAuthenticationMethodOption_ACTIVE_DIRECTORY :: forall {r}.
AuthenticationMethodOption -> ((# #) -> r) -> ((# #) -> r) -> r
AuthenticationMethodOption_ACTIVE_DIRECTORY = AuthenticationMethodOption' "ACTIVE_DIRECTORY"
pattern AuthenticationMethodOption_IAM_AND_QUICKSIGHT :: AuthenticationMethodOption
pattern $bAuthenticationMethodOption_IAM_AND_QUICKSIGHT :: AuthenticationMethodOption
$mAuthenticationMethodOption_IAM_AND_QUICKSIGHT :: forall {r}.
AuthenticationMethodOption -> ((# #) -> r) -> ((# #) -> r) -> r
AuthenticationMethodOption_IAM_AND_QUICKSIGHT = AuthenticationMethodOption' "IAM_AND_QUICKSIGHT"
pattern AuthenticationMethodOption_IAM_ONLY :: AuthenticationMethodOption
pattern $bAuthenticationMethodOption_IAM_ONLY :: AuthenticationMethodOption
$mAuthenticationMethodOption_IAM_ONLY :: forall {r}.
AuthenticationMethodOption -> ((# #) -> r) -> ((# #) -> r) -> r
AuthenticationMethodOption_IAM_ONLY = AuthenticationMethodOption' "IAM_ONLY"
{-# COMPLETE
AuthenticationMethodOption_ACTIVE_DIRECTORY,
AuthenticationMethodOption_IAM_AND_QUICKSIGHT,
AuthenticationMethodOption_IAM_ONLY,
AuthenticationMethodOption'
#-}