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

Function request

samples/http/publishToSNS.js:8–12  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

6 * @returns the request
7 */
8export function request(ctx) {
9 const TOPIC_ARN = '<your:topic:arn>';
10 const { input: values } = ctx.args;
11 return publishToSNSRequest(TOPIC_ARN, values);
12}
13
14/**
15 * Process the publish response

Callers

nothing calls this directly

Calls 1

publishToSNSRequestFunction · 0.70

Tested by

no test coverage detected