  def DeleteRole(self, role_name: str) -> None:
    """Delete an IAM role.

    Args:
      role_name (str): The name of the role to delete.
    """
    logger.info('Deleting IAM role {0:s}'.format(role_name))
    try:
      self.client.delete_role(RoleName=role_name)
    except self.client.exceptions.NoSuchEntityException:
      logger.info('IAM role {0:s} did not exist'.format(role_name))
Delete an IAM role.

Args:
role_name (str): The name of the role to delete.
libcloudforensics/providers/aws/internal/iam.py