CmdID / aws / aws iotdeviceadvisor
aws iotdeviceadvisor get-endpoint
Gets information about an Device Advisor endpoint. AWS CLI reference
2 examples 4 options Its page in the AWS CLI reference
Examples
Example 1: To get the information about an IoT Device Advisor Account-level endpoint
The following get-endpoint example gets the information about a device advisor Account-level test endpoint.
aws iotdeviceadvisor get-endpointIdentifyIts output
{
"endpoint": "t6y4c143x9sfo.deviceadvisor.iot.us-west-2.amazonaws.com"
}Example 2: To get the information about an IoT Device Advisor Device-level endpoint
The following get-endpoint example gets the information about a device advisor device-level test endpoint with the specified thing-arn or certificate-arn.
aws iotdeviceadvisor get-endpoint --thing-arn arn:aws:iot:us-west-2:123456789012:thing/MyIotThingIdentify--thing-arnThe thing ARN of the device.Its output
{
"endpoint": "tdb7719be5t6y4c143x9sfo.deviceadvisor.iot.us-west-2.amazonaws.com"
}For more information, see Get a test endpoint in the AWS IoT Core Developer Guide.
Options
--authentication-methodThe authentication method used during the device connection.--certificate-arnThe certificate ARN of the device.--device-role-arnThe device role ARN of the device.--thing-arnThe thing ARN of the device.