aws_sdk_voiceid/client/delete_watchlist.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteWatchlist`](crate::operation::delete_watchlist::builders::DeleteWatchlistFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_id(impl Into<String>)`](crate::operation::delete_watchlist::builders::DeleteWatchlistFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::delete_watchlist::builders::DeleteWatchlistFluentBuilder::set_domain_id):<br>required: **true**<br><p>The identifier of the domain that contains the watchlist.</p><br>
7 /// - [`watchlist_id(impl Into<String>)`](crate::operation::delete_watchlist::builders::DeleteWatchlistFluentBuilder::watchlist_id) / [`set_watchlist_id(Option<String>)`](crate::operation::delete_watchlist::builders::DeleteWatchlistFluentBuilder::set_watchlist_id):<br>required: **true**<br><p>The identifier of the watchlist to be deleted.</p><br>
8 /// - On success, responds with [`DeleteWatchlistOutput`](crate::operation::delete_watchlist::DeleteWatchlistOutput)
9 /// - On failure, responds with [`SdkError<DeleteWatchlistError>`](crate::operation::delete_watchlist::DeleteWatchlistError)
10 pub fn delete_watchlist(&self) -> crate::operation::delete_watchlist::builders::DeleteWatchlistFluentBuilder {
11 crate::operation::delete_watchlist::builders::DeleteWatchlistFluentBuilder::new(self.handle.clone())
12 }
13}