Skip to content

ListDataAutomationLibraryEntities

Source: src/AWS/BedrockDataAutomation/ListDataAutomationLibraryEntities.ts

Runtime binding for the ListDataAutomationLibraryEntities operation (IAM action bedrock:ListDataAutomationLibraryEntities on the library ARN) — page through the bound library’s entities of a given type from a deployed Function.

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

// deploy time — bind the library
const listEntities =
yield* AWS.BedrockDataAutomation.ListDataAutomationLibraryEntities(library);
// runtime — first page of vocabulary entities
const { entities } = yield* listEntities({
entityType: "VOCABULARY",
maxResults: 25,
});