This file contains 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
# https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/849e874de01776cb386c18fb2c1731d43cd2b2f4/awslambdaric/bootstrap.py#L478C1-L534C14 | |
def run(app_root, handler, lambda_runtime_api_addr): | |
sys.stdout = Unbuffered(sys.stdout) | |
sys.stderr = Unbuffered(sys.stderr) | |
use_thread_for_polling_next = os.environ.get("AWS_EXECUTION_ENV") in { | |
"AWS_Lambda_python3.12", | |
"AWS_Lambda_python3.13", | |
} |
This file contains 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
google.com, pub-7313453775881678, DIRECT, f08c47fec0942fa0 |
This file contains 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
from pynamodb.attributes import UnicodeAttribute, NumberAttribute, BooleanAttribute, UTCDateTimeAttribute, JSONAttribute | |
from pynamodb.models import Model | |
from time import sleep | |
Access_Key = "AKIASDKHWTHT5FZB5TMC" | |
Secret_Key = "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" | |
Region = "ap-northeast-2" | |
class BaseModel(Model): |