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