  def DeletePolicy(self, arn: str) -> None:
    """Deletes the IAM policy with the given name.

    Args:
      arn (str): The ARN of the policy to delete.
    """
    logger.info('Deleting IAM policy {0:s}'.format(arn))
    try:
      self.client.delete_policy(PolicyArn=arn)
    except self.client.exceptions.NoSuchEntityException:
      logger.info('IAM policy {0:s} did not exist'.format(arn))
Deletes the IAM policy with the given name.

Args:
arn (str): The ARN of the policy to delete.
libcloudforensics/providers/aws/internal/iam.py