Smaws_Client_WorkMail.GetImpersonationRoleEffect
val request :
Smaws_Lib.Context.t ->
get_impersonation_role_effect_request ->
(get_impersonation_role_effect_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `EntityNotFoundException of entity_not_found_exception
| `EntityStateException of entity_state_exception
| `InvalidParameterException of invalid_parameter_exception
| `OrganizationNotFoundException of organization_not_found_exception
| `OrganizationStateException of organization_state_exception
| `ResourceNotFoundException of resource_not_found_exception ])
Stdlib.result
Tests whether the given impersonation role can impersonate a target user.