Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data ActiveContextTimeToLive Source #
The length of time or number of turns that a context remains active.
See: newActiveContextTimeToLive
smart constructor.
ActiveContextTimeToLive' | |
|
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: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.
$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).
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.
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).