| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Amplify.Types.Webhook
Description
Synopsis
- data Webhook = Webhook' {
- webhookArn :: Text
- webhookId :: Text
- webhookUrl :: Text
- branchName :: Text
- description :: Text
- createTime :: POSIX
- updateTime :: POSIX
- newWebhook :: Text -> Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> Webhook
- webhook_webhookArn :: Lens' Webhook Text
- webhook_webhookId :: Lens' Webhook Text
- webhook_webhookUrl :: Lens' Webhook Text
- webhook_branchName :: Lens' Webhook Text
- webhook_description :: Lens' Webhook Text
- webhook_createTime :: Lens' Webhook UTCTime
- webhook_updateTime :: Lens' Webhook UTCTime
Documentation
Describes a webhook that connects repository events to an Amplify app.
See: newWebhook smart constructor.
Constructors
| Webhook' | |
Fields
| |
Instances
Create a value of Webhook with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:webhookArn:Webhook', webhook_webhookArn - The Amazon Resource Name (ARN) for the webhook.
$sel:webhookId:Webhook', webhook_webhookId - The ID of the webhook.
$sel:webhookUrl:Webhook', webhook_webhookUrl - The URL of the webhook.
$sel:branchName:Webhook', webhook_branchName - The name for a branch that is part of an Amplify app.
$sel:description:Webhook', webhook_description - The description for a webhook.
$sel:createTime:Webhook', webhook_createTime - The create date and time for a webhook.
$sel:updateTime:Webhook', webhook_updateTime - Updates the date and time for a webhook.