| 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 |
Amazonka.IoT1ClickDevices.Types.DeviceMethod
Description
Synopsis
Documentation
data DeviceMethod Source #
See: newDeviceMethod smart constructor.
Constructors
| DeviceMethod' | |
Fields
| |
Instances
newDeviceMethod :: DeviceMethod Source #
Create a value of DeviceMethod 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:methodName:DeviceMethod', deviceMethod_methodName - The name of the method applicable to the deviceType.
$sel:deviceType:DeviceMethod', deviceMethod_deviceType - The type of the device, such as "button".
deviceMethod_methodName :: Lens' DeviceMethod (Maybe Text) Source #
The name of the method applicable to the deviceType.
deviceMethod_deviceType :: Lens' DeviceMethod (Maybe Text) Source #
The type of the device, such as "button".