Posted On: Sep 20, 2017
You can now use Request Attributes on Amazon Lex to pass specific information from the client to Amazon Lex as part of each request.
You can define custom request attributes or choose a pre-defined attribute. Currently, Amazon Lex supports
time-zone as a pre-defined request level attribute. Request attributes are available only in scope of the current request and are ideal for passing information that you do not wish to retain for the entire session. For example, for a financial services chatbot, you can use custom request attributes to pass critical information such as a client account ID. The time-zone attribute can be used to resolve a date relative to the specified time-zone. With request attributes, you can customize the response to a request and resolve time based on user location (e.g. “America/Los_Angeles”).
Request attributes are available today in the U.S. East (N. Virginia) AWS Region. For more information please refer to the Amazon Lex documentation.