| 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.Transfer.ListWorkflows
Description
Lists all of your workflows.
This operation returns paginated results.
Synopsis
- data ListWorkflows = ListWorkflows' {}
- newListWorkflows :: ListWorkflows
- listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural)
- listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text)
- 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.
Constructors
| ListWorkflows' | |
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 - Specifies the maximum number of workflows to return.
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.
Request Lenses
listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural) Source #
Specifies the maximum number of workflows to return.
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.
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:
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.