aws_sdk_chatbot/client/list_custom_actions.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListCustomActions`](crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder::set_next_token):<br>required: **false**<br><p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p><br>
/// - On success, responds with [`ListCustomActionsOutput`](crate::operation::list_custom_actions::ListCustomActionsOutput) with field(s):
/// - [`custom_actions(Vec::<String>)`](crate::operation::list_custom_actions::ListCustomActionsOutput::custom_actions): <p>A list of custom actions.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_custom_actions::ListCustomActionsOutput::next_token): <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
/// - On failure, responds with [`SdkError<ListCustomActionsError>`](crate::operation::list_custom_actions::ListCustomActionsError)
pub fn list_custom_actions(&self) -> crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder {
crate::operation::list_custom_actions::builders::ListCustomActionsFluentBuilder::new(self.handle.clone())
}
}