1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateLexBot`](crate::operation::associate_lex_bot::builders::AssociateLexBotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::associate_lex_bot::builders::AssociateLexBotFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_lex_bot::builders::AssociateLexBotFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
    ///   - [`lex_bot(LexBot)`](crate::operation::associate_lex_bot::builders::AssociateLexBotFluentBuilder::lex_bot) / [`set_lex_bot(Option<LexBot>)`](crate::operation::associate_lex_bot::builders::AssociateLexBotFluentBuilder::set_lex_bot):<br>required: **true**<br><p>The Amazon Lex bot to associate with the instance.</p><br>
    /// - On success, responds with [`AssociateLexBotOutput`](crate::operation::associate_lex_bot::AssociateLexBotOutput)
    /// - On failure, responds with [`SdkError<AssociateLexBotError>`](crate::operation::associate_lex_bot::AssociateLexBotError)
    pub fn associate_lex_bot(&self) -> crate::operation::associate_lex_bot::builders::AssociateLexBotFluentBuilder {
        crate::operation::associate_lex_bot::builders::AssociateLexBotFluentBuilder::new(self.handle.clone())
    }
}