I'm trying to create user using python3.x and boto3 but end up with facing some issues
I've tried using "admin_create_user" even id didn't worked for me
import boto3
aws_client = boto3.client('cognito-idp',
region_name = CONFIG["cognito"]["region"]
)
response = aws_client.admin_create_user(
UserPoolId = CONFIG["cognito"]["pool_id"],
Username = email,
UserAttributes = [
{"Name": "first_name", "Value": first_name},
{"Name": "last_name", "Value": last_name},
{ "Name": "email_verified", "Value": "true" }
],
DesiredDeliveryMediums = ['EMAIL']
)
