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