aws_sdk_voiceid/client/
describe_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 [`DescribeWatchlist`](crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`DescribeWatchlistOutput`](crate::operation::describe_watchlist::DescribeWatchlistOutput) with field(s):
9    ///   - [`watchlist(Option<Watchlist>)`](crate::operation::describe_watchlist::DescribeWatchlistOutput::watchlist): <p>Information about the specified watchlist.</p>
10    /// - On failure, responds with [`SdkError<DescribeWatchlistError>`](crate::operation::describe_watchlist::DescribeWatchlistError)
11    pub fn describe_watchlist(&self) -> crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder {
12        crate::operation::describe_watchlist::builders::DescribeWatchlistFluentBuilder::new(self.handle.clone())
13    }
14}