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 |
Provides information about the flows for the specified Amazon Connect instance.
You can also create and update flows using the Amazon Connect Flow language.
For more information about flows, see Flows in the Amazon Connect Administrator Guide.
This operation returns paginated results.
Synopsis
- data ListContactFlows = ListContactFlows' {}
- newListContactFlows :: Text -> ListContactFlows
- listContactFlows_contactFlowTypes :: Lens' ListContactFlows (Maybe [ContactFlowType])
- listContactFlows_maxResults :: Lens' ListContactFlows (Maybe Natural)
- listContactFlows_nextToken :: Lens' ListContactFlows (Maybe Text)
- listContactFlows_instanceId :: Lens' ListContactFlows Text
- data ListContactFlowsResponse = ListContactFlowsResponse' {}
- newListContactFlowsResponse :: Int -> ListContactFlowsResponse
- listContactFlowsResponse_contactFlowSummaryList :: Lens' ListContactFlowsResponse (Maybe [ContactFlowSummary])
- listContactFlowsResponse_nextToken :: Lens' ListContactFlowsResponse (Maybe Text)
- listContactFlowsResponse_httpStatus :: Lens' ListContactFlowsResponse Int
Creating a Request
data ListContactFlows Source #
See: newListContactFlows
smart constructor.
ListContactFlows' | |
|
Instances
Create a value of ListContactFlows
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:contactFlowTypes:ListContactFlows'
, listContactFlows_contactFlowTypes
- The type of flow.
$sel:maxResults:ListContactFlows'
, listContactFlows_maxResults
- The maximum number of results to return per page. The default MaxResult
size is 100.
ListContactFlows
, listContactFlows_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.
ListContactFlows
, listContactFlows_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listContactFlows_contactFlowTypes :: Lens' ListContactFlows (Maybe [ContactFlowType]) Source #
The type of flow.
listContactFlows_maxResults :: Lens' ListContactFlows (Maybe Natural) Source #
The maximum number of results to return per page. The default MaxResult size is 100.
listContactFlows_nextToken :: Lens' ListContactFlows (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.
listContactFlows_instanceId :: Lens' ListContactFlows Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListContactFlowsResponse Source #
See: newListContactFlowsResponse
smart constructor.
ListContactFlowsResponse' | |
|
Instances
newListContactFlowsResponse Source #
Create a value of ListContactFlowsResponse
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:contactFlowSummaryList:ListContactFlowsResponse'
, listContactFlowsResponse_contactFlowSummaryList
- Information about the flows.
ListContactFlows
, listContactFlowsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListContactFlowsResponse'
, listContactFlowsResponse_httpStatus
- The response's http status code.
Response Lenses
listContactFlowsResponse_contactFlowSummaryList :: Lens' ListContactFlowsResponse (Maybe [ContactFlowSummary]) Source #
Information about the flows.
listContactFlowsResponse_nextToken :: Lens' ListContactFlowsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listContactFlowsResponse_httpStatus :: Lens' ListContactFlowsResponse Int Source #
The response's http status code.