Module Smaws_Client_WorkMail.RegisterMailDomain

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `MailDomainInUseException of Types.mail_domain_in_use_exception | `OrganizationNotFoundException of Types.organization_not_found_exception | `OrganizationStateException of Types.organization_state_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.register_mail_domain_request -> (Types.register_mail_domain_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LimitExceededException of Types.limit_exceeded_exception | `MailDomainInUseException of Types.mail_domain_in_use_exception | `OrganizationNotFoundException of Types.organization_not_found_exception | `OrganizationStateException of Types.organization_state_exception ]) Stdlib.result