aws_sdk_voiceid/client/
describe_domain.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 [`DescribeDomain`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_id(impl Into<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::set_domain_id):<br>required: **true**<br><p>The identifier of the domain that you are describing.</p><br>
7    /// - On success, responds with [`DescribeDomainOutput`](crate::operation::describe_domain::DescribeDomainOutput) with field(s):
8    ///   - [`domain(Option<Domain>)`](crate::operation::describe_domain::DescribeDomainOutput::domain): <p>Information about the specified domain.</p>
9    /// - On failure, responds with [`SdkError<DescribeDomainError>`](crate::operation::describe_domain::DescribeDomainError)
10    pub fn describe_domain(&self) -> crate::operation::describe_domain::builders::DescribeDomainFluentBuilder {
11        crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::new(self.handle.clone())
12    }
13}