Smaws_Client_WorkMail.CreateImpersonationRole
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.
val request :
Smaws_Lib.Context.t ->
Types.create_impersonation_role_request ->
(Types.create_impersonation_role_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
| `LimitExceededException of Types.limit_exceeded_exception
| `OrganizationNotFoundException of Types.organization_not_found_exception
| `OrganizationStateException of Types.organization_state_exception ])
Stdlib.result