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