| 1 | import type * as SVC from "@distilled.cloud/aws/emr"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | import type { Cluster } from "./Cluster.ts"; |
| 5 | |
| 6 | /** |
| 7 | * Runtime binding for `elasticmapreduce:ListBootstrapActions` — lists the bootstrap actions the bound cluster ran at launch. |
| 8 | * ### Inspecting the Cluster |
| 9 | * **Example:** List Bootstrap Actions |
| 10 | * ```typescript |
| 11 | * const listBootstrapActions = yield* AWS.EMR.ListBootstrapActions(cluster); |
| 12 | * |
| 13 | * const { BootstrapActions } = yield* listBootstrapActions(); |
| 14 | * ``` |
| 15 | * |
| 16 | * @binding |
| 17 | */ |
| 18 | export interface ListBootstrapActions extends Binding.Service< |
| 19 | ListBootstrapActions, |
| 20 | "AWS.EMR.ListBootstrapActions", |
| 21 | <C extends Cluster>( |
| 22 | cluster: C, |
| 23 | ) => Effect.Effect< |
| 24 | ( |
| 25 | request?: Omit<SVC.ListBootstrapActionsInput, "ClusterId">, |
| 26 | ) => Effect.Effect< |
| 27 | SVC.ListBootstrapActionsOutput, |
| 28 | SVC.ListBootstrapActionsError |
| 29 | > |
| 30 | > |
| 31 | > {} |
| 32 | export const ListBootstrapActions = Binding.Service<ListBootstrapActions>( |
| 33 | "AWS.EMR.ListBootstrapActions", |
| 34 | ); |