Skip to content

Instantly share code, notes, and snippets.

View JakePartusch's full-sized avatar
💭
👋

Jake Partusch JakePartusch

💭
👋
View GitHub Profile
const https = require('https');
const questions = [
`A user supplied parameter to a Lex bot is called a(n)..?
A) Slot
B) Utterance
C) Variable
D) Word
`,
`DynamoDB is which type of database?
import boto3
dynamodb = boto3.resource('dynamodb')
def lambda_handler(event, context):
table = dynamodb.Table('PolicyTable')
policyNumber = event['currentIntent']['slots']['policyNumber']
confirmationStatus = event['currentIntent']['confirmationStatus'];
currentIntentName = event['currentIntent']['name']