aws_sdk_lexmodelsv2/client/
delete_bot_replica.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 [`DeleteBotReplica`](crate::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`bot_id(impl Into<String>)`](crate::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique ID of the replicated bot to be deleted from the secondary region</p><br>
7    ///   - [`replica_region(impl Into<String>)`](crate::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder::replica_region) / [`set_replica_region(Option<String>)`](crate::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder::set_replica_region):<br>required: **true**<br><p>The secondary region of the replicated bot that will be deleted.</p><br>
8    /// - On success, responds with [`DeleteBotReplicaOutput`](crate::operation::delete_bot_replica::DeleteBotReplicaOutput) with field(s):
9    ///   - [`bot_id(Option<String>)`](crate::operation::delete_bot_replica::DeleteBotReplicaOutput::bot_id): <p>The unique bot ID of the replicated bot generated.</p>
10    ///   - [`replica_region(Option<String>)`](crate::operation::delete_bot_replica::DeleteBotReplicaOutput::replica_region): <p>The region of the replicated bot generated.</p>
11    ///   - [`bot_replica_status(Option<BotReplicaStatus>)`](crate::operation::delete_bot_replica::DeleteBotReplicaOutput::bot_replica_status): <p>The operational status of the replicated bot generated.</p>
12    /// - On failure, responds with [`SdkError<DeleteBotReplicaError>`](crate::operation::delete_bot_replica::DeleteBotReplicaError)
13    pub fn delete_bot_replica(&self) -> crate::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder {
14        crate::operation::delete_bot_replica::builders::DeleteBotReplicaFluentBuilder::new(self.handle.clone())
15    }
16}