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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南