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 all of your workflows.
Synopsis
- data ListWorkflows = ListWorkflows' {}
- newListWorkflows :: ListWorkflows
- listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text)
- listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural)
- data ListWorkflowsResponse = ListWorkflowsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- workflows :: [ListedWorkflow]
- newListWorkflowsResponse :: Int -> ListWorkflowsResponse
- listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text)
- listWorkflowsResponse_httpStatus :: Lens' ListWorkflowsResponse Int
- listWorkflowsResponse_workflows :: Lens' ListWorkflowsResponse [ListedWorkflow]
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
- ListWorkflows
returns the NextToken
parameter in the output. You can
then pass the NextToken
parameter in a subsequent command to continue
listing additional workflows.
$sel:maxResults:ListWorkflows'
, listWorkflows_maxResults
- Specifies the maximum number of workflows to return.
Request Lenses
listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text) Source #
ListWorkflows
returns the NextToken
parameter in the output. You can
then pass the NextToken
parameter in a subsequent command to continue
listing additional workflows.
listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural) Source #
Specifies the maximum number of workflows to return.
Destructuring the Response
data ListWorkflowsResponse Source #
See: newListWorkflowsResponse
smart constructor.
ListWorkflowsResponse' | |
|
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
- ListWorkflows
returns the NextToken
parameter in the output. You can
then pass the NextToken
parameter in a subsequent command to continue
listing additional workflows.
$sel:httpStatus:ListWorkflowsResponse'
, listWorkflowsResponse_httpStatus
- The response's http status code.
$sel:workflows:ListWorkflowsResponse'
, listWorkflowsResponse_workflows
- Returns the Arn
, WorkflowId
, and Description
for each workflow.
Response Lenses
listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text) Source #
ListWorkflows
returns the NextToken
parameter in the output. You can
then pass the NextToken
parameter in a subsequent command to continue
listing additional workflows.
listWorkflowsResponse_httpStatus :: Lens' ListWorkflowsResponse Int Source #
The response's http status code.
listWorkflowsResponse_workflows :: Lens' ListWorkflowsResponse [ListedWorkflow] Source #
Returns the Arn
, WorkflowId
, and Description
for each workflow.