| 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.Connect.ListQuickConnects
Description
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_maxResults :: Lens' ListQuickConnects (Maybe Natural)
- listQuickConnects_nextToken :: Lens' ListQuickConnects (Maybe Text)
- listQuickConnects_quickConnectTypes :: Lens' ListQuickConnects (Maybe [QuickConnectType])
- listQuickConnects_instanceId :: Lens' ListQuickConnects Text
- data ListQuickConnectsResponse = ListQuickConnectsResponse' {}
- newListQuickConnectsResponse :: Int -> ListQuickConnectsResponse
- listQuickConnectsResponse_nextToken :: Lens' ListQuickConnectsResponse (Maybe Text)
- listQuickConnectsResponse_quickConnectSummaryList :: Lens' ListQuickConnectsResponse (Maybe [QuickConnectSummary])
- listQuickConnectsResponse_httpStatus :: Lens' ListQuickConnectsResponse Int
Creating a Request
data ListQuickConnects Source #
See: newListQuickConnects smart constructor.
Constructors
| ListQuickConnects' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListQuickConnects |
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:maxResults:ListQuickConnects', listQuickConnects_maxResults - The maximum number of results to return per page. The default MaxResult
size is 100.
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: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).
ListQuickConnects, listQuickConnects_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listQuickConnects_maxResults :: Lens' ListQuickConnects (Maybe Natural) Source #
The maximum number of results to return per page. The default MaxResult size is 100.
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_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_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.
Constructors
| ListQuickConnectsResponse' | |
Fields
| |
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:
ListQuickConnects, listQuickConnectsResponse_nextToken - If there are additional results, this is the token for the next set of
results.
$sel:quickConnectSummaryList:ListQuickConnectsResponse', listQuickConnectsResponse_quickConnectSummaryList - Information about the quick connects.
$sel:httpStatus:ListQuickConnectsResponse', listQuickConnectsResponse_httpStatus - The response's http status code.
Response Lenses
listQuickConnectsResponse_nextToken :: Lens' ListQuickConnectsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listQuickConnectsResponse_quickConnectSummaryList :: Lens' ListQuickConnectsResponse (Maybe [QuickConnectSummary]) Source #
Information about the quick connects.
listQuickConnectsResponse_httpStatus :: Lens' ListQuickConnectsResponse Int Source #
The response's http status code.