Module Smaws_Client_WorkMail.PutMailboxPermissions

Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.

val error_to_string : [ 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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_mailbox_permissions_request -> (Types.put_mailbox_permissions_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