{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SESV2.Types.ListRecommendationsFilterKey
( ListRecommendationsFilterKey
( ..,
ListRecommendationsFilterKey_IMPACT,
ListRecommendationsFilterKey_RESOURCE_ARN,
ListRecommendationsFilterKey_STATUS,
ListRecommendationsFilterKey_TYPE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype ListRecommendationsFilterKey = ListRecommendationsFilterKey'
{ ListRecommendationsFilterKey -> Text
fromListRecommendationsFilterKey ::
Data.Text
}
deriving stock
( Int -> ListRecommendationsFilterKey -> ShowS
[ListRecommendationsFilterKey] -> ShowS
ListRecommendationsFilterKey -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRecommendationsFilterKey] -> ShowS
$cshowList :: [ListRecommendationsFilterKey] -> ShowS
show :: ListRecommendationsFilterKey -> String
$cshow :: ListRecommendationsFilterKey -> String
showsPrec :: Int -> ListRecommendationsFilterKey -> ShowS
$cshowsPrec :: Int -> ListRecommendationsFilterKey -> ShowS
Prelude.Show,
ReadPrec [ListRecommendationsFilterKey]
ReadPrec ListRecommendationsFilterKey
Int -> ReadS ListRecommendationsFilterKey
ReadS [ListRecommendationsFilterKey]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRecommendationsFilterKey]
$creadListPrec :: ReadPrec [ListRecommendationsFilterKey]
readPrec :: ReadPrec ListRecommendationsFilterKey
$creadPrec :: ReadPrec ListRecommendationsFilterKey
readList :: ReadS [ListRecommendationsFilterKey]
$creadList :: ReadS [ListRecommendationsFilterKey]
readsPrec :: Int -> ReadS ListRecommendationsFilterKey
$creadsPrec :: Int -> ReadS ListRecommendationsFilterKey
Prelude.Read,
ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
$c/= :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
== :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
$c== :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
Prelude.Eq,
Eq ListRecommendationsFilterKey
ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Ordering
ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> ListRecommendationsFilterKey
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 :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> ListRecommendationsFilterKey
$cmin :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> ListRecommendationsFilterKey
max :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> ListRecommendationsFilterKey
$cmax :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> ListRecommendationsFilterKey
>= :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
$c>= :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
> :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
$c> :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
<= :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
$c<= :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
< :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
$c< :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Bool
compare :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Ordering
$ccompare :: ListRecommendationsFilterKey
-> ListRecommendationsFilterKey -> Ordering
Prelude.Ord,
forall x.
Rep ListRecommendationsFilterKey x -> ListRecommendationsFilterKey
forall x.
ListRecommendationsFilterKey -> Rep ListRecommendationsFilterKey x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListRecommendationsFilterKey x -> ListRecommendationsFilterKey
$cfrom :: forall x.
ListRecommendationsFilterKey -> Rep ListRecommendationsFilterKey x
Prelude.Generic
)
deriving newtype
( Eq ListRecommendationsFilterKey
Int -> ListRecommendationsFilterKey -> Int
ListRecommendationsFilterKey -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ListRecommendationsFilterKey -> Int
$chash :: ListRecommendationsFilterKey -> Int
hashWithSalt :: Int -> ListRecommendationsFilterKey -> Int
$chashWithSalt :: Int -> ListRecommendationsFilterKey -> Int
Prelude.Hashable,
ListRecommendationsFilterKey -> ()
forall a. (a -> ()) -> NFData a
rnf :: ListRecommendationsFilterKey -> ()
$crnf :: ListRecommendationsFilterKey -> ()
Prelude.NFData,
Text -> Either String ListRecommendationsFilterKey
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ListRecommendationsFilterKey
$cfromText :: Text -> Either String ListRecommendationsFilterKey
Data.FromText,
ListRecommendationsFilterKey -> Text
forall a. (a -> Text) -> ToText a
toText :: ListRecommendationsFilterKey -> Text
$ctoText :: ListRecommendationsFilterKey -> Text
Data.ToText,
ListRecommendationsFilterKey -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ListRecommendationsFilterKey -> ByteString
$ctoBS :: ListRecommendationsFilterKey -> ByteString
Data.ToByteString,
ListRecommendationsFilterKey -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ListRecommendationsFilterKey -> ByteStringBuilder
$cbuild :: ListRecommendationsFilterKey -> ByteStringBuilder
Data.ToLog,
HeaderName -> ListRecommendationsFilterKey -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ListRecommendationsFilterKey -> [Header]
$ctoHeader :: HeaderName -> ListRecommendationsFilterKey -> [Header]
Data.ToHeader,
ListRecommendationsFilterKey -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ListRecommendationsFilterKey -> QueryString
$ctoQuery :: ListRecommendationsFilterKey -> QueryString
Data.ToQuery,
Value -> Parser [ListRecommendationsFilterKey]
Value -> Parser ListRecommendationsFilterKey
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ListRecommendationsFilterKey]
$cparseJSONList :: Value -> Parser [ListRecommendationsFilterKey]
parseJSON :: Value -> Parser ListRecommendationsFilterKey
$cparseJSON :: Value -> Parser ListRecommendationsFilterKey
Data.FromJSON,
FromJSONKeyFunction [ListRecommendationsFilterKey]
FromJSONKeyFunction ListRecommendationsFilterKey
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ListRecommendationsFilterKey]
$cfromJSONKeyList :: FromJSONKeyFunction [ListRecommendationsFilterKey]
fromJSONKey :: FromJSONKeyFunction ListRecommendationsFilterKey
$cfromJSONKey :: FromJSONKeyFunction ListRecommendationsFilterKey
Data.FromJSONKey,
[ListRecommendationsFilterKey] -> Encoding
[ListRecommendationsFilterKey] -> Value
ListRecommendationsFilterKey -> Encoding
ListRecommendationsFilterKey -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ListRecommendationsFilterKey] -> Encoding
$ctoEncodingList :: [ListRecommendationsFilterKey] -> Encoding
toJSONList :: [ListRecommendationsFilterKey] -> Value
$ctoJSONList :: [ListRecommendationsFilterKey] -> Value
toEncoding :: ListRecommendationsFilterKey -> Encoding
$ctoEncoding :: ListRecommendationsFilterKey -> Encoding
toJSON :: ListRecommendationsFilterKey -> Value
$ctoJSON :: ListRecommendationsFilterKey -> Value
Data.ToJSON,
ToJSONKeyFunction [ListRecommendationsFilterKey]
ToJSONKeyFunction ListRecommendationsFilterKey
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ListRecommendationsFilterKey]
$ctoJSONKeyList :: ToJSONKeyFunction [ListRecommendationsFilterKey]
toJSONKey :: ToJSONKeyFunction ListRecommendationsFilterKey
$ctoJSONKey :: ToJSONKeyFunction ListRecommendationsFilterKey
Data.ToJSONKey,
[Node] -> Either String ListRecommendationsFilterKey
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ListRecommendationsFilterKey
$cparseXML :: [Node] -> Either String ListRecommendationsFilterKey
Data.FromXML,
ListRecommendationsFilterKey -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ListRecommendationsFilterKey -> XML
$ctoXML :: ListRecommendationsFilterKey -> XML
Data.ToXML
)
pattern ListRecommendationsFilterKey_IMPACT :: ListRecommendationsFilterKey
pattern $bListRecommendationsFilterKey_IMPACT :: ListRecommendationsFilterKey
$mListRecommendationsFilterKey_IMPACT :: forall {r}.
ListRecommendationsFilterKey -> ((# #) -> r) -> ((# #) -> r) -> r
ListRecommendationsFilterKey_IMPACT = ListRecommendationsFilterKey' "IMPACT"
pattern ListRecommendationsFilterKey_RESOURCE_ARN :: ListRecommendationsFilterKey
pattern $bListRecommendationsFilterKey_RESOURCE_ARN :: ListRecommendationsFilterKey
$mListRecommendationsFilterKey_RESOURCE_ARN :: forall {r}.
ListRecommendationsFilterKey -> ((# #) -> r) -> ((# #) -> r) -> r
ListRecommendationsFilterKey_RESOURCE_ARN = ListRecommendationsFilterKey' "RESOURCE_ARN"
pattern ListRecommendationsFilterKey_STATUS :: ListRecommendationsFilterKey
pattern $bListRecommendationsFilterKey_STATUS :: ListRecommendationsFilterKey
$mListRecommendationsFilterKey_STATUS :: forall {r}.
ListRecommendationsFilterKey -> ((# #) -> r) -> ((# #) -> r) -> r
ListRecommendationsFilterKey_STATUS = ListRecommendationsFilterKey' "STATUS"
pattern ListRecommendationsFilterKey_TYPE :: ListRecommendationsFilterKey
pattern $bListRecommendationsFilterKey_TYPE :: ListRecommendationsFilterKey
$mListRecommendationsFilterKey_TYPE :: forall {r}.
ListRecommendationsFilterKey -> ((# #) -> r) -> ((# #) -> r) -> r
ListRecommendationsFilterKey_TYPE = ListRecommendationsFilterKey' "TYPE"
{-# COMPLETE
ListRecommendationsFilterKey_IMPACT,
ListRecommendationsFilterKey_RESOURCE_ARN,
ListRecommendationsFilterKey_STATUS,
ListRecommendationsFilterKey_TYPE,
ListRecommendationsFilterKey'
#-}