aws_sdk_workmail/client/
update_default_mail_domain.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDefaultMailDomain`](crate::operation::update_default_mail_domain::builders::UpdateDefaultMailDomainFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::update_default_mail_domain::builders::UpdateDefaultMailDomainFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::update_default_mail_domain::builders::UpdateDefaultMailDomainFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization for which to list domains.</p><br>
    ///   - [`domain_name(impl Into<String>)`](crate::operation::update_default_mail_domain::builders::UpdateDefaultMailDomainFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_default_mail_domain::builders::UpdateDefaultMailDomainFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain name that will become the default domain.</p><br>
    /// - On success, responds with [`UpdateDefaultMailDomainOutput`](crate::operation::update_default_mail_domain::UpdateDefaultMailDomainOutput)
    /// - On failure, responds with [`SdkError<UpdateDefaultMailDomainError>`](crate::operation::update_default_mail_domain::UpdateDefaultMailDomainError)
    pub fn update_default_mail_domain(&self) -> crate::operation::update_default_mail_domain::builders::UpdateDefaultMailDomainFluentBuilder {
        crate::operation::update_default_mail_domain::builders::UpdateDefaultMailDomainFluentBuilder::new(self.handle.clone())
    }
}