| 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:ListRequestedServiceQuotaChangeHistory` — list quota |
| 8 | * increase requests in the account's 90-day request history from inside a |
| 9 | * Function, optionally filtered by service or status. |
| 10 | * |
| 11 | * ### Quota Increase Requests |
| 12 | * **Example:** List pending requests |
| 13 | * ```typescript |
| 14 | * // init |
| 15 | * const listRequestedServiceQuotaChangeHistory = |
| 16 | * yield* AWS.ServiceQuotas.ListRequestedServiceQuotaChangeHistory(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * const { RequestedQuotas } = yield* listRequestedServiceQuotaChangeHistory({ |
| 20 | * Status: "PENDING", |
| 21 | * }); |
| 22 | * ``` |
| 23 | * |
| 24 | * @binding |
| 25 | */ |
| 26 | export interface ListRequestedServiceQuotaChangeHistory extends Binding.Service< |
| 27 | ListRequestedServiceQuotaChangeHistory, |
| 28 | "AWS.ServiceQuotas.ListRequestedServiceQuotaChangeHistory", |
| 29 | () => Effect.Effect< |
| 30 | ( |
| 31 | request?: servicequotas.ListRequestedServiceQuotaChangeHistoryRequest, |
| 32 | ) => Effect.Effect< |
| 33 | servicequotas.ListRequestedServiceQuotaChangeHistoryResponse, |
| 34 | servicequotas.ListRequestedServiceQuotaChangeHistoryError |
| 35 | > |
| 36 | > |
| 37 | > {} |
| 38 | export const ListRequestedServiceQuotaChangeHistory = |
| 39 | Binding.Service<ListRequestedServiceQuotaChangeHistory>( |
| 40 | "AWS.ServiceQuotas.ListRequestedServiceQuotaChangeHistory", |
| 41 | ); |