Skip to content

GetAdminScope

Source: src/AWS/FMS/GetAdminScope.ts

Runtime binding for fms:GetAdminScope.

Returns information about the specified account’s administrative scope — the resources a Firewall Manager administrator can manage. Provide the implementation with Effect.provide(AWS.FMS.GetAdminScopeHttp).

// init — account-level binding takes no resource
const getAdminScope = yield* AWS.FMS.GetAdminScope();
// runtime
const result = yield* getAdminScope({ AdminAccount: accountId });
console.log(result.Status, result.AdminScope?.PolicyTypeScope);