title: AWS Athena - Operation cannot be paginated: get_query_results
body: <p>I'm trying to use boto3 to run a query in AWS Athena. but I'm getting this error:</p>
  
  <pre><code> Operation cannot be paginated: get_query_results
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>client = boto3.client(
      'athena',
      aws_access_key_id=ACCESS_KEY,
      aws_secret_access_key=SECRET_KEY,
      region_name='us-east-1'
  )
  
  query = """ 
  
      select 1;
  
  """
  response = client.start_query_execution(
      QueryString=query,
      # QueryExecutionContext={
      #     'Database': 'Test45'
      # },
      ResultConfiguration={
          'OutputLocation': 's3://dft-dwh-files/raw_data/google_analytics/dev-test/'
      }
   )
  
  
  paginator = client.get_paginator('get_query_results')
  
  response_iterator = paginator.paginate(
      QueryExecutionId='string',
      PaginationConfig={
          'MaxItems': 123,
          'PageSize': 123,
          'StartingToken': 'bafe7afc-07b5-4622-9019-2e3c92853913'
      }
  )
  </code></pre>
  
  <p>How can I fix this?</p>