Module

Amazon.Alexa.Lens

Package
purescript-alexa
Repository
twitchard/purescript-alexa

This module defines a collections of Lenses for convenience in accessing deeply nested properties inside an AlexaRequest

#_body Source

_body :: Lens' AlexaRequest { context :: AlexaContext, session :: AlexaSession, version :: String }

The 'body' of an AlexaResponse contains those properties shared by all types of requests

#_response Source

_response :: forall a r. Lens' { response :: a | r } a

#_sessionAttributes Source

_sessionAttributes :: forall a r. Lens' { sessionAttributes :: a | r } a

#_outputSpeech Source

_outputSpeech :: forall a r. Lens' { outputSpeech :: a | r } a

#_card Source

_card :: forall a r. Lens' { card :: a | r } a

#_type Source

_type :: forall a r. Lens' { type :: a | r } a

#_reprompt Source

_reprompt :: forall a r. Lens' { reprompt :: a | r } a

#_shouldEndSession Source

_shouldEndSession :: forall r. Lens' { shouldEndSession :: Boolean | r } Boolean

#_text Source

_text :: forall r. Lens' { text :: String | r } String