| 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.ListRoutingProfiles
Description
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' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceId :: Text
- newListRoutingProfiles :: Text -> ListRoutingProfiles
- listRoutingProfiles_maxResults :: Lens' ListRoutingProfiles (Maybe Natural)
- listRoutingProfiles_nextToken :: Lens' ListRoutingProfiles (Maybe Text)
- listRoutingProfiles_instanceId :: Lens' ListRoutingProfiles Text
- data ListRoutingProfilesResponse = ListRoutingProfilesResponse' {}
- newListRoutingProfilesResponse :: Int -> ListRoutingProfilesResponse
- listRoutingProfilesResponse_nextToken :: Lens' ListRoutingProfilesResponse (Maybe Text)
- listRoutingProfilesResponse_routingProfileSummaryList :: Lens' ListRoutingProfilesResponse (Maybe [RoutingProfileSummary])
- listRoutingProfilesResponse_httpStatus :: Lens' ListRoutingProfilesResponse Int
Creating a Request
data ListRoutingProfiles Source #
See: newListRoutingProfiles smart constructor.
Constructors
| ListRoutingProfiles' | |
Fields
| |
Instances
newListRoutingProfiles Source #
Arguments
| :: Text | |
| -> ListRoutingProfiles |
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:maxResults:ListRoutingProfiles', listRoutingProfiles_maxResults - The maximum number of results to return per page. The default MaxResult
size is 100.
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.
ListRoutingProfiles, listRoutingProfiles_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
listRoutingProfiles_maxResults :: Lens' ListRoutingProfiles (Maybe Natural) Source #
The maximum number of results to return per page. The default MaxResult size is 100.
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_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.
Constructors
| ListRoutingProfilesResponse' | |
Fields
| |
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:
ListRoutingProfiles, listRoutingProfilesResponse_nextToken - If there are additional results, this is the token for the next set of
results.
$sel:routingProfileSummaryList:ListRoutingProfilesResponse', listRoutingProfilesResponse_routingProfileSummaryList - Information about the routing profiles.
$sel:httpStatus:ListRoutingProfilesResponse', listRoutingProfilesResponse_httpStatus - The response's http status code.
Response Lenses
listRoutingProfilesResponse_nextToken :: Lens' ListRoutingProfilesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
listRoutingProfilesResponse_routingProfileSummaryList :: Lens' ListRoutingProfilesResponse (Maybe [RoutingProfileSummary]) Source #
Information about the routing profiles.
listRoutingProfilesResponse_httpStatus :: Lens' ListRoutingProfilesResponse Int Source #
The response's http status code.