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.AudioSpecification

Description

 
Synopsis

Documentation

data AudioSpecification Source #

Specifies the audio input specifications.

See: newAudioSpecification smart constructor.

Constructors

AudioSpecification' 

Fields

  • maxLengthMs :: Natural

    Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.

  • endTimeoutMs :: Natural

    Time for which a bot waits after the customer stops speaking to assume the utterance is finished.

Instances

Instances details
FromJSON AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

ToJSON AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

Generic AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

Associated Types

type Rep AudioSpecification :: Type -> Type #

Read AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

Show AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

NFData AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

Methods

rnf :: AudioSpecification -> () #

Eq AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

Hashable AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

type Rep AudioSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.AudioSpecification

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

newAudioSpecification Source #

Create a value of AudioSpecification 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:maxLengthMs:AudioSpecification', audioSpecification_maxLengthMs - Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.

$sel:endTimeoutMs:AudioSpecification', audioSpecification_endTimeoutMs - Time for which a bot waits after the customer stops speaking to assume the utterance is finished.

audioSpecification_maxLengthMs :: Lens' AudioSpecification Natural Source #

Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.

audioSpecification_endTimeoutMs :: Lens' AudioSpecification Natural Source #

Time for which a bot waits after the customer stops speaking to assume the utterance is finished.