docs: def get_cloudwatch_event_rule(app_name, account, region):
      """Get CloudWatch Event rule names."""
      session = boto3.Session(profile_name=account, region_name=region)
      cloudwatch_client = session.client('events')
  
      lambda_alias_arn = get_lambda_alias_arn(app=app_name, account=account, region=region)
      rule_names = cloudwatch_client.list_rule_names_by_target(TargetArn=lambda_alias_arn)
  
      if rule_names['RuleNames']:
          all_rules = rule_names['RuleNames']
      else:
          LOG.debug("No event rules found")
          all_rules = []
      return all_rules