Command option Sample:aws servicediscovery list-instances

Search command sample in the internet.It is the result.

Lists summary information about the instances that you registered byusing a specified service.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/servicediscovery/list-instances.html

aws servicediscovery list-instances --service-id srv-utcrh6wavdkggqtk --region us-east-1
    Service Discovery - Amazon Elastic Container Service : http://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-service-discovery.html

aws のオプション一覧