BatchRemoveRole
Source:
src/AWS/RePostSpace/BatchRemoveRole.ts
Runtime binding for the BatchRemoveRole operation (IAM action
repostspace:BatchRemoveRole on the space ARN).
Removes a space-level role from up to 100 users or groups of the bound
Space in one call. Per-accessor failures are reported in the
output’s errors list rather than failing the whole call.
Provide the implementation with
Effect.provide(AWS.RePostSpace.BatchRemoveRoleHttp).
Managing Roles
Section titled “Managing Roles”const batchRemoveRole = yield* AWS.RePostSpace.BatchRemoveRole(space);
const result = yield* batchRemoveRole({ accessorIds: ["94682c8d-1234-5678-9abc-e001c76e2c44"], role: "EXPERT",});console.log(result.removedAccessorIds, result.errors);