delete_impersonation_role

delete_impersonation_role(**kwargs)

Deletes an impersonation role for the given WorkMail organization.

See also: AWS API Documentation

Request Syntax

response = client.delete_impersonation_role(
    OrganizationId='string',
    ImpersonationRoleId='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The WorkMail organization from which to delete the impersonation role.

  • ImpersonationRoleId (string) --

    [REQUIRED]

    The ID of the impersonation role to delete.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException