aws_sdk_kafkaconnect/client/
list_custom_plugins.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 [`ListCustomPlugins`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of custom plugins to list in one response.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p><br>
9    ///   - [`name_prefix(impl Into<String>)`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::name_prefix) / [`set_name_prefix(Option<String>)`](crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::set_name_prefix):<br>required: **false**<br><p>Lists custom plugin names that start with the specified text string.</p><br>
10    /// - On success, responds with [`ListCustomPluginsOutput`](crate::operation::list_custom_plugins::ListCustomPluginsOutput) with field(s):
11    ///   - [`custom_plugins(Option<Vec::<CustomPluginSummary>>)`](crate::operation::list_custom_plugins::ListCustomPluginsOutput::custom_plugins): <p>An array of custom plugin descriptions.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_custom_plugins::ListCustomPluginsOutput::next_token): <p>If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
13    /// - On failure, responds with [`SdkError<ListCustomPluginsError>`](crate::operation::list_custom_plugins::ListCustomPluginsError)
14    pub fn list_custom_plugins(&self) -> crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder {
15        crate::operation::list_custom_plugins::builders::ListCustomPluginsFluentBuilder::new(self.handle.clone())
16    }
17}