GetDataAutomationLibraryIngestionJob
Source:
src/AWS/BedrockDataAutomation/GetDataAutomationLibraryIngestionJob.ts
Runtime binding for the GetDataAutomationLibraryIngestionJob operation
(IAM action bedrock:GetDataAutomationLibraryIngestionJob on the library
ARN) — poll the status of a library ingestion job from a deployed
Function.
Provide the implementation with
Effect.provide(AWS.BedrockDataAutomation.GetDataAutomationLibraryIngestionJobHttp).
Library Ingestion
Section titled “Library Ingestion”// deploy time — bind the libraryconst getJob = yield* AWS.BedrockDataAutomation.GetDataAutomationLibraryIngestionJob(library);
// runtime — check the job started by the ingestion bindingconst { job } = yield* getJob({ jobArn });if (job?.jobStatus === "COMPLETED") { yield* Effect.log(`ingestion results at ${job.outputConfiguration.s3Uri}`);}