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 summary information about the routing profiles for the specified Amazon Connect instance.
For more information about routing profiles, see Routing Profiles and Create a Routing Profile in the Amazon Connect Administrator Guide.
This operation returns paginated results.
Synopsis
- data ListRoutingProfiles = ListRoutingProfiles' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- newListRoutingProfiles :: Text -> ListRoutingProfiles
- listRoutingProfiles_nextToken :: Lens' ListRoutingProfiles (Maybe Text)
- listRoutingProfiles_maxResults :: Lens' ListRoutingProfiles (Maybe Natural)
- listRoutingProfiles_instanceId :: Lens' ListRoutingProfiles Text
- data ListRoutingProfilesResponse = ListRoutingProfilesResponse' {}
- newListRoutingProfilesResponse :: Int -> ListRoutingProfilesResponse
- listRoutingProfilesResponse_routingProfileSummaryList :: Lens' ListRoutingProfilesResponse (Maybe [RoutingProfileSummary])
- listRoutingProfilesResponse_nextToken :: Lens' ListRoutingProfilesResponse (Maybe Text)
- listRoutingProfilesResponse_httpStatus :: Lens' ListRoutingProfilesResponse Int
Creating a Request
data ListRoutingProfiles Source #
See: newListRoutingProfiles
smart constructor.
ListRoutingProfiles' | |
|
Instances
newListRoutingProfiles Source #
Create a value of ListRoutingProfiles
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:nextToken:ListRoutingProfiles'
, listRoutingProfiles_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:ListRoutingProfiles'
, listRoutingProfiles_maxResults
- The maximum number of results to return per page.
$sel:instanceId:ListRoutingProfiles'
, listRoutingProfiles_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listRoutingProfiles_nextToken :: Lens' ListRoutingProfiles (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.
listRoutingProfiles_maxResults :: Lens' ListRoutingProfiles (Maybe Natural) Source #
The maximum number of results to return per page.
listRoutingProfiles_instanceId :: Lens' ListRoutingProfiles Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data ListRoutingProfilesResponse Source #
See: newListRoutingProfilesResponse
smart constructor.
ListRoutingProfilesResponse' | |
|
Instances
newListRoutingProfilesResponse Source #
Create a value of ListRoutingProfilesResponse
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:routingProfileSummaryList:ListRoutingProfilesResponse'
, listRoutingProfilesResponse_routingProfileSummaryList
- Information about the routing profiles.
$sel:nextToken:ListRoutingProfiles'
, listRoutingProfilesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
$sel:httpStatus:ListRoutingProfilesResponse'
, listRoutingProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
listRoutingProfilesResponse_routingProfileSummaryList :: Lens' ListRoutingProfilesResponse (Maybe [RoutingProfileSummary]) Source #
Information about the routing profiles.
listRoutingProfilesResponse_nextToken :: Lens' ListRoutingProfilesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listRoutingProfilesResponse_httpStatus :: Lens' ListRoutingProfilesResponse Int Source #
The response's http status code.