WorkMail.Client.update_default_mail_domain(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.update_default_mail_domain(
OrganizationId='string',
DomainName='string'
)
[REQUIRED]
The WorkMail organization for which to list domains.
[REQUIRED]
The domain name that will become the default domain.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.MailDomainNotFoundExceptionWorkMail.Client.exceptions.MailDomainStateExceptionWorkMail.Client.exceptions.OrganizationNotFoundExceptionWorkMail.Client.exceptions.OrganizationStateExceptionWorkMail.Client.exceptions.InvalidParameterException