// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteTrail`](crate::operation::delete_trail::builders::DeleteTrailFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::delete_trail::builders::DeleteTrailFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_trail::builders::DeleteTrailFluentBuilder::set_name):<br>required: **true**<br><p>Specifies the name or the CloudTrail ARN of the trail to be deleted. The following is the format of a trail ARN. <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code></p><br>
/// - On success, responds with [`DeleteTrailOutput`](crate::operation::delete_trail::DeleteTrailOutput)
/// - On failure, responds with [`SdkError<DeleteTrailError>`](crate::operation::delete_trail::DeleteTrailError)
pub fn delete_trail(&self) -> crate::operation::delete_trail::builders::DeleteTrailFluentBuilder {
crate::operation::delete_trail::builders::DeleteTrailFluentBuilder::new(self.handle.clone())
}
}