| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IoT.ListJobExecutionsForThing
Description
Lists the job executions for the specified thing.
Synopsis
- listJobExecutionsForThing :: Text -> ListJobExecutionsForThing
- data ListJobExecutionsForThing
- ljeftStatus :: Lens' ListJobExecutionsForThing (Maybe JobExecutionStatus)
- ljeftNextToken :: Lens' ListJobExecutionsForThing (Maybe Text)
- ljeftMaxResults :: Lens' ListJobExecutionsForThing (Maybe Natural)
- ljeftThingName :: Lens' ListJobExecutionsForThing Text
- listJobExecutionsForThingResponse :: Int -> ListJobExecutionsForThingResponse
- data ListJobExecutionsForThingResponse
- ljeftrsExecutionSummaries :: Lens' ListJobExecutionsForThingResponse [JobExecutionSummaryForThing]
- ljeftrsNextToken :: Lens' ListJobExecutionsForThingResponse (Maybe Text)
- ljeftrsResponseStatus :: Lens' ListJobExecutionsForThingResponse Int
Creating a Request
listJobExecutionsForThing Source #
Arguments
| :: Text | |
| -> ListJobExecutionsForThing |
Creates a value of ListJobExecutionsForThing with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljeftStatus- An optional filter that lets you search for jobs that have the specified status.ljeftNextToken- The token to retrieve the next set of results.ljeftMaxResults- The maximum number of results to be returned per request.ljeftThingName- The thing name.
data ListJobExecutionsForThing Source #
See: listJobExecutionsForThing smart constructor.
Instances
Request Lenses
ljeftStatus :: Lens' ListJobExecutionsForThing (Maybe JobExecutionStatus) Source #
An optional filter that lets you search for jobs that have the specified status.
ljeftNextToken :: Lens' ListJobExecutionsForThing (Maybe Text) Source #
The token to retrieve the next set of results.
ljeftMaxResults :: Lens' ListJobExecutionsForThing (Maybe Natural) Source #
The maximum number of results to be returned per request.
ljeftThingName :: Lens' ListJobExecutionsForThing Text Source #
The thing name.
Destructuring the Response
listJobExecutionsForThingResponse Source #
Arguments
| :: Int | |
| -> ListJobExecutionsForThingResponse |
Creates a value of ListJobExecutionsForThingResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljeftrsExecutionSummaries- A list of job execution summaries.ljeftrsNextToken- The token for the next set of results, or null if there are no additional results.ljeftrsResponseStatus- -- | The response status code.
data ListJobExecutionsForThingResponse Source #
See: listJobExecutionsForThingResponse smart constructor.
Instances
Response Lenses
ljeftrsExecutionSummaries :: Lens' ListJobExecutionsForThingResponse [JobExecutionSummaryForThing] Source #
A list of job execution summaries.
ljeftrsNextToken :: Lens' ListJobExecutionsForThingResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
ljeftrsResponseStatus :: Lens' ListJobExecutionsForThingResponse Int Source #
- - | The response status code.