aws_sdk_connect/client/associate_bot.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`AssociateBot`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_id(impl Into<String>)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::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>
7 /// - [`lex_bot(LexBot)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::lex_bot) / [`set_lex_bot(Option<LexBot>)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::set_lex_bot):<br>required: **false**<br><p>Configuration information of an Amazon Lex bot.</p><br>
8 /// - [`lex_v2_bot(LexV2Bot)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::lex_v2_bot) / [`set_lex_v2_bot(Option<LexV2Bot>)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::set_lex_v2_bot):<br>required: **false**<br><p>The Amazon Lex V2 bot to associate with the instance.</p><br>
9 /// - [`client_token(impl Into<String>)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::associate_bot::builders::AssociateBotFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p><br>
10 /// - On success, responds with [`AssociateBotOutput`](crate::operation::associate_bot::AssociateBotOutput)
11 /// - On failure, responds with [`SdkError<AssociateBotError>`](crate::operation::associate_bot::AssociateBotError)
12 pub fn associate_bot(&self) -> crate::operation::associate_bot::builders::AssociateBotFluentBuilder {
13 crate::operation::associate_bot::builders::AssociateBotFluentBuilder::new(self.handle.clone())
14 }
15}