| 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 `servicequotas:ListServiceQuotas` — list the applied |
| 7 | * quota values for a service from inside a Function. |
| 8 | * |
| 9 | * ### Listing Quotas |
| 10 | * **Example:** List VPC quotas |
| 11 | * ```typescript |
| 12 | * // init |
| 13 | * const listServiceQuotas = yield* AWS.ServiceQuotas.ListServiceQuotas(); |
| 14 | * |
| 15 | * // runtime |
| 16 | * const { Quotas } = yield* listServiceQuotas({ |
| 17 | * ServiceCode: "vpc", |
| 18 | * MaxResults: 50, |
| 19 | * }); |
| 20 | * ``` |
| 21 | * |
| 22 | * @binding |
| 23 | */ |
| 24 | export interface ListServiceQuotas extends Binding.Service< |
| 25 | ListServiceQuotas, |
| 26 | "AWS.ServiceQuotas.ListServiceQuotas", |
| 27 | () => Effect.Effect< |
| 28 | ( |
| 29 | request: servicequotas.ListServiceQuotasRequest, |
| 30 | ) => Effect.Effect< |
| 31 | servicequotas.ListServiceQuotasResponse, |
| 32 | servicequotas.ListServiceQuotasError |
| 33 | > |
| 34 | > |
| 35 | > {} |
| 36 | export const ListServiceQuotas = Binding.Service<ListServiceQuotas>( |
| 37 | "AWS.ServiceQuotas.ListServiceQuotas", |
| 38 | ); |