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