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.

Revisions

  1. cameck created this gist Oct 20, 2016.
    58 changes: 58 additions & 0 deletions example_dynamo_db_failure.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,58 @@
    {
    "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
    }
    }
    }
    },
    ]
    }
    }