When I test relay API，using example figured in reference:
from warrant.aws_srp import AWSSRP
client = boto3.client(‘cognito-idp’)
aws = AWSSRP(username=‘API_KEY’, password=‘API_SECRET’, pool_id=‘us-west-2_iLmIggsiy’, client_id=‘1bpd19lcr33qvg5cr3oi79rdap’, client=client)
tokens = aws.authenticate_user()
print(‘Access Token’, tokens[‘AuthenticationResult’][‘AccessToken’])"
I got this error:
“botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the InitiateAuth operation: User pool client 1bpd19lcr33qvg5cr3oi79rdap does not exist.”
I check same guide on aws,that said:
“This error should only be thrown if the client id you are passing actually does not exist.”
What I actually want ask is have the client_id of user_pool been changed?
Code to reproduce