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 [`ListConfigurations`](crate::operation::list_configurations::builders::ListConfigurationsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_configurations::builders::ListConfigurationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_configurations::builders::ListConfigurationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_configurations::builders::ListConfigurationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_configurations::builders::ListConfigurationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.</p><br>
    /// - On success, responds with [`ListConfigurationsOutput`](crate::operation::list_configurations::ListConfigurationsOutput) with field(s):
    ///   - [`configurations(Option<Vec::<Configuration>>)`](crate::operation::list_configurations::ListConfigurationsOutput::configurations): <p>The list of all revisions for the specified configuration.</p>
    ///   - [`max_results(Option<i32>)`](crate::operation::list_configurations::ListConfigurationsOutput::max_results): <p>The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_configurations::ListConfigurationsOutput::next_token): <p>The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.</p>
    /// - On failure, responds with [`SdkError<ListConfigurationsError>`](crate::operation::list_configurations::ListConfigurationsError)
    pub fn list_configurations(&self) -> crate::operation::list_configurations::builders::ListConfigurationsFluentBuilder {
        crate::operation::list_configurations::builders::ListConfigurationsFluentBuilder::new(self.handle.clone())
    }
}