Skip to content

ListSessions

Source: src/AWS/EMRServerless/ListSessions.ts

Runtime binding for emr-serverless:ListSessions.

Enumerates interactive sessions on the bound Application, optionally filtered by state or creation window. Provide the implementation with Effect.provide(AWS.EMRServerless.ListSessionsHttp).

// init
const listSessions = yield* AWS.EMRServerless.ListSessions(app);
// runtime
const { sessions } = yield* listSessions({ states: ["IDLE"] });