list_job_executions_for_thing
async
¶
list_job_executions_for_thing(
thing_name: ThingName,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 | |