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 DeviceTemplate Source #
An object representing a device for a placement template (see PlacementTemplate).
See: newDeviceTemplate
smart constructor.
DeviceTemplate' | |
|
Instances
newDeviceTemplate :: DeviceTemplate Source #
Create a value of DeviceTemplate
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:deviceType:DeviceTemplate'
, deviceTemplate_deviceType
- The device type, which currently must be "button"
.
$sel:callbackOverrides:DeviceTemplate'
, deviceTemplate_callbackOverrides
- An optional Lambda function to invoke instead of the default Lambda
function provided by the placement template.
deviceTemplate_deviceType :: Lens' DeviceTemplate (Maybe Text) Source #
The device type, which currently must be "button"
.
deviceTemplate_callbackOverrides :: Lens' DeviceTemplate (Maybe (HashMap Text Text)) Source #
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.