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