aws_sdk_opensearch/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_name(impl Into<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::describe_domain::builders::DescribeDomainFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain that you want information about.</p><br>
7    /// - On success, responds with [`DescribeDomainOutput`](crate::operation::describe_domain::DescribeDomainOutput) with field(s):
8    ///   - [`domain_status(Option<DomainStatus>)`](crate::operation::describe_domain::DescribeDomainOutput::domain_status): <p>List that contains the status of each specified OpenSearch Service 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}