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