CmdID / aws / aws athena
aws athena list-sessions
Lists the sessions in a workgroup that are in an active state like CREATING, CREATED, IDLE, or BUSY. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of sessions to return.--next-tokenA token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.--state-filterA filter for a specific session state.--work-groupThe workgroup to which the session belongs.