public static void CreateUser(string username) { var provider = new AmazonCognitoIdentityProviderClient(); var createUserRequest = new AdminCreateUserRequest { MessageAction = "SUPPRESS", Username = username, TemporaryPassword = Constants.TemporaryPassword, UserPoolId = PoolId }; provider.AdminCreateUser(createUserRequest); }