QueryTimeout Parameter (Connect-AmazonAthena Cmdlet)
The timeout in seconds for requests issued by the provider to download large result sets.
Connect-AmazonAthena -QueryTimeout int
If the QueryTimeout property is set to 0, operations will not time out; instead, they will run until they complete successfully or encounter an error condition. This property is distinct from Timeout which applies to individual HTTP operations while QueryTimeout applies to execution time of the operation as a whole.
If QueryTimeout expires and the request has not finished being processed, the cmdlet raises an error condition.