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