GetJobBookmark
Source:
src/AWS/Glue/GetJobBookmark.ts
Runtime binding for glue:GetJobBookmark.
Reads the bound Job’s bookmark entry — the incremental-processing
checkpoint Glue keeps when a job runs with --job-bookmark-option job-bookmark-enable. Fails with the typed EntityNotFoundException when
the job has never recorded a bookmark. The job name is injected from the
binding. Provide the implementation with
Effect.provide(AWS.Glue.GetJobBookmarkHttp).
Job Bookmarks
Section titled “Job Bookmarks”// initconst getJobBookmark = yield* AWS.Glue.GetJobBookmark(job);
// runtimeconst entry = yield* getJobBookmark().pipe( Effect.map((r) => r.JobBookmarkEntry), Effect.catchTag("EntityNotFoundException", () => Effect.succeed(undefined), ),);