aws_sdk_kafka/client/
delete_configuration.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 [`DeleteConfiguration`](crate::operation::delete_configuration::builders::DeleteConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::delete_configuration::builders::DeleteConfigurationFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_configuration::builders::DeleteConfigurationFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration.</p><br>
7    /// - On success, responds with [`DeleteConfigurationOutput`](crate::operation::delete_configuration::DeleteConfigurationOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::delete_configuration::DeleteConfigurationOutput::arn): <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration.</p>
9    ///   - [`state(Option<ConfigurationState>)`](crate::operation::delete_configuration::DeleteConfigurationOutput::state): <p>The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.</p>
10    /// - On failure, responds with [`SdkError<DeleteConfigurationError>`](crate::operation::delete_configuration::DeleteConfigurationError)
11    pub fn delete_configuration(&self) -> crate::operation::delete_configuration::builders::DeleteConfigurationFluentBuilder {
12        crate::operation::delete_configuration::builders::DeleteConfigurationFluentBuilder::new(self.handle.clone())
13    }
14}