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