AlexaForBusiness / Client / associate_device_with_room

associate_device_with_room#

AlexaForBusiness.Client.associate_device_with_room(**kwargs)#

Associates a device with a given room. This applies all the settings from the room profile to the device, and all the skills in any skill groups added to that room. This operation requires the device to be online, or else a manual sync is required.

See also: AWS API Documentation

Request Syntax

response = client.associate_device_with_room(
    DeviceArn='string',
    RoomArn='string'
)
Parameters:
  • DeviceArn (string) – The ARN of the device to associate to a room. Required.

  • RoomArn (string) – The ARN of the room with which to associate the device. Required.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AlexaForBusiness.Client.exceptions.LimitExceededException

  • AlexaForBusiness.Client.exceptions.ConcurrentModificationException

  • AlexaForBusiness.Client.exceptions.DeviceNotRegisteredException