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 |
Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
- listJobTemplates :: ListJobTemplates
- data ListJobTemplates
- ljtCategory :: Lens' ListJobTemplates (Maybe Text)
- ljtListBy :: Lens' ListJobTemplates (Maybe JobTemplateListBy)
- ljtNextToken :: Lens' ListJobTemplates (Maybe Text)
- ljtOrder :: Lens' ListJobTemplates (Maybe Order)
- ljtMaxResults :: Lens' ListJobTemplates (Maybe Int)
- listJobTemplatesResponse :: Int -> ListJobTemplatesResponse
- data ListJobTemplatesResponse
- ljtrsJobTemplates :: Lens' ListJobTemplatesResponse [JobTemplate]
- ljtrsNextToken :: Lens' ListJobTemplatesResponse (Maybe Text)
- ljtrsResponseStatus :: Lens' ListJobTemplatesResponse Int
Creating a Request
listJobTemplates :: ListJobTemplates Source #
Creates a value of ListJobTemplates
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljtCategory
- Optionally, specify a job template category to limit responses to only job templates from that category.ljtListBy
- Undocumented member.ljtNextToken
- Use this string, provided with the response to a previous request, to request the next batch of job templates.ljtOrder
- Undocumented member.ljtMaxResults
- Optional. Number of job templates, up to twenty, that will be returned at one time.
data ListJobTemplates Source #
See: listJobTemplates
smart constructor.
Request Lenses
ljtCategory :: Lens' ListJobTemplates (Maybe Text) Source #
Optionally, specify a job template category to limit responses to only job templates from that category.
ljtListBy :: Lens' ListJobTemplates (Maybe JobTemplateListBy) Source #
Undocumented member.
ljtNextToken :: Lens' ListJobTemplates (Maybe Text) Source #
Use this string, provided with the response to a previous request, to request the next batch of job templates.
ljtMaxResults :: Lens' ListJobTemplates (Maybe Int) Source #
Optional. Number of job templates, up to twenty, that will be returned at one time.
Destructuring the Response
listJobTemplatesResponse Source #
Creates a value of ListJobTemplatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljtrsJobTemplates
- List of Job templates.ljtrsNextToken
- Use this string to request the next batch of job templates.ljtrsResponseStatus
- -- | The response status code.
data ListJobTemplatesResponse Source #
See: listJobTemplatesResponse
smart constructor.
Response Lenses
ljtrsJobTemplates :: Lens' ListJobTemplatesResponse [JobTemplate] Source #
List of Job templates.
ljtrsNextToken :: Lens' ListJobTemplatesResponse (Maybe Text) Source #
Use this string to request the next batch of job templates.
ljtrsResponseStatus :: Lens' ListJobTemplatesResponse Int Source #
- - | The response status code.