How to use the Glue function from aws-sdk
Find comprehensive JavaScript aws-sdk.Glue code examples handpicked from public code repositorys.
5 6 7 8 9 10 11 12 13 14
//update region to AWS region where Amazon Neptune database resides AWS.config.update({ region: 'us-west-2' }) var glue = new AWS.Glue(); var dbidentifier = uuidv4(); var databaseName = `graph-database-${dbidentifier}`; function addDatabase(addTablesAfterDatabase) {
253
0
0
37 38 39 40 41 42 43 44 45 46
}; } putDataCatalogEncryptionSettings(catalogId, catalogEncryptionMode) { return new Promise((resolve, reject) => { let glue = new AWS.Glue(this.config); const params = { DataCatalogEncryptionSettings: { ConnectionPasswordEncryption: { ReturnConnectionPasswordEncrypted: true
29
34
4
37 38 39 40 41 42 43 44 45 46
}); } }, event.Records); } const glue = new AWS.Glue(); glue.startCrawler( { Name: 'AWSCURCrawler-aws-perspective-cost-and-usage' }, function (err, data) { if (err) {
66
632
40
1 2 3 4 5 6 7 8 9 10
const AWS = require('aws-sdk') // Set the region AWS.config.update({region: process.env.AWS_REGION}) const glue = new AWS.Glue() const jobName = process.env.GLUE_JOB_NAME exports.handler = async function (event, context) { return new Promise((resolve, reject) => {
6
1
3
GitHub: dorzey/aws-super-glue
1 2 3 4 5 6 7 8 9 10
const router = express.Router({}); const asyncMiddleware = require('../utils/asyncMiddleware'); const logger = require('../utils/logger'); const {Glue} = require('aws-sdk'); const glue = new Glue(); router.get('/', asyncMiddleware(async (req, res) => { logger.debug('Get AWS Glue databases'); const databases = await glue.getDatabases().promise();
1
0
0
aws-sdk.S3 is the most popular function in aws-sdk (7245 examples)