| 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.DeleteWebhook
Description
Deletes a webhook.
Synopsis
- data DeleteWebhook = DeleteWebhook' {}
- newDeleteWebhook :: Text -> DeleteWebhook
- deleteWebhook_webhookId :: Lens' DeleteWebhook Text
- data DeleteWebhookResponse = DeleteWebhookResponse' {
- httpStatus :: Int
- webhook :: Webhook
- newDeleteWebhookResponse :: Int -> Webhook -> DeleteWebhookResponse
- deleteWebhookResponse_httpStatus :: Lens' DeleteWebhookResponse Int
- deleteWebhookResponse_webhook :: Lens' DeleteWebhookResponse Webhook
Creating a Request
data DeleteWebhook Source #
The request structure for the delete webhook request.
See: newDeleteWebhook smart constructor.
Constructors
| DeleteWebhook' | |
Instances
Arguments
| :: Text | |
| -> DeleteWebhook |
Create a value of DeleteWebhook 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:
DeleteWebhook, deleteWebhook_webhookId - The unique ID for a webhook.
Request Lenses
deleteWebhook_webhookId :: Lens' DeleteWebhook Text Source #
The unique ID for a webhook.
Destructuring the Response
data DeleteWebhookResponse Source #
The result structure for the delete webhook request.
See: newDeleteWebhookResponse smart constructor.
Constructors
| DeleteWebhookResponse' | |
Fields
| |
Instances
newDeleteWebhookResponse Source #
Arguments
| :: Int | |
| -> Webhook | |
| -> DeleteWebhookResponse |
Create a value of DeleteWebhookResponse 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:httpStatus:DeleteWebhookResponse', deleteWebhookResponse_httpStatus - The response's http status code.
$sel:webhook:DeleteWebhookResponse', deleteWebhookResponse_webhook - Describes a webhook that connects repository events to an Amplify app.
Response Lenses
deleteWebhookResponse_httpStatus :: Lens' DeleteWebhookResponse Int Source #
The response's http status code.
deleteWebhookResponse_webhook :: Lens' DeleteWebhookResponse Webhook Source #
Describes a webhook that connects repository events to an Amplify app.