aws_sdk_amplify/client/delete_webhook.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteWebhook`](crate::operation::delete_webhook::builders::DeleteWebhookFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`webhook_id(impl Into<String>)`](crate::operation::delete_webhook::builders::DeleteWebhookFluentBuilder::webhook_id) / [`set_webhook_id(Option<String>)`](crate::operation::delete_webhook::builders::DeleteWebhookFluentBuilder::set_webhook_id):<br>required: **true**<br><p>The unique ID for a webhook.</p><br>
7 /// - On success, responds with [`DeleteWebhookOutput`](crate::operation::delete_webhook::DeleteWebhookOutput) with field(s):
8 /// - [`webhook(Option<Webhook>)`](crate::operation::delete_webhook::DeleteWebhookOutput::webhook): <p>Describes a webhook that connects repository events to an Amplify app.</p>
9 /// - On failure, responds with [`SdkError<DeleteWebhookError>`](crate::operation::delete_webhook::DeleteWebhookError)
10 pub fn delete_webhook(&self) -> crate::operation::delete_webhook::builders::DeleteWebhookFluentBuilder {
11 crate::operation::delete_webhook::builders::DeleteWebhookFluentBuilder::new(self.handle.clone())
12 }
13}