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