1import type * as rekognition from "@distilled.cloud/aws/rekognition";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `rekognition:DescribeProjectVersions` — describe the model versions of a Rekognition project — training status, evaluation results, and hosting status.
7 *
8 * The binding takes no arguments and grants the function
9 * `rekognition:DescribeProjectVersions` 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.DescribeProjectVersionsHttp)`.
13 *
14 * ### Custom Labels
15 * **Example:** Describe Model Versions
16 * ```typescript
17 * // init
18 * const describeProjectVersions = yield* AWS.Rekognition.DescribeProjectVersions();
19 *
20 * // runtime
21 * const page = yield* describeProjectVersions({ ProjectArn: projectArn });
22 * // page.ProjectVersionDescriptions
23 * ```
24 *
25 * @binding
26 */
27export interface DescribeProjectVersions extends Binding.Service<
28 DescribeProjectVersions,
29 "AWS.Rekognition.DescribeProjectVersions",
30 () => Effect.Effect<
31 (
32 request: rekognition.DescribeProjectVersionsRequest,
33 ) => Effect.Effect<
34 rekognition.DescribeProjectVersionsResponse,
35 rekognition.DescribeProjectVersionsError
36 >
37 >
38> {}
39export const DescribeProjectVersions = Binding.Service<DescribeProjectVersions>(
40 "AWS.Rekognition.DescribeProjectVersions",
41);