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