import type * as servicequotas from "@distilled.cloud/aws/service-quotas"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.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. * * ### Auto Management * **Example:** Check the Auto Management opt-in status * ```typescript * // 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 * ``` * * @binding */ export interface GetAutoManagementConfiguration extends Binding.Service< GetAutoManagementConfiguration, "AWS.ServiceQuotas.GetAutoManagementConfiguration", () => Effect.Effect< ( request?: servicequotas.GetAutoManagementConfigurationRequest, ) => Effect.Effect< servicequotas.GetAutoManagementConfigurationResponse, servicequotas.GetAutoManagementConfigurationError > > > {} export const GetAutoManagementConfiguration = Binding.Service( "AWS.ServiceQuotas.GetAutoManagementConfiguration", );