Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Searches skill groups and lists the ones that meet a set of filter and sort criteria.
This operation returns paginated results.
- searchSkillGroups :: SearchSkillGroups
- data SearchSkillGroups
- ssgFilters :: Lens' SearchSkillGroups [Filter]
- ssgSortCriteria :: Lens' SearchSkillGroups [Sort]
- ssgNextToken :: Lens' SearchSkillGroups (Maybe Text)
- ssgMaxResults :: Lens' SearchSkillGroups (Maybe Natural)
- searchSkillGroupsResponse :: Int -> SearchSkillGroupsResponse
- data SearchSkillGroupsResponse
- ssgrsNextToken :: Lens' SearchSkillGroupsResponse (Maybe Text)
- ssgrsSkillGroups :: Lens' SearchSkillGroupsResponse [SkillGroupData]
- ssgrsTotalCount :: Lens' SearchSkillGroupsResponse (Maybe Int)
- ssgrsResponseStatus :: Lens' SearchSkillGroupsResponse Int
Creating a Request
searchSkillGroups :: SearchSkillGroups Source #
Creates a value of SearchSkillGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssgFilters
- The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName.ssgSortCriteria
- The sort order to use in listing the specified set of skill groups. The supported sort key is SkillGroupName.ssgNextToken
- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified byMaxResults
. Required.ssgMaxResults
- The maximum number of results to include in the response. If more results exist than the specifiedMaxResults
value, a token is included in the response so that the remaining results can be retrieved.
data SearchSkillGroups Source #
See: searchSkillGroups
smart constructor.
Request Lenses
ssgFilters :: Lens' SearchSkillGroups [Filter] Source #
The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName.
ssgSortCriteria :: Lens' SearchSkillGroups [Sort] Source #
The sort order to use in listing the specified set of skill groups. The supported sort key is SkillGroupName.
ssgNextToken :: Lens' SearchSkillGroups (Maybe Text) Source #
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults
. Required.
ssgMaxResults :: Lens' SearchSkillGroups (Maybe Natural) Source #
The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
Destructuring the Response
searchSkillGroupsResponse Source #
Creates a value of SearchSkillGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssgrsNextToken
- The token returned to indicate that there is more data available.ssgrsSkillGroups
- The skill groups that meet the filter criteria, in sort order.ssgrsTotalCount
- The total number of skill groups returned.ssgrsResponseStatus
- -- | The response status code.
data SearchSkillGroupsResponse Source #
See: searchSkillGroupsResponse
smart constructor.
Response Lenses
ssgrsNextToken :: Lens' SearchSkillGroupsResponse (Maybe Text) Source #
The token returned to indicate that there is more data available.
ssgrsSkillGroups :: Lens' SearchSkillGroupsResponse [SkillGroupData] Source #
The skill groups that meet the filter criteria, in sort order.
ssgrsTotalCount :: Lens' SearchSkillGroupsResponse (Maybe Int) Source #
The total number of skill groups returned.
ssgrsResponseStatus :: Lens' SearchSkillGroupsResponse Int Source #
- - | The response status code.