Skip to content

Instantly share code, notes, and snippets.

@cameck
Created October 20, 2016 02:39
Show Gist options
  • Save cameck/85fb7ef1c3c7bc50806b896fb774d23b to your computer and use it in GitHub Desktop.
Save cameck/85fb7ef1c3c7bc50806b896fb774d23b to your computer and use it in GitHub Desktop.
An example of what DynamoDB returns on a bulk request failure
{
"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