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.

UpdateDeviceInput

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

type UpdateDeviceInput struct { DeviceArn *string `type:"string"` DeviceName *string `min:"2" type:"string"` }

DeviceArn

Type: *string

The ARN of the device to update. Required.

DeviceName

Type: *string

The updated device name. Required.

Method

GoString

func (s UpdateDeviceInput) GoString() string

GoString returns the string representation

SetDeviceArn

func (s *UpdateDeviceInput) SetDeviceArn(v string) *UpdateDeviceInput

SetDeviceArn sets the DeviceArn field's value.

SetDeviceName

func (s *UpdateDeviceInput) SetDeviceName(v string) *UpdateDeviceInput

SetDeviceName sets the DeviceName field's value.

String

func (s UpdateDeviceInput) String() string

String returns the string representation

Validate

func (s *UpdateDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: