CmdID / aws / aws cognito-idp
aws cognito-idp respond-to-auth-challenge
Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--analytics-metadataInformation that supports analytics outcomes with Amazon Pinpoint, including the user's endpoint ID.--challenge-nameThe name of the challenge that you are responding to.--challenge-responsesThe responses to the challenge that you received in the previous request.--client-idThe ID of the app client where the user is signing in.--client-metadataA map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.--sessionThe session identifier that maintains the state of authentication requests and challenge responses.--user-context-dataContextual data about your user session like the device fingerprint, IP address, or location.