LakeFormation / Client / get_work_unit_results
get_work_unit_results#
- LakeFormation.Client.get_work_unit_results(**kwargs)#
Returns the work units resulting from the query. Work units can be executed in any order and in parallel.
See also: AWS API Documentation
Request Syntax
response = client.get_work_unit_results( QueryId='string', WorkUnitId=123, WorkUnitToken='string' )
- Parameters:
QueryId (string) –
[REQUIRED]
The ID of the plan query operation for which to get results.
WorkUnitId (integer) –
[REQUIRED]
The work unit ID for which to get results. Value generated by enumerating
WorkUnitIdMintoWorkUnitIdMax(inclusive) from theWorkUnitRangein the output ofGetWorkUnits.WorkUnitToken (string) –
[REQUIRED]
A work token used to query the execution service. Token output from
GetWorkUnits.
- Return type:
dict
- Returns:
Response Syntax
{ 'ResultStream': StreamingBody() }
Response Structure
(dict) –
A structure for the output.
ResultStream (
StreamingBody) –Rows returned from the
GetWorkUnitResultsoperation as a stream of Apache Arrow v1.0 messages.
Exceptions
LakeFormation.Client.exceptions.InternalServiceExceptionLakeFormation.Client.exceptions.InvalidInputExceptionLakeFormation.Client.exceptions.AccessDeniedExceptionLakeFormation.Client.exceptions.ExpiredExceptionLakeFormation.Client.exceptions.ThrottledException