aws_sdk_amplify/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 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`ListWebhooksOutput`](crate::operation::list_webhooks::ListWebhooksOutput) with field(s):
10 /// - [`webhooks(Vec::<Webhook>)`](crate::operation::list_webhooks::ListWebhooksOutput::webhooks): <p>A list of webhooks.</p>
11 /// - [`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>
12 /// - On failure, responds with [`SdkError<ListWebhooksError>`](crate::operation::list_webhooks::ListWebhooksError)
13 pub fn list_webhooks(&self) -> crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder {
14 crate::operation::list_webhooks::builders::ListWebhooksFluentBuilder::new(self.handle.clone())
15 }
16}