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