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

Description

 
Synopsis

Documentation

data ResponseSpecification Source #

Specifies a list of message groups that Amazon Lex uses to respond the user input.

See: newResponseSpecification smart constructor.

Constructors

ResponseSpecification' 

Fields

Instances

Instances details
FromJSON ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

ToJSON ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

Generic ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

Associated Types

type Rep ResponseSpecification :: Type -> Type #

Read ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

Show ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

NFData ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

Methods

rnf :: ResponseSpecification -> () #

Eq ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

Hashable ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

type Rep ResponseSpecification Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ResponseSpecification

type Rep ResponseSpecification = D1 ('MetaData "ResponseSpecification" "Amazonka.LexV2Models.Types.ResponseSpecification" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "ResponseSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowInterrupt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "messageGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty MessageGroup))))

newResponseSpecification Source #

Create a value of ResponseSpecification 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:ResponseSpecification', responseSpecification_allowInterrupt - Indicates whether the user can interrupt a speech response from Amazon Lex.

$sel:messageGroups:ResponseSpecification', responseSpecification_messageGroups - A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.

responseSpecification_allowInterrupt :: Lens' ResponseSpecification (Maybe Bool) Source #

Indicates whether the user can interrupt a speech response from Amazon Lex.

responseSpecification_messageGroups :: Lens' ResponseSpecification (NonEmpty MessageGroup) Source #

A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.