Skip to content

RequestServiceQuotaIncrease

Source: src/AWS/ServiceQuotas/RequestServiceQuotaIncrease.ts

Runtime binding for servicequotas:RequestServiceQuotaIncrease — submit a quota increase request from inside a Function (e.g. automatically request more capacity when utilization approaches the limit).

// init
const requestServiceQuotaIncrease =
yield* AWS.ServiceQuotas.RequestServiceQuotaIncrease();
// runtime
const { RequestedQuota } = yield* requestServiceQuotaIncrease({
ServiceCode: "lambda",
QuotaCode: "L-B99A9384",
DesiredValue: 2000,
});
const requestId = RequestedQuota?.Id;