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.MailDomainNotFoundException
WorkMail.Client.exceptions.MailDomainStateException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.InvalidParameterException