Smaws_Client_WorkMail.CreateImpersonationRole
val request :
Smaws_Lib.Context.t ->
create_impersonation_role_request ->
(create_impersonation_role_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `EntityNotFoundException of entity_not_found_exception
| `EntityStateException of entity_state_exception
| `InvalidParameterException of invalid_parameter_exception
| `LimitExceededException of limit_exceeded_exception
| `OrganizationNotFoundException of organization_not_found_exception
| `OrganizationStateException of organization_state_exception ])
Stdlib.result
Creates an impersonation role for the given WorkMail organization.
Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries also complete successfully without performing any further actions.