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 |
Documentation
data ResponseCard Source #
If you configure a response card when creating your bots, Amazon Lex
substitutes the session attributes and slot values that are available,
and then returns it. The response card can also come from a Lambda
function ( dialogCodeHook
and fulfillmentActivity
on an intent).
See: newResponseCard
smart constructor.
ResponseCard' | |
|
Instances
newResponseCard :: ResponseCard Source #
Create a value of ResponseCard
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:genericAttachments:ResponseCard'
, responseCard_genericAttachments
- An array of attachment objects representing options.
$sel:version:ResponseCard'
, responseCard_version
- The version of the response card format.
$sel:contentType:ResponseCard'
, responseCard_contentType
- The content type of the response.
responseCard_genericAttachments :: Lens' ResponseCard (Maybe [GenericAttachment]) Source #
An array of attachment objects representing options.
responseCard_version :: Lens' ResponseCard (Maybe Text) Source #
The version of the response card format.
responseCard_contentType :: Lens' ResponseCard (Maybe ContentType) Source #
The content type of the response.