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 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.
Instances
newRedactConversationMessage Source #
:: 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:
$sel:accountId:RedactConversationMessage'
, redactConversationMessage_accountId
- The Amazon Chime account ID.
$sel:conversationId:RedactConversationMessage'
, redactConversationMessage_conversationId
- The conversation ID.
$sel:messageId: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.
RedactConversationMessageResponse' | |
|
Instances
Eq RedactConversationMessageResponse Source # | |
Read RedactConversationMessageResponse Source # | |
Show RedactConversationMessageResponse Source # | |
Generic RedactConversationMessageResponse Source # | |
NFData RedactConversationMessageResponse Source # | |
Defined in Amazonka.Chime.RedactConversationMessage rnf :: RedactConversationMessageResponse -> () # | |
type Rep RedactConversationMessageResponse Source # | |
Defined in Amazonka.Chime.RedactConversationMessage type Rep RedactConversationMessageResponse = D1 ('MetaData "RedactConversationMessageResponse" "Amazonka.Chime.RedactConversationMessage" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "RedactConversationMessageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRedactConversationMessageResponse Source #
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.