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