Alexa For Business

2020/07/09 - Alexa For Business - 1 updated api methods

Changes  Added support for registering an AVS device directly to a room using RegisterAVSDevice with a room ARN

RegisterAVSDevice (updated) Link ΒΆ
Changes (request)
{'RoomArn': 'string'}

Registers an Alexa-enabled device built by an Original Equipment Manufacturer (OEM) using Alexa Voice Service (AVS).

See also: AWS API Documentation

Request Syntax

client.register_avs_device(
    ClientId='string',
    UserCode='string',
    ProductId='string',
    DeviceSerialNumber='string',
    AmazonId='string',
    RoomArn='string'
)
type ClientId

string

param ClientId

[REQUIRED]

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

type UserCode

string

param UserCode

[REQUIRED]

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.

type ProductId

string

param ProductId

[REQUIRED]

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

type DeviceSerialNumber

string

param DeviceSerialNumber

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

type AmazonId

string

param AmazonId

[REQUIRED]

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

type RoomArn

string

param RoomArn

The ARN of the room with which to associate your AVS device.

rtype

dict

returns

Response Syntax

{
    'DeviceArn': 'string'
}

Response Structure

  • (dict) --

    • DeviceArn (string) --

      The ARN of the device.