| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Nimble.ListStudioMembers
Description
Get all users in a given studio membership.
ListStudioMembers only returns admin members.
This operation returns paginated results.
Synopsis
- data ListStudioMembers = ListStudioMembers' {}
- newListStudioMembers :: Text -> ListStudioMembers
- listStudioMembers_maxResults :: Lens' ListStudioMembers (Maybe Natural)
- listStudioMembers_nextToken :: Lens' ListStudioMembers (Maybe Text)
- 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.
Constructors
| ListStudioMembers' | |
Instances
Arguments
| :: Text | |
| -> ListStudioMembers |
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:maxResults:ListStudioMembers', listStudioMembers_maxResults - The max number of results to return in the response.
ListStudioMembers, listStudioMembers_nextToken - The token for the next set of results, or null if there are no more
results.
ListStudioMembers, listStudioMembers_studioId - The studio ID.
Request Lenses
listStudioMembers_maxResults :: Lens' ListStudioMembers (Maybe Natural) Source #
The max number of results to return in the response.
listStudioMembers_nextToken :: Lens' ListStudioMembers (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listStudioMembers_studioId :: Lens' ListStudioMembers Text Source #
The studio ID.
Destructuring the Response
data ListStudioMembersResponse Source #
See: newListStudioMembersResponse smart constructor.
Constructors
| ListStudioMembersResponse' | |
Fields
| |
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 admin members.
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 admin 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.