Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_group

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'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The organization under which the group is to be created.

  • Name (string) --

    [REQUIRED]

    The name of the group.

Return type

dict

Returns

Response Syntax

{
    'GroupId': 'string'
}

Response Structure

  • (dict) --

    • GroupId (string) --

      The identifier of the group.

Exceptions

  • WorkMail.Client.exceptions.DirectoryServiceAuthenticationFailedException
  • WorkMail.Client.exceptions.DirectoryUnavailableException
  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.NameAvailabilityException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException
  • WorkMail.Client.exceptions.ReservedNameException
  • WorkMail.Client.exceptions.UnsupportedOperationException