1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListBotResourceGenerations`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot whose generation requests you want to view.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot whose generation requests you want to view.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::set_locale_id):<br>required: **true**<br><p>The locale of the bot whose generation requests you want to view.</p><br>
    ///   - [`sort_by(GenerationSortBy)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::sort_by) / [`set_sort_by(Option<GenerationSortBy>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::set_sort_by):<br>required: **false**<br><p>An object containing information about the attribute and the method by which to sort the results</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the total number of results is greater than the number specified in the <code>maxResults</code>, the response returns a token in the <code>nextToken</code> field. Use this token when making a request to return the next batch of results.</p><br>
    /// - On success, responds with [`ListBotResourceGenerationsOutput`](crate::operation::list_bot_resource_generations::ListBotResourceGenerationsOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::list_bot_resource_generations::ListBotResourceGenerationsOutput::bot_id): <p>The unique identifier of the bot for which the generation requests were made.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::list_bot_resource_generations::ListBotResourceGenerationsOutput::bot_version): <p>The version of the bot for which the generation requests were made.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::list_bot_resource_generations::ListBotResourceGenerationsOutput::locale_id): <p>The locale of the bot for which the generation requests were made.</p>
    ///   - [`generation_summaries(Option<Vec::<GenerationSummary>>)`](crate::operation::list_bot_resource_generations::ListBotResourceGenerationsOutput::generation_summaries): <p>A list of objects, each containing information about a generation request for the bot locale.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_bot_resource_generations::ListBotResourceGenerationsOutput::next_token): <p>If the total number of results is greater than the number specified in the <code>maxResults</code>, the response returns a token in the <code>nextToken</code> field. Use this token when making a request to return the next batch of results.</p>
    /// - On failure, responds with [`SdkError<ListBotResourceGenerationsError>`](crate::operation::list_bot_resource_generations::ListBotResourceGenerationsError)
    pub fn list_bot_resource_generations(
        &self,
    ) -> crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder {
        crate::operation::list_bot_resource_generations::builders::ListBotResourceGenerationsFluentBuilder::new(self.handle.clone())
    }
}