1import type * as securityhub from "@distilled.cloud/aws/securityhub";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
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 */
26export 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> {}
38export const BatchEnableStandards = Binding.Service<BatchEnableStandards>(
39 "AWS.SecurityHub.BatchEnableStandards",
40);