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.

Device

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

type Device struct { Attributes *Attributes `locationName:"attributes" type:"structure"` DeviceId *string `locationName:"deviceId" type:"string"` Type *string `locationName:"type" type:"string"` }

Attributes
DeviceId

Type: *string

The unique identifier of the device.

Type

Type: *string

The device type, such as "button".

Method

GoString

func (s Device) GoString() string

GoString returns the string representation

SetAttributes

func (s *Device) SetAttributes(v *Attributes) *Device

SetAttributes sets the Attributes field's value.

SetDeviceId

func (s *Device) SetDeviceId(v string) *Device

SetDeviceId sets the DeviceId field's value.

SetType

func (s *Device) SetType(v string) *Device

SetType sets the Type field's value.

String

func (s Device) String() string

String returns the string representation

On this page: