amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.Types.DTMFSpecification

Description

 
Synopsis

Documentation

data DTMFSpecification Source #

Specifies the DTMF input specifications.

See: newDTMFSpecification smart constructor.

Constructors

DTMFSpecification' 

Fields

  • maxLength :: Natural

    The maximum number of DTMF digits allowed in an utterance.

  • endTimeoutMs :: Natural

    How long the bot should wait after the last DTMF character input before assuming that the input has concluded.

  • deletionCharacter :: Text

    The DTMF character that clears the accumulated DTMF digits and immediately ends the input.

  • endCharacter :: Text

    The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.

Instances

Instances details
FromJSON DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

ToJSON DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

Generic DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

Associated Types

type Rep DTMFSpecification :: Type -> Type #

Read DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

Show DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

NFData DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

Methods

rnf :: DTMFSpecification -> () #

Eq DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

Hashable DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

type Rep DTMFSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.DTMFSpecification

type Rep DTMFSpecification = D1 ('MetaData "DTMFSpecification" "Amazonka.LexV2Models.Types.DTMFSpecification" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DTMFSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "endTimeoutMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "deletionCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "endCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDTMFSpecification Source #

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.