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 |
Synopsis
- data Statement = Statement' {}
- newStatement :: NonEmpty Message -> Statement
- statement_responseCard :: Lens' Statement (Maybe Text)
- statement_messages :: Lens' Statement (NonEmpty Message)
Documentation
A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.
See: newStatement
smart constructor.
Instances
FromJSON Statement Source # | |
ToJSON Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement | |
Generic Statement Source # | |
Read Statement Source # | |
Show Statement Source # | |
NFData Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement | |
Eq Statement Source # | |
Hashable Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement | |
type Rep Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement type Rep Statement = D1 ('MetaData "Statement" "Amazonka.LexModels.Types.Statement" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "Statement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responseCard") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Message)))) |
Create a value of Statement
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:responseCard:Statement'
, statement_responseCard
- At runtime, if the client is using the
PostText
API, Amazon Lex includes the response card in the response. It
substitutes all of the session attributes and slot values for
placeholders in the response card.
$sel:messages:Statement'
, statement_messages
- A collection of message objects.