Skip to content

GetDataAutomationLibraryEntity

Source: src/AWS/BedrockDataAutomation/GetDataAutomationLibraryEntity.ts

Runtime binding for the GetDataAutomationLibraryEntity operation (IAM action bedrock:GetDataAutomationLibraryEntity on the library ARN) — read a single entity (e.g. a VOCABULARY entry with its phrases) from the bound library.

Provide the implementation with Effect.provide(AWS.BedrockDataAutomation.GetDataAutomationLibraryEntityHttp).

// deploy time — bind the library
const getEntity =
yield* AWS.BedrockDataAutomation.GetDataAutomationLibraryEntity(library);
// runtime — fetch the entity written by an ingestion job
const { entity } = yield* getEntity({
entityType: "VOCABULARY",
entityId,
});