aws es list-domain-names
Returns the name of all Elasticsearch domains owned by the current user's account. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--engine-typeOptional parameter to filter the output by domain engine type.