| 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.Button
Description
Documentation
Represents an option to be shown on the client platform (Facebook, Slack, etc.)
See: newButton smart constructor.
Constructors
| Button' | |
Instances
| FromJSON Button Source # | |
| Generic Button Source # | |
| Read Button Source # | |
| Show Button Source # | |
| NFData Button Source # | |
Defined in Amazonka.LexRuntime.Types.Button | |
| Eq Button Source # | |
| Hashable Button Source # | |
Defined in Amazonka.LexRuntime.Types.Button | |
| type Rep Button Source # | |
Defined in Amazonka.LexRuntime.Types.Button type Rep Button = D1 ('MetaData "Button" "Amazonka.LexRuntime.Types.Button" "amazonka-lex-runtime-2.0-Hs8dyr5aBISIGW4JmDmUkW" 'False) (C1 ('MetaCons "Button'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of Button 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:text:Button', button_text - Text that is visible to the user on the button.
$sel:value:Button', button_value - The value sent to Amazon Lex when a user chooses the button. For
example, consider button text "NYC." When the user chooses the button,
the value sent can be "New York City."