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 |
Searches for summary information about workflows.
This operation returns paginated results.
Synopsis
- data SearchFlowTemplates = SearchFlowTemplates' {}
- newSearchFlowTemplates :: SearchFlowTemplates
- searchFlowTemplates_filters :: Lens' SearchFlowTemplates (Maybe [FlowTemplateFilter])
- searchFlowTemplates_nextToken :: Lens' SearchFlowTemplates (Maybe Text)
- searchFlowTemplates_maxResults :: Lens' SearchFlowTemplates (Maybe Natural)
- data SearchFlowTemplatesResponse = SearchFlowTemplatesResponse' {
- nextToken :: Maybe Text
- summaries :: Maybe [FlowTemplateSummary]
- httpStatus :: Int
- newSearchFlowTemplatesResponse :: Int -> SearchFlowTemplatesResponse
- searchFlowTemplatesResponse_nextToken :: Lens' SearchFlowTemplatesResponse (Maybe Text)
- searchFlowTemplatesResponse_summaries :: Lens' SearchFlowTemplatesResponse (Maybe [FlowTemplateSummary])
- searchFlowTemplatesResponse_httpStatus :: Lens' SearchFlowTemplatesResponse Int
Creating a Request
data SearchFlowTemplates Source #
See: newSearchFlowTemplates
smart constructor.
SearchFlowTemplates' | |
|
Instances
newSearchFlowTemplates :: SearchFlowTemplates Source #
Create a value of SearchFlowTemplates
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:SearchFlowTemplates'
, searchFlowTemplates_filters
- An array of objects that limit the result set. The only valid filter is
DEVICE_MODEL_ID
.
$sel:nextToken:SearchFlowTemplates'
, searchFlowTemplates_nextToken
- The string that specifies the next page of results. Use this when
you're paginating results.
$sel:maxResults:SearchFlowTemplates'
, searchFlowTemplates_maxResults
- The maximum number of results to return in the response.
Request Lenses
searchFlowTemplates_filters :: Lens' SearchFlowTemplates (Maybe [FlowTemplateFilter]) Source #
An array of objects that limit the result set. The only valid filter is
DEVICE_MODEL_ID
.
searchFlowTemplates_nextToken :: Lens' SearchFlowTemplates (Maybe Text) Source #
The string that specifies the next page of results. Use this when you're paginating results.
searchFlowTemplates_maxResults :: Lens' SearchFlowTemplates (Maybe Natural) Source #
The maximum number of results to return in the response.
Destructuring the Response
data SearchFlowTemplatesResponse Source #
See: newSearchFlowTemplatesResponse
smart constructor.
SearchFlowTemplatesResponse' | |
|
Instances
newSearchFlowTemplatesResponse Source #
Create a value of SearchFlowTemplatesResponse
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:SearchFlowTemplates'
, searchFlowTemplatesResponse_nextToken
- The string to specify as nextToken
when you request the next page of
results.
$sel:summaries:SearchFlowTemplatesResponse'
, searchFlowTemplatesResponse_summaries
- An array of objects that contain summary information about each workflow
in the result set.
$sel:httpStatus:SearchFlowTemplatesResponse'
, searchFlowTemplatesResponse_httpStatus
- The response's http status code.
Response Lenses
searchFlowTemplatesResponse_nextToken :: Lens' SearchFlowTemplatesResponse (Maybe Text) Source #
The string to specify as nextToken
when you request the next page of
results.
searchFlowTemplatesResponse_summaries :: Lens' SearchFlowTemplatesResponse (Maybe [FlowTemplateSummary]) Source #
An array of objects that contain summary information about each workflow in the result set.
searchFlowTemplatesResponse_httpStatus :: Lens' SearchFlowTemplatesResponse Int Source #
The response's http status code.