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