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 quick connects for the specified Amazon Connect instance.
This operation returns paginated results.
Synopsis
- data ListQuickConnects = ListQuickConnects' {}
- newListQuickConnects :: Text -> ListQuickConnects
- listQuickConnects_quickConnectTypes :: Lens' ListQuickConnects (Maybe [QuickConnectType])
- listQuickConnects_nextToken :: Lens' ListQuickConnects (Maybe Text)
- listQuickConnects_maxResults :: Lens' ListQuickConnects (Maybe Natural)
- listQuickConnects_instanceId :: Lens' ListQuickConnects Text
- data ListQuickConnectsResponse = ListQuickConnectsResponse' {}
- newListQuickConnectsResponse :: Int -> ListQuickConnectsResponse
- listQuickConnectsResponse_quickConnectSummaryList :: Lens' ListQuickConnectsResponse (Maybe [QuickConnectSummary])
- listQuickConnectsResponse_nextToken :: Lens' ListQuickConnectsResponse (Maybe Text)
- listQuickConnectsResponse_httpStatus :: Lens' ListQuickConnectsResponse Int
Creating a Request
data ListQuickConnects Source #
See: newListQuickConnects
smart constructor.
ListQuickConnects' | |
|
Instances
Create a value of ListQuickConnects
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:quickConnectTypes:ListQuickConnects'
, listQuickConnects_quickConnectTypes
- The type of quick connect. In the Amazon Connect console, when you
create a quick connect, you are prompted to assign one of the following
types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
$sel:nextToken:ListQuickConnects'
, listQuickConnects_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:ListQuickConnects'
, listQuickConnects_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListQuickConnects'
, listQuickConnects_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listQuickConnects_quickConnectTypes :: Lens' ListQuickConnects (Maybe [QuickConnectType]) Source #
The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
listQuickConnects_nextToken :: Lens' ListQuickConnects (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.
listQuickConnects_maxResults :: Lens' ListQuickConnects (Maybe Natural) Source #
The maximum number of results to return per page.
listQuickConnects_instanceId :: Lens' ListQuickConnects Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListQuickConnectsResponse Source #
See: newListQuickConnectsResponse
smart constructor.
ListQuickConnectsResponse' | |
|
Instances
newListQuickConnectsResponse Source #
Create a value of ListQuickConnectsResponse
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:quickConnectSummaryList:ListQuickConnectsResponse'
, listQuickConnectsResponse_quickConnectSummaryList
- Information about the quick connects.
$sel:nextToken:ListQuickConnects'
, listQuickConnectsResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListQuickConnectsResponse'
, listQuickConnectsResponse_httpStatus
- The response's http status code.
Response Lenses
listQuickConnectsResponse_quickConnectSummaryList :: Lens' ListQuickConnectsResponse (Maybe [QuickConnectSummary]) Source #
Information about the quick connects.
listQuickConnectsResponse_nextToken :: Lens' ListQuickConnectsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listQuickConnectsResponse_httpStatus :: Lens' ListQuickConnectsResponse Int Source #
The response's http status code.