Skip to main content

work_units

Creates, updates, deletes, gets or lists a work_units resource.

Overview

Namework_units
TypeResource
Idaws.lakeformation.work_units

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
work_unit_id_maxinteger (int64)Defines the maximum work unit ID in the range. The maximum value is inclusive.
work_unit_id_mininteger (int64)Defines the minimum work unit ID in the range.
work_unit_tokenstringA work token used to query the execution service.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_work_unitsselectregionRetrieves the work units generated by the StartQueryPlanning operation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the work units generated by the StartQueryPlanning operation.

SELECT
work_unit_id_max,
work_unit_id_min,
work_unit_token
FROM aws.lakeformation.work_units
WHERE region = '{{ region }}' -- required
;