aws_sdk_workmail/client/register_mail_domain.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RegisterMailDomain`](crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`client_token(impl Into<String>)`](crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder::set_client_token):<br>required: **false**<br><p>Idempotency token used when retrying requests.</p><br>
/// - [`organization_id(impl Into<String>)`](crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization under which you're creating the domain.</p><br>
/// - [`domain_name(impl Into<String>)`](crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the mail domain to create in WorkMail and SES.</p><br>
/// - On success, responds with [`RegisterMailDomainOutput`](crate::operation::register_mail_domain::RegisterMailDomainOutput)
/// - On failure, responds with [`SdkError<RegisterMailDomainError>`](crate::operation::register_mail_domain::RegisterMailDomainError)
pub fn register_mail_domain(&self) -> crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder {
crate::operation::register_mail_domain::builders::RegisterMailDomainFluentBuilder::new(self.handle.clone())
}
}