What are the differences between various AWS data services (e.g., S3, Glue, Redshift) and when would you choose one over another for Jpmorgan Chase &?
Implement choose_aws_services(workloads). Each workload is a dictionary with boolean fields needs_transformation and needs_interactive_queries. Return one service name per workload: choose Glue for transformation, Redshift for interactive queries, and S3 otherwise. If both flags are true, choose Glue because transformation takes precedence.
Examples: [{"needs_transformation": true, "needs_interactive_queries": false}] returns ["Glue"]; [{"needs_transformation": true, "needs_interactive_queries": true}] returns ["Glue"].
def choose_aws_services(workloads):