ListTargets
Source:
src/AWS/VpcLattice/ListTargets.ts
Runtime binding for the ListTargets operation (IAM action
vpc-lattice:ListTargets on the target group ARN).
Lists the bound TargetGroup’s registered targets with their health
status — useful for health dashboards and for compute that verifies its own
registration. Provide the implementation with
Effect.provide(AWS.VpcLattice.ListTargetsHttp).
Managing Targets at Runtime
Section titled “Managing Targets at Runtime”const listTargets = yield* AWS.VpcLattice.ListTargets(targetGroup);
const { items } = yield* listTargets({});for (const target of items) { yield* Effect.log(`${target.id}: ${target.status}`);}