Skip to content

GetSession

Source: src/AWS/EMR/GetSession.ts

Runtime binding for elasticmapreduce:GetSession — reads an interactive session of the bound cluster — state, engine configuration, and timeline.

const getSession = yield* AWS.EMR.GetSession(cluster);
const { Session } = yield* getSession({ SessionId: sessionId });
// Session.State: SUBMITTED | STARTING | IDLE | BUSY | …