Skip to content

Instantly share code, notes, and snippets.

Bao Dinh baodinh

Block or report user

Report or block baodinh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script id="jsbin-javascript">
View gist:eda94e62a34b9049244a80e55b337ef3
var AWS = require("aws-sdk");
accessKeyId: "",
secretAccessKey: "",
region: "us-west-2"
var s3 = new AWS.S3();
var bucketName = "movieinfos3";
View gist:9ffa7f7fbcf7e89db36dfecc3a29c229
<p>This topic describes how to Create AWS Lambda Node.js function that gets all images from S3, and deploy it into AWS API Gateway.</p>
<p>Scenario: </p>
<p>In S3 has the object contains the images arranged by movieid(folder) like:</p>
<div class="text-center"><img src=""/></div>
<p>I want to create api to access all of the images by movieid. So the result api will be like this:</p>
<pre> </pre>
<div class="text-center"><img src=""/></div>
<p>This documentation guides you through our simple Node.js Lambda example function in detail.</p>
<p>Note: Strongly suggests you familiarize yourself with <a href="">Programming Model (Node.js)</a> in the AWS Lambda Developer Guide before continuing.</p>
<p>Example content:</p>
You can’t perform that action at this time.