LakeFormation.Client.
get_work_units
(**kwargs)¶Retrieves the work units generated by the StartQueryPlanning
operation.
See also: AWS API Documentation
Request Syntax
response = client.get_work_units(
NextToken='string',
PageSize=123,
QueryId='string'
)
[REQUIRED]
The ID of the plan query operation.
dict
Response Syntax
{
'NextToken': 'string',
'QueryId': 'string',
'WorkUnitRanges': [
{
'WorkUnitIdMax': 123,
'WorkUnitIdMin': 123,
'WorkUnitToken': 'string'
},
]
}
Response Structure
(dict) --
A structure for the output.
NextToken (string) --
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
QueryId (string) --
The ID of the plan query operation.
WorkUnitRanges (list) --
A WorkUnitRangeList
object that specifies the valid range of work unit IDs for querying the execution service.
(dict) --
Defines the valid range of work unit IDs for querying the execution service.
WorkUnitIdMax (integer) --
Defines the maximum work unit ID in the range. The maximum value is inclusive.
WorkUnitIdMin (integer) --
Defines the minimum work unit ID in the range.
WorkUnitToken (string) --
A work token used to query the execution service.
Exceptions
LakeFormation.Client.exceptions.WorkUnitsNotReadyYetException
LakeFormation.Client.exceptions.InternalServiceException
LakeFormation.Client.exceptions.InvalidInputException
LakeFormation.Client.exceptions.AccessDeniedException
LakeFormation.Client.exceptions.ExpiredException