list_job_executions_for_thing
¶
list_job_executions_for_thing(
thing_name: ThingName,
*,
config_overrides: Optional[IoTClientConfig] = None,
status: Optional[JobExecutionStatus] = None,
namespace_id: Optional[NamespaceId] = None,
max_results: Optional[LaserMaxResults] = None,
next_token: Optional[NextToken] = None,
job_id: Optional[JobId] = None,
) -> ListJobExecutionsForThingResponse
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
Parameters:
-
thing_name(ThingName) –The thing name.
-
status(Optional[JobExecutionStatus], default:None) –An optional filter that lets you search for jobs that have the specified status.
-
namespace_id(Optional[NamespaceId], default:None) –The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/The
namespaceIdfeature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices. -
max_results(Optional[LaserMaxResults], default:None) –The maximum number of results to be returned per request.
-
next_token(Optional[NextToken], default:None) –The token to retrieve the next set of results.
-
job_id(Optional[JobId], default:None) –The unique identifier you assigned to this job when it was created.
Raises:
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 | |