aws-sdk-devopsagent 1.4.0

AWS SDK for AWS DevOps Agent Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListWebhooks`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`ListWebhooksOutput`](crate::operation::list_webhooks::ListWebhooksOutput) with field(s):
    ///   - [`webhooks(Vec::<Webhook>)`](crate::operation::list_webhooks::ListWebhooksOutput::webhooks): The list of association webhooks.
    /// - On failure, responds with [`SdkError<ListWebhooksError>`](crate::operation::list_webhooks::ListWebhooksError)
    pub fn list_webhooks(&self) -> crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder {
        crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::new(self.handle.clone())
    }
}