Copyright | (c) 2013-2021 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 |
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_nextToken :: Lens' ListJobTemplates (Maybe Text)
- listJobTemplates_maxResults :: Lens' ListJobTemplates (Maybe Natural)
- 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.
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:nextToken:ListJobTemplates'
, listJobTemplates_nextToken
- The token to use to return the next set of results in the list.
$sel:maxResults:ListJobTemplates'
, listJobTemplates_maxResults
- The maximum number of results to return in the list.
Request Lenses
listJobTemplates_nextToken :: Lens' ListJobTemplates (Maybe Text) Source #
The token to use to return the next set of results in the list.
listJobTemplates_maxResults :: Lens' ListJobTemplates (Maybe Natural) Source #
The maximum number of results to return in the list.
Destructuring the Response
data ListJobTemplatesResponse Source #
See: newListJobTemplatesResponse
smart constructor.
ListJobTemplatesResponse' | |
|
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.
$sel:nextToken: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.