(ctx)
| 6 | * @returns {import('@aws-appsync/utils').DynamoDBBatchPutItemRequest} the request |
| 7 | */ |
| 8 | export function request(ctx) { |
| 9 | return { |
| 10 | operation: 'BatchPutItem', |
| 11 | tables: { |
| 12 | Posts: ctx.args.posts.map((post) => util.dynamodb.toMapValues(post)), |
| 13 | }, |
| 14 | }; |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Returns the BatchPutItem table results |
nothing calls this directly
no outgoing calls
no test coverage detected