1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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:
    ///   - [`app_id(impl Into<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID for an Amplify app. </p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token. Set to null to start listing webhooks from the start. If non-null,the pagination token is returned in a result. Pass its value in here to list more webhooks. </p><br>
    ///   - [`max_results(i32)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of records to list in a single response. </p><br>
    /// - On success, responds with [`ListWebhooksOutput`](crate::operation::list_webhooks::ListWebhooksOutput) with field(s):
    ///   - [`webhooks(Vec::<Webhook>)`](crate::operation::list_webhooks::ListWebhooksOutput::webhooks): <p>A list of webhooks. </p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_webhooks::ListWebhooksOutput::next_token): <p>A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries. </p>
    /// - 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())
    }
}