// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteDistribution`](crate::operation::delete_distribution::builders::DeleteDistributionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`distribution_name(impl Into<String>)`](crate::operation::delete_distribution::builders::DeleteDistributionFluentBuilder::distribution_name) / [`set_distribution_name(Option<String>)`](crate::operation::delete_distribution::builders::DeleteDistributionFluentBuilder::set_distribution_name):<br>required: **false**<br><p>The name of the distribution to delete.</p> <p>Use the <code>GetDistributions</code> action to get a list of distribution names that you can specify.</p><br>
/// - On success, responds with [`DeleteDistributionOutput`](crate::operation::delete_distribution::DeleteDistributionOutput) with field(s):
/// - [`operation(Option<Operation>)`](crate::operation::delete_distribution::DeleteDistributionOutput::operation): <p>An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
/// - On failure, responds with [`SdkError<DeleteDistributionError>`](crate::operation::delete_distribution::DeleteDistributionError)
pub fn delete_distribution(&self) -> crate::operation::delete_distribution::builders::DeleteDistributionFluentBuilder {
crate::operation::delete_distribution::builders::DeleteDistributionFluentBuilder::new(self.handle.clone())
}
}