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