1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListBotLocales`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot to list locales for.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot to list locales for.</p><br>
    ///   - [`sort_by(BotLocaleSortBy)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::sort_by) / [`set_sort_by(Option<BotLocaleSortBy>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::set_sort_by):<br>required: **false**<br><p>Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.</p><br>
    ///   - [`filters(BotLocaleFilter)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::filters) / [`set_filters(Option<Vec::<BotLocaleFilter>>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::set_filters):<br>required: **false**<br><p>Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::set_next_token):<br>required: **false**<br><p>If the response from the <code>ListBotLocales</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token as the <code>nextToken</code> parameter to return the next page of results.</p><br>
    /// - On success, responds with [`ListBotLocalesOutput`](crate::operation::list_bot_locales::ListBotLocalesOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::list_bot_locales::ListBotLocalesOutput::bot_id): <p>The identifier of the bot to list locales for.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::list_bot_locales::ListBotLocalesOutput::bot_version): <p>The version of the bot.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_bot_locales::ListBotLocalesOutput::next_token): <p>A token that indicates whether there are more results to return in a response to the <code>ListBotLocales</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListBotLocales</code> operation request to get the next page of results.</p>
    ///   - [`bot_locale_summaries(Option<Vec::<BotLocaleSummary>>)`](crate::operation::list_bot_locales::ListBotLocalesOutput::bot_locale_summaries): <p>Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more locales available, the <code>nextToken</code> field contains a token to get the next page of results.</p>
    /// - On failure, responds with [`SdkError<ListBotLocalesError>`](crate::operation::list_bot_locales::ListBotLocalesError)
    pub fn list_bot_locales(&self) -> crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder {
        crate::operation::list_bot_locales::builders::ListBotLocalesFluentBuilder::new(self.handle.clone())
    }
}