register_mail_domain
(**kwargs)¶Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has permanent permission to use the specified domain for sending your users' emails.
See also: AWS API Documentation
Request Syntax
response = client.register_mail_domain(
ClientToken='string',
OrganizationId='string',
DomainName='string'
)
Idempotency token used when retrying requests.
This field is autopopulated if not provided.
[REQUIRED]
The WorkMail organization under which you're creating the domain.
[REQUIRED]
The name of the mail domain to create in WorkMail and SES.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.MailDomainInUseException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.LimitExceededException
WorkMail.Client.exceptions.InvalidParameterException