| 1 | import * as sfn from "@distilled.cloud/aws/sfn"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeExecutionScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { DescribeExecution } from "./DescribeExecution.ts"; |
| 5 | |
| 6 | export const DescribeExecutionHttp = Layer.effect( |
| 7 | DescribeExecution, |
| 8 | makeExecutionScopedHttpBinding({ |
| 9 | tag: "AWS.StepFunctions.DescribeExecution", |
| 10 | operation: sfn.describeExecution, |
| 11 | actions: ["states:DescribeExecution"], |
| 12 | }), |
| 13 | ); |