Class PutSessionResponse

    • Method Detail

      • contentType

        public final String contentType()

        The type of response. Same as the type specified in the responseContentType field in the request.

        Returns:
        The type of response. Same as the type specified in the responseContentType field in the request.
      • messages

        public final String messages()

        A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.

        Returns:
        A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.
      • sessionState

        public final String sessionState()

        A base-64-encoded gzipped field that represents the current state of the dialog between the user and the bot. Use this to determine the progress of the conversation and what the next action may be.

        Returns:
        A base-64-encoded gzipped field that represents the current state of the dialog between the user and the bot. Use this to determine the progress of the conversation and what the next action may be.
      • requestAttributes

        public final String requestAttributes()

        A base-64-encoded gzipped field that provides request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.

        Returns:
        A base-64-encoded gzipped field that provides request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.
      • sessionId

        public final String sessionId()

        The identifier of the session that received the data.

        Returns:
        The identifier of the session that received the data.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object