| 1 | import * as glue from "@distilled.cloud/aws/glue"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGlueJobHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetJobBookmark } from "./GetJobBookmark.ts"; |
| 5 | |
| 6 | export 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 | ); |