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