generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.
Description
Describe the bug
When using forgot_password()
and passing not existing username, it does not return UserNotFoundException, but Ok response.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
This must return UserNotFoundException.
Current Behavior
It simply returns Ok response.
Reproduction Steps
Please make simple forgot_password
request with not existing username, and you can see Ok response.
use aws_sdk_cognitoidentityprovider::Client;
let client = Client::new('your_config');
let result = client
.forgot_password()
.set_client_id('your_client_id')
.set_username('your_not_existing_username')
.send()
.await;
println!("result: {result:?}");
Possible Solution
No response
Additional Information/Context
No response
Version
`aws-sdk-cognitoidentityprovider = "1.91.0"`
Environment details (OS name and version, etc.)
macOS Sequoia 15.5
Logs
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.