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 |
Lists all enabled skills in a specific skill group.
This operation returns paginated results.
Synopsis
- data ListSkills = ListSkills' {}
- newListSkills :: ListSkills
- listSkills_skillGroupArn :: Lens' ListSkills (Maybe Text)
- listSkills_skillType :: Lens' ListSkills (Maybe SkillTypeFilter)
- listSkills_nextToken :: Lens' ListSkills (Maybe Text)
- listSkills_enablementType :: Lens' ListSkills (Maybe EnablementTypeFilter)
- listSkills_maxResults :: Lens' ListSkills (Maybe Natural)
- data ListSkillsResponse = ListSkillsResponse' {
- nextToken :: Maybe Text
- skillSummaries :: Maybe [SkillSummary]
- httpStatus :: Int
- newListSkillsResponse :: Int -> ListSkillsResponse
- listSkillsResponse_nextToken :: Lens' ListSkillsResponse (Maybe Text)
- listSkillsResponse_skillSummaries :: Lens' ListSkillsResponse (Maybe [SkillSummary])
- listSkillsResponse_httpStatus :: Lens' ListSkillsResponse Int
Creating a Request
data ListSkills Source #
See: newListSkills
smart constructor.
ListSkills' | |
|
Instances
newListSkills :: ListSkills Source #
Create a value of ListSkills
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:skillGroupArn:ListSkills'
, listSkills_skillGroupArn
- The ARN of the skill group for which to list enabled skills.
$sel:skillType:ListSkills'
, listSkills_skillType
- Whether the skill is publicly available or is a private skill.
$sel:nextToken:ListSkills'
, listSkills_nextToken
- 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
.
$sel:enablementType:ListSkills'
, listSkills_enablementType
- Whether the skill is enabled under the user's account.
$sel:maxResults:ListSkills'
, listSkills_maxResults
- 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.
Request Lenses
listSkills_skillGroupArn :: Lens' ListSkills (Maybe Text) Source #
The ARN of the skill group for which to list enabled skills.
listSkills_skillType :: Lens' ListSkills (Maybe SkillTypeFilter) Source #
Whether the skill is publicly available or is a private skill.
listSkills_nextToken :: 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
.
listSkills_enablementType :: Lens' ListSkills (Maybe EnablementTypeFilter) Source #
Whether the skill is enabled under the user's account.
listSkills_maxResults :: 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.
Destructuring the Response
data ListSkillsResponse Source #
See: newListSkillsResponse
smart constructor.
ListSkillsResponse' | |
|
Instances
newListSkillsResponse Source #
Create a value of ListSkillsResponse
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:ListSkills'
, listSkillsResponse_nextToken
- The token returned to indicate that there is more data available.
$sel:skillSummaries:ListSkillsResponse'
, listSkillsResponse_skillSummaries
- The list of enabled skills requested. Required.
$sel:httpStatus:ListSkillsResponse'
, listSkillsResponse_httpStatus
- The response's http status code.
Response Lenses
listSkillsResponse_nextToken :: Lens' ListSkillsResponse (Maybe Text) Source #
The token returned to indicate that there is more data available.
listSkillsResponse_skillSummaries :: Lens' ListSkillsResponse (Maybe [SkillSummary]) Source #
The list of enabled skills requested. Required.
listSkillsResponse_httpStatus :: Lens' ListSkillsResponse Int Source #
The response's http status code.