id (String): The unique identifier for the patient, provider, or admin user. Mandatory Field
UserAttributes (Many): See attributes of the patient/provider object. All fields are mandatory, and filled out during the Heroku survey upon onboarding. Mandatory Field. Input: Dependent on Field.
UserPoolId (Int): The type of portal user group the user belongs to. Either admin, patient, or provider. Provider = 1, Patient =2, Admin=3. Mandatory Field. Input: 1, 2, 3
aws cognito-idp admin-create-user \
--UserPoolID 1\
--id "32343"\
--userAttributes ID: P12345, DOB: 01/15/1990,SSN: 123-45-6789,ZIP: 12345,NAME: John Doe,PHONE: +15555559999,EMAIL: john@example.com,PCP: Dr. Smith
If the request was successful, the
{
"User":{
"Username" : "32343",
"Attributes": {
ID: P12345,
DOB: 01/15/1990,
SSN: 123-45-6789,
ZIP: 12345,
NAME: John Doe,
PHONE: +15555559999,
EMAIL: john@example.com,
PCP: Dr. Smith,
}
}
}