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 |
The details of the time when a user last read messages in a channel.
The x-amz-chime-bearer
request header is mandatory. Use the
AppInstanceUserArn
of the user that makes the API call as the value in
the header.
Synopsis
- data UpdateChannelReadMarker = UpdateChannelReadMarker' {
- channelArn :: Text
- chimeBearer :: Text
- newUpdateChannelReadMarker :: Text -> Text -> UpdateChannelReadMarker
- updateChannelReadMarker_channelArn :: Lens' UpdateChannelReadMarker Text
- updateChannelReadMarker_chimeBearer :: Lens' UpdateChannelReadMarker Text
- data UpdateChannelReadMarkerResponse = UpdateChannelReadMarkerResponse' {
- channelArn :: Maybe Text
- httpStatus :: Int
- newUpdateChannelReadMarkerResponse :: Int -> UpdateChannelReadMarkerResponse
- updateChannelReadMarkerResponse_channelArn :: Lens' UpdateChannelReadMarkerResponse (Maybe Text)
- updateChannelReadMarkerResponse_httpStatus :: Lens' UpdateChannelReadMarkerResponse Int
Creating a Request
data UpdateChannelReadMarker Source #
See: newUpdateChannelReadMarker
smart constructor.
UpdateChannelReadMarker' | |
|
Instances
newUpdateChannelReadMarker Source #
:: Text | |
-> Text | |
-> UpdateChannelReadMarker |
Create a value of UpdateChannelReadMarker
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:channelArn:UpdateChannelReadMarker'
, updateChannelReadMarker_channelArn
- The ARN of the channel.
$sel:chimeBearer:UpdateChannelReadMarker'
, updateChannelReadMarker_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
Request Lenses
updateChannelReadMarker_channelArn :: Lens' UpdateChannelReadMarker Text Source #
The ARN of the channel.
updateChannelReadMarker_chimeBearer :: Lens' UpdateChannelReadMarker Text Source #
The AppInstanceUserArn
of the user that makes the API call.
Destructuring the Response
data UpdateChannelReadMarkerResponse Source #
See: newUpdateChannelReadMarkerResponse
smart constructor.
UpdateChannelReadMarkerResponse' | |
|
Instances
Eq UpdateChannelReadMarkerResponse Source # | |
Read UpdateChannelReadMarkerResponse Source # | |
Show UpdateChannelReadMarkerResponse Source # | |
Generic UpdateChannelReadMarkerResponse Source # | |
NFData UpdateChannelReadMarkerResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.UpdateChannelReadMarker rnf :: UpdateChannelReadMarkerResponse -> () # | |
type Rep UpdateChannelReadMarkerResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.UpdateChannelReadMarker type Rep UpdateChannelReadMarkerResponse = D1 ('MetaData "UpdateChannelReadMarkerResponse" "Amazonka.ChimeSDKMessaging.UpdateChannelReadMarker" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "UpdateChannelReadMarkerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateChannelReadMarkerResponse Source #
Create a value of UpdateChannelReadMarkerResponse
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:channelArn:UpdateChannelReadMarker'
, updateChannelReadMarkerResponse_channelArn
- The ARN of the channel.
$sel:httpStatus:UpdateChannelReadMarkerResponse'
, updateChannelReadMarkerResponse_httpStatus
- The response's http status code.
Response Lenses
updateChannelReadMarkerResponse_channelArn :: Lens' UpdateChannelReadMarkerResponse (Maybe Text) Source #
The ARN of the channel.
updateChannelReadMarkerResponse_httpStatus :: Lens' UpdateChannelReadMarkerResponse Int Source #
The response's http status code.