{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MacieV2.Types.SearchResourcesSimpleCriterionKey
( SearchResourcesSimpleCriterionKey
( ..,
SearchResourcesSimpleCriterionKey_ACCOUNT_ID,
SearchResourcesSimpleCriterionKey_S3_BUCKET_EFFECTIVE_PERMISSION,
SearchResourcesSimpleCriterionKey_S3_BUCKET_NAME,
SearchResourcesSimpleCriterionKey_S3_BUCKET_SHARED_ACCESS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype SearchResourcesSimpleCriterionKey = SearchResourcesSimpleCriterionKey'
{ SearchResourcesSimpleCriterionKey -> Text
fromSearchResourcesSimpleCriterionKey ::
Core.Text
}
deriving stock
( Int -> SearchResourcesSimpleCriterionKey -> ShowS
[SearchResourcesSimpleCriterionKey] -> ShowS
SearchResourcesSimpleCriterionKey -> String
(Int -> SearchResourcesSimpleCriterionKey -> ShowS)
-> (SearchResourcesSimpleCriterionKey -> String)
-> ([SearchResourcesSimpleCriterionKey] -> ShowS)
-> Show SearchResourcesSimpleCriterionKey
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SearchResourcesSimpleCriterionKey] -> ShowS
$cshowList :: [SearchResourcesSimpleCriterionKey] -> ShowS
show :: SearchResourcesSimpleCriterionKey -> String
$cshow :: SearchResourcesSimpleCriterionKey -> String
showsPrec :: Int -> SearchResourcesSimpleCriterionKey -> ShowS
$cshowsPrec :: Int -> SearchResourcesSimpleCriterionKey -> ShowS
Prelude.Show,
ReadPrec [SearchResourcesSimpleCriterionKey]
ReadPrec SearchResourcesSimpleCriterionKey
Int -> ReadS SearchResourcesSimpleCriterionKey
ReadS [SearchResourcesSimpleCriterionKey]
(Int -> ReadS SearchResourcesSimpleCriterionKey)
-> ReadS [SearchResourcesSimpleCriterionKey]
-> ReadPrec SearchResourcesSimpleCriterionKey
-> ReadPrec [SearchResourcesSimpleCriterionKey]
-> Read SearchResourcesSimpleCriterionKey
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SearchResourcesSimpleCriterionKey]
$creadListPrec :: ReadPrec [SearchResourcesSimpleCriterionKey]
readPrec :: ReadPrec SearchResourcesSimpleCriterionKey
$creadPrec :: ReadPrec SearchResourcesSimpleCriterionKey
readList :: ReadS [SearchResourcesSimpleCriterionKey]
$creadList :: ReadS [SearchResourcesSimpleCriterionKey]
readsPrec :: Int -> ReadS SearchResourcesSimpleCriterionKey
$creadsPrec :: Int -> ReadS SearchResourcesSimpleCriterionKey
Prelude.Read,
SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
(SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool)
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool)
-> Eq SearchResourcesSimpleCriterionKey
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
$c/= :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
== :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
$c== :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
Prelude.Eq,
Eq SearchResourcesSimpleCriterionKey
Eq SearchResourcesSimpleCriterionKey
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Ordering)
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool)
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool)
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool)
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool)
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey)
-> (SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey)
-> Ord SearchResourcesSimpleCriterionKey
SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Ordering
SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
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 :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
$cmin :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
max :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
$cmax :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey
>= :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
$c>= :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
> :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
$c> :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
<= :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
$c<= :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
< :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
$c< :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Bool
compare :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Ordering
$ccompare :: SearchResourcesSimpleCriterionKey
-> SearchResourcesSimpleCriterionKey -> Ordering
$cp1Ord :: Eq SearchResourcesSimpleCriterionKey
Prelude.Ord,
(forall x.
SearchResourcesSimpleCriterionKey
-> Rep SearchResourcesSimpleCriterionKey x)
-> (forall x.
Rep SearchResourcesSimpleCriterionKey x
-> SearchResourcesSimpleCriterionKey)
-> Generic SearchResourcesSimpleCriterionKey
forall x.
Rep SearchResourcesSimpleCriterionKey x
-> SearchResourcesSimpleCriterionKey
forall x.
SearchResourcesSimpleCriterionKey
-> Rep SearchResourcesSimpleCriterionKey x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SearchResourcesSimpleCriterionKey x
-> SearchResourcesSimpleCriterionKey
$cfrom :: forall x.
SearchResourcesSimpleCriterionKey
-> Rep SearchResourcesSimpleCriterionKey x
Prelude.Generic
)
deriving newtype
( Int -> SearchResourcesSimpleCriterionKey -> Int
SearchResourcesSimpleCriterionKey -> Int
(Int -> SearchResourcesSimpleCriterionKey -> Int)
-> (SearchResourcesSimpleCriterionKey -> Int)
-> Hashable SearchResourcesSimpleCriterionKey
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: SearchResourcesSimpleCriterionKey -> Int
$chash :: SearchResourcesSimpleCriterionKey -> Int
hashWithSalt :: Int -> SearchResourcesSimpleCriterionKey -> Int
$chashWithSalt :: Int -> SearchResourcesSimpleCriterionKey -> Int
Prelude.Hashable,
SearchResourcesSimpleCriterionKey -> ()
(SearchResourcesSimpleCriterionKey -> ())
-> NFData SearchResourcesSimpleCriterionKey
forall a. (a -> ()) -> NFData a
rnf :: SearchResourcesSimpleCriterionKey -> ()
$crnf :: SearchResourcesSimpleCriterionKey -> ()
Prelude.NFData,
Text -> Either String SearchResourcesSimpleCriterionKey
(Text -> Either String SearchResourcesSimpleCriterionKey)
-> FromText SearchResourcesSimpleCriterionKey
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SearchResourcesSimpleCriterionKey
$cfromText :: Text -> Either String SearchResourcesSimpleCriterionKey
Core.FromText,
SearchResourcesSimpleCriterionKey -> Text
(SearchResourcesSimpleCriterionKey -> Text)
-> ToText SearchResourcesSimpleCriterionKey
forall a. (a -> Text) -> ToText a
toText :: SearchResourcesSimpleCriterionKey -> Text
$ctoText :: SearchResourcesSimpleCriterionKey -> Text
Core.ToText,
SearchResourcesSimpleCriterionKey -> ByteString
(SearchResourcesSimpleCriterionKey -> ByteString)
-> ToByteString SearchResourcesSimpleCriterionKey
forall a. (a -> ByteString) -> ToByteString a
toBS :: SearchResourcesSimpleCriterionKey -> ByteString
$ctoBS :: SearchResourcesSimpleCriterionKey -> ByteString
Core.ToByteString,
SearchResourcesSimpleCriterionKey -> ByteStringBuilder
(SearchResourcesSimpleCriterionKey -> ByteStringBuilder)
-> ToLog SearchResourcesSimpleCriterionKey
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SearchResourcesSimpleCriterionKey -> ByteStringBuilder
$cbuild :: SearchResourcesSimpleCriterionKey -> ByteStringBuilder
Core.ToLog,
HeaderName -> SearchResourcesSimpleCriterionKey -> [Header]
(HeaderName -> SearchResourcesSimpleCriterionKey -> [Header])
-> ToHeader SearchResourcesSimpleCriterionKey
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SearchResourcesSimpleCriterionKey -> [Header]
$ctoHeader :: HeaderName -> SearchResourcesSimpleCriterionKey -> [Header]
Core.ToHeader,
SearchResourcesSimpleCriterionKey -> QueryString
(SearchResourcesSimpleCriterionKey -> QueryString)
-> ToQuery SearchResourcesSimpleCriterionKey
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SearchResourcesSimpleCriterionKey -> QueryString
$ctoQuery :: SearchResourcesSimpleCriterionKey -> QueryString
Core.ToQuery,
Value -> Parser [SearchResourcesSimpleCriterionKey]
Value -> Parser SearchResourcesSimpleCriterionKey
(Value -> Parser SearchResourcesSimpleCriterionKey)
-> (Value -> Parser [SearchResourcesSimpleCriterionKey])
-> FromJSON SearchResourcesSimpleCriterionKey
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [SearchResourcesSimpleCriterionKey]
$cparseJSONList :: Value -> Parser [SearchResourcesSimpleCriterionKey]
parseJSON :: Value -> Parser SearchResourcesSimpleCriterionKey
$cparseJSON :: Value -> Parser SearchResourcesSimpleCriterionKey
Core.FromJSON,
FromJSONKeyFunction [SearchResourcesSimpleCriterionKey]
FromJSONKeyFunction SearchResourcesSimpleCriterionKey
FromJSONKeyFunction SearchResourcesSimpleCriterionKey
-> FromJSONKeyFunction [SearchResourcesSimpleCriterionKey]
-> FromJSONKey SearchResourcesSimpleCriterionKey
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SearchResourcesSimpleCriterionKey]
$cfromJSONKeyList :: FromJSONKeyFunction [SearchResourcesSimpleCriterionKey]
fromJSONKey :: FromJSONKeyFunction SearchResourcesSimpleCriterionKey
$cfromJSONKey :: FromJSONKeyFunction SearchResourcesSimpleCriterionKey
Core.FromJSONKey,
[SearchResourcesSimpleCriterionKey] -> Encoding
[SearchResourcesSimpleCriterionKey] -> Value
SearchResourcesSimpleCriterionKey -> Encoding
SearchResourcesSimpleCriterionKey -> Value
(SearchResourcesSimpleCriterionKey -> Value)
-> (SearchResourcesSimpleCriterionKey -> Encoding)
-> ([SearchResourcesSimpleCriterionKey] -> Value)
-> ([SearchResourcesSimpleCriterionKey] -> Encoding)
-> ToJSON SearchResourcesSimpleCriterionKey
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [SearchResourcesSimpleCriterionKey] -> Encoding
$ctoEncodingList :: [SearchResourcesSimpleCriterionKey] -> Encoding
toJSONList :: [SearchResourcesSimpleCriterionKey] -> Value
$ctoJSONList :: [SearchResourcesSimpleCriterionKey] -> Value
toEncoding :: SearchResourcesSimpleCriterionKey -> Encoding
$ctoEncoding :: SearchResourcesSimpleCriterionKey -> Encoding
toJSON :: SearchResourcesSimpleCriterionKey -> Value
$ctoJSON :: SearchResourcesSimpleCriterionKey -> Value
Core.ToJSON,
ToJSONKeyFunction [SearchResourcesSimpleCriterionKey]
ToJSONKeyFunction SearchResourcesSimpleCriterionKey
ToJSONKeyFunction SearchResourcesSimpleCriterionKey
-> ToJSONKeyFunction [SearchResourcesSimpleCriterionKey]
-> ToJSONKey SearchResourcesSimpleCriterionKey
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SearchResourcesSimpleCriterionKey]
$ctoJSONKeyList :: ToJSONKeyFunction [SearchResourcesSimpleCriterionKey]
toJSONKey :: ToJSONKeyFunction SearchResourcesSimpleCriterionKey
$ctoJSONKey :: ToJSONKeyFunction SearchResourcesSimpleCriterionKey
Core.ToJSONKey,
[Node] -> Either String SearchResourcesSimpleCriterionKey
([Node] -> Either String SearchResourcesSimpleCriterionKey)
-> FromXML SearchResourcesSimpleCriterionKey
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SearchResourcesSimpleCriterionKey
$cparseXML :: [Node] -> Either String SearchResourcesSimpleCriterionKey
Core.FromXML,
SearchResourcesSimpleCriterionKey -> XML
(SearchResourcesSimpleCriterionKey -> XML)
-> ToXML SearchResourcesSimpleCriterionKey
forall a. (a -> XML) -> ToXML a
toXML :: SearchResourcesSimpleCriterionKey -> XML
$ctoXML :: SearchResourcesSimpleCriterionKey -> XML
Core.ToXML
)
pattern SearchResourcesSimpleCriterionKey_ACCOUNT_ID :: SearchResourcesSimpleCriterionKey
pattern $bSearchResourcesSimpleCriterionKey_ACCOUNT_ID :: SearchResourcesSimpleCriterionKey
$mSearchResourcesSimpleCriterionKey_ACCOUNT_ID :: forall r.
SearchResourcesSimpleCriterionKey
-> (Void# -> r) -> (Void# -> r) -> r
SearchResourcesSimpleCriterionKey_ACCOUNT_ID = SearchResourcesSimpleCriterionKey' "ACCOUNT_ID"
pattern SearchResourcesSimpleCriterionKey_S3_BUCKET_EFFECTIVE_PERMISSION :: SearchResourcesSimpleCriterionKey
pattern $bSearchResourcesSimpleCriterionKey_S3_BUCKET_EFFECTIVE_PERMISSION :: SearchResourcesSimpleCriterionKey
$mSearchResourcesSimpleCriterionKey_S3_BUCKET_EFFECTIVE_PERMISSION :: forall r.
SearchResourcesSimpleCriterionKey
-> (Void# -> r) -> (Void# -> r) -> r
SearchResourcesSimpleCriterionKey_S3_BUCKET_EFFECTIVE_PERMISSION = SearchResourcesSimpleCriterionKey' "S3_BUCKET_EFFECTIVE_PERMISSION"
pattern SearchResourcesSimpleCriterionKey_S3_BUCKET_NAME :: SearchResourcesSimpleCriterionKey
pattern $bSearchResourcesSimpleCriterionKey_S3_BUCKET_NAME :: SearchResourcesSimpleCriterionKey
$mSearchResourcesSimpleCriterionKey_S3_BUCKET_NAME :: forall r.
SearchResourcesSimpleCriterionKey
-> (Void# -> r) -> (Void# -> r) -> r
SearchResourcesSimpleCriterionKey_S3_BUCKET_NAME = SearchResourcesSimpleCriterionKey' "S3_BUCKET_NAME"
pattern SearchResourcesSimpleCriterionKey_S3_BUCKET_SHARED_ACCESS :: SearchResourcesSimpleCriterionKey
pattern $bSearchResourcesSimpleCriterionKey_S3_BUCKET_SHARED_ACCESS :: SearchResourcesSimpleCriterionKey
$mSearchResourcesSimpleCriterionKey_S3_BUCKET_SHARED_ACCESS :: forall r.
SearchResourcesSimpleCriterionKey
-> (Void# -> r) -> (Void# -> r) -> r
SearchResourcesSimpleCriterionKey_S3_BUCKET_SHARED_ACCESS = SearchResourcesSimpleCriterionKey' "S3_BUCKET_SHARED_ACCESS"
{-# COMPLETE
SearchResourcesSimpleCriterionKey_ACCOUNT_ID,
SearchResourcesSimpleCriterionKey_S3_BUCKET_EFFECTIVE_PERMISSION,
SearchResourcesSimpleCriterionKey_S3_BUCKET_NAME,
SearchResourcesSimpleCriterionKey_S3_BUCKET_SHARED_ACCESS,
SearchResourcesSimpleCriterionKey'
#-}