aws emr list-sessions
Lists the sessions on a cluster. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--cluster-idThe ID of the cluster to list sessions for.--max-resultsThe maximum number of sessions to return in each page of results.--next-tokenThe pagination token returned by a previous ListSessions call.--session-statesAn optional filter that limits the results to sessions in the specified states.