The best way to control Claude Code, Codex and more from any computer or phone

main
ts 41 lines 1.36 KB
Raw
1 import type * as rekognition from "@distilled.cloud/aws/rekognition";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `rekognition:DisassociateFaces` — remove the association between face IDs and a user.
7 *
8 * The binding takes no arguments and grants the function
9 * `rekognition:DisassociateFaces` on `*` (Rekognition data-plane resources such
10 * as collections, users, and jobs are routinely created at runtime, so
11 * their identifiers are unknown at deploy time). Provide the
12 * implementation with `Effect.provide(AWS.Rekognition.DisassociateFacesHttp)`.
13 *
14 * ### User Search
15 * **Example:** Disassociate Faces from a User
16 * ```typescript
17 * // init
18 * const disassociateFaces = yield* AWS.Rekognition.DisassociateFaces();
19 *
20 * // runtime
21 * const result = yield* disassociateFaces({
22 * CollectionId: "tenant-42",
23 * UserId: userId,
24 * FaceIds: [faceId],
25 * });
26 * ```
27 *
28 * @binding
29 */
30 export interface DisassociateFaces extends Binding.Service<
31 DisassociateFaces,
32 "AWS.Rekognition.DisassociateFaces",
33 () => Effect.Effect<
34 (
35 request: rekognition.DisassociateFacesRequest,
36 ) => Effect.Effect<rekognition.DisassociateFacesResponse, rekognition.DisassociateFacesError>
37 >
38 > {}
39 export const DisassociateFaces = Binding.Service<DisassociateFaces>(
40 "AWS.Rekognition.DisassociateFaces",
41 );