utils module¶
-
utils.getAccessToken(echoMessage)[source]¶ - Get Access Token of Alexa message
param echomessage: message sent to the lambda handler
-
utils.getCommandName(message)[source]¶ - Get the command name in the json message sent to the lambda handler
param message: message sent to the lambda handler
-
utils.getCorrelationToken(message)[source]¶ - Get the Correleation token for the of the Alexa message
param message: message sent to the lambda handler
-
utils.getEndpointID(echoMessage)[source]¶ - Get the uniqe target endpoint ID of Alexa message so that it can be compared with database
param echomessage: message sent to the lambda handler
-
utils.getNameSpace(message)[source]¶ - Return namespace of the command received
param message: message sent to the lambda handler
-
utils.getPayload(echoMessage)[source]¶ - Get the paylod component of the message sent to lambda
param echomessage: message sent to the lambda handler