Module Smaws_Client_WorkMail.DeregisterFromWorkMail

Mark a user, group, or resource as no longer used in WorkMail. This action disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.

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.deregister_from_work_mail_request -> (Types.deregister_from_work_mail_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