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.

preguntada hace 2 años524 visualizaciones
1 Respuesta
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
EXPERTO
Jan_B
respondido hace 2 años
profile pictureAWS
EXPERTO
Greg_B
revisado hace 2 años
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas