1import type * as servicequotas from "@distilled.cloud/aws/service-quotas";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `servicequotas:GetQuotaUtilizationReport` — read the
7 * result of a utilization report started with
8 * {@link StartQuotaUtilizationReport | StartQuotaUtilizationReport} from
9 * inside a Function.
10 *
11 * ### Utilization Reports
12 * **Example:** Read a utilization report
13 * ```typescript
14 * // init
15 * const getQuotaUtilizationReport =
16 * yield* AWS.ServiceQuotas.GetQuotaUtilizationReport();
17 *
18 * // runtime
19 * const { Status, QuotaUtilizationList } = yield* getQuotaUtilizationReport({
20 * ReportId: reportId,
21 * });
22 * ```
23 *
24 * @binding
25 */
26export interface GetQuotaUtilizationReport extends Binding.Service<
27 GetQuotaUtilizationReport,
28 "AWS.ServiceQuotas.GetQuotaUtilizationReport",
29 () => Effect.Effect<
30 (
31 request: servicequotas.GetQuotaUtilizationReportRequest,
32 ) => Effect.Effect<
33 servicequotas.GetQuotaUtilizationReportResponse,
34 servicequotas.GetQuotaUtilizationReportError
35 >
36 >
37> {}
38export const GetQuotaUtilizationReport =
39 Binding.Service<GetQuotaUtilizationReport>(
40 "AWS.ServiceQuotas.GetQuotaUtilizationReport",
41 );