dynamodb key syntax /

Published at 2018-09-03 14:09:00

Home / Categories / Lambda / dynamodb key syntax
So,I've been trying and struggling to secure DynamoDB to recognise the key I am creating, using two merged slots. My Lambda is below, and I believe it is the constructed DDID variable that is not right. If I force a static key,it finds the data without an issue (e.g. SNP1, Labour2, or Conservatives3,etc, etc). Can anyone see what I am doing incorrect? the DDID should match the above combing the party and Ward information provided by the user in defined slots under the intent. var DDID; const params = { TableName: 'SurgeryData', and Key:{ "id": DDID} }; ==============================================================================
'CouncillorIntent': function () { var filledSlots = delegateSlotCollection.call(this); speechOutput = ''; var wardSlotRaw = this.event.request.intent.slots.ward.value;
console.log(wardSlotRaw); var war
dSlot = resolveCanonical(this.event.request.intent.slots.ward);
console.log(
wardSlot); var partySlotRaw = this.event.request.intent.slots.party.value;
console.log(partySlotRaw); var partySlot = resolveCanonical(this.event.request.intent.slots.party); var DDID = partySlot+wardSlot; console.log(DDID); Can anyone see what I am doing incorrect with the construction of DDID?

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0