| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CodePipeline.DeleteWebhook
Description
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 will return 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.
Creating a Request
Arguments
| :: Text | |
| -> DeleteWebhook |
Creates a value of DeleteWebhook with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dwName- The name of the webhook you want to delete.
data DeleteWebhook Source #
See: deleteWebhook smart constructor.
Instances
Request Lenses
Destructuring the Response
deleteWebhookResponse Source #
Arguments
| :: Int | |
| -> DeleteWebhookResponse |
Creates a value of DeleteWebhookResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dwrsResponseStatus- -- | The response status code.
data DeleteWebhookResponse Source #
See: deleteWebhookResponse smart constructor.
Response Lenses
dwrsResponseStatus :: Lens' DeleteWebhookResponse Int Source #
- - | The response status code.