CmdID / aws / aws iotwireless
aws iotwireless list-device-profiles
Lists the device profiles registered to your AWS account. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list the device profiles
The following list-device-profiles example lists the available device profiles registered to your AWS account.
aws iotwireless list-device-profilesIdentifyIts output
{
"DeviceProfileList": [
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"Arn": "arn:aws:iotwireless:us-west-2:123456789012:DeviceProfile/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
},
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Arn": "arn:aws:iotwireless:us-west-2:123456789012:DeviceProfile/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
}
]
}For more information, see Add profiles to AWS IoT Core for LoRaWAN in the AWS IoT Developers Guide.
Options
--device-profile-typeA filter to list only device profiles that use this type, which can be LoRaWAN or Sidewalk.--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.