work_units
Creates, updates, deletes, gets or lists a work_units resource.
Overview
| Name | work_units |
| Type | Resource |
| Id | aws.lakeformation.work_units |
Fields
The following fields are returned by SELECT queries:
- get_work_units
| Name | Datatype | Description |
|---|---|---|
work_unit_id_max | integer (int64) | Defines the maximum work unit ID in the range. The maximum value is inclusive. |
work_unit_id_min | integer (int64) | Defines the minimum work unit ID in the range. |
work_unit_token | string | A work token used to query the execution service. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_work_units | select | region | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_work_units
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
;