1import * as glue from "@distilled.cloud/aws/glue";
2import * as Layer from "effect/Layer";
3import { makeGlueJobHttpBinding } from "./BindingHttp.ts";
4import { GetJobBookmark } from "./GetJobBookmark.ts";
5
6export const GetJobBookmarkHttp = Layer.effect(
7 GetJobBookmark,
8 makeGlueJobHttpBinding({
9 tag: "AWS.Glue.GetJobBookmark",
10 operation: glue.getJobBookmark,
11 actions: ["glue:GetJobBookmark"],
12 // Glue evaluates bookmark actions without a resource — an ARN-scoped
13 // grant never matches (verified live via the IAM policy simulator).
14 anyResource: true,
15 }),
16);