Module Smaws_Client_WorkMail.ListGroupsForEntity

Returns all the groups to which an entity belongs.

val request : Smaws_Lib.Context.t -> Types.list_groups_for_entity_request -> (Types.list_groups_for_entity_response, [> Smaws_Lib.Protocols.AwsJson.error | `EntityNotFoundException of Types.entity_not_found_exception | `EntityStateException of Types.entity_state_exception | `InvalidParameterException of Types.invalid_parameter_exception | `OrganizationNotFoundException of Types.organization_not_found_exception | `OrganizationStateException of Types.organization_state_exception ]) Stdlib.result