Desired Delivery Mediums (Array of Strings): The email SES will send the patient portal signup message to. Mandatory field. Input: EMAIL
ForceAliasCreation (String) - Determines whether or not the user's signup phone/email are already included in the patient database. Mandatory Field. Input: True
TemporaryPassword (String): The temporary password sent to a new user when their account is created. Mandatory Field. Input: String with a 256 character limit
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 \
--id "32343"\
--UserPoolID 1\
--DesiredDeliveryMediums "Email"\
--ForceAliasCreation "True'"\{
--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}
}
{
"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,
}
}
}