// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetWebhookByEvent`](crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`workspace_id(impl Into<String>)`](crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder::set_workspace_id):<br>required: **true**<br>(undocumented)<br>
/// - [`org_id(impl Into<String>)`](crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder::org_id) / [`set_org_id(Option<String>)`](crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder::set_org_id):<br>required: **true**<br>(undocumented)<br>
/// - [`event(impl Into<String>)`](crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder::event) / [`set_event(Option<String>)`](crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder::set_event):<br>required: **true**<br>(undocumented)<br>
/// - On success, responds with [`GetWebhookByEventOutput`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput) with field(s):
/// - [`name(String)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::name): (undocumented)
/// - [`description(String)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::description): (undocumented)
/// - [`enabled(bool)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::enabled): (undocumented)
/// - [`url(String)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::url): (undocumented)
/// - [`method(HttpMethod)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::method): (undocumented)
/// - [`version(Version)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::version): (undocumented)
/// - [`custom_headers(Option<HashMap::<String, Document>>)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::custom_headers): Generic key-value object structure used for flexible data representation throughout the API.
/// - [`events(Vec::<String>)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::events): (undocumented)
/// - [`max_retries(i32)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::max_retries): (undocumented)
/// - [`last_triggered_at(Option<DateTime>)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::last_triggered_at): (undocumented)
/// - [`change_reason(String)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::change_reason): (undocumented)
/// - [`created_by(String)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::created_by): (undocumented)
/// - [`created_at(DateTime)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::created_at): (undocumented)
/// - [`last_modified_by(String)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::last_modified_by): (undocumented)
/// - [`last_modified_at(DateTime)`](crate::operation::get_webhook_by_event::GetWebhookByEventOutput::last_modified_at): (undocumented)
/// - On failure, responds with [`SdkError<GetWebhookByEventError>`](crate::operation::get_webhook_by_event::GetWebhookByEventError)
pub fn get_webhook_by_event(&self) -> crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder {
crate::operation::get_webhook_by_event::builders::GetWebhookByEventFluentBuilder::new(self.handle.clone())
}
}