aws_sdk_amplify/client/update_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 [`UpdateWebhook`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`webhook_id(impl Into<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::webhook_id) / [`set_webhook_id(Option<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::set_webhook_id):<br>required: **true**<br><p>The unique ID for a webhook.</p><br>
7 /// - [`branch_name(impl Into<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::set_branch_name):<br>required: **false**<br><p>The name for a branch that is part of an Amplify app.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::set_description):<br>required: **false**<br><p>The description for a webhook.</p><br>
9 /// - On success, responds with [`UpdateWebhookOutput`](crate::operation::update_webhook::UpdateWebhookOutput) with field(s):
10 /// - [`webhook(Option<Webhook>)`](crate::operation::update_webhook::UpdateWebhookOutput::webhook): <p>Describes a webhook that connects repository events to an Amplify app.</p>
11 /// - On failure, responds with [`SdkError<UpdateWebhookError>`](crate::operation::update_webhook::UpdateWebhookError)
12 pub fn update_webhook(&self) -> crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder {
13 crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::new(self.handle.clone())
14 }
15}