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