serverless/r2s3-serverless.yaml [631:653]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          - "\n"
          - "const {\n"
          - "  REGION,\n"
          - "  CHANNELS_TABLE_NAME\n"
          - "\n"
          - "} = process.env;\n"
          - "\n"
          - "const ivs = new AWS.IVS({\n"
          - "  apiVersion: '2020-07-14',\n"
          - "  REGION // Must be in one of the supported regions\n"
          - "});\n"
          - "\n"
          - "const ddb = new AWS.DynamoDB();\n"
          - "\n"
          - "const response = (body, statusCode = 200) => {\n"
          - "    return {\n"
          - "      statusCode,\n"
          - "      headers: {\n"
          - "        'Content-Type': 'application/json',\n"
          - "        'Access-Control-Allow-Origin': '*'\n"
          - "      },\n"
          - "      body: JSON.stringify(body)\n"
          - "    };\n"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



serverless/r2s3-serverless.yaml [1627:1649]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          - "\n"
          - "const {\n"
          - "  REGION,\n"
          - "  CHANNELS_TABLE_NAME\n"
          - "\n"
          - "} = process.env;\n"
          - "\n"
          - "const ivs = new AWS.IVS({\n"
          - "  apiVersion: '2020-07-14',\n"
          - "  REGION // Must be in one of the supported regions\n"
          - "});\n"
          - "\n"
          - "const ddb = new AWS.DynamoDB();\n"
          - "\n"
          - "const response = (body, statusCode = 200) => {\n"
          - "  return {\n"
          - "    statusCode,\n"
          - "    headers: {\n"
          - "      'Content-Type': 'application/json',\n"
          - "      'Access-Control-Allow-Origin': '*'\n"
          - "    },\n"
          - "    body: JSON.stringify(body)\n"
          - "  };\n"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



