Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Instances
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:
$sel:webhookId: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.
DeleteWebhookResponse' | |
|
Instances
newDeleteWebhookResponse Source #
:: 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.