Cognito - API Calls
Cognito API Calls
Here are some popular Cognito API calls and what they do :-
cognito-idp:get-user
: API call to fetch user details associated with the access tokencognito-identity:get-id
: API call to fetch the identity id from Cognito Indentity Pool ID.cognito-identity:get-credentials-for-identity
: API call to fetch the STS tokens using the IdentityID.cognito-idp:initiate-auth
: API call to initiate authentication and fetch the AccessToken & TokenId by passing the authentication credentials.cognito-identity:get-credentials-for-identity
: API call to fetch the STS tokens for authenticated users by passing the TokenId and Cognito User Pool Id.
Last updated