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 team members associated with a project.
This operation returns paginated results.
Synopsis
- data ListTeamMembers = ListTeamMembers' {}
- newListTeamMembers :: Text -> ListTeamMembers
- listTeamMembers_nextToken :: Lens' ListTeamMembers (Maybe Text)
- listTeamMembers_maxResults :: Lens' ListTeamMembers (Maybe Natural)
- listTeamMembers_projectId :: Lens' ListTeamMembers Text
- data ListTeamMembersResponse = ListTeamMembersResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- teamMembers :: [TeamMember]
- newListTeamMembersResponse :: Int -> ListTeamMembersResponse
- listTeamMembersResponse_nextToken :: Lens' ListTeamMembersResponse (Maybe Text)
- listTeamMembersResponse_httpStatus :: Lens' ListTeamMembersResponse Int
- listTeamMembersResponse_teamMembers :: Lens' ListTeamMembersResponse [TeamMember]
Creating a Request
data ListTeamMembers Source #
See: newListTeamMembers
smart constructor.
Instances
Create a value of ListTeamMembers
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:ListTeamMembers'
, listTeamMembers_nextToken
- The continuation token for the next set of results, if the results
cannot be returned in one response.
$sel:maxResults:ListTeamMembers'
, listTeamMembers_maxResults
- The maximum number of team members you want returned in a response.
$sel:projectId:ListTeamMembers'
, listTeamMembers_projectId
- The ID of the project for which you want to list team members.
Request Lenses
listTeamMembers_nextToken :: Lens' ListTeamMembers (Maybe Text) Source #
The continuation token for the next set of results, if the results cannot be returned in one response.
listTeamMembers_maxResults :: Lens' ListTeamMembers (Maybe Natural) Source #
The maximum number of team members you want returned in a response.
listTeamMembers_projectId :: Lens' ListTeamMembers Text Source #
The ID of the project for which you want to list team members.
Destructuring the Response
data ListTeamMembersResponse Source #
See: newListTeamMembersResponse
smart constructor.
ListTeamMembersResponse' | |
|
Instances
newListTeamMembersResponse Source #
Create a value of ListTeamMembersResponse
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:ListTeamMembers'
, listTeamMembersResponse_nextToken
- The continuation token to use when requesting the next set of results,
if there are more results to be returned.
$sel:httpStatus:ListTeamMembersResponse'
, listTeamMembersResponse_httpStatus
- The response's http status code.
$sel:teamMembers:ListTeamMembersResponse'
, listTeamMembersResponse_teamMembers
- A list of team member objects for the project.
Response Lenses
listTeamMembersResponse_nextToken :: Lens' ListTeamMembersResponse (Maybe Text) Source #
The continuation token to use when requesting the next set of results, if there are more results to be returned.
listTeamMembersResponse_httpStatus :: Lens' ListTeamMembersResponse Int Source #
The response's http status code.
listTeamMembersResponse_teamMembers :: Lens' ListTeamMembersResponse [TeamMember] Source #
A list of team member objects for the project.