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