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

main
ts 36 lines 1.27 KB
Raw
1 import type * as opensearch from "@distilled.cloud/aws/opensearch";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
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 */
22 export 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 > {}
34 export const ListScheduledActions = Binding.Service<ListScheduledActions>(
35 "AWS.OpenSearch.ListScheduledActions",
36 );