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 |
Redacts the specified message from the specified Amazon Chime channel.
Synopsis
- data RedactRoomMessage = RedactRoomMessage' {}
- newRedactRoomMessage :: Text -> Text -> Text -> RedactRoomMessage
- redactRoomMessage_accountId :: Lens' RedactRoomMessage Text
- redactRoomMessage_roomId :: Lens' RedactRoomMessage Text
- redactRoomMessage_messageId :: Lens' RedactRoomMessage Text
- data RedactRoomMessageResponse = RedactRoomMessageResponse' {
- httpStatus :: Int
- newRedactRoomMessageResponse :: Int -> RedactRoomMessageResponse
- redactRoomMessageResponse_httpStatus :: Lens' RedactRoomMessageResponse Int
Creating a Request
data RedactRoomMessage Source #
See: newRedactRoomMessage
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> RedactRoomMessage |
Create a value of RedactRoomMessage
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:RedactRoomMessage'
, redactRoomMessage_accountId
- The Amazon Chime account ID.
$sel:roomId:RedactRoomMessage'
, redactRoomMessage_roomId
- The room ID.
$sel:messageId:RedactRoomMessage'
, redactRoomMessage_messageId
- The message ID.
Request Lenses
redactRoomMessage_accountId :: Lens' RedactRoomMessage Text Source #
The Amazon Chime account ID.
redactRoomMessage_roomId :: Lens' RedactRoomMessage Text Source #
The room ID.
redactRoomMessage_messageId :: Lens' RedactRoomMessage Text Source #
The message ID.
Destructuring the Response
data RedactRoomMessageResponse Source #
See: newRedactRoomMessageResponse
smart constructor.
RedactRoomMessageResponse' | |
|
Instances
newRedactRoomMessageResponse Source #
Create a value of RedactRoomMessageResponse
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:httpStatus:RedactRoomMessageResponse'
, redactRoomMessageResponse_httpStatus
- The response's http status code.
Response Lenses
redactRoomMessageResponse_httpStatus :: Lens' RedactRoomMessageResponse Int Source #
The response's http status code.