public void SaveIncident(State state) { var incidentDocument = new IncidentDocument().CreateDocumentFromState(state); try { Console.WriteLine("Saving incident:{0} to {1}", state.IncidentId.ToString("N"), _tableName); var table = Table.LoadTable(_dynamoDb, _tableName); table.PutItemAsync(incidentDocument); } catch (AmazonDynamoDBException e) { Console.WriteLine(e.Message); throw; } catch (AmazonServiceException e) { Console.WriteLine(e.Message); throw; } catch (Exception e) { Console.WriteLine(e.Message); throw; } }