| 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.Chime.RedactRoomMessage
Description
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.
Constructors
| RedactRoomMessage' | |
Instances
Arguments
| :: 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:
RedactRoomMessage, redactRoomMessage_accountId - The Amazon Chime account ID.
RedactRoomMessage, redactRoomMessage_roomId - The room ID.
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.
Constructors
| RedactRoomMessageResponse' | |
Fields
| |
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.