libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT1ClickDevices.Types.DeviceMethod

Description

 
Synopsis

Documentation

data DeviceMethod Source #

See: newDeviceMethod smart constructor.

Constructors

DeviceMethod' 

Fields

Instances

Instances details
Eq DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

Read DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

Show DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

Generic DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

Associated Types

type Rep DeviceMethod :: Type -> Type #

NFData DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

Methods

rnf :: DeviceMethod -> () #

Hashable DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

ToJSON DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

FromJSON DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

type Rep DeviceMethod Source # 
Instance details

Defined in Amazonka.IoT1ClickDevices.Types.DeviceMethod

type Rep DeviceMethod = D1 ('MetaData "DeviceMethod" "Amazonka.IoT1ClickDevices.Types.DeviceMethod" "libZSservicesZSamazonka-iot1click-devicesZSamazonka-iot1click-devices" 'False) (C1 ('MetaCons "DeviceMethod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "methodName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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".