aws_sdk_cloudsearch/client/
list_domain_names.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 [`ListDomainNames`](crate::operation::list_domain_names::builders::ListDomainNamesFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::list_domain_names::builders::ListDomainNamesFluentBuilder::send) it.
6    /// - On success, responds with [`ListDomainNamesOutput`](crate::operation::list_domain_names::ListDomainNamesOutput) with field(s):
7    ///   - [`domain_names(Option<HashMap::<String, String>>)`](crate::operation::list_domain_names::ListDomainNamesOutput::domain_names): <p>The names of the search domains owned by an account.</p>
8    /// - On failure, responds with [`SdkError<ListDomainNamesError>`](crate::operation::list_domain_names::ListDomainNamesError)
9    pub fn list_domain_names(&self) -> crate::operation::list_domain_names::builders::ListDomainNamesFluentBuilder {
10        crate::operation::list_domain_names::builders::ListDomainNamesFluentBuilder::new(self.handle.clone())
11    }
12}