@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 38 lines 1.17 KB
Raw
1 import type * as ecrpublic from "@distilled.cloud/aws/ecr-public";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `ecr-public:GetRegistryCatalogData`.
7 *
8 * Reads the registry-level catalog metadata (the gallery display name).
9 * Provide the implementation with
10 * `Effect.provide(AWS.ECRPublic.GetRegistryCatalogDataHttp)`.
11 *
12 * ### Registry Access
13 * **Example:** Read The Registry Display Name
14 * ```typescript
15 * // init — registry-level binding takes no resource
16 * const getRegistryCatalogData = yield* AWS.ECRPublic.GetRegistryCatalogData();
17 *
18 * // runtime
19 * const result = yield* getRegistryCatalogData();
20 * const displayName = result.registryCatalogData.displayName;
21 * ```
22 *
23 * @binding
24 */
25 export interface GetRegistryCatalogData extends Binding.Service<
26 GetRegistryCatalogData,
27 "AWS.ECRPublic.GetRegistryCatalogData",
28 () => Effect.Effect<
29 () => Effect.Effect<
30 ecrpublic.GetRegistryCatalogDataResponse,
31 ecrpublic.GetRegistryCatalogDataError
32 >
33 >
34 > {}
35
36 export const GetRegistryCatalogData = Binding.Service<GetRegistryCatalogData>(
37 "AWS.ECRPublic.GetRegistryCatalogData",
38 );