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