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