Full AWS Practitioner Certification Question

A company needs to transform AWS Network Firewall flow logs and add extra data before storing the flow logs in an existing Amazon S3 bucket. Currently, the flow logs go directly to the S3 bucket, and the company uses Amazon Athena to analyze the data. The goal is to process the logs before delivering the processed logs to the S3 bucket. How can the company transform the flow logs and deliver them to the existing S3 bucket?