| 1 | import * as aa from "@distilled.cloud/aws/accessanalyzer"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAnalyzerScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetFinding } from "./GetFinding.ts"; |
| 5 | |
| 6 | export const GetFindingHttp = Layer.effect( |
| 7 | GetFinding, |
| 8 | makeAnalyzerScopedHttpBinding({ |
| 9 | tag: "AWS.AccessAnalyzer.GetFinding", |
| 10 | operation: aa.getFinding, |
| 11 | actions: ["access-analyzer:GetFinding"], |
| 12 | }), |
| 13 | ); |