1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateWebhook`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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): <p> The unique ID for a webhook. </p>
    ///   - [`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): <p> The name for a branch that is part of an Amplify app. </p>
    ///   - [`description(impl Into<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::set_description): <p> The description for a webhook. </p>
    /// - On success, responds with [`UpdateWebhookOutput`](crate::operation::update_webhook::UpdateWebhookOutput) with field(s):
    ///   - [`webhook(Option<Webhook>)`](crate::operation::update_webhook::UpdateWebhookOutput::webhook): <p> Describes a webhook that connects repository events to an Amplify app. </p>
    /// - On failure, responds with [`SdkError<UpdateWebhookError>`](crate::operation::update_webhook::UpdateWebhookError)
    pub fn update_webhook(&self) -> crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder {
        crate::operation::update_webhook::builders::UpdateWebhookFluentBuilder::new(self.handle.clone())
    }
}