| 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.ListManagedJobTemplates
Description
Returns a list of managed job templates.
Synopsis
- data ListManagedJobTemplates = ListManagedJobTemplates' {}
- newListManagedJobTemplates :: ListManagedJobTemplates
- listManagedJobTemplates_maxResults :: Lens' ListManagedJobTemplates (Maybe Natural)
- listManagedJobTemplates_nextToken :: Lens' ListManagedJobTemplates (Maybe Text)
- listManagedJobTemplates_templateName :: Lens' ListManagedJobTemplates (Maybe Text)
- data ListManagedJobTemplatesResponse = ListManagedJobTemplatesResponse' {}
- newListManagedJobTemplatesResponse :: Int -> ListManagedJobTemplatesResponse
- listManagedJobTemplatesResponse_managedJobTemplates :: Lens' ListManagedJobTemplatesResponse (Maybe [ManagedJobTemplateSummary])
- listManagedJobTemplatesResponse_nextToken :: Lens' ListManagedJobTemplatesResponse (Maybe Text)
- listManagedJobTemplatesResponse_httpStatus :: Lens' ListManagedJobTemplatesResponse Int
Creating a Request
data ListManagedJobTemplates Source #
See: newListManagedJobTemplates smart constructor.
Constructors
| ListManagedJobTemplates' | |
Fields
| |
Instances
newListManagedJobTemplates :: ListManagedJobTemplates Source #
Create a value of ListManagedJobTemplates 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:ListManagedJobTemplates', listManagedJobTemplates_maxResults - Maximum number of entries that can be returned.
ListManagedJobTemplates, listManagedJobTemplates_nextToken - The token to retrieve the next set of results.
ListManagedJobTemplates, listManagedJobTemplates_templateName - An optional parameter for template name. If specified, only the versions
of the managed job templates that have the specified template name will
be returned.
Request Lenses
listManagedJobTemplates_maxResults :: Lens' ListManagedJobTemplates (Maybe Natural) Source #
Maximum number of entries that can be returned.
listManagedJobTemplates_nextToken :: Lens' ListManagedJobTemplates (Maybe Text) Source #
The token to retrieve the next set of results.
listManagedJobTemplates_templateName :: Lens' ListManagedJobTemplates (Maybe Text) Source #
An optional parameter for template name. If specified, only the versions of the managed job templates that have the specified template name will be returned.
Destructuring the Response
data ListManagedJobTemplatesResponse Source #
See: newListManagedJobTemplatesResponse smart constructor.
Constructors
| ListManagedJobTemplatesResponse' | |
Fields
| |
Instances
newListManagedJobTemplatesResponse Source #
Create a value of ListManagedJobTemplatesResponse 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:managedJobTemplates:ListManagedJobTemplatesResponse', listManagedJobTemplatesResponse_managedJobTemplates - A list of managed job templates that are returned.
ListManagedJobTemplates, listManagedJobTemplatesResponse_nextToken - The token to retrieve the next set of results.
$sel:httpStatus:ListManagedJobTemplatesResponse', listManagedJobTemplatesResponse_httpStatus - The response's http status code.
Response Lenses
listManagedJobTemplatesResponse_managedJobTemplates :: Lens' ListManagedJobTemplatesResponse (Maybe [ManagedJobTemplateSummary]) Source #
A list of managed job templates that are returned.
listManagedJobTemplatesResponse_nextToken :: Lens' ListManagedJobTemplatesResponse (Maybe Text) Source #
The token to retrieve the next set of results.
listManagedJobTemplatesResponse_httpStatus :: Lens' ListManagedJobTemplatesResponse Int Source #
The response's http status code.