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 the membership details for the specified room in an Amazon Chime Enterprise account, such as the members' IDs, email addresses, and names.
Synopsis
- data ListRoomMemberships = ListRoomMemberships' {}
- newListRoomMemberships :: Text -> Text -> ListRoomMemberships
- listRoomMemberships_nextToken :: Lens' ListRoomMemberships (Maybe Text)
- listRoomMemberships_maxResults :: Lens' ListRoomMemberships (Maybe Natural)
- listRoomMemberships_accountId :: Lens' ListRoomMemberships Text
- listRoomMemberships_roomId :: Lens' ListRoomMemberships Text
- data ListRoomMembershipsResponse = ListRoomMembershipsResponse' {}
- newListRoomMembershipsResponse :: Int -> ListRoomMembershipsResponse
- listRoomMembershipsResponse_nextToken :: Lens' ListRoomMembershipsResponse (Maybe Text)
- listRoomMembershipsResponse_roomMemberships :: Lens' ListRoomMembershipsResponse (Maybe [RoomMembership])
- listRoomMembershipsResponse_httpStatus :: Lens' ListRoomMembershipsResponse Int
Creating a Request
data ListRoomMemberships Source #
See: newListRoomMemberships
smart constructor.
Instances
newListRoomMemberships Source #
:: Text | |
-> Text | |
-> ListRoomMemberships |
Create a value of ListRoomMemberships
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:ListRoomMemberships'
, listRoomMemberships_nextToken
- The token to use to retrieve the next page of results.
$sel:maxResults:ListRoomMemberships'
, listRoomMemberships_maxResults
- The maximum number of results to return in a single call.
$sel:accountId:ListRoomMemberships'
, listRoomMemberships_accountId
- The Amazon Chime account ID.
$sel:roomId:ListRoomMemberships'
, listRoomMemberships_roomId
- The room ID.
Request Lenses
listRoomMemberships_nextToken :: Lens' ListRoomMemberships (Maybe Text) Source #
The token to use to retrieve the next page of results.
listRoomMemberships_maxResults :: Lens' ListRoomMemberships (Maybe Natural) Source #
The maximum number of results to return in a single call.
listRoomMemberships_accountId :: Lens' ListRoomMemberships Text Source #
The Amazon Chime account ID.
listRoomMemberships_roomId :: Lens' ListRoomMemberships Text Source #
The room ID.
Destructuring the Response
data ListRoomMembershipsResponse Source #
See: newListRoomMembershipsResponse
smart constructor.
ListRoomMembershipsResponse' | |
|
Instances
newListRoomMembershipsResponse Source #
Create a value of ListRoomMembershipsResponse
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:ListRoomMemberships'
, listRoomMembershipsResponse_nextToken
- The token to use to retrieve the next page of results.
$sel:roomMemberships:ListRoomMembershipsResponse'
, listRoomMembershipsResponse_roomMemberships
- The room membership details.
$sel:httpStatus:ListRoomMembershipsResponse'
, listRoomMembershipsResponse_httpStatus
- The response's http status code.
Response Lenses
listRoomMembershipsResponse_nextToken :: Lens' ListRoomMembershipsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
listRoomMembershipsResponse_roomMemberships :: Lens' ListRoomMembershipsResponse (Maybe [RoomMembership]) Source #
The room membership details.
listRoomMembershipsResponse_httpStatus :: Lens' ListRoomMembershipsResponse Int Source #
The response's http status code.