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