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