title: How can I pass workgroup info to Athena startQueryExecution method in Boto3
body: <p>I am seeing the below error when I try to pass WorkGroup info in the format listed below using my boto3 code in AWS Lambda -</p>
  
  <blockquote>
    <p>"errorMessage": "Parameter validation failed:\nUnknown parameter in
    input: \"WorkGroup\", must be one of: QueryString, ClientRequestToken,
    QueryExecutionContext, ResultConfiguration",</p>
  </blockquote>
  
  <pre><code>query_id = client.start_query_execution(
      QueryString=query_string,
      QueryExecutionContext={
          'Database': 'sample_db'
      },
      ResultConfiguration={
          'OutputLocation': 's3://sample_db/output/'
      },
      WorkGroup='workgroup1'
  )['QueryExecutionId']
  </code></pre>
  
  <p>As per boto3 documentation , this is something that can be passed - <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.start_query_execution" rel="nofollow noreferrer">https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.start_query_execution</a></p>