This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| import uuid | |
| import json | |
| import random | |
| import logging | |
| from datetime import datetime | |
| logging.basicConfig(format="[%(levelname)s] [%(name)s] [%(asctime)s]: %(message)s", | |
| level="INFO") | |
| logger = logging.getLogger(__name__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| import uuid | |
| import json | |
| import random | |
| import logging | |
| from datetime import datetime | |
| logging.basicConfig(format="[%(levelname)s] [%(name)s] [%(asctime)s]: %(message)s", | |
| level="INFO") | |
| logger = logging.getLogger(__name__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import boto3 | |
| import uuid | |
| import time | |
| import json | |
| client = boto3.client('kinesis', region_name='eu-central-1') | |
| partition_key = str(uuid.uuid4()) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: Cognito Stack | |
| Parameters: | |
| AuthName: | |
| Type: String | |
| Description: Unique Auth Name for Cognito Resources | |
| Resources: | |
| # Creates a role that allows Cognito to send SNS messages | |
| SNSRole: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This sample demonstrates handling intents from an Alexa skill using the Alexa Skills Kit SDK (v2). | |
| // Please visit https://alexa.design/cookbook for additional examples on implementing slots, dialog management, | |
| // session persistence, api calls, and more. | |
| const Alexa = require('ask-sdk-core'); | |
| const persistenceAdapter = require('ask-sdk-s3-persistence-adapter'); | |
| const { | |
| getSlotValue | |
| } = require('ask-sdk-core'); |