aws iot describe-endpoint
Returns or creates a unique endpoint specific to the Amazon Web Services account making the call. AWS CLI reference
2 examples 1 option Its page in the AWS CLI reference
Examples
Example 1: To get your current AWS endpoint
The following describe-endpoint example retrieves the default AWS endpoint to which all commands are applied.
aws iot describe-endpointIdentifyIts output
{
"endpointAddress": "abc123defghijk.iot.us-west-2.amazonaws.com"
}For more information, see DescribeEndpoint in the AWS IoT Developer Guide.
Example 2: To get your ATS endpoint
The following describe-endpoint example retrieves the Amazon Trust Services (ATS) endpoint.
aws iot describe-endpoint --endpoint-type iot:Data-ATSIdentify--endpoint-typeThe endpoint type.Its output
{
"endpointAddress": "abc123defghijk-ats.iot.us-west-2.amazonaws.com"
}For more information, see X.509 Certificates and AWS IoT in the AWS IoT Developer Guide.
Options
--endpoint-typeThe endpoint type.