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 |
Get all users in a given studio membership.
This operation returns paginated results.
Synopsis
- data ListStudioMembers = ListStudioMembers' {}
- newListStudioMembers :: Text -> ListStudioMembers
- listStudioMembers_nextToken :: Lens' ListStudioMembers (Maybe Text)
- listStudioMembers_maxResults :: Lens' ListStudioMembers (Maybe Natural)
- listStudioMembers_studioId :: Lens' ListStudioMembers Text
- data ListStudioMembersResponse = ListStudioMembersResponse' {
- members :: Maybe [StudioMembership]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListStudioMembersResponse :: Int -> ListStudioMembersResponse
- listStudioMembersResponse_members :: Lens' ListStudioMembersResponse (Maybe [StudioMembership])
- listStudioMembersResponse_nextToken :: Lens' ListStudioMembersResponse (Maybe Text)
- listStudioMembersResponse_httpStatus :: Lens' ListStudioMembersResponse Int
Creating a Request
data ListStudioMembers Source #
See: newListStudioMembers
smart constructor.
Instances
Create a value of ListStudioMembers
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:ListStudioMembers'
, listStudioMembers_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListStudioMembers'
, listStudioMembers_maxResults
- The maximum number of results to be returned per request.
$sel:studioId:ListStudioMembers'
, listStudioMembers_studioId
- The studio ID.
Request Lenses
listStudioMembers_nextToken :: Lens' ListStudioMembers (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStudioMembers_maxResults :: Lens' ListStudioMembers (Maybe Natural) Source #
The maximum number of results to be returned per request.
listStudioMembers_studioId :: Lens' ListStudioMembers Text Source #
The studio ID.
Destructuring the Response
data ListStudioMembersResponse Source #
See: newListStudioMembersResponse
smart constructor.
ListStudioMembersResponse' | |
|
Instances
newListStudioMembersResponse Source #
Create a value of ListStudioMembersResponse
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:members:ListStudioMembersResponse'
, listStudioMembersResponse_members
- A list of members.
$sel:nextToken:ListStudioMembers'
, listStudioMembersResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListStudioMembersResponse'
, listStudioMembersResponse_httpStatus
- The response's http status code.
Response Lenses
listStudioMembersResponse_members :: Lens' ListStudioMembersResponse (Maybe [StudioMembership]) Source #
A list of members.
listStudioMembersResponse_nextToken :: Lens' ListStudioMembersResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStudioMembersResponse_httpStatus :: Lens' ListStudioMembersResponse Int Source #
The response's http status code.