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 |
Provides information about the contact flows for the specified Amazon Connect instance.
You can also create and update contact flows using the Amazon Connect Flow language.
For more information about contact flows, see Contact 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_nextToken :: Lens' ListContactFlows (Maybe Text)
- listContactFlows_maxResults :: Lens' ListContactFlows (Maybe Natural)
- 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 contact flow.
$sel:nextToken: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.
$sel:maxResults:ListContactFlows'
, listContactFlows_maxResults
- The maximum number of results to return per page.
$sel:instanceId: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 contact flow.
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_maxResults :: Lens' ListContactFlows (Maybe Natural) Source #
The maximum number of results to return per page.
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 contact flows.
$sel:nextToken: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 contact 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.