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

main
ts 40 lines 1.27 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:BatchEnableStandards`.
7 *
8 * Enables (subscribes the account to) one or more security standards.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SecurityHub.BatchEnableStandardsHttp)`.
12 * ### Standards & Controls
13 * **Example:** Enable a Standard
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const batchEnableStandards = yield* AWS.SecurityHub.BatchEnableStandards();
17 *
18 * // runtime
19 * yield* batchEnableStandards({
20 * StandardsSubscriptionRequests: [{ StandardsArn: standardsArn }],
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface BatchEnableStandards extends Binding.Service<
27 BatchEnableStandards,
28 "AWS.SecurityHub.BatchEnableStandards",
29 () => Effect.Effect<
30 (
31 request?: securityhub.BatchEnableStandardsRequest,
32 ) => Effect.Effect<
33 securityhub.BatchEnableStandardsResponse,
34 securityhub.BatchEnableStandardsError
35 >
36 >
37 > {}
38 export const BatchEnableStandards = Binding.Service<BatchEnableStandards>(
39 "AWS.SecurityHub.BatchEnableStandards",
40 );