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 |
Removes a member from a chat room in an Amazon Chime Enterprise account.
Synopsis
- data DeleteRoomMembership = DeleteRoomMembership' {}
- newDeleteRoomMembership :: Text -> Text -> Text -> DeleteRoomMembership
- deleteRoomMembership_accountId :: Lens' DeleteRoomMembership Text
- deleteRoomMembership_roomId :: Lens' DeleteRoomMembership Text
- deleteRoomMembership_memberId :: Lens' DeleteRoomMembership Text
- data DeleteRoomMembershipResponse = DeleteRoomMembershipResponse' {
- newDeleteRoomMembershipResponse :: DeleteRoomMembershipResponse
Creating a Request
data DeleteRoomMembership Source #
See: newDeleteRoomMembership
smart constructor.
Instances
newDeleteRoomMembership Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteRoomMembership |
Create a value of DeleteRoomMembership
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:accountId:DeleteRoomMembership'
, deleteRoomMembership_accountId
- The Amazon Chime account ID.
$sel:roomId:DeleteRoomMembership'
, deleteRoomMembership_roomId
- The room ID.
$sel:memberId:DeleteRoomMembership'
, deleteRoomMembership_memberId
- The member ID (user ID or bot ID).
Request Lenses
deleteRoomMembership_accountId :: Lens' DeleteRoomMembership Text Source #
The Amazon Chime account ID.
deleteRoomMembership_roomId :: Lens' DeleteRoomMembership Text Source #
The room ID.
deleteRoomMembership_memberId :: Lens' DeleteRoomMembership Text Source #
The member ID (user ID or bot ID).
Destructuring the Response
data DeleteRoomMembershipResponse Source #
See: newDeleteRoomMembershipResponse
smart constructor.
Instances
newDeleteRoomMembershipResponse :: DeleteRoomMembershipResponse Source #
Create a value of DeleteRoomMembershipResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.