aws m2 list-environments
Lists the runtime environments. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--engine-typeThe engine type for the runtime environment.--max-resultsThe maximum number of runtime environments to return.--namesThe names of the runtime environments.--next-tokenA pagination token to control the number of runtime environments displayed in the list.