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 |
Lists all enabled skills in a specific skill group.
This operation returns paginated results.
Synopsis
- listSkills :: ListSkills
- data ListSkills
- lsSkillGroupARN :: Lens' ListSkills (Maybe Text)
- lsNextToken :: Lens' ListSkills (Maybe Text)
- lsMaxResults :: Lens' ListSkills (Maybe Natural)
- listSkillsResponse :: Int -> ListSkillsResponse
- data ListSkillsResponse
- lsrsNextToken :: Lens' ListSkillsResponse (Maybe Text)
- lsrsSkillSummaries :: Lens' ListSkillsResponse [SkillSummary]
- lsrsResponseStatus :: Lens' ListSkillsResponse Int
Creating a Request
listSkills :: ListSkills Source #
Creates a value of ListSkills
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsSkillGroupARN
- The ARN of the skill group for which to list enabled skills. Required.lsNextToken
- 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.lsMaxResults
- 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. Required.
data ListSkills Source #
See: listSkills
smart constructor.
Instances
Request Lenses
lsSkillGroupARN :: Lens' ListSkills (Maybe Text) Source #
The ARN of the skill group for which to list enabled skills. Required.
lsNextToken :: Lens' ListSkills (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.
lsMaxResults :: Lens' ListSkills (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. Required.
Destructuring the Response
Creates a value of ListSkillsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsrsNextToken
- The token returned to indicate that there is more data available.lsrsSkillSummaries
- The list of enabled skills requested. Required.lsrsResponseStatus
- -- | The response status code.
data ListSkillsResponse Source #
See: listSkillsResponse
smart constructor.
Instances
Response Lenses
lsrsNextToken :: Lens' ListSkillsResponse (Maybe Text) Source #
The token returned to indicate that there is more data available.
lsrsSkillSummaries :: Lens' ListSkillsResponse [SkillSummary] Source #
The list of enabled skills requested. Required.
lsrsResponseStatus :: Lens' ListSkillsResponse Int Source #
- - | The response status code.