CmdID / aws / aws iotwireless
aws iotwireless list-destinations
Lists the destinations registered to your AWS account. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To list the wireless destinations
The following list-destinations example lists the available destinations registered to your AWS account.
aws iotwireless list-destinationsIdentifyIts output
{
"DestinationList": [
{
"Arn": "arn:aws:iotwireless:us-west-2:123456789012:Destination/IoTWirelessDestination",
"Name": "IoTWirelessDestination",
"Expression": "IoTWirelessRule",
"Description": "Destination for messages processed using IoTWirelessRule",
"RoleArn": "arn:aws:iam::123456789012:role/IoTWirelessDestinationRole"
},
{
"Arn": "arn:aws:iotwireless:us-west-2:123456789012:Destination/IoTWirelessDestination2",
"Name": "IoTWirelessDestination2",
"Expression": "IoTWirelessRule2",
"RoleArn": "arn:aws:iam::123456789012:role/IoTWirelessDestinationRole"
}
]
}For more information, see Add destinations 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.