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