CmdID / aws / aws redshift-data
aws redshift-data list-databases
List the databases in a cluster. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--cluster-identifierThe cluster identifier.--databaseThe name of the database.--db-userThe database user name.--max-resultsThe maximum number of databases to return in the response.--next-tokenA value that indicates the starting point for the next set of response records in a subsequent request.--secret-arnThe name or ARN of the secret that enables access to the database.--workgroup-nameThe serverless workgroup name or Amazon Resource Name (ARN).