{-# 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.Prelude as Prelude
newtype InsightStatus = InsightStatus'
{ InsightStatus -> Text
fromInsightStatus ::
Core.Text
}
deriving stock
( Int -> InsightStatus -> ShowS
[InsightStatus] -> ShowS
InsightStatus -> String
(Int -> InsightStatus -> ShowS)
-> (InsightStatus -> String)
-> ([InsightStatus] -> ShowS)
-> Show InsightStatus
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]
(Int -> ReadS InsightStatus)
-> ReadS [InsightStatus]
-> ReadPrec InsightStatus
-> ReadPrec [InsightStatus]
-> Read 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
(InsightStatus -> InsightStatus -> Bool)
-> (InsightStatus -> InsightStatus -> Bool) -> Eq InsightStatus
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
Eq InsightStatus
-> (InsightStatus -> InsightStatus -> Ordering)
-> (InsightStatus -> InsightStatus -> Bool)
-> (InsightStatus -> InsightStatus -> Bool)
-> (InsightStatus -> InsightStatus -> Bool)
-> (InsightStatus -> InsightStatus -> Bool)
-> (InsightStatus -> InsightStatus -> InsightStatus)
-> (InsightStatus -> InsightStatus -> InsightStatus)
-> Ord 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
$cp1Ord :: Eq InsightStatus
Prelude.Ord,
(forall x. InsightStatus -> Rep InsightStatus x)
-> (forall x. Rep InsightStatus x -> InsightStatus)
-> Generic InsightStatus
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
( Int -> InsightStatus -> Int
InsightStatus -> Int
(Int -> InsightStatus -> Int)
-> (InsightStatus -> Int) -> Hashable InsightStatus
forall 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 -> ()
(InsightStatus -> ()) -> NFData InsightStatus
forall a. (a -> ()) -> NFData a
rnf :: InsightStatus -> ()
$crnf :: InsightStatus -> ()
Prelude.NFData,
Text -> Either String InsightStatus
(Text -> Either String InsightStatus) -> FromText InsightStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String InsightStatus
$cfromText :: Text -> Either String InsightStatus
Core.FromText,
InsightStatus -> Text
(InsightStatus -> Text) -> ToText InsightStatus
forall a. (a -> Text) -> ToText a
toText :: InsightStatus -> Text
$ctoText :: InsightStatus -> Text
Core.ToText,
InsightStatus -> ByteString
(InsightStatus -> ByteString) -> ToByteString InsightStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: InsightStatus -> ByteString
$ctoBS :: InsightStatus -> ByteString
Core.ToByteString,
InsightStatus -> ByteStringBuilder
(InsightStatus -> ByteStringBuilder) -> ToLog InsightStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: InsightStatus -> ByteStringBuilder
$cbuild :: InsightStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> InsightStatus -> [Header]
(HeaderName -> InsightStatus -> [Header]) -> ToHeader InsightStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> InsightStatus -> [Header]
$ctoHeader :: HeaderName -> InsightStatus -> [Header]
Core.ToHeader,
InsightStatus -> QueryString
(InsightStatus -> QueryString) -> ToQuery InsightStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: InsightStatus -> QueryString
$ctoQuery :: InsightStatus -> QueryString
Core.ToQuery,
Value -> Parser [InsightStatus]
Value -> Parser InsightStatus
(Value -> Parser InsightStatus)
-> (Value -> Parser [InsightStatus]) -> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [InsightStatus]
FromJSONKeyFunction InsightStatus
FromJSONKeyFunction InsightStatus
-> FromJSONKeyFunction [InsightStatus] -> FromJSONKey InsightStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [InsightStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [InsightStatus]
fromJSONKey :: FromJSONKeyFunction InsightStatus
$cfromJSONKey :: FromJSONKeyFunction InsightStatus
Core.FromJSONKey,
[InsightStatus] -> Encoding
[InsightStatus] -> Value
InsightStatus -> Encoding
InsightStatus -> Value
(InsightStatus -> Value)
-> (InsightStatus -> Encoding)
-> ([InsightStatus] -> Value)
-> ([InsightStatus] -> Encoding)
-> ToJSON InsightStatus
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
Core.ToJSON,
ToJSONKeyFunction [InsightStatus]
ToJSONKeyFunction InsightStatus
ToJSONKeyFunction InsightStatus
-> ToJSONKeyFunction [InsightStatus] -> ToJSONKey InsightStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [InsightStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [InsightStatus]
toJSONKey :: ToJSONKeyFunction InsightStatus
$ctoJSONKey :: ToJSONKeyFunction InsightStatus
Core.ToJSONKey,
[Node] -> Either String InsightStatus
([Node] -> Either String InsightStatus) -> FromXML InsightStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String InsightStatus
$cparseXML :: [Node] -> Either String InsightStatus
Core.FromXML,
InsightStatus -> XML
(InsightStatus -> XML) -> ToXML InsightStatus
forall a. (a -> XML) -> ToXML a
toXML :: InsightStatus -> XML
$ctoXML :: InsightStatus -> XML
Core.ToXML
)
pattern InsightStatus_CLOSED :: InsightStatus
pattern $bInsightStatus_CLOSED :: InsightStatus
$mInsightStatus_CLOSED :: forall r. InsightStatus -> (Void# -> r) -> (Void# -> r) -> r
InsightStatus_CLOSED = InsightStatus' "CLOSED"
pattern InsightStatus_ONGOING :: InsightStatus
pattern $bInsightStatus_ONGOING :: InsightStatus
$mInsightStatus_ONGOING :: forall r. InsightStatus -> (Void# -> r) -> (Void# -> r) -> r
InsightStatus_ONGOING = InsightStatus' "ONGOING"
{-# COMPLETE
InsightStatus_CLOSED,
InsightStatus_ONGOING,
InsightStatus'
#-}