register_avs_device
(**kwargs)¶Registers an Alexa-enabled device built by an Original Equipment Manufacturer (OEM) using Alexa Voice Service (AVS).
See also: AWS API Documentation
Request Syntax
response = client.register_avs_device(
ClientId='string',
UserCode='string',
ProductId='string',
DeviceSerialNumber='string',
AmazonId='string',
RoomArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The client ID of the OEM used for code-based linking authorization on an AVS device.
[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.
[REQUIRED]
The product ID used to identify your AVS device during authorization.
[REQUIRED]
The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.
The tags to be added to the specified resource. Do not provide system tags.
A key-value pair that can be associated with a resource.
The key of a tag. Tag keys are case-sensitive.
The value of a tag. Tag values are case sensitive and can be null.
dict
Response Syntax
{
'DeviceArn': 'string'
}
Response Structure
(dict) --
DeviceArn (string) --
The ARN of the device.
Exceptions
AlexaForBusiness.Client.exceptions.LimitExceededException
AlexaForBusiness.Client.exceptions.ConcurrentModificationException
AlexaForBusiness.Client.exceptions.NotFoundException
AlexaForBusiness.Client.exceptions.InvalidDeviceException