RegisterAdmin
Source:
src/AWS/RePostSpace/RegisterAdmin.ts
Runtime binding for the RegisterAdmin operation (IAM action
repostspace:RegisterAdmin on the space ARN).
Promotes an IAM Identity Center user or group (by accessor id) to
administrator of the bound Space.
Provide the implementation with
Effect.provide(AWS.RePostSpace.RegisterAdminHttp).
Managing Admins
Section titled “Managing Admins”const registerAdmin = yield* AWS.RePostSpace.RegisterAdmin(space);
yield* registerAdmin({ adminId: "94682c8d-1234-5678-9abc-e001c76e2c44" });