1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartBotResourceGeneration`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`generation_input_prompt(impl Into<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::generation_input_prompt) / [`set_generation_input_prompt(Option<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::set_generation_input_prompt):<br>required: **true**<br><p>The prompt to generate intents and slot types for the bot locale. Your description should be both <i>detailed</i> and <i>precise</i> to help generate appropriate and sufficient intents for your bot. Include a list of actions to improve the intent creation process.</p><br>
    ///   - [`bot_id(impl Into<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot for which to generate intents and slot types.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot for which to generate intents and slot types.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::set_locale_id):<br>required: **true**<br><p>The locale of the bot for which to generate intents and slot types.</p><br>
    /// - On success, responds with [`StartBotResourceGenerationOutput`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput) with field(s):
    ///   - [`generation_input_prompt(Option<String>)`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput::generation_input_prompt): <p>The prompt that was used generate intents and slot types for the bot locale.</p>
    ///   - [`generation_id(Option<String>)`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput::generation_id): <p>The unique identifier of the generation request.</p>
    ///   - [`bot_id(Option<String>)`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput::bot_id): <p>The unique identifier of the bot for which the generation request was made.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput::bot_version): <p>The version of the bot for which the generation request was made.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput::locale_id): <p>The locale of the bot for which the generation request was made.</p>
    ///   - [`generation_status(Option<GenerationStatus>)`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput::generation_status): <p>The status of the generation request.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationOutput::creation_date_time): <p>The date and time at which the generation request was made.</p>
    /// - On failure, responds with [`SdkError<StartBotResourceGenerationError>`](crate::operation::start_bot_resource_generation::StartBotResourceGenerationError)
    pub fn start_bot_resource_generation(
        &self,
    ) -> crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder {
        crate::operation::start_bot_resource_generation::builders::StartBotResourceGenerationFluentBuilder::new(self.handle.clone())
    }
}