@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 40 lines 1.34 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:BatchGetAutomationRules`.
7 *
8 * Returns the full configuration of a batch of automation rules by ARN.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SecurityHub.BatchGetAutomationRulesHttp)`.
12 * ### Custom Actions, Automation Rules & Aggregation
13 * **Example:** Hydrate Automation Rules
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const batchGetAutomationRules = yield* AWS.SecurityHub.BatchGetAutomationRules();
17 *
18 * // runtime
19 * const { Rules } = yield* batchGetAutomationRules({
20 * AutomationRulesArns: [rule.ruleArn],
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface BatchGetAutomationRules extends Binding.Service<
27 BatchGetAutomationRules,
28 "AWS.SecurityHub.BatchGetAutomationRules",
29 () => Effect.Effect<
30 (
31 request?: securityhub.BatchGetAutomationRulesRequest,
32 ) => Effect.Effect<
33 securityhub.BatchGetAutomationRulesResponse,
34 securityhub.BatchGetAutomationRulesError
35 >
36 >
37 > {}
38 export const BatchGetAutomationRules = Binding.Service<BatchGetAutomationRules>(
39 "AWS.SecurityHub.BatchGetAutomationRules",
40 );