GetServiceQuota
Source:
src/AWS/ServiceQuotas/GetServiceQuota.ts
Runtime binding for servicequotas:GetServiceQuota — read the applied
value of any Service Quotas quota (account-level or resource-level) from
inside a Function.
Service Quotas is a read-mostly control-plane service with no resource to
manage for reads: the binding takes no arguments and grants the function
servicequotas:GetServiceQuota (the action has no resource-level IAM).
Pass the raw distilled request — no marshalling.
Reading Quotas
Section titled “Reading Quotas”// initconst getServiceQuota = yield* AWS.ServiceQuotas.GetServiceQuota();
// runtimeconst { Quota } = yield* getServiceQuota({ ServiceCode: "lambda", QuotaCode: "L-B99A9384",});const applied = Quota?.Value;