aws_sdk_cognitoidentityprovider/client/
describe_user_pool_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 [`DescribeUserPoolDomain`](crate::operation::describe_user_pool_domain::builders::DescribeUserPoolDomainFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain(impl Into<String>)`](crate::operation::describe_user_pool_domain::builders::DescribeUserPoolDomainFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::describe_user_pool_domain::builders::DescribeUserPoolDomainFluentBuilder::set_domain):<br>required: **true**<br><p>The domain that you want to describe. For custom domains, this is the fully-qualified domain name, such as <code>auth.example.com</code>. For Amazon Cognito prefix domains, this is the prefix alone, such as <code>auth</code>.</p><br>
7    /// - On success, responds with [`DescribeUserPoolDomainOutput`](crate::operation::describe_user_pool_domain::DescribeUserPoolDomainOutput) with field(s):
8    ///   - [`domain_description(Option<DomainDescriptionType>)`](crate::operation::describe_user_pool_domain::DescribeUserPoolDomainOutput::domain_description): <p>The details of the requested user pool domain.</p>
9    /// - On failure, responds with [`SdkError<DescribeUserPoolDomainError>`](crate::operation::describe_user_pool_domain::DescribeUserPoolDomainError)
10    pub fn describe_user_pool_domain(&self) -> crate::operation::describe_user_pool_domain::builders::DescribeUserPoolDomainFluentBuilder {
11        crate::operation::describe_user_pool_domain::builders::DescribeUserPoolDomainFluentBuilder::new(self.handle.clone())
12    }
13}