| 1 | import * as guardduty from "@distilled.cloud/aws/guardduty"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeGuardDutyDetectorHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetRemainingFreeTrialDays } from "./GetRemainingFreeTrialDays.ts"; |
| 5 | |
| 6 | export const GetRemainingFreeTrialDaysHttp = Layer.effect( |
| 7 | GetRemainingFreeTrialDays, |
| 8 | makeGuardDutyDetectorHttpBinding({ |
| 9 | tag: "AWS.GuardDuty.GetRemainingFreeTrialDays", |
| 10 | operation: guardduty.getRemainingFreeTrialDays, |
| 11 | actions: ["guardduty:GetRemainingFreeTrialDays"], |
| 12 | }), |
| 13 | ); |