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

main
ts 40 lines 1.45 KB
Raw
1 import type * as docdbelastic from "@distilled.cloud/aws/docdb-elastic";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for the `ListPendingMaintenanceActions` operation (IAM
7 * action `docdb-elastic:ListPendingMaintenanceActions`).
8 *
9 * Lists pending maintenance (e.g. engine updates) across every elastic
10 * cluster in the account — feed it into an ops dashboard or a maintenance
11 * scheduler. Provide the implementation with
12 * `Effect.provide(AWS.DocDBElastic.ListPendingMaintenanceActionsHttp)`.
13 * ### Scheduling Maintenance
14 * **Example:** List All Pending Maintenance
15 * ```typescript
16 * const listPending = yield* DocDBElastic.ListPendingMaintenanceActions();
17 *
18 * const page = yield* listPending();
19 * for (const action of page.resourcePendingMaintenanceActions ?? []) {
20 * yield* Effect.logInfo(action.resourceArn ?? "");
21 * }
22 * ```
23 *
24 * @binding
25 */
26 export interface ListPendingMaintenanceActions extends Binding.Service<
27 ListPendingMaintenanceActions,
28 "AWS.DocDBElastic.ListPendingMaintenanceActions",
29 () => Effect.Effect<
30 (
31 request?: docdbelastic.ListPendingMaintenanceActionsInput,
32 ) => Effect.Effect<
33 docdbelastic.ListPendingMaintenanceActionsOutput,
34 docdbelastic.ListPendingMaintenanceActionsError
35 >
36 >
37 > {}
38 export const ListPendingMaintenanceActions = Binding.Service<ListPendingMaintenanceActions>(
39 "AWS.DocDBElastic.ListPendingMaintenanceActions",
40 );