@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 38 lines 1.39 KB
Raw
1 import type * as securityhub from "@distilled.cloud/aws/securityhub";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `securityhub:ListSecurityControlDefinitions`.
7 *
8 * Lists all security control definitions, optionally restricted to one standard.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SecurityHub.ListSecurityControlDefinitionsHttp)`.
12 * ### Standards & Controls
13 * **Example:** List Control Definitions
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const listSecurityControlDefinitions = yield* AWS.SecurityHub.ListSecurityControlDefinitions();
17 *
18 * // runtime
19 * const { SecurityControlDefinitions } = yield* listSecurityControlDefinitions();
20 * ```
21 *
22 * @binding
23 */
24 export interface ListSecurityControlDefinitions extends Binding.Service<
25 ListSecurityControlDefinitions,
26 "AWS.SecurityHub.ListSecurityControlDefinitions",
27 () => Effect.Effect<
28 (
29 request?: securityhub.ListSecurityControlDefinitionsRequest,
30 ) => Effect.Effect<
31 securityhub.ListSecurityControlDefinitionsResponse,
32 securityhub.ListSecurityControlDefinitionsError
33 >
34 >
35 > {}
36 export const ListSecurityControlDefinitions = Binding.Service<ListSecurityControlDefinitions>(
37 "AWS.SecurityHub.ListSecurityControlDefinitions",
38 );