aws_sdk_voiceid/client/
update_watchlist.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateWatchlist`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl Into<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::set_domain_id):<br>required: **true**<br><p>The identifier of the domain that contains the watchlist.</p><br>
    ///   - [`watchlist_id(impl Into<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::watchlist_id) / [`set_watchlist_id(Option<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::set_watchlist_id):<br>required: **true**<br><p>The identifier of the watchlist to be updated.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::set_name):<br>required: **false**<br><p>The name of the watchlist.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::set_description):<br>required: **false**<br><p>A brief description about this watchlist.</p><br>
    /// - On success, responds with [`UpdateWatchlistOutput`](crate::operation::update_watchlist::UpdateWatchlistOutput) with field(s):
    ///   - [`watchlist(Option<Watchlist>)`](crate::operation::update_watchlist::UpdateWatchlistOutput::watchlist): <p>Details about the updated watchlist.</p>
    /// - On failure, responds with [`SdkError<UpdateWatchlistError>`](crate::operation::update_watchlist::UpdateWatchlistError)
    pub fn update_watchlist(&self) -> crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder {
        crate::operation::update_watchlist::builders::UpdateWatchlistFluentBuilder::new(self.handle.clone())
    }
}