1import type * as opensearch from "@distilled.cloud/aws/opensearch";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for the `ListScheduledActions` operation (IAM action
7 * `es:ListScheduledActions`).
8 *
9 * Lists the actions scheduled on a domain — service software updates, blue/green Auto-Tune changes — with their scheduled time and severity. Provide the implementation with
10 * `Effect.provide(AWS.OpenSearch.ListScheduledActionsHttp)`.
11 * ### Auto-Tune and Scheduled Actions
12 * **Example:** List a Domain's Scheduled Actions
13 * ```typescript
14 * const listScheduledActions = yield* OpenSearch.ListScheduledActions();
15 *
16 * const result = yield* listScheduledActions({ DomainName: name });
17 * // result.ScheduledActions → pending actions
18 * ```
19 *
20 * @binding
21 */
22export interface ListScheduledActions extends Binding.Service<
23 ListScheduledActions,
24 "AWS.OpenSearch.ListScheduledActions",
25 () => Effect.Effect<
26 (
27 request: opensearch.ListScheduledActionsRequest,
28 ) => Effect.Effect<
29 opensearch.ListScheduledActionsResponse,
30 opensearch.ListScheduledActionsError
31 >
32 >
33> {}
34export const ListScheduledActions = Binding.Service<ListScheduledActions>(
35 "AWS.OpenSearch.ListScheduledActions",
36);