Skip to content

GetAutoManagementConfiguration

Source: src/AWS/ServiceQuotas/GetAutoManagementConfiguration.ts

Runtime binding for servicequotas:GetAutoManagementConfiguration — read the account’s Service Quotas Auto Management opt-in status (opt-in type, notification target, excluded quotas) from inside a Function.

// init
const getAutoManagementConfiguration =
yield* AWS.ServiceQuotas.GetAutoManagementConfiguration();
// runtime — fails with the typed NoSuchResourceException when the
// account has not opted in to Auto Management
const config = yield* getAutoManagementConfiguration();
const optIn = config.OptInType; // NotifyOnly | NotifyAndAdjust