| 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.LexRuntime.Types.ActiveContextTimeToLive
Description
Documentation
data ActiveContextTimeToLive Source #
The length of time or number of turns that a context remains active.
See: newActiveContextTimeToLive smart constructor.
Constructors
| ActiveContextTimeToLive' | |
Fields
| |
Instances
newActiveContextTimeToLive :: ActiveContextTimeToLive Source #
Create a value of ActiveContextTimeToLive 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:timeToLiveInSeconds:ActiveContextTimeToLive', activeContextTimeToLive_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:ActiveContextTimeToLive', activeContextTimeToLive_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.
activeContextTimeToLive_timeToLiveInSeconds :: Lens' ActiveContextTimeToLive (Maybe 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).
activeContextTimeToLive_turnsToLive :: Lens' ActiveContextTimeToLive (Maybe 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.