| 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.RedactConversationMessage
Description
Redacts the specified message from the specified Amazon Chime conversation.
Synopsis
- data RedactConversationMessage = RedactConversationMessage' {}
- newRedactConversationMessage :: Text -> Text -> Text -> RedactConversationMessage
- redactConversationMessage_accountId :: Lens' RedactConversationMessage Text
- redactConversationMessage_conversationId :: Lens' RedactConversationMessage Text
- redactConversationMessage_messageId :: Lens' RedactConversationMessage Text
- data RedactConversationMessageResponse = RedactConversationMessageResponse' {
- httpStatus :: Int
- newRedactConversationMessageResponse :: Int -> RedactConversationMessageResponse
- redactConversationMessageResponse_httpStatus :: Lens' RedactConversationMessageResponse Int
Creating a Request
data RedactConversationMessage Source #
See: newRedactConversationMessage smart constructor.
Constructors
| RedactConversationMessage' | |
Instances
newRedactConversationMessage Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> RedactConversationMessage |
Create a value of RedactConversationMessage 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:
RedactConversationMessage, redactConversationMessage_accountId - The Amazon Chime account ID.
$sel:conversationId:RedactConversationMessage', redactConversationMessage_conversationId - The conversation ID.
RedactConversationMessage, redactConversationMessage_messageId - The message ID.
Request Lenses
redactConversationMessage_accountId :: Lens' RedactConversationMessage Text Source #
The Amazon Chime account ID.
redactConversationMessage_conversationId :: Lens' RedactConversationMessage Text Source #
The conversation ID.
redactConversationMessage_messageId :: Lens' RedactConversationMessage Text Source #
The message ID.
Destructuring the Response
data RedactConversationMessageResponse Source #
See: newRedactConversationMessageResponse smart constructor.
Constructors
| RedactConversationMessageResponse' | |
Fields
| |
Instances
newRedactConversationMessageResponse Source #
Arguments
| :: Int | |
| -> RedactConversationMessageResponse |
Create a value of RedactConversationMessageResponse 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:RedactConversationMessageResponse', redactConversationMessageResponse_httpStatus - The response's http status code.
Response Lenses
redactConversationMessageResponse_httpStatus :: Lens' RedactConversationMessageResponse Int Source #
The response's http status code.