| 1 | import type * as servicequotas from "@distilled.cloud/aws/service-quotas"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for |
| 7 | * `servicequotas:ListRequestedServiceQuotaChangeHistoryByQuota` — list quota |
| 8 | * increase requests for one specific quota from inside a Function. |
| 9 | * |
| 10 | * ### Quota Increase Requests |
| 11 | * **Example:** List requests for the Lambda concurrency quota |
| 12 | * ```typescript |
| 13 | * // init |
| 14 | * const listRequestedServiceQuotaChangeHistoryByQuota = |
| 15 | * yield* AWS.ServiceQuotas.ListRequestedServiceQuotaChangeHistoryByQuota(); |
| 16 | * |
| 17 | * // runtime |
| 18 | * const { RequestedQuotas } = |
| 19 | * yield* listRequestedServiceQuotaChangeHistoryByQuota({ |
| 20 | * ServiceCode: "lambda", |
| 21 | * QuotaCode: "L-B99A9384", |
| 22 | * }); |
| 23 | * ``` |
| 24 | * |
| 25 | * @binding |
| 26 | */ |
| 27 | export interface ListRequestedServiceQuotaChangeHistoryByQuota extends Binding.Service< |
| 28 | ListRequestedServiceQuotaChangeHistoryByQuota, |
| 29 | "AWS.ServiceQuotas.ListRequestedServiceQuotaChangeHistoryByQuota", |
| 30 | () => Effect.Effect< |
| 31 | ( |
| 32 | request: servicequotas.ListRequestedServiceQuotaChangeHistoryByQuotaRequest, |
| 33 | ) => Effect.Effect< |
| 34 | servicequotas.ListRequestedServiceQuotaChangeHistoryByQuotaResponse, |
| 35 | servicequotas.ListRequestedServiceQuotaChangeHistoryByQuotaError |
| 36 | > |
| 37 | > |
| 38 | > {} |
| 39 | export const ListRequestedServiceQuotaChangeHistoryByQuota = |
| 40 | Binding.Service<ListRequestedServiceQuotaChangeHistoryByQuota>( |
| 41 | "AWS.ServiceQuotas.ListRequestedServiceQuotaChangeHistoryByQuota", |
| 42 | ); |