CmdID / aws / aws account
aws account get-region-opt-status
Retrieves the opt-in status of a particular Region. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--account-idSpecifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.--region-nameSpecifies the Region-code for a given Region name (for example, af-south-1).