CmdID

CmdID / aws / aws iot

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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-endpointIdentify
Its 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

1 in the AWS CLI reference
--endpoint-typeThe endpoint type.