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.

RegisterAVSDeviceInput

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

type RegisterAVSDeviceInput struct { AmazonId *string `type:"string" required:"true"` ClientId *string `type:"string" required:"true"` DeviceSerialNumber *string `type:"string" required:"true"` ProductId *string `type:"string" required:"true"` UserCode *string `min:"1" type:"string" required:"true"` }

AmazonId

Type: *string

The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.

AmazonId is a required field

ClientId

Type: *string

The client ID of the OEM used for code-based linking authorization on an AVS device.

ClientId is a required field

DeviceSerialNumber

Type: *string

The key generated by the OEM that uniquely identifies a specified instance of your AVS device.

DeviceSerialNumber is a required field

ProductId

Type: *string

The product ID used to identify your AVS device during authorization.

ProductId is a required field

UserCode

Type: *string

The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.

UserCode is a required field

Method

GoString

func (s RegisterAVSDeviceInput) GoString() string

GoString returns the string representation

SetAmazonId

func (s *RegisterAVSDeviceInput) SetAmazonId(v string) *RegisterAVSDeviceInput

SetAmazonId sets the AmazonId field's value.

SetClientId

func (s *RegisterAVSDeviceInput) SetClientId(v string) *RegisterAVSDeviceInput

SetClientId sets the ClientId field's value.

SetDeviceSerialNumber

func (s *RegisterAVSDeviceInput) SetDeviceSerialNumber(v string) *RegisterAVSDeviceInput

SetDeviceSerialNumber sets the DeviceSerialNumber field's value.

SetProductId

func (s *RegisterAVSDeviceInput) SetProductId(v string) *RegisterAVSDeviceInput

SetProductId sets the ProductId field's value.

SetUserCode

func (s *RegisterAVSDeviceInput) SetUserCode(v string) *RegisterAVSDeviceInput

SetUserCode sets the UserCode field's value.

String

func (s RegisterAVSDeviceInput) String() string

String returns the string representation

Validate

func (s *RegisterAVSDeviceInput) Validate() error

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

On this page: