| 1 | import * as ec2 from "@distilled.cloud/aws/ec2"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeInstanceHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetConsoleOutput } from "./GetConsoleOutput.ts"; |
| 5 | |
| 6 | export const GetConsoleOutputHttp = Layer.effect( |
| 7 | GetConsoleOutput, |
| 8 | makeInstanceHttpBinding({ |
| 9 | tag: "AWS.EC2.GetConsoleOutput", |
| 10 | operation: ec2.getConsoleOutput, |
| 11 | actions: ["ec2:GetConsoleOutput"], |
| 12 | requestKey: "InstanceId", |
| 13 | }), |
| 14 | ); |