Python boto3 - Athena Query - start_query_execution - The security token included in the request is invalid
问题 My code to get Athena Query is self.athenaDataSource = "AwsCatalog" self.athenaDB = "prod_myapp_app" self.athenaResultBucket = "s3://s3-athena-prod-results/" and here i show I create client and call .start_query_execution clientAthena = boto3.client('athena', region_name=awsRegion) athenaQueryExecResp = clientAthena.start_query_execution( QueryString=self.athenaQuery, QueryExecutionContext={ 'Database': self.athenaDB }, ResultConfiguration={'OutputLocation': self.athenaResultBucket } ) print(