We are excited to announce our new API Documentation.
Protected
Returns the work units resulting from the query. Work units can be executed in any order and in parallel.
Use a bare-bones client and the command you need to make an API call.
import { LakeFormationClient, GetWorkUnitResultsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import// const { LakeFormationClient, GetWorkUnitResultsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS importconst client = new LakeFormationClient(config);const input = { // GetWorkUnitResultsRequest QueryId: "STRING_VALUE", // required WorkUnitId: Number("long"), // required WorkUnitToken: "STRING_VALUE", // required};const command = new GetWorkUnitResultsCommand(input);const response = await client.send(command);// { // GetWorkUnitResultsResponse// ResultStream: "STREAMING_BLOB_VALUE",// };
GetWorkUnitResultsCommandInput
GetWorkUnitResultsCommandOutput
input
response
config
AccessDeniedException (client fault)
Access to a resource was denied.
ExpiredException (client fault)
Contains details about an error where the query request expired.
InternalServiceException (server fault)
An internal service error occurred.
InvalidInputException (client fault)
The input provided was not valid.
ThrottledException (client fault)
Contains details about an error where the query request was throttled.
LakeFormationServiceException
Base exception class for all service exceptions from LakeFormation service.
Readonly
Static
Returns the work units resulting from the query. Work units can be executed in any order and in parallel.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetWorkUnitResultsCommandInput
Returns
GetWorkUnitResultsCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
Access to a resource was denied.
Throws
ExpiredException (client fault)
Contains details about an error where the query request expired.
Throws
InternalServiceException (server fault)
An internal service error occurred.
Throws
InvalidInputException (client fault)
The input provided was not valid.
Throws
ThrottledException (client fault)
Contains details about an error where the query request was throttled.
Throws
LakeFormationServiceException
Base exception class for all service exceptions from LakeFormation service.