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