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