code: def clean_logs(group_name: str):
      client = boto3.client("logs")
      client.delete_log_group(logGroupName=group_name)
  
file_path: airflow/tests/system/providers/amazon/aws/example_ecs.py
imports: from __future__ import annotations
  from datetime import datetime
  import boto3
  from airflow.decorators import task
  from airflow.models.baseoperator import chain
  from airflow.models.dag import DAG
  from airflow.providers.amazon.aws.hooks.ecs import EcsClusterStates
  from airflow.providers.amazon.aws.operators.ecs import EcsCreateClusterOperator, EcsDeleteClusterOperator, EcsDeregisterTaskDefinitionOperator, EcsRegisterTaskDefinitionOperator, EcsRunTaskOperator
  from airflow.providers.amazon.aws.sensors.ecs import EcsClusterStateSensor, EcsTaskDefinitionStateSensor
  from airflow.utils.trigger_rule import TriggerRule
  from tests.system.providers.amazon.aws.utils import ENV_ID_KEY, SystemTestContextBuilder
  from tests.system.utils import get_test_run
label_desc: Use image node_id 2 for calling a global function with example usage: clean_logs(group_name) without return types