Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

associate_device_with_room

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