I created AWS gateway API using chalice, using Cognito as the authorizer.
I am able to successfully login to the app using Cognito.
I am trying to access the APIs from the android app using generated AWS gateway SDK. But the generated client doesn't have param in the method (@Parameter( name = "Authorization", location = "header"))
I am able to call the APIs using postman by manually adding Authorization key and token(from the android app) in the header.
In this question, its mentioned that by adding some missing configuration we can generate the SDK properly. But I am not able to find the missing config.