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.

DeviceEvent

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

type DeviceEvent struct { Device *Device `locationName:"device" type:"structure"` StdEvent *string `locationName:"stdEvent" type:"string"` }

Device
StdEvent

Type: *string

A serialized JSON object representing the device-type specific event.

Method

GoString

func (s DeviceEvent) GoString() string

GoString returns the string representation

SetDevice

func (s *DeviceEvent) SetDevice(v *Device) *DeviceEvent

SetDevice sets the Device field's value.

SetStdEvent

func (s *DeviceEvent) SetStdEvent(v string) *DeviceEvent

SetStdEvent sets the StdEvent field's value.

String

func (s DeviceEvent) String() string

String returns the string representation

On this page: