aws_sdk_lexmodelsv2/client/
list_bot_replicas.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 [`ListBotReplicas`](crate::operation::list_bot_replicas::builders::ListBotReplicasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`bot_id(impl Into<String>)`](crate::operation::list_bot_replicas::builders::ListBotReplicasFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::list_bot_replicas::builders::ListBotReplicasFluentBuilder::set_bot_id):<br>required: **true**<br><p>The request for the unique bot IDs in the list of replicated bots.</p><br>
7    /// - On success, responds with [`ListBotReplicasOutput`](crate::operation::list_bot_replicas::ListBotReplicasOutput) with field(s):
8    ///   - [`bot_id(Option<String>)`](crate::operation::list_bot_replicas::ListBotReplicasOutput::bot_id): <p>the unique bot IDs in the list of replicated bots.</p>
9    ///   - [`source_region(Option<String>)`](crate::operation::list_bot_replicas::ListBotReplicasOutput::source_region): <p>The source region of the source bots in the list of replicated bots.</p>
10    ///   - [`bot_replica_summaries(Option<Vec::<BotReplicaSummary>>)`](crate::operation::list_bot_replicas::ListBotReplicasOutput::bot_replica_summaries): <p>The summary details for the replicated bots.</p>
11    /// - On failure, responds with [`SdkError<ListBotReplicasError>`](crate::operation::list_bot_replicas::ListBotReplicasError)
12    pub fn list_bot_replicas(&self) -> crate::operation::list_bot_replicas::builders::ListBotReplicasFluentBuilder {
13        crate::operation::list_bot_replicas::builders::ListBotReplicasFluentBuilder::new(self.handle.clone())
14    }
15}