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