{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Discovery.Types.ContinuousExportStatus
( ContinuousExportStatus
( ..,
ContinuousExportStatus_ACTIVE,
ContinuousExportStatus_ERROR,
ContinuousExportStatus_INACTIVE,
ContinuousExportStatus_START_FAILED,
ContinuousExportStatus_START_IN_PROGRESS,
ContinuousExportStatus_STOP_FAILED,
ContinuousExportStatus_STOP_IN_PROGRESS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ContinuousExportStatus = ContinuousExportStatus'
{ ContinuousExportStatus -> Text
fromContinuousExportStatus ::
Core.Text
}
deriving stock
( Int -> ContinuousExportStatus -> ShowS
[ContinuousExportStatus] -> ShowS
ContinuousExportStatus -> String
(Int -> ContinuousExportStatus -> ShowS)
-> (ContinuousExportStatus -> String)
-> ([ContinuousExportStatus] -> ShowS)
-> Show ContinuousExportStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContinuousExportStatus] -> ShowS
$cshowList :: [ContinuousExportStatus] -> ShowS
show :: ContinuousExportStatus -> String
$cshow :: ContinuousExportStatus -> String
showsPrec :: Int -> ContinuousExportStatus -> ShowS
$cshowsPrec :: Int -> ContinuousExportStatus -> ShowS
Prelude.Show,
ReadPrec [ContinuousExportStatus]
ReadPrec ContinuousExportStatus
Int -> ReadS ContinuousExportStatus
ReadS [ContinuousExportStatus]
(Int -> ReadS ContinuousExportStatus)
-> ReadS [ContinuousExportStatus]
-> ReadPrec ContinuousExportStatus
-> ReadPrec [ContinuousExportStatus]
-> Read ContinuousExportStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ContinuousExportStatus]
$creadListPrec :: ReadPrec [ContinuousExportStatus]
readPrec :: ReadPrec ContinuousExportStatus
$creadPrec :: ReadPrec ContinuousExportStatus
readList :: ReadS [ContinuousExportStatus]
$creadList :: ReadS [ContinuousExportStatus]
readsPrec :: Int -> ReadS ContinuousExportStatus
$creadsPrec :: Int -> ReadS ContinuousExportStatus
Prelude.Read,
ContinuousExportStatus -> ContinuousExportStatus -> Bool
(ContinuousExportStatus -> ContinuousExportStatus -> Bool)
-> (ContinuousExportStatus -> ContinuousExportStatus -> Bool)
-> Eq ContinuousExportStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
$c/= :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
== :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
$c== :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
Prelude.Eq,
Eq ContinuousExportStatus
Eq ContinuousExportStatus
-> (ContinuousExportStatus -> ContinuousExportStatus -> Ordering)
-> (ContinuousExportStatus -> ContinuousExportStatus -> Bool)
-> (ContinuousExportStatus -> ContinuousExportStatus -> Bool)
-> (ContinuousExportStatus -> ContinuousExportStatus -> Bool)
-> (ContinuousExportStatus -> ContinuousExportStatus -> Bool)
-> (ContinuousExportStatus
-> ContinuousExportStatus -> ContinuousExportStatus)
-> (ContinuousExportStatus
-> ContinuousExportStatus -> ContinuousExportStatus)
-> Ord ContinuousExportStatus
ContinuousExportStatus -> ContinuousExportStatus -> Bool
ContinuousExportStatus -> ContinuousExportStatus -> Ordering
ContinuousExportStatus
-> ContinuousExportStatus -> ContinuousExportStatus
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 :: ContinuousExportStatus
-> ContinuousExportStatus -> ContinuousExportStatus
$cmin :: ContinuousExportStatus
-> ContinuousExportStatus -> ContinuousExportStatus
max :: ContinuousExportStatus
-> ContinuousExportStatus -> ContinuousExportStatus
$cmax :: ContinuousExportStatus
-> ContinuousExportStatus -> ContinuousExportStatus
>= :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
$c>= :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
> :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
$c> :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
<= :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
$c<= :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
< :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
$c< :: ContinuousExportStatus -> ContinuousExportStatus -> Bool
compare :: ContinuousExportStatus -> ContinuousExportStatus -> Ordering
$ccompare :: ContinuousExportStatus -> ContinuousExportStatus -> Ordering
$cp1Ord :: Eq ContinuousExportStatus
Prelude.Ord,
(forall x. ContinuousExportStatus -> Rep ContinuousExportStatus x)
-> (forall x.
Rep ContinuousExportStatus x -> ContinuousExportStatus)
-> Generic ContinuousExportStatus
forall x. Rep ContinuousExportStatus x -> ContinuousExportStatus
forall x. ContinuousExportStatus -> Rep ContinuousExportStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ContinuousExportStatus x -> ContinuousExportStatus
$cfrom :: forall x. ContinuousExportStatus -> Rep ContinuousExportStatus x
Prelude.Generic
)
deriving newtype
( Int -> ContinuousExportStatus -> Int
ContinuousExportStatus -> Int
(Int -> ContinuousExportStatus -> Int)
-> (ContinuousExportStatus -> Int)
-> Hashable ContinuousExportStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ContinuousExportStatus -> Int
$chash :: ContinuousExportStatus -> Int
hashWithSalt :: Int -> ContinuousExportStatus -> Int
$chashWithSalt :: Int -> ContinuousExportStatus -> Int
Prelude.Hashable,
ContinuousExportStatus -> ()
(ContinuousExportStatus -> ()) -> NFData ContinuousExportStatus
forall a. (a -> ()) -> NFData a
rnf :: ContinuousExportStatus -> ()
$crnf :: ContinuousExportStatus -> ()
Prelude.NFData,
Text -> Either String ContinuousExportStatus
(Text -> Either String ContinuousExportStatus)
-> FromText ContinuousExportStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ContinuousExportStatus
$cfromText :: Text -> Either String ContinuousExportStatus
Core.FromText,
ContinuousExportStatus -> Text
(ContinuousExportStatus -> Text) -> ToText ContinuousExportStatus
forall a. (a -> Text) -> ToText a
toText :: ContinuousExportStatus -> Text
$ctoText :: ContinuousExportStatus -> Text
Core.ToText,
ContinuousExportStatus -> ByteString
(ContinuousExportStatus -> ByteString)
-> ToByteString ContinuousExportStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: ContinuousExportStatus -> ByteString
$ctoBS :: ContinuousExportStatus -> ByteString
Core.ToByteString,
ContinuousExportStatus -> ByteStringBuilder
(ContinuousExportStatus -> ByteStringBuilder)
-> ToLog ContinuousExportStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ContinuousExportStatus -> ByteStringBuilder
$cbuild :: ContinuousExportStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> ContinuousExportStatus -> [Header]
(HeaderName -> ContinuousExportStatus -> [Header])
-> ToHeader ContinuousExportStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ContinuousExportStatus -> [Header]
$ctoHeader :: HeaderName -> ContinuousExportStatus -> [Header]
Core.ToHeader,
ContinuousExportStatus -> QueryString
(ContinuousExportStatus -> QueryString)
-> ToQuery ContinuousExportStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ContinuousExportStatus -> QueryString
$ctoQuery :: ContinuousExportStatus -> QueryString
Core.ToQuery,
Value -> Parser [ContinuousExportStatus]
Value -> Parser ContinuousExportStatus
(Value -> Parser ContinuousExportStatus)
-> (Value -> Parser [ContinuousExportStatus])
-> FromJSON ContinuousExportStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ContinuousExportStatus]
$cparseJSONList :: Value -> Parser [ContinuousExportStatus]
parseJSON :: Value -> Parser ContinuousExportStatus
$cparseJSON :: Value -> Parser ContinuousExportStatus
Core.FromJSON,
FromJSONKeyFunction [ContinuousExportStatus]
FromJSONKeyFunction ContinuousExportStatus
FromJSONKeyFunction ContinuousExportStatus
-> FromJSONKeyFunction [ContinuousExportStatus]
-> FromJSONKey ContinuousExportStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ContinuousExportStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ContinuousExportStatus]
fromJSONKey :: FromJSONKeyFunction ContinuousExportStatus
$cfromJSONKey :: FromJSONKeyFunction ContinuousExportStatus
Core.FromJSONKey,
[ContinuousExportStatus] -> Encoding
[ContinuousExportStatus] -> Value
ContinuousExportStatus -> Encoding
ContinuousExportStatus -> Value
(ContinuousExportStatus -> Value)
-> (ContinuousExportStatus -> Encoding)
-> ([ContinuousExportStatus] -> Value)
-> ([ContinuousExportStatus] -> Encoding)
-> ToJSON ContinuousExportStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ContinuousExportStatus] -> Encoding
$ctoEncodingList :: [ContinuousExportStatus] -> Encoding
toJSONList :: [ContinuousExportStatus] -> Value
$ctoJSONList :: [ContinuousExportStatus] -> Value
toEncoding :: ContinuousExportStatus -> Encoding
$ctoEncoding :: ContinuousExportStatus -> Encoding
toJSON :: ContinuousExportStatus -> Value
$ctoJSON :: ContinuousExportStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [ContinuousExportStatus]
ToJSONKeyFunction ContinuousExportStatus
ToJSONKeyFunction ContinuousExportStatus
-> ToJSONKeyFunction [ContinuousExportStatus]
-> ToJSONKey ContinuousExportStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ContinuousExportStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ContinuousExportStatus]
toJSONKey :: ToJSONKeyFunction ContinuousExportStatus
$ctoJSONKey :: ToJSONKeyFunction ContinuousExportStatus
Core.ToJSONKey,
[Node] -> Either String ContinuousExportStatus
([Node] -> Either String ContinuousExportStatus)
-> FromXML ContinuousExportStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ContinuousExportStatus
$cparseXML :: [Node] -> Either String ContinuousExportStatus
Core.FromXML,
ContinuousExportStatus -> XML
(ContinuousExportStatus -> XML) -> ToXML ContinuousExportStatus
forall a. (a -> XML) -> ToXML a
toXML :: ContinuousExportStatus -> XML
$ctoXML :: ContinuousExportStatus -> XML
Core.ToXML
)
pattern ContinuousExportStatus_ACTIVE :: ContinuousExportStatus
pattern $bContinuousExportStatus_ACTIVE :: ContinuousExportStatus
$mContinuousExportStatus_ACTIVE :: forall r.
ContinuousExportStatus -> (Void# -> r) -> (Void# -> r) -> r
ContinuousExportStatus_ACTIVE = ContinuousExportStatus' "ACTIVE"
pattern ContinuousExportStatus_ERROR :: ContinuousExportStatus
pattern $bContinuousExportStatus_ERROR :: ContinuousExportStatus
$mContinuousExportStatus_ERROR :: forall r.
ContinuousExportStatus -> (Void# -> r) -> (Void# -> r) -> r
ContinuousExportStatus_ERROR = ContinuousExportStatus' "ERROR"
pattern ContinuousExportStatus_INACTIVE :: ContinuousExportStatus
pattern $bContinuousExportStatus_INACTIVE :: ContinuousExportStatus
$mContinuousExportStatus_INACTIVE :: forall r.
ContinuousExportStatus -> (Void# -> r) -> (Void# -> r) -> r
ContinuousExportStatus_INACTIVE = ContinuousExportStatus' "INACTIVE"
pattern ContinuousExportStatus_START_FAILED :: ContinuousExportStatus
pattern $bContinuousExportStatus_START_FAILED :: ContinuousExportStatus
$mContinuousExportStatus_START_FAILED :: forall r.
ContinuousExportStatus -> (Void# -> r) -> (Void# -> r) -> r
ContinuousExportStatus_START_FAILED = ContinuousExportStatus' "START_FAILED"
pattern ContinuousExportStatus_START_IN_PROGRESS :: ContinuousExportStatus
pattern $bContinuousExportStatus_START_IN_PROGRESS :: ContinuousExportStatus
$mContinuousExportStatus_START_IN_PROGRESS :: forall r.
ContinuousExportStatus -> (Void# -> r) -> (Void# -> r) -> r
ContinuousExportStatus_START_IN_PROGRESS = ContinuousExportStatus' "START_IN_PROGRESS"
pattern ContinuousExportStatus_STOP_FAILED :: ContinuousExportStatus
pattern $bContinuousExportStatus_STOP_FAILED :: ContinuousExportStatus
$mContinuousExportStatus_STOP_FAILED :: forall r.
ContinuousExportStatus -> (Void# -> r) -> (Void# -> r) -> r
ContinuousExportStatus_STOP_FAILED = ContinuousExportStatus' "STOP_FAILED"
pattern ContinuousExportStatus_STOP_IN_PROGRESS :: ContinuousExportStatus
pattern $bContinuousExportStatus_STOP_IN_PROGRESS :: ContinuousExportStatus
$mContinuousExportStatus_STOP_IN_PROGRESS :: forall r.
ContinuousExportStatus -> (Void# -> r) -> (Void# -> r) -> r
ContinuousExportStatus_STOP_IN_PROGRESS = ContinuousExportStatus' "STOP_IN_PROGRESS"
{-# COMPLETE
ContinuousExportStatus_ACTIVE,
ContinuousExportStatus_ERROR,
ContinuousExportStatus_INACTIVE,
ContinuousExportStatus_START_FAILED,
ContinuousExportStatus_START_IN_PROGRESS,
ContinuousExportStatus_STOP_FAILED,
ContinuousExportStatus_STOP_IN_PROGRESS,
ContinuousExportStatus'
#-}