class Aws::LexRuntimeV2::Types::SessionState

The state of the user's session with Amazon Lex V2.

@note When making an API call, you may pass SessionState

data as a hash:

    {
      dialog_action: {
        type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot
        slot_to_elicit: "NonEmptyString",
      },
      intent: {
        name: "NonEmptyString", # required
        slots: {
          "NonEmptyString" => {
            value: {
              original_value: "NonEmptyString",
              interpreted_value: "NonEmptyString", # required
              resolved_values: ["NonEmptyString"],
            },
            shape: "Scalar", # accepts Scalar, List
            values: [
              {
                # recursive Slot
              },
            ],
          },
        },
        state: "Failed", # accepts Failed, Fulfilled, InProgress, ReadyForFulfillment, Waiting
        confirmation_state: "Confirmed", # accepts Confirmed, Denied, None
      },
      active_contexts: [
        {
          name: "ActiveContextName", # required
          time_to_live: { # required
            time_to_live_in_seconds: 1, # required
            turns_to_live: 1, # required
          },
          context_attributes: { # required
            "ParameterName" => "Text",
          },
        },
      ],
      session_attributes: {
        "NonEmptyString" => "String",
      },
      originating_request_id: "NonEmptyString",
    }

@!attribute [rw] dialog_action

The next step that Amazon Lex V2 should take in the conversation
with a user.
@return [Types::DialogAction]

@!attribute [rw] intent

The active intent that Amazon Lex V2 is processing.
@return [Types::Intent]

@!attribute [rw] active_contexts

One or more contexts that indicate to Amazon Lex V2 the context of a
request. When a context is active, Amazon Lex V2 considers intents
with the matching context as a trigger as the next intent in a
session.
@return [Array<Types::ActiveContext>]

@!attribute [rw] session_attributes

Map of key/value pairs representing session-specific context
information. It contains application information passed between
Amazon Lex V2 and a client application.
@return [Hash<String,String>]

@!attribute [rw] originating_request_id

@return [String]

@see docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/SessionState AWS API Documentation

Constants

SENSITIVE