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