Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Eq Statement Source # | |
Read Statement Source # | |
Show Statement Source # | |
Generic Statement Source # | |
NFData Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement | |
Hashable Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement | |
ToJSON Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement | |
FromJSON Statement Source # | |
type Rep Statement Source # | |
Defined in Amazonka.LexModels.Types.Statement type Rep Statement = D1 ('MetaData "Statement" "Amazonka.LexModels.Types.Statement" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" '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.