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 |
This API is in preview release for Amazon Connect and is subject to change.
Searches routing profiles in an Amazon Connect instance, with optional filtering.
This operation returns paginated results.
Synopsis
- data SearchRoutingProfiles = SearchRoutingProfiles' {}
- newSearchRoutingProfiles :: Text -> SearchRoutingProfiles
- searchRoutingProfiles_maxResults :: Lens' SearchRoutingProfiles (Maybe Natural)
- searchRoutingProfiles_nextToken :: Lens' SearchRoutingProfiles (Maybe Text)
- searchRoutingProfiles_searchCriteria :: Lens' SearchRoutingProfiles (Maybe RoutingProfileSearchCriteria)
- searchRoutingProfiles_searchFilter :: Lens' SearchRoutingProfiles (Maybe RoutingProfileSearchFilter)
- searchRoutingProfiles_instanceId :: Lens' SearchRoutingProfiles Text
- data SearchRoutingProfilesResponse = SearchRoutingProfilesResponse' {}
- newSearchRoutingProfilesResponse :: Int -> SearchRoutingProfilesResponse
- searchRoutingProfilesResponse_approximateTotalCount :: Lens' SearchRoutingProfilesResponse (Maybe Integer)
- searchRoutingProfilesResponse_nextToken :: Lens' SearchRoutingProfilesResponse (Maybe Text)
- searchRoutingProfilesResponse_routingProfiles :: Lens' SearchRoutingProfilesResponse (Maybe [RoutingProfile])
- searchRoutingProfilesResponse_httpStatus :: Lens' SearchRoutingProfilesResponse Int
Creating a Request
data SearchRoutingProfiles Source #
See: newSearchRoutingProfiles
smart constructor.
SearchRoutingProfiles' | |
|
Instances
newSearchRoutingProfiles Source #
Create a value of SearchRoutingProfiles
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:SearchRoutingProfiles'
, searchRoutingProfiles_maxResults
- The maximum number of results to return per page.
SearchRoutingProfiles
, searchRoutingProfiles_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:searchCriteria:SearchRoutingProfiles'
, searchRoutingProfiles_searchCriteria
- The search criteria to be used to return routing profiles.
The name
and description
fields support "contains" queries with a
minimum of 2 characters and a maximum of 25 characters. Any queries with
character lengths outside of this range will throw invalid results.
$sel:searchFilter:SearchRoutingProfiles'
, searchRoutingProfiles_searchFilter
- Filters to be applied to search results.
SearchRoutingProfiles
, searchRoutingProfiles_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
searchRoutingProfiles_maxResults :: Lens' SearchRoutingProfiles (Maybe Natural) Source #
The maximum number of results to return per page.
searchRoutingProfiles_nextToken :: Lens' SearchRoutingProfiles (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.
searchRoutingProfiles_searchCriteria :: Lens' SearchRoutingProfiles (Maybe RoutingProfileSearchCriteria) Source #
The search criteria to be used to return routing profiles.
The name
and description
fields support "contains" queries with a
minimum of 2 characters and a maximum of 25 characters. Any queries with
character lengths outside of this range will throw invalid results.
searchRoutingProfiles_searchFilter :: Lens' SearchRoutingProfiles (Maybe RoutingProfileSearchFilter) Source #
Filters to be applied to search results.
searchRoutingProfiles_instanceId :: Lens' SearchRoutingProfiles Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data SearchRoutingProfilesResponse Source #
See: newSearchRoutingProfilesResponse
smart constructor.
SearchRoutingProfilesResponse' | |
|
Instances
newSearchRoutingProfilesResponse Source #
Create a value of SearchRoutingProfilesResponse
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:approximateTotalCount:SearchRoutingProfilesResponse'
, searchRoutingProfilesResponse_approximateTotalCount
- The total number of routing profiles which matched your search query.
SearchRoutingProfiles
, searchRoutingProfilesResponse_nextToken
- If there are additional results, this is the token for the next set of
results.
SearchRoutingProfilesResponse
, searchRoutingProfilesResponse_routingProfiles
- Information about the routing profiles.
$sel:httpStatus:SearchRoutingProfilesResponse'
, searchRoutingProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
searchRoutingProfilesResponse_approximateTotalCount :: Lens' SearchRoutingProfilesResponse (Maybe Integer) Source #
The total number of routing profiles which matched your search query.
searchRoutingProfilesResponse_nextToken :: Lens' SearchRoutingProfilesResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of results.
searchRoutingProfilesResponse_routingProfiles :: Lens' SearchRoutingProfilesResponse (Maybe [RoutingProfile]) Source #
Information about the routing profiles.
searchRoutingProfilesResponse_httpStatus :: Lens' SearchRoutingProfilesResponse Int Source #
The response's http status code.