{"id":13220,"date":"2020-10-27T12:33:34","date_gmt":"2020-10-27T03:33:34","guid":{"rendered":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=13220"},"modified":"2020-10-27T12:33:34","modified_gmt":"2020-10-27T03:33:34","slug":"arcesb%e3%81%a7event-webhook%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%8f%97%e4%bf%a1%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=13220","title":{"rendered":"ArcESB\u3067Event Webhook\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b"},"content":{"rendered":"<p>SendGrid\u30b5\u30dd\u30fc\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u4f50\u85e4\uff08<a href=\"https:\/\/twitter.com\/awwa500\" rel=\"noopener\" target=\"_blank\">@awwa500<\/a>\uff09\u3067\u3059\u3002\u4eca\u56de\u306f\u3001<a href=\"https:\/\/www.arcesb.com\/jp\/\" rel=\"noopener\" target=\"_blank\">ArcESB<\/a>\u3068\u3044\u3046\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u5404\u7a2e\u30b5\u30fc\u30d3\u30b9\u9593\u9023\u643a\u3092\u5b9f\u73fe\u3067\u304d\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066<a href=\"https:\/\/sendgrid.kke.co.jp\/docs\/Tutorials\/C_Manage_Events\/using_event_webhook.html\" rel=\"noopener\" target=\"_blank\">Event Webhook<\/a>\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u53d7\u4fe1\u3057\u305f\u30c7\u30fc\u30bf\u306f\u3001Amazon S3\u4e0a\u306b\u4fdd\u5b58\u3057\u3001Amazon Athena\u3067\u691c\u7d22\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<h3>Event Webhook\u3068\u306f<\/h3>\n<p>Event Webhook\u306fSendGrid\u304b\u3089\u9001\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u306b\u95a2\u9023\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u60c5\u5831\uff08\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\uff09\u3092HTTP\u3067\u9001\u4fe1\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u30fb\u5206\u6790\u3059\u308b\u3053\u3068\u3067\u3001\u30e1\u30fc\u30eb\u306e\u914d\u9001\u72b6\u6cc1\u3092\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u3057\u305f\u308a\u3001\u958b\u5c01\u7387\u3084\u30af\u30ea\u30c3\u30af\u7387\u306a\u3069\u3092\u8a08\u7b97\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Event Webhook\u306f\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u6d3b\u7528\u3059\u308b\u305f\u3081\u306b\u6b20\u304b\u305b\u306a\u3044\u6a5f\u80fd\u3067\u3059\u304c\u3001\u53d7\u4fe1\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u306e\u306f\u624b\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001ArcESB\u306e\u3088\u3046\u306aWebhook\u3092\u53d7\u4fe1\u3067\u304d\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066\u3001\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u7c21\u5358\u306b\u53d7\u4fe1\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n<h3>\u524d\u63d0\u6761\u4ef6<\/h3>\n<p>\u672c\u8a18\u4e8b\u306e\u524d\u63d0\u6761\u4ef6\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/sendgrid.kke.co.jp\/app?p=signup.index\" rel=\"noopener\" target=\"_blank\">SendGrid\u30a2\u30ab\u30a6\u30f3\u30c8<\/a><\/li>\n<li><a href=\"https:\/\/aws.amazon.com\/jp\/\" rel=\"noopener\" target=\"_blank\">AWS\u30a2\u30ab\u30a6\u30f3\u30c8<\/a><\/li>\n<li><a href=\"https:\/\/www.arcesb.com\/jp\/download\/\" rel=\"noopener\" target=\"_blank\">ArcESB\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3068<a href=\"https:\/\/www.cdatablog.jp\/entry\/arcesbec2setup\" rel=\"noopener\" target=\"_blank\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\n<ul>\n<li>Version: 20.0.7580<\/li>\n<\/li>\n<\/ul>\n<\/ul>\n<h3>\u30b7\u30b9\u30c6\u30e0\u69cb\u6210<\/h3>\n<p>\u4eca\u56de\u4f5c\u6210\u3059\u308b\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002S3\u306b\u4fdd\u5b58\u3057\u305f\u30c7\u30fc\u30bf\u304b\u3089\u81ea\u52d5\u7684\u306b\u30b9\u30ad\u30fc\u30de\u3092\u66f4\u65b0\u3059\u308b\u305f\u3081\u306bAWS Glue\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/system-1-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/system-1-1.png\" alt=\"\u30b7\u30b9\u30c6\u30e0\u69cb\u6210\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h3>\u8a2d\u5b9a<\/h3>\n<h4>Amazon S3<\/h4>\n<p>\u307e\u305a\u306f\u3058\u3081\u306b\u3001\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u5148\u3068\u306a\u308bS3\u306b\u30d0\u30b1\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30d0\u30b1\u30c3\u30c8\u540d\u306f\u4efb\u610f\u3067\u3001\u7279\u5225\u306a\u8a2d\u5b9a\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/s3-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/s3-1.png\" alt=\"Amazon S3\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h4>ArcESB<\/h4>\n<p>\u7d9a\u3044\u3066\u3001ArcESB\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002\u8a2d\u5b9a\u306f\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-1.png\" alt=\"ArcESB\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h5>Webhook\u30b3\u30cd\u30af\u30bf<\/h5>\n<p>\u753b\u9762\u5de6\u306eConnectors\u4e00\u89a7\u304b\u3089<strong>Webhook<\/strong>\u3092\u63a2\u3057\u51fa\u3057\u3066\u3001\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\uff08\u753b\u9762\u53f3\u5074\u306e\u5e83\u3044\u9818\u57df\uff09\u4e0a\u306b\u30b3\u30cd\u30af\u30bf\u3092\u30c9\u30e9\u30c3\u30b0&#038;\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-2-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-2-1.png\" alt=\"Webhook\u30b3\u30cd\u30af\u30bf\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p><strong>Connector ID<\/strong>\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u3001\u9069\u5f53\u306a\u6587\u5b57\u5217\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u300c<strong>Webhook<\/strong>\u300d\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-3.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-3.png\" alt=\"Connector ID\u306e\u5165\u529b\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p><strong>Request Format\u3067\u300cJSON\u300d<\/strong>\u3092\u9078\u629e\u3057\u3066\u3001<strong>Sample Request<\/strong>\u306b<a href=\"https:\/\/sendgrid.com\/docs\/for-developers\/tracking-events\/event\/#events\" rel=\"noopener\" target=\"_blank\">SendGrid\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf<\/a>\u4f8b\uff08JSON\u914d\u5217\uff09\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u753b\u9762\u53f3\u4e0a\u306e<strong>Save Changes<\/strong>\u3092\u9078\u629e\u3057\u3066\u3001\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-4-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-4-1.png\" alt=\"\u8a2d\u5b9a\u3092\u4fdd\u5b58\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>\u7d9a\u3044\u3066\u3001Webhook\u30b3\u30cd\u30af\u30bf\u3067Basic\u8a8d\u8a3c\u3092\u884c\u3046\u305f\u3081\u3001<strong>Users<\/strong>\u30bf\u30d6\u5185\u306e<strong>+Add<\/strong>\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-5.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-5.png\" alt=\"+Add\u30dc\u30bf\u30f3\u3092\u9078\u629e\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p><strong>User\u540d<\/strong>\u3092\u5165\u529b\u3057\u3066\u3001<strong>Privileges<\/strong>\u306e<strong>POST<\/strong>\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092<strong>ON<\/strong>\u306b\u3057\u305f\u3089\u3001<strong>Save Changes<\/strong>\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fUser\u540d\u3092\u300c<strong>testuser<\/strong>\u300d\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-6.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-6.png\" alt=\"User\u540d\u300ctestuser\u300d\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>\u30e6\u30fc\u30b6\u304c1\u4ef6\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b<strong>User<\/strong>\u3068<strong>Authtoken<\/strong>\u3092\u5f8c\u8ff0\u3059\u308bSendGrid\u306eEvent Webhook\u8a2d\u5b9a\u3067\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-7.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-7.png\" alt=\"\u30e6\u30fc\u30b6\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>\u6b21\u306b\u3001Webhook\u30b3\u30cd\u30af\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30db\u30b9\u30c8\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u305f\u3081\u306b\u3001<strong>Server<\/strong>\u30bf\u30d6\u3067\u3001<strong>+Add<\/strong>\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-8.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-8.png\" alt=\"Server\u30bf\u30d6\u3067\u3001+Add\u30dc\u30bf\u30f3\u3092\u9078\u629e\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>Event Webhook\u306e\u9001\u4fe1\u5143IP\u30a2\u30c9\u30ec\u30b9\u306f\u56fa\u5b9a\u3055\u308c\u306a\u3044\u305f\u3081\u3001<strong>IP Address<\/strong>\u306b\u306f<strong>\u30a2\u30b9\u30bf\u30ea\u30b9\u30af(*)<\/strong>\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u3001\u4efb\u610f\u306e\u30db\u30b9\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u4ed8\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<strong>Save Changes<\/strong>\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-9.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-9.png\" alt=\"Save Changes\u30dc\u30bf\u30f3\u3092\u9078\u629e\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p><strong>\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\uff08*\uff09<\/strong>\u306e\u30ec\u30b3\u30fc\u30c9\u304c1\u4ef6\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089\u753b\u9762\u53f3\u4e0a\u306e<strong>Save Changes<\/strong>\u3092\u9078\u629e\u3057\u3066\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-10.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-10.png\" alt=\"Save Changes\u3092\u9078\u629e\u3057\u8a2d\u5b9a\u3092\u4fdd\u5b58\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>\u6700\u5f8c\u306b\u3001<strong>Settings<\/strong>\u30bf\u30d6\u3067\u3001<strong>Webhook Endpoint<\/strong>\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u5148\u307b\u3069\u4f5c\u6210\u3057\u305fBasic\u8a8d\u8a3c\u306e\u8a8d\u8a3c\u60c5\u5831\u3068\u5408\u308f\u305b\u3066\u3001SendGrid\u306eEvent Webhook\u306b\u8a2d\u5b9a\u3057\u307e\u3059\uff08\u5f8c\u8ff0\u3057\u307e\u3059\uff09\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-11.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-11.png\" alt=\"Webhook Endpoint\u3092\u78ba\u8a8d\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h5>Script\u30b3\u30cd\u30af\u30bf<\/h5>\n<p>\u7d9a\u3044\u3066\u3001Webhook\u30b3\u30cd\u30af\u30bf\u3067\u53d7\u4fe1\u3057\u305f\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3059\u308b\u305f\u3081\u3001<strong>Script<\/strong>\u30b3\u30cd\u30af\u30bf\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-12.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-12.png\" alt=\"Script\u30b3\u30cd\u30af\u30bf\u3092\u914d\u7f6e\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p><strong>Settings<\/strong>\u30bf\u30d6\u5185\u306e<strong>Script<\/strong>\u306b\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u3001\u753b\u9762\u53f3\u4e0a\u306e<strong>Save Changes<\/strong>\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001JSON\u914d\u5217\u306e\u8981\u7d20\u6bce\u306bS3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u5206\u5272\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u30011\u30a4\u30d9\u30f3\u30c8\uff1d1\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066S3\u4e0a\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!-- NOTE: Do not edit arc:info --&gt;\r\n&lt;arc:info title=&quot;Custom Script&quot; desc=&quot;This script will be executed when a file is processed.&quot;&gt;\r\n  &lt;input name=&quot;ConnectorId&quot;   desc=&quot;The id of this connector.&quot; \/&gt;\r\n  &lt;input name=&quot;MessageId&quot;     desc=&quot;The message id.&quot; \/&gt;\r\n  &lt;input name=&quot;FilePath&quot;      desc=&quot;The path of the file being processed.&quot; \/&gt;\r\n  &lt;input name=&quot;FileName&quot;      desc=&quot;The name of the file being processed.&quot; \/&gt;\r\n  &lt;input name=&quot;Attachment#&quot;   desc=&quot;The path of the attachment being processed.&quot; \/&gt;\r\n  &lt;input name=&quot;Header:*&quot;      desc=&quot;The message headers of the file being processed.&quot; \/&gt;\r\n  &lt;output name=&quot;Data&quot;         desc=&quot;The data that will be written to the file in the Receive folder.&quot; \/&gt;\r\n  &lt;output name=&quot;FileName&quot;     desc=&quot;The name of the output file in Receive folder.&quot; \/&gt;\r\n  &lt;output name=&quot;FilePath&quot;     desc=&quot;The path of file that will be written to Receive folder.&quot; \/&gt;\r\n  &lt;output name=&quot;Header:*&quot;     desc=&quot;The message headers of the file being written.&quot; \/&gt;\r\n&lt;\/arc:info&gt;\r\n\r\n&lt;arc:set attr=&quot;push.Data&quot; value=&quot;&quot; \/&gt;\r\n&lt;arc:set attr=&quot;_input.Count&quot; value=&quot;0&quot; \/&gt;\r\n\r\n&lt;arc:call op=&quot;fileReadLine?file=&#x5B;FilePath]&quot; out=&quot;out&quot;&gt;\r\n  &lt;arc:set attr=&quot;out.Data&quot; value=&quot;&#x5B;out.data | replace('\\&#x5B;{','{') | replace('},','}') | replace('}\\]','}')]&quot;\/&gt;\r\n  &lt;arc:set attr=&quot;_input.Count&quot; value=&quot;&#x5B;_input.Count | add()]&quot; \/&gt;\r\n  &lt;arc:set attr=&quot;out.FileName&quot; value=&quot;&#x5B;FileName | replace('.json','_')]&#x5B;_input.Count].json&quot; \/&gt;\r\n  &lt;arc:push item=&quot;out&quot; \/&gt;\r\n&lt;\/arc:call&gt;\r\n<\/pre>\n<h5>S3\u30b3\u30cd\u30af\u30bf<\/h5>\n<p>\u7d9a\u3044\u3066\u3001Script\u30b3\u30cd\u30af\u30bf\u3067\u5909\u63db\u3057\u305f\u30c7\u30fc\u30bf\u3092Amazon S3\u306b\u4fdd\u5b58\u3059\u308b\u305f\u3081\u3001<strong>S3<\/strong>\u30b3\u30cd\u30af\u30bf\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<strong>Bucket Name<\/strong>\u306b\u5192\u982d\u3067\u4f5c\u6210\u3057\u305fS3\u30d0\u30b1\u30c3\u30c8\u540d\u3092\u5165\u529b\u3057\u3001<strong>Amazon Account Settings<\/strong>\u914d\u4e0b\u306e<strong>Access Key<\/strong>\u3001<strong>Secret Key<\/strong>\u3001<strong>Region<\/strong>\u306b\u3001S3\u30d0\u30b1\u30c3\u30c8\u3078\u306ePutObject\u6a29\u9650\u3092\u6301\u3064\u8a8d\u8a3c\u60c5\u5831\u3092\u767b\u9332\u3057\u3066\u3001<strong>Save Changes<\/strong>\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u8a8d\u8a3c\u60c5\u5831\u306fAWS\u306eIAM\u306b\u3066\u4e8b\u524d\u306b\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-13.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-13.png\" alt=\"S3\u30b3\u30cd\u30af\u30bf\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h5>\u30b3\u30cd\u30af\u30bf\u306e\u63a5\u7d9a<\/h5>\n<p>\u6700\u5f8c\u306b\u3001\u914d\u7f6e\u3057\u305f3\u3064\u306e\u30b3\u30cd\u30af\u30bf\u3092\u3001<strong>Webhook<\/strong>\u2192<strong>Script<\/strong>\u2192<strong>S3<\/strong>\u3068\u306a\u308b\u3088\u3046\u63a5\u7d9a\u3057\u307e\u3059\u3002\u63a5\u7d9a\u3057\u305f\u3089\u3001\u753b\u9762\u53f3\u7aef\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b<strong>Save Workspace<\/strong>\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u3066\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u4ee5\u4e0a\u3067\u3001ArcESB\u306e\u8a2d\u5b9a\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-14.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-14.png\" alt=\"\u30b3\u30cd\u30af\u30bf\u306e\u63a5\u7d9a\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h4>Event Webhook<\/h4>\n<p>\u7d9a\u3044\u3066Event Webhook\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002SendGrid\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001<a href=\"https:\/\/app.sendgrid.com\/settings\/mail_settings\" rel=\"noopener\" target=\"_blank\">Settings > Mail Settings > Event Webhook<\/a>\u3092\u9078\u629e\u3057\u307e\u3059\u3002<strong>Event Webhook Status<\/strong>\u3092\u300c<strong>ENABLED<\/strong>\u300d\u306b\u5909\u66f4\u3057\u3066\u3001\u5404\u9805\u76ee\u3092\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>HTTP Post URL<\/strong><br \/>\n\u5148\u307b\u3069ArcESB\u3067\u8a2d\u5b9a\u304a\u3088\u3073\u78ba\u8a8d\u3057\u305fWebhook URL\u3068\u8a8d\u8a3c\u60c5\u5831\uff08User\u3068Authtoken\uff09\u3092\u4ee5\u4e0b\u306e\u5f62\u5f0f\u306b\u306a\u308b\u3088\u3046\u306b\u767b\u9332\u3057\u307e\u3059\u3002\u8a73\u3057\u304f\u306f\u3001<a href=\"https:\/\/sendgrid.kke.co.jp\/docs\/API_Reference\/Webhooks\/event.html#-Setup\" rel=\"noopener\" target=\"_blank\">Event Webhook\u306eAPI\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>http:\/\/<strong>User\u540d:Authtoken@Webhook URL<\/strong><\/li>\n<li><strong>Events to be POSTed to your URL<\/strong><br \/>\nPOST\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u5168\u30a4\u30d9\u30f3\u30c8\u3092POST\u3059\u308b\u5834\u5408\u306f\u3001\u300c<strong>Select all<\/strong>\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/sendgrid-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/sendgrid-1.png\" alt=\"Event Webhook\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h4>S3\u3078\u306e\u4fdd\u5b58\u52d5\u4f5c\u78ba\u8a8d<\/h4>\n<p>HTTP Post URL\u3092\u767b\u9332\u3057\u305f\u3089\u3001\u8a2d\u5b9a\u304c\u6b63\u3057\u3044\u304b\u52d5\u4f5c\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001<strong>Test Your Integration<\/strong>\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/image9-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/image9-1.png\" alt=\"Test Your Integration\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308c\u3070\u3001S3\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/s3-2.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/s3-2.png\" alt=\"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u78ba\u8a8d\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>\u671f\u5f85\u901a\u308a\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u306a\u3044\u5834\u5408\u3001ArcESB\u306e\u5404\u30b3\u30cd\u30af\u30bf\u306e<strong>Input<\/strong>\u304a\u3088\u3073<strong>Output<\/strong>\u3092\u78ba\u8a8d\u3057\u3066\u3001\u3069\u3053\u307e\u3067\u30c7\u30fc\u30bf\u304c\u4f1d\u9054\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u3066\u3044\u308b\u5834\u5408\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u539f\u56e0\u3092\u8abf\u67fb\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-15-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/arcesb-15-1.png\" alt=\"S3\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>S3\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001Event Webhook\u306e\u8a2d\u5b9a\u753b\u9762\u53f3\u4e0b\u306eSave\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u3066\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u4ee5\u4e0a\u3067Event Webhook\u306e\u8a2d\u5b9a\u306f\u5b8c\u4e86\u3067\u3059\u3002 <\/p>\n<h4>AWS Glue<\/h4>\n<p>S3\u4e0a\u306b\u4fdd\u5b58\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092Amazon Athena\u3067\u691c\u7d22\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001AWS Glue\u3092\u5229\u7528\u3057\u3066\u30b9\u30ad\u30fc\u30de\u60c5\u5831\u3092\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002AWS Glue\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u3001\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d1\u30b9\u306b\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308bS3\u30d0\u30b1\u30c3\u30c8\u3092\u6307\u5b9a\u3057\u3066\u3001\u30af\u30ed\u30fc\u30e9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/glue-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/glue-1.png\" alt=\"\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d1\u30b9\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<p>\u30af\u30ed\u30fc\u30e9\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u624b\u52d5\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002\u5b9f\u884c\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u8ffd\u52a0\u3057\u305f\u30c6\u30fc\u30d6\u30eb\u304c1\u3068\u306a\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/glue-2.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/glue-2.png\" alt=\"\u30af\u30ed\u30fc\u30e9\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h4>Amazon Athena<\/h4>\n<p>Amazon Athena\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u3057\u3066\u3001Glue\u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3057\u3066\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001S3\u4e0a\u306b\u4fdd\u5b58\u3055\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/athena-1.png\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2020\/10\/athena-1.png\" alt=\"\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\" width=\"100%\" class=\"aligncenter size-full wp-image-13021\" \/><\/a><\/p>\n<h3>\u3055\u3044\u3054\u306b<\/h3>\n<p>ArcESB\u3067\u53d7\u4fe1\u3057\u305f\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092S3\u306b\u4fdd\u5b58\u3057\u3066\u3001Athena\u3067\u691c\u7d22\u3067\u304d\u307e\u3057\u305f\u3002\u4eca\u56de\u306fWebhook\u306eURL\u306fHTTP\u3067\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u304c\u3001HTTPS\u5316\u3059\u308b\u3053\u3068\u3067\u30bb\u30ad\u30e5\u30a2\u306b\u306a\u308a\u307e\u3059\u3002\u8a73\u3057\u3044\u624b\u9806\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/www.cdatablog.jp\/entry\/2020\/06\/04\/161713\" rel=\"noopener\" target=\"_blank\">CData Software Japan\u69d8\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>ArcESB\u306f\u3053\u306e\u4ed6\u306b\u3082\u591a\u6570\u306e\u30b3\u30cd\u30af\u30bf\u304c\u3042\u308a\u307e\u3059\u3002ArcESB\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u3055\u307e\u3056\u307e\u306a\u30b5\u30fc\u30d3\u30b9\u3068\u9023\u643a\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u67d4\u8edf\u306b\u62e1\u5f35\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305c\u3072\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u306f<a href=\"https:\/\/www.cdata.com\/jp\/\" rel=\"noopener\" target=\"_blank\">CData Software Japan<\/a>\u6749\u672c\u69d8\uff08<a href=\"https:\/\/twitter.com\/sugimomoto\" rel=\"noopener\" target=\"_blank\">@sugimomoto<\/a>\uff09\u306e\u3054\u5354\u529b\u3092\u3044\u305f\u3060\u304d\u57f7\u7b46\u3057\u307e\u3057\u305f\u3002\u7279\u306b\u3001Script\u30b3\u30cd\u30af\u30bf\u5468\u308a\u3067\u52b9\u7387\u7684\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u66f8\u304d\u65b9\u306b\u3064\u3044\u3066\u30b5\u30dd\u30fc\u30c8\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u3053\u306e\u5834\u3092\u501f\u308a\u3066\u304a\u793c\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SendGrid\u30b5\u30dd\u30fc\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u4f50\u85e4\uff08@awwa500\uff09\u3067\u3059\u3002\u4eca\u56de\u306f\u3001ArcESB\u3068\u3044\u3046\u30ce\u30fc\u30b3\u30fc\u30c9\u3067\u5404\u7a2e\u30b5\u30fc\u30d3\u30b9\u9593\u9023\u643a\u3092\u5b9f\u73fe\u3067\u304d\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066Event Webhook\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e <a class=\"read-more\" href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=13220\">&#8230;\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":4,"featured_media":13258,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-13220","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13220"}],"version-history":[{"count":15,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13220\/revisions"}],"predecessor-version":[{"id":13265,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13220\/revisions\/13265"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/13258"}],"wp:attachment":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}