aws_sdk_voiceid/client/
describe_watchlist.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeWatchlist`](crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl Into<String>)`](crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder::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::describe_watchlist::builders::DescribeWatchlistFluentBuilder::watchlist_id) / [`set_watchlist_id(Option<String>)`](crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder::set_watchlist_id):<br>required: **true**<br><p>The identifier of the watchlist that you are describing.</p><br>
    /// - On success, responds with [`DescribeWatchlistOutput`](crate::operation::describe_watchlist::DescribeWatchlistOutput) with field(s):
    ///   - [`watchlist(Option<Watchlist>)`](crate::operation::describe_watchlist::DescribeWatchlistOutput::watchlist): <p>Information about the specified watchlist.</p>
    /// - On failure, responds with [`SdkError<DescribeWatchlistError>`](crate::operation::describe_watchlist::DescribeWatchlistError)
    pub fn describe_watchlist(&self) -> crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder {
        crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder::new(self.handle.clone())
    }
}