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