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

Description

 
Synopsis

Documentation

data PromptAttemptSpecification Source #

Specifies the settings on a prompt attempt.

See: newPromptAttemptSpecification smart constructor.

Constructors

PromptAttemptSpecification' 

Fields

Instances

Instances details
FromJSON PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

ToJSON PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

Generic PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

Associated Types

type Rep PromptAttemptSpecification :: Type -> Type #

Read PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

Show PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

NFData PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

Eq PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

Hashable PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

type Rep PromptAttemptSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PromptAttemptSpecification

type Rep PromptAttemptSpecification = D1 ('MetaData "PromptAttemptSpecification" "Amazonka.LexV2Models.Types.PromptAttemptSpecification" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "PromptAttemptSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allowInterrupt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "audioAndDTMFInputSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AudioAndDTMFInputSpecification))) :*: (S1 ('MetaSel ('Just "textInputSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextInputSpecification)) :*: S1 ('MetaSel ('Just "allowedInputTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AllowedInputTypes))))

newPromptAttemptSpecification Source #

Create a value of PromptAttemptSpecification 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:allowInterrupt:PromptAttemptSpecification', promptAttemptSpecification_allowInterrupt - Indicates whether the user can interrupt a speech prompt attempt from the bot.

$sel:audioAndDTMFInputSpecification:PromptAttemptSpecification', promptAttemptSpecification_audioAndDTMFInputSpecification - Specifies the settings on audio and DTMF input.

$sel:textInputSpecification:PromptAttemptSpecification', promptAttemptSpecification_textInputSpecification - Specifies the settings on text input.

$sel:allowedInputTypes:PromptAttemptSpecification', promptAttemptSpecification_allowedInputTypes - Indicates the allowed input types of the prompt attempt.

promptAttemptSpecification_allowInterrupt :: Lens' PromptAttemptSpecification (Maybe Bool) Source #

Indicates whether the user can interrupt a speech prompt attempt from the bot.