Skip to content

GetAWSDefaultServiceQuota

Source: src/AWS/ServiceQuotas/GetAWSDefaultServiceQuota.ts

Runtime binding for servicequotas:GetAWSDefaultServiceQuota — read the AWS default value of a quota (the value that applies when no account override exists) from inside a Function.

// init
const getAWSDefaultServiceQuota =
yield* AWS.ServiceQuotas.GetAWSDefaultServiceQuota();
// runtime
const { Quota } = yield* getAWSDefaultServiceQuota({
ServiceCode: "vpc",
QuotaCode: "L-F678F1CE",
});
const defaultValue = Quota?.Value;