1 Answer
- Newest
- Most votes
- Most comments
1
The API endpoints you'd need are here: https://docs.aws.amazon.com/general/latest/gr/cognito_identity.html#cognito_identity_region. You can see the requests the CLI is making by adding the --debug
flag. To call that API action manually, you'd need to send a signed request with the header X-Amz-Target: AWSCognitoIdentityProviderService.AdminCreateUser
.
However, if you're just wanting to call that API programatically, I'd recommend using one of the AWS SDKs, which will handle these low level requests for you. For example, in Python, you'd simply need to call the admin_create_user()
function.
answered 2 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
So helpful! Thank you. I ended up creating a lambda using the SDK as you suggested and was able to make the admincreateuser calls very easily.