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