@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 43 lines 1.39 KB
Raw
1 import type * as mi from "@distilled.cloud/aws/iot-managed-integrations";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Request for {@link ListSchemaVersions}.
7 */
8 export interface ListSchemaVersionsRequest extends mi.ListSchemaVersionsRequest {}
9
10 /**
11 * Runtime binding for `iotmanagedintegrations:ListSchemaVersions`
12 * (account-level).
13 *
14 * Lists capability or definition schema versions in the Managed
15 * integrations schema catalog, optionally filtered by namespace, schema id,
16 * visibility, or semantic version. Provide the implementation with
17 * `Effect.provide(AWS.IoTManagedIntegrations.ListSchemaVersionsHttp)`.
18 *
19 * ### Working with the Schema Catalog
20 * **Example:** List Matter Capability Schemas
21 * ```typescript
22 * const listSchemaVersions = yield* IoTManagedIntegrations.ListSchemaVersions();
23 *
24 * const { Items } = yield* listSchemaVersions({
25 * Type: "capability",
26 * Namespace: "matter",
27 * });
28 * ```
29 *
30 * @binding
31 */
32 export interface ListSchemaVersions extends Binding.Service<
33 ListSchemaVersions,
34 "AWS.IoTManagedIntegrations.ListSchemaVersions",
35 () => Effect.Effect<
36 (
37 request: ListSchemaVersionsRequest,
38 ) => Effect.Effect<mi.ListSchemaVersionsResponse, mi.ListSchemaVersionsError>
39 >
40 > {}
41 export const ListSchemaVersions = Binding.Service<ListSchemaVersions>(
42 "AWS.IoTManagedIntegrations.ListSchemaVersions",
43 );