module Stratosphere.CloudFormation.LambdaHook (
        module Exports, LambdaHook(..), mkLambdaHook
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CloudFormation.LambdaHook.StackFiltersProperty as Exports
import {-# SOURCE #-} Stratosphere.CloudFormation.LambdaHook.TargetFiltersProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data LambdaHook
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html>
    LambdaHook {LambdaHook -> ()
haddock_workaround_ :: (),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-alias>
                LambdaHook -> Value Text
alias :: (Value Prelude.Text),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-executionrole>
                LambdaHook -> Value Text
executionRole :: (Value Prelude.Text),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-failuremode>
                LambdaHook -> Value Text
failureMode :: (Value Prelude.Text),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-hookstatus>
                LambdaHook -> Value Text
hookStatus :: (Value Prelude.Text),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-lambdafunction>
                LambdaHook -> Value Text
lambdaFunction :: (Value Prelude.Text),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-stackfilters>
                LambdaHook -> Maybe StackFiltersProperty
stackFilters :: (Prelude.Maybe StackFiltersProperty),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-targetfilters>
                LambdaHook -> Maybe TargetFiltersProperty
targetFilters :: (Prelude.Maybe TargetFiltersProperty),
                -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-targetoperations>
                LambdaHook -> ValueList Text
targetOperations :: (ValueList Prelude.Text)}
  deriving stock (LambdaHook -> LambdaHook -> Bool
(LambdaHook -> LambdaHook -> Bool)
-> (LambdaHook -> LambdaHook -> Bool) -> Eq LambdaHook
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: LambdaHook -> LambdaHook -> Bool
== :: LambdaHook -> LambdaHook -> Bool
$c/= :: LambdaHook -> LambdaHook -> Bool
/= :: LambdaHook -> LambdaHook -> Bool
Prelude.Eq, Int -> LambdaHook -> ShowS
[LambdaHook] -> ShowS
LambdaHook -> String
(Int -> LambdaHook -> ShowS)
-> (LambdaHook -> String)
-> ([LambdaHook] -> ShowS)
-> Show LambdaHook
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> LambdaHook -> ShowS
showsPrec :: Int -> LambdaHook -> ShowS
$cshow :: LambdaHook -> String
show :: LambdaHook -> String
$cshowList :: [LambdaHook] -> ShowS
showList :: [LambdaHook] -> ShowS
Prelude.Show)
mkLambdaHook ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text
        -> Value Prelude.Text
           -> Value Prelude.Text -> ValueList Prelude.Text -> LambdaHook
mkLambdaHook :: Value Text
-> Value Text
-> Value Text
-> Value Text
-> Value Text
-> ValueList Text
-> LambdaHook
mkLambdaHook
  Value Text
alias
  Value Text
executionRole
  Value Text
failureMode
  Value Text
hookStatus
  Value Text
lambdaFunction
  ValueList Text
targetOperations
  = LambdaHook
      {haddock_workaround_ :: ()
haddock_workaround_ = (), alias :: Value Text
alias = Value Text
alias,
       executionRole :: Value Text
executionRole = Value Text
executionRole, failureMode :: Value Text
failureMode = Value Text
failureMode,
       hookStatus :: Value Text
hookStatus = Value Text
hookStatus, lambdaFunction :: Value Text
lambdaFunction = Value Text
lambdaFunction,
       targetOperations :: ValueList Text
targetOperations = ValueList Text
targetOperations,
       stackFilters :: Maybe StackFiltersProperty
stackFilters = Maybe StackFiltersProperty
forall a. Maybe a
Prelude.Nothing, targetFilters :: Maybe TargetFiltersProperty
targetFilters = Maybe TargetFiltersProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties LambdaHook where
  toResourceProperties :: LambdaHook -> ResourceProperties
toResourceProperties LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CloudFormation::LambdaHook",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"Alias" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
alias, Key
"ExecutionRole" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
executionRole,
                            Key
"FailureMode" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
failureMode, Key
"HookStatus" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
hookStatus,
                            Key
"LambdaFunction" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
lambdaFunction,
                            Key
"TargetOperations" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
targetOperations]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> StackFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StackFilters" (StackFiltersProperty -> (Key, Value))
-> Maybe StackFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StackFiltersProperty
stackFilters,
                               Key -> TargetFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TargetFilters" (TargetFiltersProperty -> (Key, Value))
-> Maybe TargetFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TargetFiltersProperty
targetFilters]))}
instance JSON.ToJSON LambdaHook where
  toJSON :: LambdaHook -> Value
toJSON LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"Alias" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
alias, Key
"ExecutionRole" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
executionRole,
               Key
"FailureMode" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
failureMode, Key
"HookStatus" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
hookStatus,
               Key
"LambdaFunction" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
lambdaFunction,
               Key
