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