| 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.Pinpoint.Types.DefaultButtonConfiguration
Description
Synopsis
- data DefaultButtonConfiguration = DefaultButtonConfiguration' {
- backgroundColor :: Maybe Text
- borderRadius :: Maybe Int
- link :: Maybe Text
- textColor :: Maybe Text
- buttonAction :: ButtonAction
- text :: Text
- newDefaultButtonConfiguration :: ButtonAction -> Text -> DefaultButtonConfiguration
- defaultButtonConfiguration_backgroundColor :: Lens' DefaultButtonConfiguration (Maybe Text)
- defaultButtonConfiguration_borderRadius :: Lens' DefaultButtonConfiguration (Maybe Int)
- defaultButtonConfiguration_link :: Lens' DefaultButtonConfiguration (Maybe Text)
- defaultButtonConfiguration_textColor :: Lens' DefaultButtonConfiguration (Maybe Text)
- defaultButtonConfiguration_buttonAction :: Lens' DefaultButtonConfiguration ButtonAction
- defaultButtonConfiguration_text :: Lens' DefaultButtonConfiguration Text
Documentation
data DefaultButtonConfiguration Source #
Default button configuration.
See: newDefaultButtonConfiguration smart constructor.
Constructors
| DefaultButtonConfiguration' | |
Fields
| |
Instances
newDefaultButtonConfiguration Source #
Arguments
| :: ButtonAction | |
| -> Text | |
| -> DefaultButtonConfiguration |
Create a value of DefaultButtonConfiguration 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:backgroundColor:DefaultButtonConfiguration', defaultButtonConfiguration_backgroundColor - The background color of the button.
$sel:borderRadius:DefaultButtonConfiguration', defaultButtonConfiguration_borderRadius - The border radius of the button.
$sel:link:DefaultButtonConfiguration', defaultButtonConfiguration_link - Button destination.
$sel:textColor:DefaultButtonConfiguration', defaultButtonConfiguration_textColor - The text color of the button.
$sel:buttonAction:DefaultButtonConfiguration', defaultButtonConfiguration_buttonAction - Action triggered by the button.
$sel:text:DefaultButtonConfiguration', defaultButtonConfiguration_text - Button text.
defaultButtonConfiguration_backgroundColor :: Lens' DefaultButtonConfiguration (Maybe Text) Source #
The background color of the button.
defaultButtonConfiguration_borderRadius :: Lens' DefaultButtonConfiguration (Maybe Int) Source #
The border radius of the button.
defaultButtonConfiguration_link :: Lens' DefaultButtonConfiguration (Maybe Text) Source #
Button destination.
defaultButtonConfiguration_textColor :: Lens' DefaultButtonConfiguration (Maybe Text) Source #
The text color of the button.
defaultButtonConfiguration_buttonAction :: Lens' DefaultButtonConfiguration ButtonAction Source #
Action triggered by the button.
defaultButtonConfiguration_text :: Lens' DefaultButtonConfiguration Text Source #
Button text.