Command option Sample:aws servicediscovery deregister-instance

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

Deletes the records and the health check, if any, that Amazon Route 53created for the specified instance.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/servicediscovery/deregister-instance.html

aws servicediscovery deregister-instance --service-id srv-utcrh6wavdkggqtk --instance-id 16becc26-8558-4af1-9fbd-f81be062a266 --region us-east-1
    Cleaning Up your Amazon ECS Resources - Amazon Elastic Container Service  : http://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-service-discovery.html

aws のオプション一覧