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 previously created webhook by name. Deleting the webhook stops AWS CodePipeline from starting a pipeline every time an external event occurs. The API returns successfully when trying to delete a webhook that is already deleted. If a deleted webhook is re-created by calling PutWebhook with the same name, it will have a different URL.
Synopsis
- data DeleteWebhook = DeleteWebhook' {}
- newDeleteWebhook :: Text -> DeleteWebhook
- deleteWebhook_name :: Lens' DeleteWebhook Text
- data DeleteWebhookResponse = DeleteWebhookResponse' {
- httpStatus :: Int
- newDeleteWebhookResponse :: Int -> DeleteWebhookResponse
- deleteWebhookResponse_httpStatus :: Lens' DeleteWebhookResponse Int
Creating a Request
data DeleteWebhook Source #
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:name:DeleteWebhook'
, deleteWebhook_name
- The name of the webhook you want to delete.
Request Lenses
deleteWebhook_name :: Lens' DeleteWebhook Text Source #
The name of the webhook you want to delete.
Destructuring the Response
data DeleteWebhookResponse Source #
See: newDeleteWebhookResponse
smart constructor.
DeleteWebhookResponse' | |
|
Instances
newDeleteWebhookResponse Source #
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.
Response Lenses
deleteWebhookResponse_httpStatus :: Lens' DeleteWebhookResponse Int Source #
The response's http status code.