CmdID / aws / aws cognito-idp
aws cognito-idp verify-user-attribute
Submits a verification code for a signed-in user who has added or changed a value of an auto-verified attribute. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--access-tokenA valid access token that Amazon Cognito issued to the currently signed-in user.--attribute-nameThe name of the attribute that you want to verify.--codeThe verification code that your user pool sent to the added or changed attribute, for example the user's email address.