Getting error while running following command "aws iot describe-endpoint --endpoint-type iot\:Data-ATS"

0

Getting error: "when calling the DescribeEndpoint operation: Endpoint type iot:Data-ATS not recognized." while running the command to check your MQTT broker endpoint for AWS IoT.

已提问 2 年前524 查看次数
1 回答
1

Hi, can you try to remove the backslash before the : from your command and retry? The error message when calling the DescribeEndpoint operation: Endpoint type iot:Data-ATS not recognized is displayed when the endpoint type parameter is not one of the following:

  • iot:Data
  • iot:Data-ATS
  • iot:CredentialProvider
  • iot:Jobs

On my machine, this works :

aws iot describe-endpoint --endpoint-type iot:data-ats

{
    "endpointAddress": "xxxxxxxxxx-ats.iot.eu-west-1.amazonaws.com"
}
profile pictureAWS
专家
Jan_B
已回答 2 年前
profile pictureAWS
专家
Greg_B
已审核 2 年前
  • It's working after removing backslash. Thank you for your help.

  • Glad I was able to assist. Looking again at your command line, you may have used a UNICODE character that looks similar to the ASCII column char :, e.g U+A789 ꞉ MODIFIER LETTER COLON If I use this Unicode character, I get the same error message.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则