// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteStream`](crate::operation::delete_stream::builders::DeleteStreamFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stream_name(impl Into<String>)`](crate::operation::delete_stream::builders::DeleteStreamFluentBuilder::stream_name) / [`set_stream_name(Option<String>)`](crate::operation::delete_stream::builders::DeleteStreamFluentBuilder::set_stream_name):<br>required: **false**<br><p>The name of the stream to delete.</p><br>
    ///   - [`enforce_consumer_deletion(bool)`](crate::operation::delete_stream::builders::DeleteStreamFluentBuilder::enforce_consumer_deletion) / [`set_enforce_consumer_deletion(Option<bool>)`](crate::operation::delete_stream::builders::DeleteStreamFluentBuilder::set_enforce_consumer_deletion):<br>required: **false**<br><p>If this parameter is unset (<code>null</code>) or if you set it to <code>false</code>, and the stream has registered consumers, the call to <code>DeleteStream</code> fails with a <code>ResourceInUseException</code>.</p><br>
    ///   - [`stream_arn(impl Into<String>)`](crate::operation::delete_stream::builders::DeleteStreamFluentBuilder::stream_arn) / [`set_stream_arn(Option<String>)`](crate::operation::delete_stream::builders::DeleteStreamFluentBuilder::set_stream_arn):<br>required: **false**<br><p>The ARN of the stream.</p><br>
    /// - On success, responds with [`DeleteStreamOutput`](crate::operation::delete_stream::DeleteStreamOutput)
    /// - On failure, responds with [`SdkError<DeleteStreamError>`](crate::operation::delete_stream::DeleteStreamError)
    pub fn delete_stream(&self) -> crate::operation::delete_stream::builders::DeleteStreamFluentBuilder {
        crate::operation::delete_stream::builders::DeleteStreamFluentBuilder::new(self.handle.clone())
    }
}
