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