aws amp list-workspaces
Lists all of the Amazon Managed Service for Prometheus workspaces in your account. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--aliasIf this is included, it filters the results to only the workspaces with names that start with the value that you specify here.--max-resultsThe maximum number of workspaces to return per request.--next-tokenThe token for the next set of items to return.