Retrieves the work units generated by the StartQueryPlanning operation.
StartQueryPlanning
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, GetWorkUnitsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import // const { LakeFormationClient, GetWorkUnitsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import const client = new LakeFormationClient(config); const command = new GetWorkUnitsCommand(input); const response = await client.send(command);
GetWorkUnitsCommandInput for command's input shape.
input
GetWorkUnitsCommandOutput for command's response shape.
response
config for LakeFormationClient's config shape.
config
Retrieves the work units generated by the
StartQueryPlanning
operation.Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, GetWorkUnitsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import // const { LakeFormationClient, GetWorkUnitsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import const client = new LakeFormationClient(config); const command = new GetWorkUnitsCommand(input); const response = await client.send(command);
GetWorkUnitsCommandInput for command's
input
shape.GetWorkUnitsCommandOutput for command's
response
shape.config for LakeFormationClient's
config
shape.