CmdID / aws / aws iotwireless
aws iotwireless list-wireless-gateways
Lists the wireless gateways registered to your AWS account. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To list the wireless gateways
The following list-wireless-gateways example lists the available wireless gateways in your AWS account.
aws iotwireless list-wireless-gatewaysIdentifyIts output
{
"WirelessGatewayList": [
{
"Description": "My first LoRaWAN gateway",
"LoRaWAN": {
"RfRegion": "US915",
"GatewayEui": "dac632ebc01d23e4"
},
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"Arn": "arn:aws:iotwireless:us-west-2:123456789012:WirelessGateway/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"Name": "myFirstLoRaWANGateway"
},
{
"Description": "My second LoRaWAN gateway",
"LoRaWAN": {
"RfRegion": "US915",
"GatewayEui": "cda123fffe92ecd2"
},
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Arn": "arn:aws:iotwireless:us-west-2:123456789012:WirelessGateway/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Name": "mySecondLoRaWANGateway"
}
]
}For more information, see Connecting devices and gateways to AWS IoT Core for LoRaWAN in the AWS IoT Developers Guide.
Options
--max-resultsThe maximum number of results to return in this operation.--next-tokenTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.