Replies: 2 comments 4 replies
-
interesting. Hard to know without seeing the raw response from DynamoDB. Can you log the raw response with |
Beta Was this translation helpful? Give feedback.
-
If I understand the AWS documentation, this is considered correct behaviour and it's the SDK for Rust code example that's wrong here. The DynamoDB PutItem response doesn't, by default, include any item attributes1. Unlike certain other DynamoDB actions it also doesn't support returning the new item attributes at all - only the default |
Beta Was this translation helpful? Give feedback.
-
After putting an item to dynamoDB, I'm getting an error back that
put_item.attributes
is None. What more is that the item is put into the database and is present when I check.Then also checking the info printout of the response, I get this:
So following the example from the sdk by calling
resp.attributes()
doesn't work. Also callingresp.attribute
(not the method) doesn't work either.Any help here?
Beta Was this translation helpful? Give feedback.
All reactions