CreateOTAUpdate AWS IOT

0

Hello!

I try to do CreateOTAUpdate (https://docs.aws.amazon.com/iot/latest/apireference/API_CreateOTAUpdate.html) in lambda function IotClient.create_ota_update()

I see in a response that all values except aws_iot_job_id aws_iot_job_arn - good

Why aws_iot_job_id and aws_iot_job_arn can be nil?

gefragt vor einem Jahr246 Aufrufe
1 Antwort
1

Hi,

you should get back the awsIotJobArn in case the job has been successfully created. Did the API call return a 200 status code which means it was successful?

You can also use the DescribeJob API to verify your job has been created successfully.

Cheers,
Philipp

AWS
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen