Skip to main content

aws_sdk_devopsagent/client/
list_webhooks.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 [`ListWebhooks`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier of the AgentSpace<br>
7    ///   - [`association_id(impl Into<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::set_association_id):<br>required: **true**<br>The unique identifier of the given association.<br>
8    /// - On success, responds with [`ListWebhooksOutput`](crate::operation::list_webhooks::ListWebhooksOutput) with field(s):
9    ///   - [`webhooks(Vec::<Webhook>)`](crate::operation::list_webhooks::ListWebhooksOutput::webhooks): The list of association webhooks.
10    /// - On failure, responds with [`SdkError<ListWebhooksError>`](crate::operation::list_webhooks::ListWebhooksError)
11    pub fn list_webhooks(&self) -> crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder {
12        crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::new(self.handle.clone())
13    }
14}