"TargetOperations" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
targetOperations]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> StackFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StackFilters" (StackFiltersProperty -> (Key, Value))
-> Maybe StackFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StackFiltersProperty
stackFilters,
                  Key -> TargetFiltersProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TargetFilters" (TargetFiltersProperty -> (Key, Value))
-> Maybe TargetFiltersProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TargetFiltersProperty
targetFilters])))
instance Property "Alias" LambdaHook where
  type PropertyType "Alias" LambdaHook = Value Prelude.Text
  set :: PropertyType "Alias" LambdaHook -> LambdaHook -> LambdaHook
set PropertyType "Alias" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..} = LambdaHook {alias :: Value Text
alias = PropertyType "Alias" LambdaHook
Value Text
newValue, Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "ExecutionRole" LambdaHook where
  type PropertyType "ExecutionRole" LambdaHook = Value Prelude.Text
  set :: PropertyType "ExecutionRole" LambdaHook -> LambdaHook -> LambdaHook
set PropertyType "ExecutionRole" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = LambdaHook {executionRole :: Value Text
executionRole = PropertyType "ExecutionRole" LambdaHook
Value Text
newValue, Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
alias :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "FailureMode" LambdaHook where
  type PropertyType "FailureMode" LambdaHook = Value Prelude.Text
  set :: PropertyType "FailureMode" LambdaHook -> LambdaHook -> LambdaHook
set PropertyType "FailureMode" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = LambdaHook {failureMode :: Value Text
failureMode = PropertyType "FailureMode" LambdaHook
Value Text
newValue, Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "HookStatus" LambdaHook where
  type PropertyType "HookStatus" LambdaHook = Value Prelude.Text
  set :: PropertyType "HookStatus" LambdaHook -> LambdaHook -> LambdaHook
set PropertyType "HookStatus" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = LambdaHook {hookStatus :: Value Text
hookStatus = PropertyType "HookStatus" LambdaHook
Value Text
newValue, Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "LambdaFunction" LambdaHook where
  type PropertyType "LambdaFunction" LambdaHook = Value Prelude.Text
  set :: PropertyType "LambdaFunction" LambdaHook
-> LambdaHook -> LambdaHook
set PropertyType "LambdaFunction" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = LambdaHook {lambdaFunction :: Value Text
lambdaFunction = PropertyType "LambdaFunction" LambdaHook
Value Text
newValue, Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "StackFilters" LambdaHook where
  type PropertyType "StackFilters" LambdaHook = StackFiltersProperty
  set :: PropertyType "StackFilters" LambdaHook -> LambdaHook -> LambdaHook
set PropertyType "StackFilters" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = LambdaHook {stackFilters :: Maybe StackFiltersProperty
stackFilters = StackFiltersProperty -> Maybe StackFiltersProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StackFilters" LambdaHook
StackFiltersProperty
newValue, Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "TargetFilters" LambdaHook where
  type PropertyType "TargetFilters" LambdaHook = TargetFiltersProperty
  set :: PropertyType "TargetFilters" LambdaHook -> LambdaHook -> LambdaHook
set PropertyType "TargetFilters" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = LambdaHook {targetFilters :: Maybe TargetFiltersProperty
targetFilters = TargetFiltersProperty -> Maybe TargetFiltersProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TargetFilters" LambdaHook
TargetFiltersProperty
newValue, Maybe StackFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetOperations :: ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetOperations :: ValueList Text
..}
instance Property "TargetOperations" LambdaHook where
  type PropertyType "TargetOperations" LambdaHook = ValueList Prelude.Text
  set :: PropertyType "TargetOperations" LambdaHook
-> LambdaHook -> LambdaHook
set PropertyType "TargetOperations" LambdaHook
newValue LambdaHook {Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
ValueList Text
Value Text
haddock_workaround_ :: LambdaHook -> ()
alias :: LambdaHook -> Value Text
executionRole :: LambdaHook -> Value Text
failureMode :: LambdaHook -> Value Text
hookStatus :: LambdaHook -> Value Text
lambdaFunction :: LambdaHook -> Value Text
stackFilters :: LambdaHook -> Maybe StackFiltersProperty
targetFilters :: LambdaHook -> Maybe TargetFiltersProperty
targetOperations :: LambdaHook -> ValueList Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
targetOperations :: ValueList Text
..}
    = LambdaHook {targetOperations :: ValueList Text
targetOperations = PropertyType "TargetOperations" LambdaHook
ValueList Text
newValue, Maybe StackFiltersProperty
Maybe TargetFiltersProperty
()
Value Text
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
haddock_workaround_ :: ()
alias :: Value Text
executionRole :: Value Text
failureMode :: Value Text
hookStatus :: Value Text
lambdaFunction :: Value Text
stackFilters :: Maybe StackFiltersProperty
targetFilters :: Maybe TargetFiltersProperty
..}