CmdID / aws / aws redshift-data
aws redshift-data list-sessions
Lists the sessions that the caller created in the last 24 hours. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--cluster-identifierThe cluster identifier.--databaseThe name of the database.--max-resultsThe maximum number of sessions to return in the response.--next-tokenA value that indicates the starting point for the next set of response records in a subsequent request.--role-levelSpecifies whether to return all sessions created by the caller's IAM role, including sessions from previous IAM sessions.--session-idThe identifier of a specific session to return metadata for.--statusThe status of the sessions to list.--workgroup-nameThe serverless workgroup name or Amazon Resource Name (ARN).