| 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.ListJobTemplates
Description
Returns a list of job templates.
Requires permission to access the ListJobTemplates action.
This operation returns paginated results.
Synopsis
- data ListJobTemplates = ListJobTemplates' {}
- newListJobTemplates :: ListJobTemplates
- listJobTemplates_maxResults :: Lens' ListJobTemplates (Maybe Natural)
- listJobTemplates_nextToken :: Lens' ListJobTemplates (Maybe Text)
- data ListJobTemplatesResponse = ListJobTemplatesResponse' {}
- newListJobTemplatesResponse :: Int -> ListJobTemplatesResponse
- listJobTemplatesResponse_jobTemplates :: Lens' ListJobTemplatesResponse (Maybe [JobTemplateSummary])
- listJobTemplatesResponse_nextToken :: Lens' ListJobTemplatesResponse (Maybe Text)
- listJobTemplatesResponse_httpStatus :: Lens' ListJobTemplatesResponse Int
Creating a Request
data ListJobTemplates Source #
See: newListJobTemplates smart constructor.
Constructors
| ListJobTemplates' | |
Instances
newListJobTemplates :: ListJobTemplates Source #
Create a value of ListJobTemplates 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:maxResults:ListJobTemplates', listJobTemplates_maxResults - The maximum number of results to return in the list.
ListJobTemplates, listJobTemplates_nextToken - The token to use to return the next set of results in the list.
Request Lenses
listJobTemplates_maxResults :: Lens' ListJobTemplates (Maybe Natural) Source #
The maximum number of results to return in the list.
listJobTemplates_nextToken :: Lens' ListJobTemplates (Maybe Text) Source #
The token to use to return the next set of results in the list.
Destructuring the Response
data ListJobTemplatesResponse Source #
See: newListJobTemplatesResponse smart constructor.
Constructors
| ListJobTemplatesResponse' | |
Fields
| |
Instances
newListJobTemplatesResponse Source #
Create a value of ListJobTemplatesResponse 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:jobTemplates:ListJobTemplatesResponse', listJobTemplatesResponse_jobTemplates - A list of objects that contain information about the job templates.
ListJobTemplates, listJobTemplatesResponse_nextToken - The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListJobTemplatesResponse', listJobTemplatesResponse_httpStatus - The response's http status code.
Response Lenses
listJobTemplatesResponse_jobTemplates :: Lens' ListJobTemplatesResponse (Maybe [JobTemplateSummary]) Source #
A list of objects that contain information about the job templates.
listJobTemplatesResponse_nextToken :: Lens' ListJobTemplatesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listJobTemplatesResponse_httpStatus :: Lens' ListJobTemplatesResponse Int Source #
The response's http status code.