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'
)
[REQUIRED]
The ID of the plan query operation for which to get results.
[REQUIRED]
The work unit ID for which to get results. Value generated by enumerating WorkUnitIdMin
to WorkUnitIdMax
(inclusive) from the WorkUnitRange
in the output of GetWorkUnits
.
[REQUIRED]
A work token used to query the execution service. Token output from GetWorkUnits
.
dict
Response Syntax
{
'ResultStream': StreamingBody()
}
Response Structure
(dict) --
A structure for the output.
ResultStream (StreamingBody
) --
Rows returned from the GetWorkUnitResults
operation as a stream of Apache Arrow v1.0 messages.
Exceptions
LakeFormation.Client.exceptions.InternalServiceException
LakeFormation.Client.exceptions.InvalidInputException
LakeFormation.Client.exceptions.AccessDeniedException
LakeFormation.Client.exceptions.ExpiredException
LakeFormation.Client.exceptions.ThrottledException