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