wireless_gateway_statistics
Creates, updates, deletes, gets or lists a wireless_gateway_statistics resource.
Overview
| Name | wireless_gateway_statistics |
| Type | Resource |
| Id | aws.iotwireless.wireless_gateway_statistics |
Fields
The following fields are returned by SELECT queries:
- get_wireless_gateway_statistics
| Name | Datatype | Description |
|---|---|---|
connection_status | string | The connection status of the wireless gateway. (Connected, Disconnected) |
last_uplink_received_at | string | The date and time when the most recent uplink was received. This value is only valid for 3 months. (pattern: <code>^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\17[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$</code>) |
wireless_gateway_id | string | The ID of the wireless gateway. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_wireless_gateway_statistics | select | id, region | Gets operating information about a wireless gateway. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the wireless gateway for which to get the data. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_wireless_gateway_statistics
Gets operating information about a wireless gateway.
SELECT
connection_status,
last_uplink_received_at,
wireless_gateway_id
FROM aws.iotwireless.wireless_gateway_statistics
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;