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 docdb from "@distilled.cloud/aws/docdb";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { DBCluster } from "./DBCluster.ts";
/**
* Runtime binding for the `StartDBCluster` operation (IAM action
* `rds:StartDBCluster`).
*
* Starts the bound {@link DBCluster} after it was stopped — e.g. an ops
* function that wakes a development cluster on a schedule. The cluster
* identifier is injected from the binding. Provide the implementation with
* `Effect.provide(AWS.DocDB.StartDBClusterHttp)`.
* @binding
* @section Operating a Cluster
* @example Start a Stopped Cluster
* ```typescript
* // init — bind the operation to the cluster
* const startDBCluster = yield* AWS.DocDB.StartDBCluster(cluster);
*
* // runtime
* yield* startDBCluster();
* ```
*/
export interface StartDBCluster extends Binding.Service<
StartDBCluster,
"AWS.DocDB.StartDBCluster",
(
cluster: DBCluster,
) => Effect.Effect<
() => Effect.Effect<docdb.StartDBClusterResult, docdb.StartDBClusterError>
>
> {}
export const StartDBCluster = Binding.Service<StartDBCluster>(
"AWS.DocDB.StartDBCluster",
);