You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::OutputContext

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing OutputContext as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "OutputContextName", # required
  time_to_live_in_seconds: 1, # required
  turns_to_live: 1, # required
}

The specification of an output context that is set when an intent is fulfilled.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the context.

Returns:

  • (String)

    The name of the context.

#time_to_live_in_secondsInteger

The number of seconds that the context should be active after it is first sent in a PostContent or PostText response. You can set the value between 5 and 86,400 seconds (24 hours).

Returns:

  • (Integer)

    The number of seconds that the context should be active after it is first sent in a PostContent or PostText response.

#turns_to_liveInteger

The number of conversation turns that the context should be active. A conversation turn is one PostContent or PostText request and the corresponding response from Amazon Lex.

Returns:

  • (Integer)

    The number of conversation turns that the context should be active.