#!/bin/bash

REQUEST_BODY='{
    "operation": "isprime",
    "payload": {
      "num": 41
    }
}'
aws lambda invoke \
  --function-name PrimeLambda \
  --payload "$REQUEST_BODY" \
  --cli-binary-format raw-in-base64-out \
  response.json
