| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.ListJobExecutionsForThing
Description
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
This operation returns paginated results.
Synopsis
- data ListJobExecutionsForThing = ListJobExecutionsForThing' {}
- newListJobExecutionsForThing :: Text -> ListJobExecutionsForThing
- listJobExecutionsForThing_jobId :: Lens' ListJobExecutionsForThing (Maybe Text)
- listJobExecutionsForThing_maxResults :: Lens' ListJobExecutionsForThing (Maybe Natural)
- listJobExecutionsForThing_namespaceId :: Lens' ListJobExecutionsForThing (Maybe Text)
- listJobExecutionsForThing_nextToken :: Lens' ListJobExecutionsForThing (Maybe Text)
- listJobExecutionsForThing_status :: Lens' ListJobExecutionsForThing (Maybe JobExecutionStatus)
- listJobExecutionsForThing_thingName :: Lens' ListJobExecutionsForThing Text
- data ListJobExecutionsForThingResponse = ListJobExecutionsForThingResponse' {}
- newListJobExecutionsForThingResponse :: Int -> ListJobExecutionsForThingResponse
- listJobExecutionsForThingResponse_executionSummaries :: Lens' ListJobExecutionsForThingResponse (Maybe [JobExecutionSummaryForThing])
- listJobExecutionsForThingResponse_nextToken :: Lens' ListJobExecutionsForThingResponse (Maybe Text)
- listJobExecutionsForThingResponse_httpStatus :: Lens' ListJobExecutionsForThingResponse Int
Creating a Request
data ListJobExecutionsForThing Source #
See: newListJobExecutionsForThing smart constructor.
Constructors
| ListJobExecutionsForThing' | |
Fields
| |
Instances
newListJobExecutionsForThing Source #
Arguments
| :: Text | |
| -> ListJobExecutionsForThing |
Create a value of ListJobExecutionsForThing with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListJobExecutionsForThing, listJobExecutionsForThing_jobId - The unique identifier you assigned to this job when it was created.
$sel:maxResults:ListJobExecutionsForThing', listJobExecutionsForThing_maxResults - The maximum number of results to be returned per request.
ListJobExecutionsForThing, listJobExecutionsForThing_namespaceId - 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 namespaceId feature is in public preview.
ListJobExecutionsForThing, listJobExecutionsForThing_nextToken - The token to retrieve the next set of results.
ListJobExecutionsForThing, listJobExecutionsForThing_status - An optional filter that lets you search for jobs that have the specified
status.
ListJobExecutionsForThing, listJobExecutionsForThing_thingName - The thing name.
Request Lenses
listJobExecutionsForThing_jobId :: Lens' ListJobExecutionsForThing (Maybe Text) Source #
The unique identifier you assigned to this job when it was created.
listJobExecutionsForThing_maxResults :: Lens' ListJobExecutionsForThing (Maybe Natural) Source #
The maximum number of results to be returned per request.
listJobExecutionsForThing_namespaceId :: Lens' ListJobExecutionsForThing (Maybe Text) Source #
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 namespaceId feature is in public preview.
listJobExecutionsForThing_nextToken :: Lens' ListJobExecutionsForThing (Maybe Text) Source #
The token to retrieve the next set of results.
listJobExecutionsForThing_status :: Lens' ListJobExecutionsForThing (Maybe JobExecutionStatus) Source #
An optional filter that lets you search for jobs that have the specified status.
listJobExecutionsForThing_thingName :: Lens' ListJobExecutionsForThing Text Source #
The thing name.
Destructuring the Response
data ListJobExecutionsForThingResponse Source #
See: newListJobExecutionsForThingResponse smart constructor.
Constructors
| ListJobExecutionsForThingResponse' | |
Fields
| |
Instances
newListJobExecutionsForThingResponse Source #
Arguments
| :: Int | |
| -> ListJobExecutionsForThingResponse |
Create a value of ListJobExecutionsForThingResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:executionSummaries:ListJobExecutionsForThingResponse', listJobExecutionsForThingResponse_executionSummaries - A list of job execution summaries.
ListJobExecutionsForThing, listJobExecutionsForThingResponse_nextToken - The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListJobExecutionsForThingResponse', listJobExecutionsForThingResponse_httpStatus - The response's http status code.
Response Lenses
listJobExecutionsForThingResponse_executionSummaries :: Lens' ListJobExecutionsForThingResponse (Maybe [JobExecutionSummaryForThing]) Source #
A list of job execution summaries.
listJobExecutionsForThingResponse_nextToken :: Lens' ListJobExecutionsForThingResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listJobExecutionsForThingResponse_httpStatus :: Lens' ListJobExecutionsForThingResponse Int Source #
The response's http status code.