| 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.LexRuntime.Types.GenericAttachment
Description
Synopsis
- data GenericAttachment = GenericAttachment' {}
- newGenericAttachment :: GenericAttachment
- genericAttachment_attachmentLinkUrl :: Lens' GenericAttachment (Maybe Text)
- genericAttachment_buttons :: Lens' GenericAttachment (Maybe [Button])
- genericAttachment_imageUrl :: Lens' GenericAttachment (Maybe Text)
- genericAttachment_subTitle :: Lens' GenericAttachment (Maybe Text)
- genericAttachment_title :: Lens' GenericAttachment (Maybe Text)
Documentation
data GenericAttachment Source #
Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.
See: newGenericAttachment smart constructor.
Constructors
| GenericAttachment' | |
Fields
| |
Instances
newGenericAttachment :: GenericAttachment Source #
Create a value of GenericAttachment 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:attachmentLinkUrl:GenericAttachment', genericAttachment_attachmentLinkUrl - The URL of an attachment to the response card.
$sel:buttons:GenericAttachment', genericAttachment_buttons - The list of options to show to the user.
$sel:imageUrl:GenericAttachment', genericAttachment_imageUrl - The URL of an image that is displayed to the user.
$sel:subTitle:GenericAttachment', genericAttachment_subTitle - The subtitle shown below the title.
$sel:title:GenericAttachment', genericAttachment_title - The title of the option.
genericAttachment_attachmentLinkUrl :: Lens' GenericAttachment (Maybe Text) Source #
The URL of an attachment to the response card.
genericAttachment_buttons :: Lens' GenericAttachment (Maybe [Button]) Source #
The list of options to show to the user.
genericAttachment_imageUrl :: Lens' GenericAttachment (Maybe Text) Source #
The URL of an image that is displayed to the user.
genericAttachment_subTitle :: Lens' GenericAttachment (Maybe Text) Source #
The subtitle shown below the title.
genericAttachment_title :: Lens' GenericAttachment (Maybe Text) Source #
The title of the option.