MCPcopy Create free account
hub / github.com/aws-samples/aws-appsync-resolver-samples / request

Function request

samples/dynamodb/general/deleteItem.js:3–3  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

1import * as ddb from '@aws-appsync/utils/dynamodb';
2
3export const request = (ctx) => ddb.remove({ key: { id: ctx.args.id } });
4export const response = (ctx) => ctx.result;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected