aws_sdk_kafka/client/
delete_replicator.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 [`DeleteReplicator`](crate::operation::delete_replicator::builders::DeleteReplicatorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`current_version(impl Into<String>)`](crate::operation::delete_replicator::builders::DeleteReplicatorFluentBuilder::current_version) / [`set_current_version(Option<String>)`](crate::operation::delete_replicator::builders::DeleteReplicatorFluentBuilder::set_current_version):<br>required: **false**<br><p>The current version of the replicator.</p><br>
7    ///   - [`replicator_arn(impl Into<String>)`](crate::operation::delete_replicator::builders::DeleteReplicatorFluentBuilder::replicator_arn) / [`set_replicator_arn(Option<String>)`](crate::operation::delete_replicator::builders::DeleteReplicatorFluentBuilder::set_replicator_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the replicator to be deleted.</p><br>
8    /// - On success, responds with [`DeleteReplicatorOutput`](crate::operation::delete_replicator::DeleteReplicatorOutput) with field(s):
9    ///   - [`replicator_arn(Option<String>)`](crate::operation::delete_replicator::DeleteReplicatorOutput::replicator_arn): <p>The Amazon Resource Name (ARN) of the replicator.</p>
10    ///   - [`replicator_state(Option<ReplicatorState>)`](crate::operation::delete_replicator::DeleteReplicatorOutput::replicator_state): <p>The state of the replicator.</p>
11    /// - On failure, responds with [`SdkError<DeleteReplicatorError>`](crate::operation::delete_replicator::DeleteReplicatorError)
12    pub fn delete_replicator(&self) -> crate::operation::delete_replicator::builders::DeleteReplicatorFluentBuilder {
13        crate::operation::delete_replicator::builders::DeleteReplicatorFluentBuilder::new(self.handle.clone())
14    }
15}