import type * as ECS from "@distilled.cloud/aws/ecs"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Cluster } from "./Cluster.ts"; export interface ListContainerInstancesRequest extends Omit { } /** * Runtime binding for `ecs:ListContainerInstances`. * * Bind this operation to a `Cluster` inside a function runtime to get a * callable that lists container-instance ARNs registered to the bound * cluster (EC2/EXTERNAL launch types). The cluster ARN is injected * automatically and the host is granted `ecs:ListContainerInstances` on the * cluster. * ### Container Instances * **Example:** List ACTIVE Container Instances * ```typescript * const listContainerInstances = yield* AWS.ECS.ListContainerInstances(cluster); * * const response = yield* listContainerInstances({ status: "ACTIVE" }); * const instanceArns = response.containerInstanceArns ?? []; * ``` * * @binding */ export interface ListContainerInstances extends Binding.Service Effect.Effect<(request: ListContainerInstancesRequest) => Effect.Effect>> { } export declare const ListContainerInstances: ListContainerInstances; //# sourceMappingURL=ListContainerInstances.d.ts.map