TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the Amazon EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created.
See https://www.paws-r-sdk.com/docs/emr_terminate_job_flows/ for full documentation.
emr_terminate_job_flows(JobFlowIds)
[required] A list of job flows to be shut down.