Smaws_Client_WorkMail.AssumeImpersonationRole
val request :
Smaws_Lib.Context.t ->
assume_impersonation_role_request ->
(assume_impersonation_role_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of invalid_parameter_exception
| `OrganizationNotFoundException of organization_not_found_exception
| `OrganizationStateException of organization_state_exception
| `ResourceNotFoundException of resource_not_found_exception ])
Stdlib.result
Assumes an impersonation role for the given WorkMail organization. This method returns an authentication token you can use to make impersonated calls.