import type * as repostspace from "@distilled.cloud/aws/repostspace"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Space } from "./Space.ts"; export interface BatchRemoveRoleRequest extends Omit { } /** * 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 * {@link 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 * **Example:** Remove the EXPERT role from users * ```typescript * 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); * ``` * * @binding */ export interface BatchRemoveRole extends Binding.Service Effect.Effect<(request: BatchRemoveRoleRequest) => Effect.Effect>> { } export declare const BatchRemoveRole: BatchRemoveRole; //# sourceMappingURL=BatchRemoveRole.d.ts.map