Values.GetSessionResponseSourceReturns session information for a specified bot, alias, and user ID.
type nonrec t = {recentIntentSummaryView : IntentSummaryList.t option;An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the recentIntentSummaryView operation contains information about the last three intents used. If you set the checkpointLabelFilter parameter in the request, the array contains only the intents with the specified label.
*)sessionAttributes : StringMap.t option;Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
*)sessionId : String_.t option;A unique identifier for the session.
*)dialogAction : DialogAction.t option;Describes the current state of the bot.
*)activeContexts : ActiveContextsList.t option;A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the PostContent, PostText, or PutSession operation. You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `InternalFailureException of InternalFailureException.t| `LimitExceededException of LimitExceededException.t| `NotFoundException of NotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of String_.t ] * [> `String of String_.t ])
list
| `String of IntentName.t
| `Structure of
(string
* [> `Integer of ActiveContextTimeToLiveInSeconds.t ])
list ])
list ]
list
| `Map of
([> `String of String_.t ] * [> `String of String_.t ]) list
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of String_.t ] * [> `String of String_.t ]) list
| `String of IntentName.t ])
list ])
list ]