aws_sdk_kafka/client/
delete_cluster_policy.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 [`DeleteClusterPolicy`](crate::operation::delete_cluster_policy::builders::DeleteClusterPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_arn(impl Into<String>)`](crate::operation::delete_cluster_policy::builders::DeleteClusterPolicyFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::delete_cluster_policy::builders::DeleteClusterPolicyFluentBuilder::set_cluster_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the cluster.</p><br>
7    /// - On success, responds with [`DeleteClusterPolicyOutput`](crate::operation::delete_cluster_policy::DeleteClusterPolicyOutput)
8    /// - On failure, responds with [`SdkError<DeleteClusterPolicyError>`](crate::operation::delete_cluster_policy::DeleteClusterPolicyError)
9    pub fn delete_cluster_policy(&self) -> crate::operation::delete_cluster_policy::builders::DeleteClusterPolicyFluentBuilder {
10        crate::operation::delete_cluster_policy::builders::DeleteClusterPolicyFluentBuilder::new(self.handle.clone())
11    }
12}