@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, 04:45 UTC

main
ts 37 lines 1.32 KB
Raw
1 import type * as signer from "@distilled.cloud/aws/signer";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `signer:ListSigningPlatforms`.
7 *
8 * Lists the AWS-managed signing platforms (Lambda, Notation/OCI, IoT,
9 * FreeRTOS, …), filterable by category, partner, and target. Account-level
10 * operation over the AWS-managed platform catalog, so the binding takes no
11 * resource argument. Provide the implementation with
12 * `Effect.provide(AWS.Signer.ListSigningPlatformsHttp)`.
13 * ### Discovering Platforms
14 * **Example:** Enumerate Available Platforms
15 * ```typescript
16 * // init — account-level binding, no resource argument
17 * const listSigningPlatforms = yield* AWS.Signer.ListSigningPlatforms();
18 *
19 * // runtime
20 * const { platforms } = yield* listSigningPlatforms();
21 * const ids = (platforms ?? []).map((p) => p.platformId);
22 * ```
23 *
24 * @binding
25 */
26 export interface ListSigningPlatforms extends Binding.Service<
27 ListSigningPlatforms,
28 "AWS.Signer.ListSigningPlatforms",
29 () => Effect.Effect<
30 (
31 request?: signer.ListSigningPlatformsRequest,
32 ) => Effect.Effect<signer.ListSigningPlatformsResponse, signer.ListSigningPlatformsError>
33 >
34 > {}
35 export const ListSigningPlatforms = Binding.Service<ListSigningPlatforms>(
36 "AWS.Signer.ListSigningPlatforms",
37 );