Skip to content

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.

1.0 KB
Raw Blame
import type * as SVC from "@distilled.cloud/aws/emr";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { Cluster } from "./Cluster.ts";

/**
 * Runtime binding for `elasticmapreduce:ListBootstrapActions` — lists the bootstrap actions the bound cluster ran at launch.
 * @binding
 * @section Inspecting the Cluster
 * @example List Bootstrap Actions
 * ```typescript
 * const listBootstrapActions = yield* AWS.EMR.ListBootstrapActions(cluster);
 *
 * const { BootstrapActions } = yield* listBootstrapActions();
 * ```
 */
export interface ListBootstrapActions extends Binding.Service<
  ListBootstrapActions,
  "AWS.EMR.ListBootstrapActions",
  <C extends Cluster>(
    cluster: C,
  ) => Effect.Effect<
    (
      request?: Omit<SVC.ListBootstrapActionsInput, "ClusterId">,
    ) => Effect.Effect<
      SVC.ListBootstrapActionsOutput,
      SVC.ListBootstrapActionsError
    >
  >
> {}
export const ListBootstrapActions = Binding.Service<ListBootstrapActions>(
  "AWS.EMR.ListBootstrapActions",
);