import type * as rekognition from "@distilled.cloud/aws/rekognition";
import * as Binding from "alchemy/Binding";
import type * as Effect from "effect/Effect";
/**
* Runtime binding for `rekognition:ListUsers` — list the users in a face collection.
*
* The binding takes no arguments and grants the function
* `rekognition:ListUsers` on `*` (Rekognition data-plane resources such
* as collections, users, and jobs are routinely created at runtime, so
* their identifiers are unknown at deploy time). Provide the
* implementation with `Effect.provide(AWS.Rekognition.ListUsersHttp)`.
*
* ### User Search
* **Example:** List Users in a Collection
* ```typescript
* // init
* const listUsers = yield* AWS.Rekognition.ListUsers();
*
* // runtime
* const page = yield* listUsers({ CollectionId: "tenant-42" });
* const userIds = (page.Users ?? []).map((u) => u.UserId);
* ```
*
* @binding
*/
export interface ListUsers extends Binding.Service<
ListUsers,
"AWS.Rekognition.ListUsers",
() => Effect.Effect<
(
request: rekognition.ListUsersRequest,
) => Effect.Effect<rekognition.ListUsersResponse, rekognition.ListUsersError>
>
> {}
export const ListUsers = Binding.Service<ListUsers>("AWS.Rekognition.ListUsers");