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 |
Lists names of workflows created in the account.
Synopsis
- data ListWorkflows = ListWorkflows' {}
- newListWorkflows :: ListWorkflows
- listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text)
- listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural)
- data ListWorkflowsResponse = ListWorkflowsResponse' {}
- newListWorkflowsResponse :: Int -> ListWorkflowsResponse
- listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text)
- listWorkflowsResponse_workflows :: Lens' ListWorkflowsResponse (Maybe (NonEmpty Text))
- listWorkflowsResponse_httpStatus :: Lens' ListWorkflowsResponse Int
Creating a Request
data ListWorkflows Source #
See: newListWorkflows
smart constructor.
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:nextToken:ListWorkflows'
, listWorkflows_nextToken
- A continuation token, if this is a continuation request.
$sel:maxResults:ListWorkflows'
, listWorkflows_maxResults
- The maximum size of a list to return.
Request Lenses
listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text) Source #
A continuation token, if this is a continuation request.
listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural) Source #
The maximum size of a list to return.
Destructuring the Response
data ListWorkflowsResponse Source #
See: newListWorkflowsResponse
smart constructor.
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:nextToken:ListWorkflows'
, listWorkflowsResponse_nextToken
- A continuation token, if not all workflow names have been returned.
$sel:workflows:ListWorkflowsResponse'
, listWorkflowsResponse_workflows
- List of names of workflows in the account.
$sel:httpStatus:ListWorkflowsResponse'
, listWorkflowsResponse_httpStatus
- The response's http status code.
Response Lenses
listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text) Source #
A continuation token, if not all workflow names have been returned.
listWorkflowsResponse_workflows :: Lens' ListWorkflowsResponse (Maybe (NonEmpty Text)) Source #
List of names of workflows in the account.
listWorkflowsResponse_httpStatus :: Lens' ListWorkflowsResponse Int Source #
The response's http status code.