Module Smaws_Client_WorkMail.GetImpersonationRoleEffect

Tests whether the given impersonation role can impersonate a target user.

val request : Smaws_Lib.Context.t -> Types.get_impersonation_role_effect_request -> (Types.get_impersonation_role_effect_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 | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result