module Stratosphere.CodePipeline.Webhook (
        module Exports, Webhook(..), mkWebhook
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CodePipeline.Webhook.WebhookAuthConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.CodePipeline.Webhook.WebhookFilterRuleProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Webhook
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html>
    Webhook {Webhook -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-authentication>
             Webhook -> Value Text
authentication :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-authenticationconfiguration>
             Webhook -> WebhookAuthConfigurationProperty
authenticationConfiguration :: WebhookAuthConfigurationProperty,
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-filters>
             Webhook -> [WebhookFilterRuleProperty]
filters :: [WebhookFilterRuleProperty],
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-name>
             Webhook -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-registerwiththirdparty>
             Webhook -> Maybe (Value Bool)
registerWithThirdParty :: (Prelude.Maybe (Value Prelude.Bool)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetaction>
             Webhook -> Value Text
targetAction :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetpipeline>
             Webhook -> Value Text
targetPipeline :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetpipelineversion>
             Webhook -> Maybe (Value Integer)
targetPipelineVersion :: (Prelude.Maybe (Value Prelude.Integer))}
  deriving stock (Webhook -> Webhook -> Bool
(Webhook -> Webhook -> Bool)
-> (Webhook -> Webhook -> Bool) -> Eq Webhook
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Webhook -> Webhook -> Bool
== :: Webhook -> Webhook -> Bool
$c/= :: Webhook -> Webhook -> Bool
/= :: Webhook -> Webhook -> Bool
Prelude.Eq, Int -> Webhook -> ShowS
[Webhook] -> ShowS
Webhook -> String
(Int -> Webhook -> ShowS)
-> (Webhook -> String) -> ([Webhook] -> ShowS) -> Show Webhook
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Webhook -> ShowS
showsPrec :: Int -> Webhook -> ShowS
$cshow :: Webhook -> String
show :: Webhook -> String
$cshowList :: [Webhook] -> ShowS
showList :: [Webhook] -> ShowS
Prelude.Show)
mkWebhook ::
  Value Prelude.Text
  -> WebhookAuthConfigurationProperty
     -> [WebhookFilterRuleProperty]
        -> Value Prelude.Text -> Value Prelude.Text -> Webhook
mkWebhook :: Value Text
-> WebhookAuthConfigurationProperty
-> [WebhookFilterRuleProperty]
-> Value Text
-> Value Text
-> Webhook
mkWebhook
  Value Text
authentication
  WebhookAuthConfigurationProperty
authenticationConfiguration
  [WebhookFilterRuleProperty]
filters
  Value Text
targetAction
  Value Text
targetPipeline
  = Webhook
      {haddock_workaround_ :: ()
haddock_workaround_ = (), authentication :: Value Text
authentication = Value Text
authentication,
       authenticationConfiguration :: WebhookAuthConfigurationProperty
authenticationConfiguration = WebhookAuthConfigurationProperty
authenticationConfiguration,
       filters :: [WebhookFilterRuleProperty]
filters = [WebhookFilterRuleProperty]
filters, targetAction :: Value Text
targetAction = Value Text
targetAction,
       targetPipeline :: Value Text
targetPipeline = Value Text
targetPipeline, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       registerWithThirdParty :: Maybe (Value Bool)
registerWithThirdParty = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       targetPipelineVersion :: Maybe (Value Integer)
targetPipelineVersion = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Webhook where
  toResourceProperties :: Webhook -> ResourceProperties
toResourceProperties Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CodePipeline::Webhook",
         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
"Authentication" 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
authentication,
                            Key
"AuthenticationConfiguration" Key -> WebhookAuthConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= WebhookAuthConfigurationProperty
authenticationConfiguration,
                            Key
"Filters" Key -> [WebhookFilterRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [WebhookFilterRuleProperty]
filters, Key
"TargetAction" 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
targetAction,
                            Key
"TargetPipeline" 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
targetPipeline]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RegisterWithThirdParty"
                                 (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
registerWithThirdParty,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TargetPipelineVersion"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
targetPipelineVersion]))}
instance JSON.ToJSON Webhook where
  toJSON :: Webhook -> Value
toJSON Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
    = [(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
"Authentication" 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
authentication,
               Key
"AuthenticationConfiguration" Key -> WebhookAuthConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= WebhookAuthConfigurationProperty
authenticationConfiguration,
               Key
"Filters" Key -> [WebhookFilterRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [WebhookFilterRuleProperty]
filters, Key
"TargetAction" 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
targetAction,
               Key
"TargetPipeline" 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
targetPipeline]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RegisterWithThirdParty"
                    (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
registerWithThirdParty,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TargetPipelineVersion"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
targetPipelineVersion])))
instance Property "Authentication" Webhook where
  type PropertyType "Authentication" Webhook = Value Prelude.Text
  set :: PropertyType "Authentication" Webhook -> Webhook -> Webhook
