{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Chime.Types.TranscribeLanguageCode
( TranscribeLanguageCode
( ..,
TranscribeLanguageCode_De_DE,
TranscribeLanguageCode_En_AU,
TranscribeLanguageCode_En_GB,
TranscribeLanguageCode_En_US,
TranscribeLanguageCode_Es_US,
TranscribeLanguageCode_Fr_CA,
TranscribeLanguageCode_Fr_FR,
TranscribeLanguageCode_It_IT,
TranscribeLanguageCode_Ja_JP,
TranscribeLanguageCode_Ko_KR,
TranscribeLanguageCode_Pt_BR,
TranscribeLanguageCode_Zh_CN
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype TranscribeLanguageCode = TranscribeLanguageCode'
{ TranscribeLanguageCode -> Text
fromTranscribeLanguageCode ::
Core.Text
}
deriving stock
( Int -> TranscribeLanguageCode -> ShowS
[TranscribeLanguageCode] -> ShowS
TranscribeLanguageCode -> String
(Int -> TranscribeLanguageCode -> ShowS)
-> (TranscribeLanguageCode -> String)
-> ([TranscribeLanguageCode] -> ShowS)
-> Show TranscribeLanguageCode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TranscribeLanguageCode] -> ShowS
$cshowList :: [TranscribeLanguageCode] -> ShowS
show :: TranscribeLanguageCode -> String
$cshow :: TranscribeLanguageCode -> String
showsPrec :: Int -> TranscribeLanguageCode -> ShowS
$cshowsPrec :: Int -> TranscribeLanguageCode -> ShowS
Prelude.Show,
ReadPrec [TranscribeLanguageCode]
ReadPrec TranscribeLanguageCode
Int -> ReadS TranscribeLanguageCode
ReadS [TranscribeLanguageCode]
(Int -> ReadS TranscribeLanguageCode)
-> ReadS [TranscribeLanguageCode]
-> ReadPrec TranscribeLanguageCode
-> ReadPrec [TranscribeLanguageCode]
-> Read TranscribeLanguageCode
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TranscribeLanguageCode]
$creadListPrec :: ReadPrec [TranscribeLanguageCode]
readPrec :: ReadPrec TranscribeLanguageCode
$creadPrec :: ReadPrec TranscribeLanguageCode
readList :: ReadS [TranscribeLanguageCode]
$creadList :: ReadS [TranscribeLanguageCode]
readsPrec :: Int -> ReadS TranscribeLanguageCode
$creadsPrec :: Int -> ReadS TranscribeLanguageCode
Prelude.Read,
TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
(TranscribeLanguageCode -> TranscribeLanguageCode -> Bool)
-> (TranscribeLanguageCode -> TranscribeLanguageCode -> Bool)
-> Eq TranscribeLanguageCode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
$c/= :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
== :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
$c== :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
Prelude.Eq,
Eq TranscribeLanguageCode
Eq TranscribeLanguageCode
-> (TranscribeLanguageCode -> TranscribeLanguageCode -> Ordering)
-> (TranscribeLanguageCode -> TranscribeLanguageCode -> Bool)
-> (TranscribeLanguageCode -> TranscribeLanguageCode -> Bool)
-> (TranscribeLanguageCode -> TranscribeLanguageCode -> Bool)
-> (TranscribeLanguageCode -> TranscribeLanguageCode -> Bool)
-> (TranscribeLanguageCode
-> TranscribeLanguageCode -> TranscribeLanguageCode)
-> (TranscribeLanguageCode
-> TranscribeLanguageCode -> TranscribeLanguageCode)
-> Ord TranscribeLanguageCode
TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
TranscribeLanguageCode -> TranscribeLanguageCode -> Ordering
TranscribeLanguageCode
-> TranscribeLanguageCode -> TranscribeLanguageCode
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 :: TranscribeLanguageCode
-> TranscribeLanguageCode -> TranscribeLanguageCode
$cmin :: TranscribeLanguageCode
-> TranscribeLanguageCode -> TranscribeLanguageCode
max :: TranscribeLanguageCode
-> TranscribeLanguageCode -> TranscribeLanguageCode
$cmax :: TranscribeLanguageCode
-> TranscribeLanguageCode -> TranscribeLanguageCode
>= :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
$c>= :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
> :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
$c> :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
<= :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
$c<= :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
< :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
$c< :: TranscribeLanguageCode -> TranscribeLanguageCode -> Bool
compare :: TranscribeLanguageCode -> TranscribeLanguageCode -> Ordering
$ccompare :: TranscribeLanguageCode -> TranscribeLanguageCode -> Ordering
$cp1Ord :: Eq TranscribeLanguageCode
Prelude.Ord,
(forall x. TranscribeLanguageCode -> Rep TranscribeLanguageCode x)
-> (forall x.
Rep TranscribeLanguageCode x -> TranscribeLanguageCode)
-> Generic TranscribeLanguageCode
forall x. Rep TranscribeLanguageCode x -> TranscribeLanguageCode
forall x. TranscribeLanguageCode -> Rep TranscribeLanguageCode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TranscribeLanguageCode x -> TranscribeLanguageCode
$cfrom :: forall x. TranscribeLanguageCode -> Rep TranscribeLanguageCode x
Prelude.Generic
)
deriving newtype
( Int -> TranscribeLanguageCode -> Int
TranscribeLanguageCode -> Int
(Int -> TranscribeLanguageCode -> Int)
-> (TranscribeLanguageCode -> Int)
-> Hashable TranscribeLanguageCode
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: TranscribeLanguageCode -> Int
$chash :: TranscribeLanguageCode -> Int
hashWithSalt :: Int -> TranscribeLanguageCode -> Int
$chashWithSalt :: Int -> TranscribeLanguageCode -> Int
Prelude.Hashable,
TranscribeLanguageCode -> ()
(TranscribeLanguageCode -> ()) -> NFData TranscribeLanguageCode
forall a. (a -> ()) -> NFData a
rnf :: TranscribeLanguageCode -> ()
$crnf :: TranscribeLanguageCode -> ()
Prelude.NFData,
Text -> Either String TranscribeLanguageCode
(Text -> Either String TranscribeLanguageCode)
-> FromText TranscribeLanguageCode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TranscribeLanguageCode
$cfromText :: Text -> Either String TranscribeLanguageCode
Core.FromText,
TranscribeLanguageCode -> Text
(TranscribeLanguageCode -> Text) -> ToText TranscribeLanguageCode
forall a. (a -> Text) -> ToText a
toText :: TranscribeLanguageCode -> Text
$ctoText :: TranscribeLanguageCode -> Text
Core.ToText,
TranscribeLanguageCode -> ByteString
(TranscribeLanguageCode -> ByteString)
-> ToByteString TranscribeLanguageCode
forall a. (a -> ByteString) -> ToByteString a
toBS :: TranscribeLanguageCode -> ByteString
$ctoBS :: TranscribeLanguageCode -> ByteString
Core.ToByteString,
TranscribeLanguageCode -> ByteStringBuilder
(TranscribeLanguageCode -> ByteStringBuilder)
-> ToLog TranscribeLanguageCode
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TranscribeLanguageCode -> ByteStringBuilder
$cbuild :: TranscribeLanguageCode -> ByteStringBuilder
Core.ToLog,
HeaderName -> TranscribeLanguageCode -> [Header]
(HeaderName -> TranscribeLanguageCode -> [Header])
-> ToHeader TranscribeLanguageCode
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TranscribeLanguageCode -> [Header]
$ctoHeader :: HeaderName -> TranscribeLanguageCode -> [Header]
Core.ToHeader,
TranscribeLanguageCode -> QueryString
(TranscribeLanguageCode -> QueryString)
-> ToQuery TranscribeLanguageCode
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TranscribeLanguageCode -> QueryString
$ctoQuery :: TranscribeLanguageCode -> QueryString
Core.ToQuery,
Value -> Parser [TranscribeLanguageCode]
Value -> Parser TranscribeLanguageCode
(Value -> Parser TranscribeLanguageCode)
-> (Value -> Parser [TranscribeLanguageCode])
-> FromJSON TranscribeLanguageCode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [TranscribeLanguageCode]
$cparseJSONList :: Value -> Parser [TranscribeLanguageCode]
parseJSON :: Value -> Parser TranscribeLanguageCode
$cparseJSON :: Value -> Parser TranscribeLanguageCode
Core.FromJSON,
FromJSONKeyFunction [TranscribeLanguageCode]
FromJSONKeyFunction TranscribeLanguageCode
FromJSONKeyFunction TranscribeLanguageCode
-> FromJSONKeyFunction [TranscribeLanguageCode]
-> FromJSONKey TranscribeLanguageCode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TranscribeLanguageCode]
$cfromJSONKeyList :: FromJSONKeyFunction [TranscribeLanguageCode]
fromJSONKey :: FromJSONKeyFunction TranscribeLanguageCode
$cfromJSONKey :: FromJSONKeyFunction TranscribeLanguageCode
Core.FromJSONKey,
[TranscribeLanguageCode] -> Encoding
[TranscribeLanguageCode] -> Value
TranscribeLanguageCode -> Encoding
TranscribeLanguageCode -> Value
(TranscribeLanguageCode -> Value)
-> (TranscribeLanguageCode -> Encoding)
-> ([TranscribeLanguageCode] -> Value)
-> ([TranscribeLanguageCode] -> Encoding)
-> ToJSON TranscribeLanguageCode
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [TranscribeLanguageCode] -> Encoding
$ctoEncodingList :: [TranscribeLanguageCode] -> Encoding
toJSONList :: [TranscribeLanguageCode] -> Value
$ctoJSONList :: [TranscribeLanguageCode] -> Value
toEncoding :: TranscribeLanguageCode -> Encoding
$ctoEncoding :: TranscribeLanguageCode -> Encoding
toJSON :: TranscribeLanguageCode -> Value
$ctoJSON :: TranscribeLanguageCode -> Value
Core.ToJSON,
ToJSONKeyFunction [TranscribeLanguageCode]
ToJSONKeyFunction TranscribeLanguageCode
ToJSONKeyFunction TranscribeLanguageCode
-> ToJSONKeyFunction [TranscribeLanguageCode]
-> ToJSONKey TranscribeLanguageCode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TranscribeLanguageCode]
$ctoJSONKeyList :: ToJSONKeyFunction [TranscribeLanguageCode]
toJSONKey :: ToJSONKeyFunction TranscribeLanguageCode
$ctoJSONKey :: ToJSONKeyFunction TranscribeLanguageCode
Core.ToJSONKey,
[Node] -> Either String TranscribeLanguageCode
([Node] -> Either String TranscribeLanguageCode)
-> FromXML TranscribeLanguageCode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TranscribeLanguageCode
$cparseXML :: [Node] -> Either String TranscribeLanguageCode
Core.FromXML,
TranscribeLanguageCode -> XML
(TranscribeLanguageCode -> XML) -> ToXML TranscribeLanguageCode
forall a. (a -> XML) -> ToXML a
toXML :: TranscribeLanguageCode -> XML
$ctoXML :: TranscribeLanguageCode -> XML
Core.ToXML
)
pattern TranscribeLanguageCode_De_DE :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_De_DE :: TranscribeLanguageCode
$mTranscribeLanguageCode_De_DE :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_De_DE = TranscribeLanguageCode' "de-DE"
pattern TranscribeLanguageCode_En_AU :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_En_AU :: TranscribeLanguageCode
$mTranscribeLanguageCode_En_AU :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_En_AU = TranscribeLanguageCode' "en-AU"
pattern TranscribeLanguageCode_En_GB :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_En_GB :: TranscribeLanguageCode
$mTranscribeLanguageCode_En_GB :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_En_GB = TranscribeLanguageCode' "en-GB"
pattern TranscribeLanguageCode_En_US :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_En_US :: TranscribeLanguageCode
$mTranscribeLanguageCode_En_US :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_En_US = TranscribeLanguageCode' "en-US"
pattern TranscribeLanguageCode_Es_US :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_Es_US :: TranscribeLanguageCode
$mTranscribeLanguageCode_Es_US :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_Es_US = TranscribeLanguageCode' "es-US"
pattern TranscribeLanguageCode_Fr_CA :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_Fr_CA :: TranscribeLanguageCode
$mTranscribeLanguageCode_Fr_CA :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_Fr_CA = TranscribeLanguageCode' "fr-CA"
pattern TranscribeLanguageCode_Fr_FR :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_Fr_FR :: TranscribeLanguageCode
$mTranscribeLanguageCode_Fr_FR :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_Fr_FR = TranscribeLanguageCode' "fr-FR"
pattern TranscribeLanguageCode_It_IT :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_It_IT :: TranscribeLanguageCode
$mTranscribeLanguageCode_It_IT :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_It_IT = TranscribeLanguageCode' "it-IT"
pattern TranscribeLanguageCode_Ja_JP :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_Ja_JP :: TranscribeLanguageCode
$mTranscribeLanguageCode_Ja_JP :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_Ja_JP = TranscribeLanguageCode' "ja-JP"
pattern TranscribeLanguageCode_Ko_KR :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_Ko_KR :: TranscribeLanguageCode
$mTranscribeLanguageCode_Ko_KR :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_Ko_KR = TranscribeLanguageCode' "ko-KR"
pattern TranscribeLanguageCode_Pt_BR :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_Pt_BR :: TranscribeLanguageCode
$mTranscribeLanguageCode_Pt_BR :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_Pt_BR = TranscribeLanguageCode' "pt-BR"
pattern TranscribeLanguageCode_Zh_CN :: TranscribeLanguageCode
pattern $bTranscribeLanguageCode_Zh_CN :: TranscribeLanguageCode
$mTranscribeLanguageCode_Zh_CN :: forall r.
TranscribeLanguageCode -> (Void# -> r) -> (Void# -> r) -> r
TranscribeLanguageCode_Zh_CN = TranscribeLanguageCode' "zh-CN"
{-# COMPLETE
TranscribeLanguageCode_De_DE,
TranscribeLanguageCode_En_AU,
TranscribeLanguageCode_En_GB,
TranscribeLanguageCode_En_US,
TranscribeLanguageCode_Es_US,
TranscribeLanguageCode_Fr_CA,
TranscribeLanguageCode_Fr_FR,
TranscribeLanguageCode_It_IT,
TranscribeLanguageCode_Ja_JP,
TranscribeLanguageCode_Ko_KR,
TranscribeLanguageCode_Pt_BR,
TranscribeLanguageCode_Zh_CN,
TranscribeLanguageCode'
#-}