{
    "version" : "2017-02-28",
    "operation" : "PutItem",
    "key": {
        "cognitoId": { "S" : "${context.identity.sub}"}
    },
    "attributeValues" : {
        "cognitoId": {  "S": "${context.identity.sub}" },
		    "username": {  "S": "${context.arguments.username}" },
        "id": {  "S": "${context.identity.sub}" },
        "registered": {  "BOOL": true }
    }
}