Skip to content

Instantly share code, notes, and snippets.

<?php
require '../vendor/autoload.php';
use Aws\Sqs\SqsClient;
use Aws\Exception\AwsException;
date_default_timezone_set('Asia/Tokyo');
$client = new SqsClient([
'region' => 'ap-northeast-1',
<?php
require '../vendor/autoload.php';
use Aws\Sqs\SqsClient;
use Aws\Exception\AwsException;
use Aws\Ses\SesClient;
$queueUrl = '<QUEUE_URL>';
$client = new SqsClient([
import json
import urllib.parse
import boto3
import datetime
print('Loading function')
s3 = boto3.client('s3')
def read_input_text(bucket_name, input_key):
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.lock {
overflow: hidden;
}
.overlay {