CmdID / aws / aws comprehend
aws comprehend contains-pii-entities
Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--language-codeThe language of the input documents.--textA UTF-8 text string.