import type * as guardduty from "@distilled.cloud/aws/guardduty"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Detector } from "./Detector.ts"; /** * Runtime binding for `guardduty:GetUsageStatistics`. * * Reports GuardDuty usage (cost) statistics for the detector, grouped by data source, feature, or member account. * The detector id is injected from the bound {@link Detector}. * Provide the implementation with * `Effect.provide(AWS.GuardDuty.GetUsageStatisticsHttp)`. * ### Usage & Coverage * **Example:** Usage by Data Source * ```typescript * // init * const getUsageStatistics = yield* AWS.GuardDuty.GetUsageStatistics(detector); * * // runtime * const { UsageStatistics } = yield* getUsageStatistics({ * UsageStatisticType: "SUM_BY_DATA_SOURCE", * UsageCriteria: { DataSources: ["FLOW_LOGS"] }, * }); * ``` * * @binding */ export interface GetUsageStatistics extends Binding.Service Effect.Effect<(request?: Omit) => Effect.Effect>> { } export declare const GetUsageStatistics: GetUsageStatistics; //# sourceMappingURL=GetUsageStatistics.d.ts.map