class Aws::Lex::Types::ActiveContext

A context is a variable that contains information about the current state of the conversation between a user and Amazon Lex. Context can be set automatically by Amazon Lex when an intent is fulfilled, or it can be set at runtime using the `PutContent`, `PutText`, or `PutSession` operation.

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

data as a hash:

    {
      name: "ActiveContextName", # required
      time_to_live: { # required
        time_to_live_in_seconds: 1,
        turns_to_live: 1,
      },
      parameters: { # required
        "ParameterName" => "Text",
      },
    }

@!attribute [rw] name

The name of the context.
@return [String]

@!attribute [rw] time_to_live

The length of time or number of turns that a context remains active.
@return [Types::ActiveContextTimeToLive]

@!attribute [rw] parameters

State variables for the current context. You can use these values as
default values for slots in subsequent events.
@return [Hash<String,String>]

@see docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/ActiveContext AWS API Documentation

Constants

SENSITIVE