| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.LexModels.Types.OutputContext
Description
Documentation
data OutputContext Source #
The specification of an output context that is set when an intent is fulfilled.
See: newOutputContext smart constructor.
Constructors
| OutputContext' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Natural | |
| -> Natural | |
| -> OutputContext | 
Create a value of OutputContext with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:OutputContext', outputContext_name - The name of the context.
$sel:timeToLiveInSeconds:OutputContext', outputContext_timeToLiveInSeconds - 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).
$sel:turnsToLive:OutputContext', outputContext_turnsToLive - 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.
outputContext_name :: Lens' OutputContext Text Source #
The name of the context.
outputContext_timeToLiveInSeconds :: Lens' OutputContext Natural Source #
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).
outputContext_turnsToLive :: Lens' OutputContext Natural Source #
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.