// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ResetDistributionCache`](crate::operation::reset_distribution_cache::builders::ResetDistributionCacheFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`distribution_name(impl Into<String>)`](crate::operation::reset_distribution_cache::builders::ResetDistributionCacheFluentBuilder::distribution_name) / [`set_distribution_name(Option<String>)`](crate::operation::reset_distribution_cache::builders::ResetDistributionCacheFluentBuilder::set_distribution_name):<br>required: **false**<br><p>The name of the distribution for which to reset cache.</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 [`ResetDistributionCacheOutput`](crate::operation::reset_distribution_cache::ResetDistributionCacheOutput) with field(s):
/// - [`status(Option<String>)`](crate::operation::reset_distribution_cache::ResetDistributionCacheOutput::status): <p>The status of the reset cache request.</p>
/// - [`create_time(Option<DateTime>)`](crate::operation::reset_distribution_cache::ResetDistributionCacheOutput::create_time): <p>The timestamp of the reset cache request (<code>1479734909.17</code>) in Unix time format.</p>
/// - [`operation(Option<Operation>)`](crate::operation::reset_distribution_cache::ResetDistributionCacheOutput::operation): <p>An array of objects that describe 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<ResetDistributionCacheError>`](crate::operation::reset_distribution_cache::ResetDistributionCacheError)
pub fn reset_distribution_cache(&self) -> crate::operation::reset_distribution_cache::builders::ResetDistributionCacheFluentBuilder {
crate::operation::reset_distribution_cache::builders::ResetDistributionCacheFluentBuilder::new(self.handle.clone())
}
}