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