list_ota_updates
async
¶
list_ota_updates(
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
ota_update_status: Optional[OTAUpdateStatus] = None,
) -> ListOTAUpdatesResponse
Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time.
-
next_token(Optional[NextToken], default:None) –A token used to retrieve the next set of results.
-
ota_update_status(Optional[OTAUpdateStatus], default:None) –The OTA update job status.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/async_io_t.py
12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 | |