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:ListInstances` — lists the bound cluster's EC2 instances with state, private/public addresses, and group/fleet membership. * ### Inspecting the Cluster * **Example:** List Running Core Instances * ```typescript * const listInstances = yield* AWS.EMR.ListInstances(cluster); * * const { Instances } = yield* listInstances({ * InstanceGroupTypes: ["CORE"], * InstanceStates: ["RUNNING"], * }); * ``` * * @binding */ export interface ListInstances extends Binding.Service< ListInstances, "AWS.EMR.ListInstances", ( cluster: C, ) => Effect.Effect< ( request?: Omit, ) => Effect.Effect > > {} export const ListInstances = Binding.Service( "AWS.EMR.ListInstances", );