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