aws_sdk_lexmodelsv2/client/
list_bot_version_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 [`ListBotVersionReplicas`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`bot_id(impl Into<String>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::set_bot_id):<br>required: **true**<br><p>The request for the unique ID in the list of replicated bots.</p><br>
8    ///   - [`replica_region(impl Into<String>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::replica_region) / [`set_replica_region(Option<String>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::set_replica_region):<br>required: **true**<br><p>The request for the region used in the list of replicated bots.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum results given in the list of replicated bots.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::set_next_token):<br>required: **false**<br><p>The next token given in the list of replicated bots.</p><br>
11    ///   - [`sort_by(BotVersionReplicaSortBy)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::sort_by) / [`set_sort_by(Option<BotVersionReplicaSortBy>)`](crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::set_sort_by):<br>required: **false**<br><p>The requested sort category for the list of replicated bots.</p><br>
12    /// - On success, responds with [`ListBotVersionReplicasOutput`](crate::operation::list_bot_version_replicas::ListBotVersionReplicasOutput) with field(s):
13    ///   - [`bot_id(Option<String>)`](crate::operation::list_bot_version_replicas::ListBotVersionReplicasOutput::bot_id): <p>The unique ID of the bots in the list of replicated bots.</p>
14    ///   - [`source_region(Option<String>)`](crate::operation::list_bot_version_replicas::ListBotVersionReplicasOutput::source_region): <p>The source region used for the bots in the list of replicated bots.</p>
15    ///   - [`replica_region(Option<String>)`](crate::operation::list_bot_version_replicas::ListBotVersionReplicasOutput::replica_region): <p>The region used for the replicated bots in the list of replicated bots.</p>
16    ///   - [`bot_version_replica_summaries(Option<Vec::<BotVersionReplicaSummary>>)`](crate::operation::list_bot_version_replicas::ListBotVersionReplicasOutput::bot_version_replica_summaries): <p>The information summary used for the replicated bots in the list of replicated bots.</p>
17    ///   - [`next_token(Option<String>)`](crate::operation::list_bot_version_replicas::ListBotVersionReplicasOutput::next_token): <p>The next token used for the replicated bots in the list of replicated bots.</p>
18    /// - On failure, responds with [`SdkError<ListBotVersionReplicasError>`](crate::operation::list_bot_version_replicas::ListBotVersionReplicasError)
19    pub fn list_bot_version_replicas(&self) -> crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder {
20        crate::operation::list_bot_version_replicas::builders::ListBotVersionReplicasFluentBuilder::new(self.handle.clone())
21    }
22}