@Override
    public GetWorkUnitsResult getWorkUnits(GetWorkUnitsRequest request) {
        request = beforeClientExecution(request);
        return executeGetWorkUnits(request);
    }
<p>
Retrieves the work units generated by the <code>StartQueryPlanning</code> operation.
</p>

@param getWorkUnitsRequest
@return Result of the GetWorkUnits operation returned by the service.
@throws WorkUnitsNotReadyYetException
        Contains details about an error related to work units not being ready.
@throws InternalServiceException
        An internal service error occurred.
@throws InvalidInputException
        The input provided was not valid.
@throws AccessDeniedException
        Access to a resource was denied.
@throws ExpiredException
        Contains details about an error where the query request expired.
@sample AWSLakeFormation.GetWorkUnits
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetWorkUnits" target="_top">AWS API
     Documentation</a>
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/AWSLakeFormationClient.java