Created
October 20, 2016 02:39
-
-
Save cameck/85fb7ef1c3c7bc50806b896fb774d23b to your computer and use it in GitHub Desktop.
An example of what DynamoDB returns on a bulk request failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"UnprocessedItems": { | |
"Table_Name": [ // This will be your actual table name | |
{ | |
"PutRequest": { | |
"Item": { | |
"artist": { | |
"S": "The Beatles" | |
}, | |
"Instruments": { | |
"SS": [ | |
"Guitar", "Bass", "Drums" | |
] | |
}, | |
"song": { | |
"S": "Revolution 9" | |
}, | |
"album": { | |
"S": "The White Album" | |
}, | |
"track": { | |
"N": "2" | |
}, | |
"classic": { | |
"BOOL": true | |
} | |
} | |
} | |
}, | |
{ | |
"PutRequest": { | |
"Item": { | |
"artist": { | |
"S": "The Grateful Dead" | |
}, | |
"Instruments": { | |
"SS": [ | |
"Guitar", "Bass", "Drums" | |
] | |
}, | |
"song": { | |
"S": "Touch of Grey" | |
}, | |
"album": { | |
"S": "In the Dark" | |
}, | |
"track": { | |
"N": "2" | |
}, | |
"classic": { | |
"BOOL": true | |
} | |
} | |
} | |
}, | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment