{-# 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.MaintenanceWindowExecutionStatus
( MaintenanceWindowExecutionStatus
( ..,
MaintenanceWindowExecutionStatus_CANCELLED,
MaintenanceWindowExecutionStatus_CANCELLING,
MaintenanceWindowExecutionStatus_FAILED,
MaintenanceWindowExecutionStatus_IN_PROGRESS,
MaintenanceWindowExecutionStatus_PENDING,
MaintenanceWindowExecutionStatus_SKIPPED_OVERLAPPING,
MaintenanceWindowExecutionStatus_SUCCESS,
MaintenanceWindowExecutionStatus_TIMED_OUT
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype MaintenanceWindowExecutionStatus = MaintenanceWindowExecutionStatus'
{ MaintenanceWindowExecutionStatus -> Text
fromMaintenanceWindowExecutionStatus ::
Core.Text
}
deriving stock
( Int -> MaintenanceWindowExecutionStatus -> ShowS
[MaintenanceWindowExecutionStatus] -> ShowS
MaintenanceWindowExecutionStatus -> String
(Int -> MaintenanceWindowExecutionStatus -> ShowS)
-> (MaintenanceWindowExecutionStatus -> String)
-> ([MaintenanceWindowExecutionStatus] -> ShowS)
-> Show MaintenanceWindowExecutionStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MaintenanceWindowExecutionStatus] -> ShowS
$cshowList :: [MaintenanceWindowExecutionStatus] -> ShowS
show :: MaintenanceWindowExecutionStatus -> String
$cshow :: MaintenanceWindowExecutionStatus -> String
showsPrec :: Int -> MaintenanceWindowExecutionStatus -> ShowS
$cshowsPrec :: Int -> MaintenanceWindowExecutionStatus -> ShowS
Prelude.Show,
ReadPrec [MaintenanceWindowExecutionStatus]
ReadPrec MaintenanceWindowExecutionStatus
Int -> ReadS MaintenanceWindowExecutionStatus
ReadS [MaintenanceWindowExecutionStatus]
(Int -> ReadS MaintenanceWindowExecutionStatus)
-> ReadS [MaintenanceWindowExecutionStatus]
-> ReadPrec MaintenanceWindowExecutionStatus
-> ReadPrec [MaintenanceWindowExecutionStatus]
-> Read MaintenanceWindowExecutionStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MaintenanceWindowExecutionStatus]
$creadListPrec :: ReadPrec [MaintenanceWindowExecutionStatus]
readPrec :: ReadPrec MaintenanceWindowExecutionStatus
$creadPrec :: ReadPrec MaintenanceWindowExecutionStatus
readList :: ReadS [MaintenanceWindowExecutionStatus]
$creadList :: ReadS [MaintenanceWindowExecutionStatus]
readsPrec :: Int -> ReadS MaintenanceWindowExecutionStatus
$creadsPrec :: Int -> ReadS MaintenanceWindowExecutionStatus
Prelude.Read,
MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
(MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool)
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool)
-> Eq MaintenanceWindowExecutionStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
$c/= :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
== :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
$c== :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
Prelude.Eq,
Eq MaintenanceWindowExecutionStatus
Eq MaintenanceWindowExecutionStatus
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Ordering)
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool)
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool)
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool)
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool)
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus)
-> (MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus)
-> Ord MaintenanceWindowExecutionStatus
MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Ordering
MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
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 :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
$cmin :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
max :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
$cmax :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus
>= :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
$c>= :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
> :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
$c> :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
<= :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
$c<= :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
< :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
$c< :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Bool
compare :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Ordering
$ccompare :: MaintenanceWindowExecutionStatus
-> MaintenanceWindowExecutionStatus -> Ordering
$cp1Ord :: Eq MaintenanceWindowExecutionStatus
Prelude.Ord,
(forall x.
MaintenanceWindowExecutionStatus
-> Rep MaintenanceWindowExecutionStatus x)
-> (forall x.
Rep MaintenanceWindowExecutionStatus x
-> MaintenanceWindowExecutionStatus)
-> Generic MaintenanceWindowExecutionStatus
forall x.
Rep MaintenanceWindowExecutionStatus x
-> MaintenanceWindowExecutionStatus
forall x.
MaintenanceWindowExecutionStatus
-> Rep MaintenanceWindowExecutionStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MaintenanceWindowExecutionStatus x
-> MaintenanceWindowExecutionStatus
$cfrom :: forall x.
MaintenanceWindowExecutionStatus
-> Rep MaintenanceWindowExecutionStatus x
Prelude.Generic
)
deriving newtype
( Int -> MaintenanceWindowExecutionStatus -> Int
MaintenanceWindowExecutionStatus -> Int
(Int -> MaintenanceWindowExecutionStatus -> Int)
-> (MaintenanceWindowExecutionStatus -> Int)
-> Hashable MaintenanceWindowExecutionStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: MaintenanceWindowExecutionStatus -> Int
$chash :: MaintenanceWindowExecutionStatus -> Int
hashWithSalt :: Int -> MaintenanceWindowExecutionStatus -> Int
$chashWithSalt :: Int -> MaintenanceWindowExecutionStatus -> Int
Prelude.Hashable,
MaintenanceWindowExecutionStatus -> ()
(MaintenanceWindowExecutionStatus -> ())
-> NFData MaintenanceWindowExecutionStatus
forall a. (a -> ()) -> NFData a
rnf :: MaintenanceWindowExecutionStatus -> ()
$crnf :: MaintenanceWindowExecutionStatus -> ()
Prelude.NFData,
Text -> Either String MaintenanceWindowExecutionStatus
(Text -> Either String MaintenanceWindowExecutionStatus)
-> FromText MaintenanceWindowExecutionStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String MaintenanceWindowExecutionStatus
$cfromText :: Text -> Either String MaintenanceWindowExecutionStatus
Core.FromText,
MaintenanceWindowExecutionStatus -> Text
(MaintenanceWindowExecutionStatus -> Text)
-> ToText MaintenanceWindowExecutionStatus
forall a. (a -> Text) -> ToText a
toText :: MaintenanceWindowExecutionStatus -> Text
$ctoText :: MaintenanceWindowExecutionStatus -> Text
Core.ToText,
MaintenanceWindowExecutionStatus -> ByteString
(MaintenanceWindowExecutionStatus -> ByteString)
-> ToByteString MaintenanceWindowExecutionStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: MaintenanceWindowExecutionStatus -> ByteString
$ctoBS :: MaintenanceWindowExecutionStatus -> ByteString
Core.ToByteString,
MaintenanceWindowExecutionStatus -> ByteStringBuilder
(MaintenanceWindowExecutionStatus -> ByteStringBuilder)
-> ToLog MaintenanceWindowExecutionStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: MaintenanceWindowExecutionStatus -> ByteStringBuilder
$cbuild :: MaintenanceWindowExecutionStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> MaintenanceWindowExecutionStatus -> [Header]
(HeaderName -> MaintenanceWindowExecutionStatus -> [Header])
-> ToHeader MaintenanceWindowExecutionStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> MaintenanceWindowExecutionStatus -> [Header]
$ctoHeader :: HeaderName -> MaintenanceWindowExecutionStatus -> [Header]
Core.ToHeader,
MaintenanceWindowExecutionStatus -> QueryString
(MaintenanceWindowExecutionStatus -> QueryString)
-> ToQuery MaintenanceWindowExecutionStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: MaintenanceWindowExecutionStatus -> QueryString
$ctoQuery :: MaintenanceWindowExecutionStatus -> QueryString
Core.ToQuery,
Value -> Parser [MaintenanceWindowExecutionStatus]
Value -> Parser MaintenanceWindowExecutionStatus
(Value -> Parser MaintenanceWindowExecutionStatus)
-> (Value -> Parser [MaintenanceWindowExecutionStatus])
-> FromJSON MaintenanceWindowExecutionStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [MaintenanceWindowExecutionStatus]
$cparseJSONList :: Value -> Parser [MaintenanceWindowExecutionStatus]
parseJSON :: Value -> Parser MaintenanceWindowExecutionStatus
$cparseJSON :: Value -> Parser MaintenanceWindowExecutionStatus
Core.FromJSON,
FromJSONKeyFunction [MaintenanceWindowExecutionStatus]
FromJSONKeyFunction MaintenanceWindowExecutionStatus
FromJSONKeyFunction MaintenanceWindowExecutionStatus
-> FromJSONKeyFunction [MaintenanceWindowExecutionStatus]
-> FromJSONKey MaintenanceWindowExecutionStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [MaintenanceWindowExecutionStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [MaintenanceWindowExecutionStatus]
fromJSONKey :: FromJSONKeyFunction MaintenanceWindowExecutionStatus
$cfromJSONKey :: FromJSONKeyFunction MaintenanceWindowExecutionStatus
Core.FromJSONKey,
[MaintenanceWindowExecutionStatus] -> Encoding
[MaintenanceWindowExecutionStatus] -> Value
MaintenanceWindowExecutionStatus -> Encoding
MaintenanceWindowExecutionStatus -> Value
(MaintenanceWindowExecutionStatus -> Value)
-> (MaintenanceWindowExecutionStatus -> Encoding)
-> ([MaintenanceWindowExecutionStatus] -> Value)
-> ([MaintenanceWindowExecutionStatus] -> Encoding)
-> ToJSON MaintenanceWindowExecutionStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [MaintenanceWindowExecutionStatus] -> Encoding
$ctoEncodingList :: [MaintenanceWindowExecutionStatus] -> Encoding
toJSONList :: [MaintenanceWindowExecutionStatus] -> Value
$ctoJSONList :: [MaintenanceWindowExecutionStatus] -> Value
toEncoding :: MaintenanceWindowExecutionStatus -> Encoding
$ctoEncoding :: MaintenanceWindowExecutionStatus -> Encoding
toJSON :: MaintenanceWindowExecutionStatus -> Value
$ctoJSON :: MaintenanceWindowExecutionStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [MaintenanceWindowExecutionStatus]
ToJSONKeyFunction MaintenanceWindowExecutionStatus
ToJSONKeyFunction MaintenanceWindowExecutionStatus
-> ToJSONKeyFunction [MaintenanceWindowExecutionStatus]
-> ToJSONKey MaintenanceWindowExecutionStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [MaintenanceWindowExecutionStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [MaintenanceWindowExecutionStatus]
toJSONKey :: ToJSONKeyFunction MaintenanceWindowExecutionStatus
$ctoJSONKey :: ToJSONKeyFunction MaintenanceWindowExecutionStatus
Core.ToJSONKey,
[Node] -> Either String MaintenanceWindowExecutionStatus
([Node] -> Either String MaintenanceWindowExecutionStatus)
-> FromXML MaintenanceWindowExecutionStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String MaintenanceWindowExecutionStatus
$cparseXML :: [Node] -> Either String MaintenanceWindowExecutionStatus
Core.FromXML,
MaintenanceWindowExecutionStatus -> XML
(MaintenanceWindowExecutionStatus -> XML)
-> ToXML MaintenanceWindowExecutionStatus
forall a. (a -> XML) -> ToXML a
toXML :: MaintenanceWindowExecutionStatus -> XML
$ctoXML :: MaintenanceWindowExecutionStatus -> XML
Core.ToXML
)
pattern MaintenanceWindowExecutionStatus_CANCELLED :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_CANCELLED :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_CANCELLED :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_CANCELLED = MaintenanceWindowExecutionStatus' "CANCELLED"
pattern MaintenanceWindowExecutionStatus_CANCELLING :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_CANCELLING :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_CANCELLING :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_CANCELLING = MaintenanceWindowExecutionStatus' "CANCELLING"
pattern MaintenanceWindowExecutionStatus_FAILED :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_FAILED :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_FAILED :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_FAILED = MaintenanceWindowExecutionStatus' "FAILED"
pattern MaintenanceWindowExecutionStatus_IN_PROGRESS :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_IN_PROGRESS :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_IN_PROGRESS :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_IN_PROGRESS = MaintenanceWindowExecutionStatus' "IN_PROGRESS"
pattern MaintenanceWindowExecutionStatus_PENDING :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_PENDING :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_PENDING :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_PENDING = MaintenanceWindowExecutionStatus' "PENDING"
pattern MaintenanceWindowExecutionStatus_SKIPPED_OVERLAPPING :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_SKIPPED_OVERLAPPING :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_SKIPPED_OVERLAPPING :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_SKIPPED_OVERLAPPING = MaintenanceWindowExecutionStatus' "SKIPPED_OVERLAPPING"
pattern MaintenanceWindowExecutionStatus_SUCCESS :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_SUCCESS :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_SUCCESS :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_SUCCESS = MaintenanceWindowExecutionStatus' "SUCCESS"
pattern MaintenanceWindowExecutionStatus_TIMED_OUT :: MaintenanceWindowExecutionStatus
pattern $bMaintenanceWindowExecutionStatus_TIMED_OUT :: MaintenanceWindowExecutionStatus
$mMaintenanceWindowExecutionStatus_TIMED_OUT :: forall r.
MaintenanceWindowExecutionStatus
-> (Void# -> r) -> (Void# -> r) -> r
MaintenanceWindowExecutionStatus_TIMED_OUT = MaintenanceWindowExecutionStatus' "TIMED_OUT"
{-# COMPLETE
MaintenanceWindowExecutionStatus_CANCELLED,
MaintenanceWindowExecutionStatus_CANCELLING,
MaintenanceWindowExecutionStatus_FAILED,
MaintenanceWindowExecutionStatus_IN_PROGRESS,
MaintenanceWindowExecutionStatus_PENDING,
MaintenanceWindowExecutionStatus_SKIPPED_OVERLAPPING,
MaintenanceWindowExecutionStatus_SUCCESS,
MaintenanceWindowExecutionStatus_TIMED_OUT,
MaintenanceWindowExecutionStatus'
#-}