AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DeviceTemplate

import "github.com/aws/aws-sdk-go/service/iot1clickprojects"

type DeviceTemplate struct { CallbackOverrides map[string]*string `locationName:"callbackOverrides" type:"map"` DeviceType *string `locationName:"deviceType" type:"string"` }

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

CallbackOverrides

Type: map[string]*string

An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.

DeviceType

Type: *string

The device type, which currently must be "button".

Method

GoString

func (s DeviceTemplate) GoString() string

GoString returns the string representation

SetCallbackOverrides

func (s *DeviceTemplate) SetCallbackOverrides(v map[string]*string) *DeviceTemplate

SetCallbackOverrides sets the CallbackOverrides field's value.

SetDeviceType

func (s *DeviceTemplate) SetDeviceType(v string) *DeviceTemplate

SetDeviceType sets the DeviceType field's value.

String

func (s DeviceTemplate) String() string

String returns the string representation

On this page: