0

I'm using the Amazon API Gateway to request and put element on my DynamoDB (also from amazon). I already know how to insert simple object to one of my table but I can not figure out how to insert object which contains another object.

and this is how I'm trying to add this to my dynamodb:

    }
}

Does anyone know how I have to do ? I don't have any error but my object is not insering to y dynomoDB.

1 Answer 1

1

I think you want to use an 'M' type for the nested object, but I'm not 100% sure (I'm from API Gateway team).

See API reference for DDB http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html#DDB-Type-AttributeValue-M

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks @Jack for your answer, I think you're right but I can not figure out how to write it...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.