{-# 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.Chime.Types.TranscribeContentRedactionType
-- 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.Chime.Types.TranscribeContentRedactionType
  ( TranscribeContentRedactionType
      ( ..,
        TranscribeContentRedactionType_PII
      ),
  )
where

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

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

pattern TranscribeContentRedactionType_PII :: TranscribeContentRedactionType
pattern $bTranscribeContentRedactionType_PII :: TranscribeContentRedactionType
$mTranscribeContentRedactionType_PII :: forall {r}.
TranscribeContentRedactionType -> ((# #) -> r) -> ((# #) -> r) -> r
TranscribeContentRedactionType_PII = TranscribeContentRedactionType' "PII"

{-# COMPLETE
  TranscribeContentRedactionType_PII,
  TranscribeContentRedactionType'
  #-}