Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetWorkUnitResultsCommandProtected

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.

import { LakeFormationClient, GetWorkUnitResultsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
// const { LakeFormationClient, GetWorkUnitResultsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
const 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",
// };

Param

GetWorkUnitResultsCommandInput

Returns

GetWorkUnitResultsCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods