Command option Sample:aws ec2 report-instance-status

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

Submits feedback about the status of an instance.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/ec2/report-instance-status.html

aws ec2 report-instance-status --instances i-1234567890abcdef0 --status impaired --reason-codes code
    Status Checks for Your Instances - Amazon Elastic Compute Cloud : http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html

aws のオプション一覧