associate_member_to_group

WorkMail.Client.associate_member_to_group(**kwargs)

Adds a member (user or group) to the group's set.

See also: AWS API Documentation

Request Syntax

response = client.associate_member_to_group(
    OrganizationId='string',
    GroupId='string',
    MemberId='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The organization under which the group exists.

  • GroupId (string) --

    [REQUIRED]

    The group to which the member (user or group) is associated.

  • MemberId (string) --

    [REQUIRED]

    The member (user or group) to associate to the group.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.DirectoryServiceAuthenticationFailedException
  • WorkMail.Client.exceptions.DirectoryUnavailableException
  • WorkMail.Client.exceptions.EntityNotFoundException
  • WorkMail.Client.exceptions.EntityStateException
  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException
  • WorkMail.Client.exceptions.UnsupportedOperationException