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