Smaws_Client_WorkMail.UpdateDefaultMailDomain
val request :
Smaws_Lib.Context.t ->
update_default_mail_domain_request ->
(update_default_mail_domain_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of invalid_parameter_exception
| `MailDomainNotFoundException of mail_domain_not_found_exception
| `MailDomainStateException of mail_domain_state_exception
| `OrganizationNotFoundException of organization_not_found_exception
| `OrganizationStateException of organization_state_exception ])
Stdlib.result
Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.