aws_sdk_redshiftserverless/client/
get_custom_domain_association.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 [`GetCustomDomainAssociation`](crate::operation::get_custom_domain_association::builders::GetCustomDomainAssociationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`custom_domain_name(impl Into<String>)`](crate::operation::get_custom_domain_association::builders::GetCustomDomainAssociationFluentBuilder::custom_domain_name) / [`set_custom_domain_name(Option<String>)`](crate::operation::get_custom_domain_association::builders::GetCustomDomainAssociationFluentBuilder::set_custom_domain_name):<br>required: **true**<br><p>The custom domain name associated with the workgroup.</p><br>
7    ///   - [`workgroup_name(impl Into<String>)`](crate::operation::get_custom_domain_association::builders::GetCustomDomainAssociationFluentBuilder::workgroup_name) / [`set_workgroup_name(Option<String>)`](crate::operation::get_custom_domain_association::builders::GetCustomDomainAssociationFluentBuilder::set_workgroup_name):<br>required: **true**<br><p>The name of the workgroup associated with the database.</p><br>
8    /// - On success, responds with [`GetCustomDomainAssociationOutput`](crate::operation::get_custom_domain_association::GetCustomDomainAssociationOutput) with field(s):
9    ///   - [`custom_domain_name(Option<String>)`](crate::operation::get_custom_domain_association::GetCustomDomainAssociationOutput::custom_domain_name): <p>The custom domain name associated with the workgroup.</p>
10    ///   - [`workgroup_name(Option<String>)`](crate::operation::get_custom_domain_association::GetCustomDomainAssociationOutput::workgroup_name): <p>The name of the workgroup associated with the database.</p>
11    ///   - [`custom_domain_certificate_arn(Option<String>)`](crate::operation::get_custom_domain_association::GetCustomDomainAssociationOutput::custom_domain_certificate_arn): <p>The custom domain name’s certificate Amazon resource name (ARN).</p>
12    ///   - [`custom_domain_certificate_expiry_time(Option<DateTime>)`](crate::operation::get_custom_domain_association::GetCustomDomainAssociationOutput::custom_domain_certificate_expiry_time): <p>The expiration time for the certificate.</p>
13    /// - On failure, responds with [`SdkError<GetCustomDomainAssociationError>`](crate::operation::get_custom_domain_association::GetCustomDomainAssociationError)
14    pub fn get_custom_domain_association(
15        &self,
16    ) -> crate::operation::get_custom_domain_association::builders::GetCustomDomainAssociationFluentBuilder {
17        crate::operation::get_custom_domain_association::builders::GetCustomDomainAssociationFluentBuilder::new(self.handle.clone())
18    }
19}