{-# 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.MaintenanceWindowTaskType
( MaintenanceWindowTaskType
( ..,
MaintenanceWindowTaskType_AUTOMATION,
MaintenanceWindowTaskType_LAMBDA,
MaintenanceWindowTaskType_RUN_COMMAND,
MaintenanceWindowTaskType_STEP_FUNCTIONS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype MaintenanceWindowTaskType = MaintenanceWindowTaskType'
{ MaintenanceWindowTaskType -> Text
fromMaintenanceWindowTaskType ::
Core.Text
}
deriving stock
( Int -> MaintenanceWindowTaskType -> ShowS
[MaintenanceWindowTaskType] -> ShowS
MaintenanceWindowTaskType -> String
(Int -> MaintenanceWindowTaskType -> ShowS)
-> (MaintenanceWindowTaskType -> String)
-> ([MaintenanceWindowTaskType] -> ShowS)
-> Show MaintenanceWindowTaskType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MaintenanceWindowTaskType] -> ShowS
$cshowList :: [MaintenanceWindowTaskType] -> ShowS
show :: MaintenanceWindowTaskType -> String
$cshow :: MaintenanceWindowTaskType -> String
showsPrec :: Int -> MaintenanceWindowTaskType -> ShowS
$cshowsPrec :: Int -> MaintenanceWindowTaskType -> ShowS
Prelude.Show,
ReadPrec [MaintenanceWindowTaskType]
ReadPrec MaintenanceWindowTaskType
Int -> ReadS MaintenanceWindowTaskType
ReadS [MaintenanceWindowTaskType]
(Int -> ReadS MaintenanceWindowTaskType)
-> ReadS [MaintenanceWindowTaskType]
-> ReadPrec MaintenanceWindowTaskType
-> ReadPrec [MaintenanceWindowTaskType]
-> Read MaintenanceWindowTaskType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MaintenanceWindowTaskType]
$creadListPrec :: ReadPrec [MaintenanceWindowTaskType]
readPrec :: ReadPrec MaintenanceWindowTaskType
$creadPrec :: ReadPrec MaintenanceWindowTaskType
readList :: ReadS [MaintenanceWindowTaskType]
$creadList :: ReadS [MaintenanceWindowTaskType]
readsPrec :: Int -> ReadS MaintenanceWindowTaskType
$creadsPrec :: Int -> ReadS MaintenanceWindowTaskType
Prelude.Read,
MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
(MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool)
-> (MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool)
-> Eq MaintenanceWindowTaskType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
$c/= :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
== :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
$c== :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
Prelude.Eq,
Eq MaintenanceWindowTaskType
Eq MaintenanceWindowTaskType
-> (MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> Ordering)
-> (MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool)
-> (MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool)
-> (MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool)
-> (MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool)
-> (MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> MaintenanceWindowTaskType)
-> (MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> MaintenanceWindowTaskType)
-> Ord MaintenanceWindowTaskType
MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Ordering
MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> MaintenanceWindowTaskType
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 :: MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> MaintenanceWindowTaskType
$cmin :: MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> MaintenanceWindowTaskType
max :: MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> MaintenanceWindowTaskType
$cmax :: MaintenanceWindowTaskType
-> MaintenanceWindowTaskType -> MaintenanceWindowTaskType
>= :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
$c>= :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
> :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
$c> :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
<= :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
$c<= :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
< :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
$c< :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Bool
compare :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Ordering
$ccompare :: MaintenanceWindowTaskType -> MaintenanceWindowTaskType -> Ordering
$cp1Ord :: Eq MaintenanceWindowTaskType
Prelude.Ord,
(forall x.
MaintenanceWindowTaskType -> Rep MaintenanceWindowTaskType x)
-> (forall x.
Rep MaintenanceWindowTaskType x -> MaintenanceWindowTaskType)
-> Generic MaintenanceWindowTaskType
forall x.
Rep MaintenanceWindowTaskType x -> MaintenanceWindowTaskType
forall x.
MaintenanceWindowTaskType -> Rep MaintenanceWindowTaskType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MaintenanceWindowTaskType x -> MaintenanceWindowTaskType
$cfrom :: forall x.
MaintenanceWindowTaskType -> Rep MaintenanceWindowTaskType x
Prelude.Generic
)
deriving newtype
( Int -> MaintenanceWindowTaskType -> Int
MaintenanceWindowTaskType -> Int
(Int -> MaintenanceWindowTaskType -> Int)
-> (MaintenanceWindowTaskType -> Int)
-> Hashable MaintenanceWindowTaskType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: MaintenanceWindowTaskType -> Int
$chash :: MaintenanceWindowTaskType -> Int
hashWithSalt :: Int -> MaintenanceWindowTaskType -> Int
$chashWithSalt :: Int -> MaintenanceWindowTaskType -> Int
Prelude.Hashable,
MaintenanceWindowTaskType -> ()
(MaintenanceWindowTaskType -> ())
-> NFData MaintenanceWindowTaskType
forall a. (a -> ()) -> NFData a
rnf :: MaintenanceWindowTaskType -> ()
$crnf :: MaintenanceWindowTaskType -> ()
Prelude.NFData,
Text -> Either String MaintenanceWindowTaskType
(Text -> Either String MaintenanceWindowTaskType)
-> FromText MaintenanceWindowTaskType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String MaintenanceWindowTaskType
$cfromText :: Text -> Either String MaintenanceWindowTaskType
Core.FromText,
MaintenanceWindowTaskType -> Text
(MaintenanceWindowTaskType -> Text)
-> ToText MaintenanceWindowTaskType
forall a. (a -> Text) -> ToText a
toText :: MaintenanceWindowTaskType -> Text
$ctoText :: MaintenanceWindowTaskType -> Text
Core.ToText,
MaintenanceWindowTaskType -> ByteString
(MaintenanceWindowTaskType -> ByteString)
-> ToByteString MaintenanceWindowTaskType
forall a. (a -> ByteString) -> ToByteString a
toBS :: MaintenanceWindowTaskType -> ByteString
$ctoBS :: MaintenanceWindowTaskType -> ByteString
Core.ToByteString,
MaintenanceWindowTaskType -> ByteStringBuilder
(MaintenanceWindowTaskType -> ByteStringBuilder)
-> ToLog MaintenanceWindowTaskType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: MaintenanceWindowTaskType -> ByteStringBuilder
$cbuild :: MaintenanceWindowTaskType -> ByteStringBuilder
Core.ToLog,
HeaderName -> MaintenanceWindowTaskType -> [Header]
(HeaderName -> MaintenanceWindowTaskType -> [Header])
-> ToHeader MaintenanceWindowTaskType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> MaintenanceWindowTaskType -> [Header]
$ctoHeader :: HeaderName -> MaintenanceWindowTaskType -> [Header]
Core.ToHeader,
MaintenanceWindowTaskType -> QueryString
(MaintenanceWindowTaskType -> QueryString)
-> ToQuery MaintenanceWindowTaskType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: MaintenanceWindowTaskType -> QueryString
$ctoQuery :: MaintenanceWindowTaskType -> QueryString
Core.ToQuery,
Value -> Parser [MaintenanceWindowTaskType]
Value -> Parser MaintenanceWindowTaskType
(Value -> Parser MaintenanceWindowTaskType)
-> (Value -> Parser [MaintenanceWindowTaskType])
-> FromJSON MaintenanceWindowTaskType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [MaintenanceWindowTaskType]
$cparseJSONList :: Value -> Parser [MaintenanceWindowTaskType]
parseJSON :: Value -> Parser MaintenanceWindowTaskType
$cparseJSON :: Value -> Parser MaintenanceWindowTaskType
Core.FromJSON,
FromJSONKeyFunction [MaintenanceWindowTaskType]
FromJSONKeyFunction MaintenanceWindowTaskType
FromJSONKeyFunction MaintenanceWindowTaskType
-> FromJSONKeyFunction [MaintenanceWindowTaskType]
-> FromJSONKey MaintenanceWindowTaskType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [MaintenanceWindowTaskType]
$cfromJSONKeyList :: FromJSONKeyFunction [MaintenanceWindowTaskType]
fromJSONKey :: FromJSONKeyFunction MaintenanceWindowTaskType
$cfromJSONKey :: FromJSONKeyFunction MaintenanceWindowTaskType
Core.FromJSONKey,
[MaintenanceWindowTaskType] -> Encoding
[MaintenanceWindowTaskType] -> Value
MaintenanceWindowTaskType -> Encoding
MaintenanceWindowTaskType -> Value
(MaintenanceWindowTaskType -> Value)
-> (MaintenanceWindowTaskType -> Encoding)
-> ([MaintenanceWindowTaskType] -> Value)
-> ([MaintenanceWindowTaskType] -> Encoding)
-> ToJSON MaintenanceWindowTaskType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [MaintenanceWindowTaskType] -> Encoding
$ctoEncodingList :: [MaintenanceWindowTaskType] -> Encoding
toJSONList :: [MaintenanceWindowTaskType] -> Value
$ctoJSONList :: [MaintenanceWindowTaskType] -> Value
toEncoding :: MaintenanceWindowTaskType -> Encoding
$ctoEncoding :: MaintenanceWindowTaskType -> Encoding
toJSON :: MaintenanceWindowTaskType -> Value
$ctoJSON :: MaintenanceWindowTaskType -> Value
Core.ToJSON,
ToJSONKeyFunction [MaintenanceWindowTaskType]
ToJSONKeyFunction MaintenanceWindowTaskType
ToJSONKeyFunction MaintenanceWindowTaskType
-> ToJSONKeyFunction [MaintenanceWindowTaskType]
-> ToJSONKey MaintenanceWindowTaskType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [MaintenanceWindowTaskType]
$ctoJSONKeyList :: ToJSONKeyFunction [MaintenanceWindowTaskType]
toJSONKey :: ToJSONKeyFunction MaintenanceWindowTaskType
$ctoJSONKey :: ToJSONKeyFunction MaintenanceWindowTaskType
Core.ToJSONKey,
[Node] -> Either String MaintenanceWindowTaskType
([Node] -> Either String MaintenanceWindowTaskType)
-> FromXML MaintenanceWindowTaskType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String MaintenanceWindowTaskType
$cparseXML :: [Node] -> Either String MaintenanceWindowTaskType
Core.FromXML,
MaintenanceWindowTaskType -> XML
(MaintenanceWindowTaskType -> XML)
-> ToXML MaintenanceWindowTaskType
forall a. (a -> XML) -> ToXML a
toXML :: MaintenanceWindowTaskType -> XML
$ctoXML :: MaintenanceWindowTaskType -> XML
Core.ToXML
)
pattern MaintenanceWindowTaskType_AUTOMATION :: MaintenanceWindowTaskType
pattern $bMaintenanceWindowTaskType_AUTOMATION :: MaintenanceWindowTaskType
$mMaintenanceWindowTaskType_AUTOMATION :: forall r.
MaintenanceWindowTaskType -> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowTaskType_AUTOMATION = MaintenanceWindowTaskType' "AUTOMATION"
pattern MaintenanceWindowTaskType_LAMBDA :: MaintenanceWindowTaskType
pattern $bMaintenanceWindowTaskType_LAMBDA :: MaintenanceWindowTaskType
$mMaintenanceWindowTaskType_LAMBDA :: forall r.
MaintenanceWindowTaskType -> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowTaskType_LAMBDA = MaintenanceWindowTaskType' "LAMBDA"
pattern MaintenanceWindowTaskType_RUN_COMMAND :: MaintenanceWindowTaskType
pattern $bMaintenanceWindowTaskType_RUN_COMMAND :: MaintenanceWindowTaskType
$mMaintenanceWindowTaskType_RUN_COMMAND :: forall r.
MaintenanceWindowTaskType -> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowTaskType_RUN_COMMAND = MaintenanceWindowTaskType' "RUN_COMMAND"
pattern MaintenanceWindowTaskType_STEP_FUNCTIONS :: MaintenanceWindowTaskType
pattern $bMaintenanceWindowTaskType_STEP_FUNCTIONS :: MaintenanceWindowTaskType
$mMaintenanceWindowTaskType_STEP_FUNCTIONS :: forall r.
MaintenanceWindowTaskType -> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowTaskType_STEP_FUNCTIONS = MaintenanceWindowTaskType' "STEP_FUNCTIONS"
{-# COMPLETE
MaintenanceWindowTaskType_AUTOMATION,
MaintenanceWindowTaskType_LAMBDA,
MaintenanceWindowTaskType_RUN_COMMAND,
MaintenanceWindowTaskType_STEP_FUNCTIONS,
MaintenanceWindowTaskType'
#-}