v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1493436254.6 KB

Lists the device event history, including device connection status, for up to 30 days.

post/#X-Amz-Target=AlexaForBusiness.ListDeviceEvents

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AlexaForBusiness.ListDeviceEvents' required

Request body

DeviceArnstring required

The ARN of a device.

EventType'CONNECTION_STATUS' | 'DEVICE_STATUS'

The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.

NextTokenstring

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.

MaxResultsinteger

The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Response

Success

NextTokenstring

The token returned to indicate that there is more data available.