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