| 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.LexV2Models.Types.DTMFSpecification
Description
Synopsis
- data DTMFSpecification = DTMFSpecification' {}
- newDTMFSpecification :: Natural -> Natural -> Text -> Text -> DTMFSpecification
- dTMFSpecification_maxLength :: Lens' DTMFSpecification Natural
- dTMFSpecification_endTimeoutMs :: Lens' DTMFSpecification Natural
- dTMFSpecification_deletionCharacter :: Lens' DTMFSpecification Text
- dTMFSpecification_endCharacter :: Lens' DTMFSpecification Text
Documentation
data DTMFSpecification Source #
Specifies the DTMF input specifications.
See: newDTMFSpecification smart constructor.
Constructors
| DTMFSpecification' | |
Fields
| |
Instances
Arguments
| :: Natural | |
| -> Natural | |
| -> Text | |
| -> Text | |
| -> DTMFSpecification |
Create a value of DTMFSpecification 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:maxLength:DTMFSpecification', dTMFSpecification_maxLength - The maximum number of DTMF digits allowed in an utterance.
$sel:endTimeoutMs:DTMFSpecification', dTMFSpecification_endTimeoutMs - How long the bot should wait after the last DTMF character input before
assuming that the input has concluded.
$sel:deletionCharacter:DTMFSpecification', dTMFSpecification_deletionCharacter - The DTMF character that clears the accumulated DTMF digits and
immediately ends the input.
$sel:endCharacter:DTMFSpecification', dTMFSpecification_endCharacter - The DTMF character that immediately ends input. If the user does not
press this character, the input ends after the end timeout.
dTMFSpecification_maxLength :: Lens' DTMFSpecification Natural Source #
The maximum number of DTMF digits allowed in an utterance.
dTMFSpecification_endTimeoutMs :: Lens' DTMFSpecification Natural Source #
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
dTMFSpecification_deletionCharacter :: Lens' DTMFSpecification Text Source #
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
dTMFSpecification_endCharacter :: Lens' DTMFSpecification Text Source #
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.