Data format
DynamoDB uses the JavaScript Object Notation (JSON) format to send the request to, and receive the response from, the DynamoDB endpoint. One important rule of thumb is that the DynamoDB endpoint gets this JSON request and parses it into its native format (which is not JSON). During this time, some data loss might occur because of compatibility issues. For example, JSON supports the date
data type, but DynamoDB does not support it. So the JSON request should not have a DynamoDB incompatible data type. In order to avoid this situation, DynamoDB has already listed the allowed data types, and they are as follows:
S
: This denotes theString
data type to store strings such as"Kuppu"
N
: This denotes theNumber
data type to store numbers such as 2014B
: This denotes theBinary
data typeSS
: This denotes theStringSet
data type to store string sets such as{"Uchit", "Vyas"}
NS
: This denotes theNumberSet
data type to store number sets such as{2013, 2014}
BS
: This denotes theBinarySet...