@@ -62,7 +62,7 @@ async fn put_all_meeting_items(
6262 let meeting1_attendee_list = vec ! [ ss( "able@gmail.com" ) , ss( "zorro@gmail.com" ) ] ;
6363 let meeting1_location = HashMap :: from ( [ entry ( "Floor" , "12" ) , entry ( "Room" , "403" ) ] ) ;
6464 let meeting1 = HashMap :: from ( [
65- entry ( "partition_key" , "meeting1" ) ,
65+ entry ( "partition_key" , "meeting1-rust " ) ,
6666 entry ( "EmployeeID" , "emp_001" ) ,
6767 entry ( "EmployeeEmail" , "able@gmail.com" ) ,
6868 entry ( "MeetingStart" , "2022-07-04T13:00" ) ,
@@ -79,7 +79,7 @@ async fn put_all_meeting_items(
7979 let meeting2_attendee_list = vec ! [ ss( "barney@gmail.com" ) , ss( "zorro@gmail.com" ) ] ;
8080 let meeting2_location = HashMap :: from ( [ entry ( "Floor" , "12" ) , entry ( "Room" , "403" ) ] ) ;
8181 let meeting2 = HashMap :: from ( [
82- entry ( "partition_key" , "meeting2" ) ,
82+ entry ( "partition_key" , "meeting2-rust " ) ,
8383 entry ( "EmployeeID" , "emp_002" ) ,
8484 entry ( "EmployeeEmail" , "barney@gmail.com" ) ,
8585 entry ( "MeetingStart" , "2022-07-04T13:00" ) ,
@@ -96,7 +96,7 @@ async fn put_all_meeting_items(
9696 let meeting3_attendee_list = vec ! [ ss( "charlie@gmail.com" ) , ss( "zorro@gmail.com" ) ] ;
9797 let meeting3_location = HashMap :: from ( [ entry ( "Floor" , "12" ) , entry ( "Room" , "403" ) ] ) ;
9898 let meeting3 = HashMap :: from ( [
99- entry ( "partition_key" , "meeting3" ) ,
99+ entry ( "partition_key" , "meeting3-rust " ) ,
100100 entry ( "EmployeeID" , "emp_003" ) ,
101101 entry ( "EmployeeEmail" , "charlie@gmail.com" ) ,
102102 entry ( "MeetingStart" , "2022-07-04T13:00" ) ,
@@ -113,7 +113,7 @@ async fn put_all_meeting_items(
113113 let meeting4_attendee_list = vec ! [ ss( "david@gmail.com" ) , ss( "zorro@gmail.com" ) ] ;
114114 let meeting4_location = HashMap :: from ( [ entry ( "Floor" , "12" ) , entry ( "Room" , "403" ) ] ) ;
115115 let meeting4 = HashMap :: from ( [
116- entry ( "partition_key" , "meeting4" ) ,
116+ entry ( "partition_key" , "meeting4-rust " ) ,
117117 entry ( "EmployeeID" , "emp_004" ) ,
118118 entry ( "EmployeeEmail" , "david@gmail.com" ) ,
119119 entry ( "MeetingStart" , "2022-07-04T13:00" ) ,
@@ -130,7 +130,7 @@ async fn put_all_meeting_items(
130130 let meeting5_attendee_list = vec ! [ ss( "barney@gmail.com" ) , ss( "zorro@gmail.com" ) ] ;
131131 let meeting5_location = HashMap :: from ( [ entry ( "Floor" , "12" ) , entry ( "Room" , "407" ) ] ) ;
132132 let meeting5 = HashMap :: from ( [
133- entry ( "partition_key" , "meeting5" ) ,
133+ entry ( "partition_key" , "meeting5-rust " ) ,
134134 entry ( "EmployeeID" , "emp_002" ) ,
135135 entry ( "EmployeeEmail" , "barney@gmail.com" ) ,
136136 entry ( "MeetingStart" , "2022-07-04T14:00" ) ,
@@ -147,7 +147,7 @@ async fn put_all_meeting_items(
147147 let meeting6_attendee_list = vec ! [ ss( "charlie@gmail.com" ) , ss( "zorro@gmail.com" ) ] ;
148148 let meeting6_location = HashMap :: from ( [ entry ( "Floor" , "12" ) , entry ( "Room" , "407" ) ] ) ;
149149 let meeting6 = HashMap :: from ( [
150- entry ( "partition_key" , "meeting6" ) ,
150+ entry ( "partition_key" , "meeting6-rust " ) ,
151151 entry ( "EmployeeID" , "emp_003" ) ,
152152 entry ( "EmployeeEmail" , "charlie@gmail.com" ) ,
153153 entry ( "MeetingStart" , "2022-07-04T14:00" ) ,
@@ -175,7 +175,7 @@ async fn put_all_employee_items(
175175 entry ( "City" , "Seattle" ) ,
176176 ] ) ;
177177 let employee1 = HashMap :: from ( [
178- entry ( "partition_key" , "employee1" ) ,
178+ entry ( "partition_key" , "employee1-rust " ) ,
179179 entry ( "EmployeeID" , "emp_001" ) ,
180180 entry ( "EmployeeEmail" , "able@gmail.com" ) ,
181181 entry ( "ManagerEmail" , "zorro@gmail.com" ) ,
@@ -195,7 +195,7 @@ async fn put_all_employee_items(
195195 entry ( "City" , "Seattle" ) ,
196196 ] ) ;
197197 let employee2 = HashMap :: from ( [
198- entry ( "partition_key" , "employee2" ) ,
198+ entry ( "partition_key" , "employee2-rust " ) ,
199199 entry ( "EmployeeID" , "emp_002" ) ,
200200 entry ( "EmployeeEmail" , "barney@gmail.com" ) ,
201201 entry ( "ManagerEmail" , "zorro@gmail.com" ) ,
@@ -215,7 +215,7 @@ async fn put_all_employee_items(
215215 entry ( "City" , "Seattle" ) ,
216216 ] ) ;
217217 let employee3 = HashMap :: from ( [
218- entry ( "partition_key" , "employee3" ) ,
218+ entry ( "partition_key" , "employee3-rust " ) ,
219219 entry ( "EmployeeID" , "emp_003" ) ,
220220 entry ( "EmployeeEmail" , "charlie@gmail.com" ) ,
221221 entry ( "ManagerEmail" , "zorro@gmail.com" ) ,
@@ -235,7 +235,7 @@ async fn put_all_employee_items(
235235 entry ( "City" , "NYC" ) ,
236236 ] ) ;
237237 let employee4 = HashMap :: from ( [
238- entry ( "partition_key" , "employee4" ) ,
238+ entry ( "partition_key" , "employee4-rust " ) ,
239239 entry ( "EmployeeID" , "emp_004" ) ,
240240 entry ( "EmployeeEmail" , "david@gmail.com" ) ,
241241 entry ( "ManagerEmail" , "zorro@gmail.com" ) ,
@@ -256,7 +256,7 @@ async fn put_all_project_items(
256256 ddb : & mut aws_sdk_dynamodb:: Client ,
257257) -> Result < ( ) , crate :: BoxError > {
258258 let project1 = HashMap :: from ( [
259- entry ( "partition_key" , "project1" ) ,
259+ entry ( "partition_key" , "project1-rust " ) ,
260260 entry ( "ProjectName" , "project_001" ) ,
261261 entry ( "ProjectStatus" , "Pending" ) ,
262262 entry ( "ProjectStart" , "2022-11-01" ) ,
@@ -266,7 +266,7 @@ async fn put_all_project_items(
266266 put_item ( ddb_table_name, ddb, project1) . await ?;
267267
268268 let project2 = HashMap :: from ( [
269- entry ( "partition_key" , "project2" ) ,
269+ entry ( "partition_key" , "project2-rust " ) ,
270270 entry ( "ProjectName" , "project_002" ) ,
271271 entry ( "ProjectStatus" , "Active" ) ,
272272 entry ( "ProjectStart" , "2022-07-04" ) ,
@@ -276,7 +276,7 @@ async fn put_all_project_items(
276276 put_item ( ddb_table_name, ddb, project2) . await ?;
277277
278278 let project3 = HashMap :: from ( [
279- entry ( "partition_key" , "project3" ) ,
279+ entry ( "partition_key" , "project3-rust " ) ,
280280 entry ( "ProjectName" , "project_003" ) ,
281281 entry ( "ProjectStatus" , "Active" ) ,
282282 entry ( "ProjectStart" , "2022-08-05" ) ,
@@ -286,7 +286,7 @@ async fn put_all_project_items(
286286 put_item ( ddb_table_name, ddb, project3) . await ?;
287287
288288 let project4 = HashMap :: from ( [
289- entry ( "partition_key" , "project4" ) ,
289+ entry ( "partition_key" , "project4-rust " ) ,
290290 entry ( "ProjectName" , "project_004" ) ,
291291 entry ( "ProjectStatus" , "Done" ) ,
292292 entry ( "ProjectStart" , "2020-03-03" ) ,
@@ -309,7 +309,7 @@ async fn put_all_reservation_items(
309309 entry ( "Room" , "403" ) ,
310310 ] ) ;
311311 let reservation1 = HashMap :: from ( [
312- entry ( "partition_key" , "reservation1" ) ,
312+ entry ( "partition_key" , "reservation1-rust " ) ,
313313 entry ( "MeetingStart" , "2022-07-04T13:00" ) ,
314314 entry ( "OrganizerEmail" , "able@gmail.com" ) ,
315315 entry ( "Duration" , "30" ) ,
@@ -332,7 +332,7 @@ async fn put_all_reservation_items(
332332 entry ( "Room" , "407" ) ,
333333 ] ) ;
334334 let reservation2 = HashMap :: from ( [
335- entry ( "partition_key" , "reservation2" ) ,
335+ entry ( "partition_key" , "reservation2-rust " ) ,
336336 entry ( "MeetingStart" , "2022-07-04T14:00" ) ,
337337 entry ( "OrganizerEmail" , "barney@gmail.com" ) ,
338338 entry ( "Duration" , "30" ) ,
@@ -356,7 +356,7 @@ async fn put_all_ticket_items(
356356 ddb : & mut aws_sdk_dynamodb:: Client ,
357357) -> Result < ( ) , crate :: BoxError > {
358358 let ticket1 = HashMap :: from ( [
359- entry ( "partition_key" , "ticket1" ) ,
359+ entry ( "partition_key" , "ticket1-rust " ) ,
360360 entry ( "TicketNumber" , "ticket_001" ) ,
361361 entry ( "TicketModTime" , "2022-10-07T14:32:25" ) ,
362362 entry ( "CreatorEmail" , "zorro@gmail.com" ) ,
@@ -368,7 +368,7 @@ async fn put_all_ticket_items(
368368 put_item ( ddb_table_name, ddb, ticket1) . await ?;
369369
370370 let ticket2 = HashMap :: from ( [
371- entry ( "partition_key" , "ticket2" ) ,
371+ entry ( "partition_key" , "ticket2-rust " ) ,
372372 entry ( "TicketNumber" , "ticket_001" ) ,
373373 entry ( "TicketModTime" , "2022-10-07T14:32:25" ) ,
374374 entry ( "CreatorEmail" , "able@gmail.com" ) ,
@@ -380,7 +380,7 @@ async fn put_all_ticket_items(
380380 put_item ( ddb_table_name, ddb, ticket2) . await ?;
381381
382382 let ticket3 = HashMap :: from ( [
383- entry ( "partition_key" , "ticket3" ) ,
383+ entry ( "partition_key" , "ticket3-rust " ) ,
384384 entry ( "TicketNumber" , "ticket_002" ) ,
385385 entry ( "TicketModTime" , "2022-10-06T14:32:25" ) ,
386386 entry ( "CreatorEmail" , "zorro@gmail.com" ) ,
@@ -392,7 +392,7 @@ async fn put_all_ticket_items(
392392 put_item ( ddb_table_name, ddb, ticket3) . await ?;
393393
394394 let ticket4 = HashMap :: from ( [
395- entry ( "partition_key" , "ticket4" ) ,
395+ entry ( "partition_key" , "ticket4-rust " ) ,
396396 entry ( "TicketNumber" , "ticket_002" ) ,
397397 entry ( "TicketModTime" , "2022-10-08T14:32:25" ) ,
398398 entry ( "CreatorEmail" , "charlie@gmail.com" ) ,
@@ -411,7 +411,7 @@ async fn put_all_timecard_items(
411411 ddb : & mut aws_sdk_dynamodb:: Client ,
412412) -> Result < ( ) , crate :: BoxError > {
413413 let timecard1 = HashMap :: from ( [
414- entry ( "partition_key" , "timecard1" ) ,
414+ entry ( "partition_key" , "timecard1-rust " ) ,
415415 entry ( "ProjectName" , "project_002" ) ,
416416 entry ( "TimeCardStart" , "2022-09-12" ) ,
417417 entry ( "EmployeeEmail" , "able@gmail.com" ) ,
@@ -421,7 +421,7 @@ async fn put_all_timecard_items(
421421 put_item ( ddb_table_name, ddb, timecard1) . await ?;
422422
423423 let timecard2 = HashMap :: from ( [
424- entry ( "partition_key" , "timecard2" ) ,
424+ entry ( "partition_key" , "timecard2-rust " ) ,
425425 entry ( "ProjectName" , "project_002" ) ,
426426 entry ( "TimeCardStart" , "2022-09-12" ) ,
427427 entry ( "EmployeeEmail" , "barney@gmail.com" ) ,
@@ -431,7 +431,7 @@ async fn put_all_timecard_items(
431431 put_item ( ddb_table_name, ddb, timecard2) . await ?;
432432
433433 let timecard3 = HashMap :: from ( [
434- entry ( "partition_key" , "timecard3" ) ,
434+ entry ( "partition_key" , "timecard3-rust " ) ,
435435 entry ( "ProjectName" , "project_003" ) ,
436436 entry ( "TimeCardStart" , "2022-09-12" ) ,
437437 entry ( "EmployeeEmail" , "charlie@gmail.com" ) ,
@@ -441,7 +441,7 @@ async fn put_all_timecard_items(
441441 put_item ( ddb_table_name, ddb, timecard3) . await ?;
442442
443443 let timecard4 = HashMap :: from ( [
444- entry ( "partition_key" , "timecard4" ) ,
444+ entry ( "partition_key" , "timecard4-rust " ) ,
445445 entry ( "ProjectName" , "project_003" ) ,
446446 entry ( "TimeCardStart" , "2022-09-12" ) ,
447447 entry ( "EmployeeEmail" , "barney@gmail.com" ) ,
0 commit comments