// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteOptOutList`](crate::operation::delete_opt_out_list::builders::DeleteOptOutListFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`opt_out_list_name(impl Into<String>)`](crate::operation::delete_opt_out_list::builders::DeleteOptOutListFluentBuilder::opt_out_list_name) / [`set_opt_out_list_name(Option<String>)`](crate::operation::delete_opt_out_list::builders::DeleteOptOutListFluentBuilder::set_opt_out_list_name):<br>required: **true**<br><p>The OptOutListName or OptOutListArn of the OptOutList to delete. You can use <code>DescribeOptOutLists</code> to find the values for OptOutListName and OptOutListArn.</p><important> <p>If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).</p> </important><br>
/// - On success, responds with [`DeleteOptOutListOutput`](crate::operation::delete_opt_out_list::DeleteOptOutListOutput) with field(s):
/// - [`opt_out_list_arn(Option<String>)`](crate::operation::delete_opt_out_list::DeleteOptOutListOutput::opt_out_list_arn): <p>The Amazon Resource Name (ARN) of the OptOutList that was removed.</p>
/// - [`opt_out_list_name(Option<String>)`](crate::operation::delete_opt_out_list::DeleteOptOutListOutput::opt_out_list_name): <p>The name of the OptOutList that was removed.</p>
/// - [`created_timestamp(Option<DateTime>)`](crate::operation::delete_opt_out_list::DeleteOptOutListOutput::created_timestamp): <p>The time when the OptOutList was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
/// - On failure, responds with [`SdkError<DeleteOptOutListError>`](crate::operation::delete_opt_out_list::DeleteOptOutListError)
pub fn delete_opt_out_list(&self) -> crate::operation::delete_opt_out_list::builders::DeleteOptOutListFluentBuilder {
crate::operation::delete_opt_out_list::builders::DeleteOptOutListFluentBuilder::new(self.handle.clone())
}
}