Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import type * as docdbelastic from "@distilled.cloud/aws/docdb-elastic";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
/**
* Runtime binding for the `ListPendingMaintenanceActions` operation (IAM
* action `docdb-elastic:ListPendingMaintenanceActions`).
*
* Lists pending maintenance (e.g. engine updates) across every elastic
* cluster in the account — feed it into an ops dashboard or a maintenance
* scheduler. Provide the implementation with
* `Effect.provide(AWS.DocDBElastic.ListPendingMaintenanceActionsHttp)`.
* @binding
* @section Scheduling Maintenance
* @example List All Pending Maintenance
* ```typescript
* const listPending = yield* DocDBElastic.ListPendingMaintenanceActions();
*
* const page = yield* listPending();
* for (const action of page.resourcePendingMaintenanceActions ?? []) {
* yield* Effect.logInfo(action.resourceArn ?? "");
* }
* ```
*/
export interface ListPendingMaintenanceActions extends Binding.Service<
ListPendingMaintenanceActions,
"AWS.DocDBElastic.ListPendingMaintenanceActions",
() => Effect.Effect<
(
request?: docdbelastic.ListPendingMaintenanceActionsInput,
) => Effect.Effect<
docdbelastic.ListPendingMaintenanceActionsOutput,
docdbelastic.ListPendingMaintenanceActionsError
>
>
> {}
export const ListPendingMaintenanceActions =
Binding.Service<ListPendingMaintenanceActions>(
"AWS.DocDBElastic.ListPendingMaintenanceActions",
);