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