WorkMail.Client.create_group(**kwargs)¶Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.
See also: AWS API Documentation
Request Syntax
response = client.create_group(
OrganizationId='string',
Name='string'
)
[REQUIRED]
The organization under which the group is to be created.
[REQUIRED]
The name of the group.
dict
Response Syntax
{
'GroupId': 'string'
}
Response Structure
(dict) --
GroupId (string) --
The identifier of the group.
Exceptions
WorkMail.Client.exceptions.DirectoryServiceAuthenticationFailedExceptionWorkMail.Client.exceptions.DirectoryUnavailableExceptionWorkMail.Client.exceptions.InvalidParameterExceptionWorkMail.Client.exceptions.NameAvailabilityExceptionWorkMail.Client.exceptions.OrganizationNotFoundExceptionWorkMail.Client.exceptions.OrganizationStateExceptionWorkMail.Client.exceptions.ReservedNameExceptionWorkMail.Client.exceptions.UnsupportedOperationException