AlexaForBusiness.Client.
list_device_events
(**kwargs)¶Lists the device event history, including device connection status, for up to 30 days.
See also: AWS API Documentation
Request Syntax
response = client.list_device_events(
DeviceArn='string',
EventType='CONNECTION_STATUS'|'DEVICE_STATUS',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The ARN of a device.
dict
Response Syntax
{
'DeviceEvents': [
{
'Type': 'CONNECTION_STATUS'|'DEVICE_STATUS',
'Value': 'string',
'Timestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
DeviceEvents (list) --
The device events requested for the device ARN.
(dict) --
The list of device events.
Type (string) --
The type of device event.
Value (string) --
The value of the event.
Timestamp (datetime) --
The time (in epoch) when the event occurred.
NextToken (string) --
The token returned to indicate that there is more data available.
Exceptions
AlexaForBusiness.Client.exceptions.NotFoundException