{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.ChimeSdkMeetings.Types.TranscribeContentIdentificationType
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.ChimeSdkMeetings.Types.TranscribeContentIdentificationType
  ( TranscribeContentIdentificationType
      ( ..,
        TranscribeContentIdentificationType_PII
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype TranscribeContentIdentificationType = TranscribeContentIdentificationType'
  { TranscribeContentIdentificationType -> Text
fromTranscribeContentIdentificationType ::
      Data.Text
  }
  deriving stock
    ( Int -> TranscribeContentIdentificationType -> ShowS
[TranscribeContentIdentificationType] -> ShowS
TranscribeContentIdentificationType -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TranscribeContentIdentificationType] -> ShowS
$cshowList :: [TranscribeContentIdentificationType] -> ShowS
show :: TranscribeContentIdentificationType -> String
$cshow :: TranscribeContentIdentificationType -> String
showsPrec :: Int -> TranscribeContentIdentificationType -> ShowS
$cshowsPrec :: Int -> TranscribeContentIdentificationType -> ShowS
Prelude.Show,
      ReadPrec [TranscribeContentIdentificationType]
ReadPrec TranscribeContentIdentificationType
Int -> ReadS TranscribeContentIdentificationType
ReadS [TranscribeContentIdentificationType]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TranscribeContentIdentificationType]
$creadListPrec :: ReadPrec [TranscribeContentIdentificationType]
readPrec :: ReadPrec TranscribeContentIdentificationType
$creadPrec :: ReadPrec TranscribeContentIdentificationType
readList :: ReadS [TranscribeContentIdentificationType]
$creadList :: ReadS [TranscribeContentIdentificationType]
readsPrec :: Int -> ReadS TranscribeContentIdentificationType
$creadsPrec :: Int -> ReadS TranscribeContentIdentificationType
Prelude.Read,
      TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
$c/= :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
== :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
$c== :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
Prelude.Eq,
      Eq TranscribeContentIdentificationType
TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Ordering
TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
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 :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
$cmin :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
max :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
$cmax :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
-> TranscribeContentIdentificationType
>= :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
$c>= :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
> :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
$c> :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
<= :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
$c<= :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
< :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
$c< :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Bool
compare :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Ordering
$ccompare :: TranscribeContentIdentificationType
-> TranscribeContentIdentificationType -> Ordering
Prelude.Ord,
      forall x.
Rep TranscribeContentIdentificationType x
-> TranscribeContentIdentificationType
forall x.
TranscribeContentIdentificationType
-> Rep TranscribeContentIdentificationType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep TranscribeContentIdentificationType x
-> TranscribeContentIdentificationType
$cfrom :: forall x.
TranscribeContentIdentificationType
-> Rep TranscribeContentIdentificationType x
Prelude.Generic
    )
  deriving newtype
    ( Eq TranscribeContentIdentificationType
Int -> TranscribeContentIdentificationType -> Int
TranscribeContentIdentificationType -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: TranscribeContentIdentificationType -> Int
$chash :: TranscribeContentIdentificationType -> Int
hashWithSalt :: Int -> TranscribeContentIdentificationType -> Int
$chashWithSalt :: Int -> TranscribeContentIdentificationType -> Int
Prelude.Hashable,
      TranscribeContentIdentificationType -> ()
forall a. (a -> ()) -> NFData a
rnf :: TranscribeContentIdentificationType -> ()
$crnf :: TranscribeContentIdentificationType -> ()
Prelude.NFData,
      Text -> Either String TranscribeContentIdentificationType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TranscribeContentIdentificationType
$cfromText :: Text -> Either String TranscribeContentIdentificationType
Data.FromText,
      TranscribeContentIdentificationType -> Text
forall a. (a -> Text) -> ToText a
toText :: TranscribeContentIdentificationType -> Text
$ctoText :: TranscribeContentIdentificationType -> Text
Data.ToText,
      TranscribeContentIdentificationType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: TranscribeContentIdentificationType -> ByteString
$ctoBS :: TranscribeContentIdentificationType -> ByteString
Data.ToByteString,
      TranscribeContentIdentificationType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TranscribeContentIdentificationType -> ByteStringBuilder
$cbuild :: TranscribeContentIdentificationType -> ByteStringBuilder
Data.ToLog,
      HeaderName -> TranscribeContentIdentificationType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TranscribeContentIdentificationType -> [Header]
$ctoHeader :: HeaderName -> TranscribeContentIdentificationType -> [Header]
Data.ToHeader,
      TranscribeContentIdentificationType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TranscribeContentIdentificationType -> QueryString
$ctoQuery :: TranscribeContentIdentificationType -> QueryString
Data.ToQuery,
      Value -> Parser [TranscribeContentIdentificationType]
Value -> Parser TranscribeContentIdentificationType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [TranscribeContentIdentificationType]
$cparseJSONList :: Value -> Parser [TranscribeContentIdentificationType]
parseJSON :: Value -> Parser TranscribeContentIdentificationType
$cparseJSON :: Value -> Parser TranscribeContentIdentificationType
Data.FromJSON,
      FromJSONKeyFunction [TranscribeContentIdentificationType]
FromJSONKeyFunction TranscribeContentIdentificationType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TranscribeContentIdentificationType]
$cfromJSONKeyList :: FromJSONKeyFunction [TranscribeContentIdentificationType]
fromJSONKey :: FromJSONKeyFunction TranscribeContentIdentificationType
$cfromJSONKey :: FromJSONKeyFunction TranscribeContentIdentificationType
Data.FromJSONKey,
      [TranscribeContentIdentificationType] -> Encoding
[TranscribeContentIdentificationType] -> Value
TranscribeContentIdentificationType -> Encoding
TranscribeContentIdentificationType -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [TranscribeContentIdentificationType] -> Encoding
$ctoEncodingList :: [TranscribeContentIdentificationType] -> Encoding
toJSONList :: [TranscribeContentIdentificationType] -> Value
$ctoJSONList :: [TranscribeContentIdentificationType] -> Value
toEncoding :: TranscribeContentIdentificationType -> Encoding
$ctoEncoding :: TranscribeContentIdentificationType -> Encoding
toJSON :: TranscribeContentIdentificationType -> Value
$ctoJSON :: TranscribeContentIdentificationType -> Value
Data.ToJSON,
      ToJSONKeyFunction [TranscribeContentIdentificationType]
ToJSONKeyFunction TranscribeContentIdentificationType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TranscribeContentIdentificationType]
$ctoJSONKeyList :: ToJSONKeyFunction [TranscribeContentIdentificationType]
toJSONKey :: ToJSONKeyFunction TranscribeContentIdentificationType
$ctoJSONKey :: ToJSONKeyFunction TranscribeContentIdentificationType
Data.ToJSONKey,
      [Node] -> Either String TranscribeContentIdentificationType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TranscribeContentIdentificationType
$cparseXML :: [Node] -> Either String TranscribeContentIdentificationType
Data.FromXML,
      TranscribeContentIdentificationType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: TranscribeContentIdentificationType -> XML
$ctoXML :: TranscribeContentIdentificationType -> XML
Data.ToXML
    )

pattern TranscribeContentIdentificationType_PII :: TranscribeContentIdentificationType
pattern $bTranscribeContentIdentificationType_PII :: TranscribeContentIdentificationType
$mTranscribeContentIdentificationType_PII :: forall {r}.
TranscribeContentIdentificationType
-> ((# #) -> r) -> ((# #) -> r) -> r
TranscribeContentIdentificationType_PII = TranscribeContentIdentificationType' "PII"

{-# COMPLETE
  TranscribeContentIdentificationType_PII,
  TranscribeContentIdentificationType'
  #-}