{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype ResourceSignalStatus = ResourceSignalStatus'
{ ResourceSignalStatus -> Text
fromResourceSignalStatus ::
Data.Text
}
deriving stock
( Int -> ResourceSignalStatus -> ShowS
[ResourceSignalStatus] -> ShowS
ResourceSignalStatus -> String
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]
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
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
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
Prelude.Ord,
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
( Eq ResourceSignalStatus
Int -> ResourceSignalStatus -> Int
ResourceSignalStatus -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: ResourceSignalStatus -> ()
$crnf :: ResourceSignalStatus -> ()
Prelude.NFData,
Text -> Either String ResourceSignalStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ResourceSignalStatus
$cfromText :: Text -> Either String ResourceSignalStatus
Data.FromText,
ResourceSignalStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: ResourceSignalStatus -> Text
$ctoText :: ResourceSignalStatus -> Text
Data.ToText,
ResourceSignalStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ResourceSignalStatus -> ByteString
$ctoBS :: ResourceSignalStatus -> ByteString
Data.ToByteString,
ResourceSignalStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ResourceSignalStatus -> ByteStringBuilder
$cbuild :: ResourceSignalStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> ResourceSignalStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ResourceSignalStatus -> [Header]
$ctoHeader :: HeaderName -> ResourceSignalStatus -> [Header]
Data.ToHeader,
ResourceSignalStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ResourceSignalStatus -> QueryString
$ctoQuery :: ResourceSignalStatus -> QueryString
Data.ToQuery,
Value -> Parser [ResourceSignalStatus]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [ResourceSignalStatus]
FromJSONKeyFunction ResourceSignalStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ResourceSignalStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ResourceSignalStatus]
fromJSONKey :: FromJSONKeyFunction ResourceSignalStatus
$cfromJSONKey :: FromJSONKeyFunction ResourceSignalStatus
Data.FromJSONKey,
[ResourceSignalStatus] -> Encoding
[ResourceSignalStatus] -> Value
ResourceSignalStatus -> Encoding
ResourceSignalStatus -> Value
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
Data.ToJSON,
ToJSONKeyFunction [ResourceSignalStatus]
ToJSONKeyFunction ResourceSignalStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ResourceSignalStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ResourceSignalStatus]
toJSONKey :: ToJSONKeyFunction ResourceSignalStatus
$ctoJSONKey :: ToJSONKeyFunction ResourceSignalStatus
Data.ToJSONKey,
[Node] -> Either String ResourceSignalStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ResourceSignalStatus
$cparseXML :: [Node] -> Either String ResourceSignalStatus
Data.FromXML,
ResourceSignalStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ResourceSignalStatus -> XML
$ctoXML :: ResourceSignalStatus -> XML
Data.ToXML
)
pattern ResourceSignalStatus_FAILURE :: ResourceSignalStatus
pattern $bResourceSignalStatus_FAILURE :: ResourceSignalStatus
$mResourceSignalStatus_FAILURE :: forall {r}.
ResourceSignalStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceSignalStatus_FAILURE = ResourceSignalStatus' "FAILURE"
pattern ResourceSignalStatus_SUCCESS :: ResourceSignalStatus
pattern $bResourceSignalStatus_SUCCESS :: ResourceSignalStatus
$mResourceSignalStatus_SUCCESS :: forall {r}.
ResourceSignalStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceSignalStatus_SUCCESS = ResourceSignalStatus' "SUCCESS"
{-# COMPLETE
ResourceSignalStatus_FAILURE,
ResourceSignalStatus_SUCCESS,
ResourceSignalStatus'
#-}