libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects
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.IoT1ClickProjects.Types.DeviceTemplate

Description

 
Synopsis

Documentation

data DeviceTemplate Source #

An object representing a device for a placement template (see PlacementTemplate).

See: newDeviceTemplate smart constructor.

Constructors

DeviceTemplate' 

Fields

Instances

Instances details
Eq DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

Read DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

Show DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

Generic DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

Associated Types

type Rep DeviceTemplate :: Type -> Type #

NFData DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

Methods

rnf :: DeviceTemplate -> () #

Hashable DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

ToJSON DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

FromJSON DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

type Rep DeviceTemplate Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.Types.DeviceTemplate

type Rep DeviceTemplate = D1 ('MetaData "DeviceTemplate" "Amazonka.IoT1ClickProjects.Types.DeviceTemplate" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "DeviceTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callbackOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))

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.