Add a user (by email) to a group in the user pool.
Confirm and conclude a registration, usign a confirmation code.
Create a new group in the user pool.
Create a new user (by its email) in the pool specified.
userId of the new user
Delete a group from the user pool.
Delete a user by its email (username), in the pool specified.
Disable a cognito user.
Enable a cognito user.
Send to a user the instructions to change the password.
Get the attributes of the user, from the authorizer claims.
authorizer claims
user's data
Identify a user by its email address, returning its attributes.
Identify a user by its userId (sub), returning its attributes.
Get the list of groups of a user by its email address.
Sign out the user from all devices.
List the groups of the user pool.
List the users part of a group in the user pool.
List all the users of the pool, including the information about the groups they're in.
Note: it's slower than the alternative listUsers
: use it only when needed.
Given a username and a refresh token (and pool data), refresh the session and return the new tokens.
Remove a user (by email) from a group in the user pool.
Resend the password to a user who never logged in.
Set a new password for a specific user identified by its email (admin-only). If not specified, the password is generated randomly, and the user must change it at the first login.
Change the region in which to find the user pool. Default: the runner's (e.g. Lambda function) region.
Sign in a user of a specific pool through username and password.
Change the password to sign in for a user.
Update a (Cognito)User's attributes, excluding the attributes that require specific methods.
Verify the email address (== username) associated to a user.
A wrapper for AWS Cognito.