Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Arora committed Jan 27, 2019
1 parent 41dc205 commit af6fcbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ This API Gateway then triggers a Lambda function that has the `athena-express` l
```javascript
const aws = require("aws-sdk");
const awsCredentials = {
region: "us-east-1",
accessKeyId: "AKIAIHV5B6DGMEXVCXGA",
secretAccessKey: "SWSDdQr/0skiHB9AApy1iCDuiJVEo/gJzlranDKY"
region: "YOUR_AWS_REGION",
accessKeyId: "YOUR_AWS_ACCESS_KEY_ID",
secretAccessKey: "YOUR_AWS_SECRET_ACCESS_KEY"
};
aws.config.update(awsCredentials);

Expand Down Expand Up @@ -122,10 +122,10 @@ const aws = require("aws-sdk");
const athenaExpressConfig = {
aws, /* required */
s3: "STRING_VALUE", /* optional */
db: "STRING_VALUE", /* optional */
db: "STRING_VALUE", /* optional */
formatJson: BOOLEAN, /* optional default=true */
retry: Integer, /* optional default=200 */
getStats: BOOLEAN /* optional default=false */
getStats: BOOLEAN /* optional default=false */
};

//Initializing AthenaExpress
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "athena-express",
"version": "3.1.4",
"version": "3.1.5",
"description": "Athena-Express makes it easier to execute SQL queries on Amazon Athena by consolidating & astracting several methods in the AWS SDK",
"main": "./lib/index.js",
"scripts": {
Expand Down

0 comments on commit af6fcbc

Please sign in to comment.