set PropertyType "Authentication" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..} = Webhook {authentication :: Value Text
authentication = PropertyType "Authentication" Webhook
Value Text
newValue, [WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: ()
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
haddock_workaround_ :: ()
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
instance Property "AuthenticationConfiguration" Webhook where
  type PropertyType "AuthenticationConfiguration" Webhook = WebhookAuthConfigurationProperty
  set :: PropertyType "AuthenticationConfiguration" Webhook
-> Webhook -> Webhook
set PropertyType "AuthenticationConfiguration" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
    = Webhook {authenticationConfiguration :: WebhookAuthConfigurationProperty
authenticationConfiguration = PropertyType "AuthenticationConfiguration" Webhook
WebhookAuthConfigurationProperty
newValue, [WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
authentication :: Value Text
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
instance Property "Filters" Webhook where
  type PropertyType "Filters" Webhook = [WebhookFilterRuleProperty]
  set :: PropertyType "Filters" Webhook -> Webhook -> Webhook
set PropertyType "Filters" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..} = Webhook {filters :: [WebhookFilterRuleProperty]
filters = [WebhookFilterRuleProperty]
PropertyType "Filters" Webhook
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
instance Property "Name" Webhook where
  type PropertyType "Name" Webhook = Value Prelude.Text
  set :: PropertyType "Name" Webhook -> Webhook -> Webhook
set PropertyType "Name" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
    = Webhook {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" Webhook
Value Text
newValue, [WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
instance Property "RegisterWithThirdParty" Webhook where
  type PropertyType "RegisterWithThirdParty" Webhook = Value Prelude.Bool
  set :: PropertyType "RegisterWithThirdParty" Webhook -> Webhook -> Webhook
set PropertyType "RegisterWithThirdParty" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
    = Webhook {registerWithThirdParty :: Maybe (Value Bool)
registerWithThirdParty = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RegisterWithThirdParty" Webhook
Value Bool
newValue, [WebhookFilterRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
instance Property "TargetAction" Webhook where
  type PropertyType "TargetAction" Webhook = Value Prelude.Text
  set :: PropertyType "TargetAction" Webhook -> Webhook -> Webhook
set PropertyType "TargetAction" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..} = Webhook {targetAction :: Value Text
targetAction = PropertyType "TargetAction" Webhook
Value Text
newValue, [WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
instance Property "TargetPipeline" Webhook where
  type PropertyType "TargetPipeline" Webhook = Value Prelude.Text
  set :: PropertyType "TargetPipeline" Webhook -> Webhook -> Webhook
set PropertyType "TargetPipeline" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..} = Webhook {targetPipeline :: Value Text
targetPipeline = PropertyType "TargetPipeline" Webhook
Value Text
newValue, [WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
instance Property "TargetPipelineVersion" Webhook where
  type PropertyType "TargetPipelineVersion" Webhook = Value Prelude.Integer
  set :: PropertyType "TargetPipelineVersion" Webhook -> Webhook -> Webhook
set PropertyType "TargetPipelineVersion" Webhook
newValue Webhook {[WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: Webhook -> ()
authentication :: Webhook -> Value Text
authenticationConfiguration :: Webhook -> WebhookAuthConfigurationProperty
filters :: Webhook -> [WebhookFilterRuleProperty]
name :: Webhook -> Maybe (Value Text)
registerWithThirdParty :: Webhook -> Maybe (Value Bool)
targetAction :: Webhook -> Value Text
targetPipeline :: Webhook -> Value Text
targetPipelineVersion :: Webhook -> Maybe (Value Integer)
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
targetPipelineVersion :: Maybe (Value Integer)
..}
    = Webhook {targetPipelineVersion :: Maybe (Value Integer)
targetPipelineVersion = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TargetPipelineVersion" Webhook
Value Integer
newValue, [WebhookFilterRuleProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
WebhookAuthConfigurationProperty
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
haddock_workaround_ :: ()
authentication :: Value Text
authenticationConfiguration :: WebhookAuthConfigurationProperty
filters :: [WebhookFilterRuleProperty]
name :: Maybe (Value Text)
registerWithThirdParty :: Maybe (Value Bool)
targetAction :: Value Text
targetPipeline :: Value Text
..}