(ctx)
| 6 | * @returns {import('@aws-appsync/utils').LambdaRequest} the request |
| 7 | */ |
| 8 | export function request(ctx) { |
| 9 | const payload = { |
| 10 | arguments: ctx.arguments, |
| 11 | identity: ctx.identity, |
| 12 | source: ctx.source, |
| 13 | request: ctx.request, |
| 14 | info: { |
| 15 | fieldName: ctx.info.fieldName, |
| 16 | parentTypeName: ctx.info.parentTypeName, |
| 17 | variables: ctx.info.variables, |
| 18 | selectionSetList: ctx.info.selectionSetList, |
| 19 | selectionSetGraphQL: ctx.info.selectionSetGraphQL, |
| 20 | }, |
| 21 | }; |
| 22 | return { operation: 'Invoke', payload }; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Process a Lambda function response |
nothing calls this directly
no outgoing calls
no test coverage detected