| 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.CustomerProfiles.ListWorkflows
Description
Query to list all workflows.
Synopsis
- data ListWorkflows = ListWorkflows' {}
- newListWorkflows :: Text -> ListWorkflows
- listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural)
- listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text)
- listWorkflows_queryEndDate :: Lens' ListWorkflows (Maybe UTCTime)
- listWorkflows_queryStartDate :: Lens' ListWorkflows (Maybe UTCTime)
- listWorkflows_status :: Lens' ListWorkflows (Maybe Status)
- listWorkflows_workflowType :: Lens' ListWorkflows (Maybe WorkflowType)
- listWorkflows_domainName :: Lens' ListWorkflows Text
- data ListWorkflowsResponse = ListWorkflowsResponse' {
- items :: Maybe [ListWorkflowsItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListWorkflowsResponse :: Int -> ListWorkflowsResponse
- listWorkflowsResponse_items :: Lens' ListWorkflowsResponse (Maybe [ListWorkflowsItem])
- 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
Arguments
| :: Text | |
| -> ListWorkflows |
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 results to return per page.
ListWorkflows, listWorkflows_nextToken - The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
$sel:queryEndDate:ListWorkflows', listWorkflows_queryEndDate - Retrieve workflows ended after timestamp.
$sel:queryStartDate:ListWorkflows', listWorkflows_queryStartDate - Retrieve workflows started after timestamp.
ListWorkflows, listWorkflows_status - Status of workflow execution.
ListWorkflows, listWorkflows_workflowType - The type of workflow. The only supported value is APPFLOW_INTEGRATION.
ListWorkflows, listWorkflows_domainName - The unique name of the domain.
Request Lenses
listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural) Source #
The maximum number of results to return per page.
listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listWorkflows_queryEndDate :: Lens' ListWorkflows (Maybe UTCTime) Source #
Retrieve workflows ended after timestamp.
listWorkflows_queryStartDate :: Lens' ListWorkflows (Maybe UTCTime) Source #
Retrieve workflows started after timestamp.
listWorkflows_status :: Lens' ListWorkflows (Maybe Status) Source #
Status of workflow execution.
listWorkflows_workflowType :: Lens' ListWorkflows (Maybe WorkflowType) Source #
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
listWorkflows_domainName :: Lens' ListWorkflows Text Source #
The unique name of the domain.
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 - List containing workflow details.
ListWorkflows, listWorkflowsResponse_nextToken - If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListWorkflowsResponse', listWorkflowsResponse_httpStatus - The response's http status code.
Response Lenses
listWorkflowsResponse_items :: Lens' ListWorkflowsResponse (Maybe [ListWorkflowsItem]) Source #
List containing workflow details.
listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listWorkflowsResponse_httpStatus :: Lens' ListWorkflowsResponse Int Source #
The response's http status code.