WorkMail.Client.
create_alias
(**kwargs)¶Adds an alias to the set of a given member (user or group) of WorkMail.
See also: AWS API Documentation
Request Syntax
response = client.create_alias(
OrganizationId='string',
EntityId='string',
Alias='string'
)
[REQUIRED]
The organization under which the member (user or group) exists.
[REQUIRED]
The member (user or group) to which this alias is added.
[REQUIRED]
The alias to add to the member set.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.EmailAddressInUseException
WorkMail.Client.exceptions.EntityNotFoundException
WorkMail.Client.exceptions.EntityStateException
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.MailDomainNotFoundException
WorkMail.Client.exceptions.MailDomainStateException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.LimitExceededException