This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import logging | |
import time | |
import requests | |
from http import HTTPStatus | |
from OpenSSL import crypto | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0", | |
"type": "REQUEST", | |
"routeArn": "arn:aws:execute-api:us-east-1:123456789012:abcdef123/test/GET/request", | |
"identitySource": [ | |
"user1", | |
"123" | |
], | |
"routeKey": "$default", | |
"rawPath": "/my/path", |