| 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.Omics.ListWorkflows
Description
Retrieves a list of workflows.
This operation returns paginated results.
Synopsis
- data ListWorkflows = ListWorkflows' {
- maxResults :: Maybe Natural
- name :: Maybe Text
- startingToken :: Maybe Text
- type' :: Maybe WorkflowType
- newListWorkflows :: ListWorkflows
- listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural)
- listWorkflows_name :: Lens' ListWorkflows (Maybe Text)
- listWorkflows_startingToken :: Lens' ListWorkflows (Maybe Text)
- listWorkflows_type :: Lens' ListWorkflows (Maybe WorkflowType)
- data ListWorkflowsResponse = ListWorkflowsResponse' {
- items :: Maybe [WorkflowListItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListWorkflowsResponse :: Int -> ListWorkflowsResponse
- listWorkflowsResponse_items :: Lens' ListWorkflowsResponse (Maybe [WorkflowListItem])
- listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text)
- listWorkflowsResponse_httpStatus :: Lens' ListWorkflowsResponse Int
Creating a Request
data ListWorkflows Source #
See: newListWorkflows smart constructor.
Constructors
| ListWorkflows' | |
Fields
| |
Instances
newListWorkflows :: ListWorkflows Source #
Create a value of ListWorkflows 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:ListWorkflows', listWorkflows_maxResults - The maximum number of workflows to return in one page of results.
ListWorkflows, listWorkflows_name - The workflows' name.
$sel:startingToken:ListWorkflows', listWorkflows_startingToken - Specify the pagination token from a previous request to retrieve the
next page of results.
ListWorkflows, listWorkflows_type - The workflows' type.
Request Lenses
listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural) Source #
The maximum number of workflows to return in one page of results.
listWorkflows_name :: Lens' ListWorkflows (Maybe Text) Source #
The workflows' name.
listWorkflows_startingToken :: Lens' ListWorkflows (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
listWorkflows_type :: Lens' ListWorkflows (Maybe WorkflowType) Source #
The workflows' type.
Destructuring the Response
data ListWorkflowsResponse Source #
See: newListWorkflowsResponse smart constructor.
Constructors
| ListWorkflowsResponse' | |
Fields
| |
Instances
newListWorkflowsResponse Source #
Create a value of ListWorkflowsResponse 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:items:ListWorkflowsResponse', listWorkflowsResponse_items - The workflows' items.
$sel:nextToken:ListWorkflowsResponse', listWorkflowsResponse_nextToken - A pagination token that's included if more results are available.
$sel:httpStatus:ListWorkflowsResponse', listWorkflowsResponse_httpStatus - The response's http status code.
Response Lenses
listWorkflowsResponse_items :: Lens' ListWorkflowsResponse (Maybe [WorkflowListItem]) Source #
The workflows' items.
listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listWorkflowsResponse_httpStatus :: Lens' ListWorkflowsResponse Int Source #
The response's http status code.