| 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 |
Amazonka.IoTThingsGraph.SearchSystemTemplates
Description
Searches for summary information about systems in the user's account. You can filter by the ID of a workflow to return only systems that use the specified workflow.
This operation returns paginated results.
Synopsis
- data SearchSystemTemplates = SearchSystemTemplates' {}
- newSearchSystemTemplates :: SearchSystemTemplates
- searchSystemTemplates_filters :: Lens' SearchSystemTemplates (Maybe [SystemTemplateFilter])
- searchSystemTemplates_nextToken :: Lens' SearchSystemTemplates (Maybe Text)
- searchSystemTemplates_maxResults :: Lens' SearchSystemTemplates (Maybe Natural)
- data SearchSystemTemplatesResponse = SearchSystemTemplatesResponse' {}
- newSearchSystemTemplatesResponse :: Int -> SearchSystemTemplatesResponse
- searchSystemTemplatesResponse_nextToken :: Lens' SearchSystemTemplatesResponse (Maybe Text)
- searchSystemTemplatesResponse_summaries :: Lens' SearchSystemTemplatesResponse (Maybe [SystemTemplateSummary])
- searchSystemTemplatesResponse_httpStatus :: Lens' SearchSystemTemplatesResponse Int
Creating a Request
data SearchSystemTemplates Source #
See: newSearchSystemTemplates smart constructor.
Constructors
| SearchSystemTemplates' | |
Fields
| |
Instances
newSearchSystemTemplates :: SearchSystemTemplates Source #
Create a value of SearchSystemTemplates 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:filters:SearchSystemTemplates', searchSystemTemplates_filters - An array of filters that limit the result set. The only valid filter is
FLOW_TEMPLATE_ID.
$sel:nextToken:SearchSystemTemplates', searchSystemTemplates_nextToken - The string that specifies the next page of results. Use this when
you're paginating results.
$sel:maxResults:SearchSystemTemplates', searchSystemTemplates_maxResults - The maximum number of results to return in the response.
Request Lenses
searchSystemTemplates_filters :: Lens' SearchSystemTemplates (Maybe [SystemTemplateFilter]) Source #
An array of filters that limit the result set. The only valid filter is
FLOW_TEMPLATE_ID.
searchSystemTemplates_nextToken :: Lens' SearchSystemTemplates (Maybe Text) Source #
The string that specifies the next page of results. Use this when you're paginating results.
searchSystemTemplates_maxResults :: Lens' SearchSystemTemplates (Maybe Natural) Source #
The maximum number of results to return in the response.
Destructuring the Response
data SearchSystemTemplatesResponse Source #
See: newSearchSystemTemplatesResponse smart constructor.
Constructors
| SearchSystemTemplatesResponse' | |
Fields
| |
Instances
newSearchSystemTemplatesResponse Source #
Create a value of SearchSystemTemplatesResponse 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:SearchSystemTemplates', searchSystemTemplatesResponse_nextToken - The string to specify as nextToken when you request the next page of
results.
$sel:summaries:SearchSystemTemplatesResponse', searchSystemTemplatesResponse_summaries - An array of objects that contain summary information about each system
deployment in the result set.
$sel:httpStatus:SearchSystemTemplatesResponse', searchSystemTemplatesResponse_httpStatus - The response's http status code.
Response Lenses
searchSystemTemplatesResponse_nextToken :: Lens' SearchSystemTemplatesResponse (Maybe Text) Source #
The string to specify as nextToken when you request the next page of
results.
searchSystemTemplatesResponse_summaries :: Lens' SearchSystemTemplatesResponse (Maybe [SystemTemplateSummary]) Source #
An array of objects that contain summary information about each system deployment in the result set.
searchSystemTemplatesResponse_httpStatus :: Lens' SearchSystemTemplatesResponse Int Source #
The response's http status code.