| 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.ChimeSDKMessaging.UpdateChannelReadMarker
Description
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' {
- subChannelId :: Maybe Text
- channelArn :: Text
- chimeBearer :: Text
- newUpdateChannelReadMarker :: Text -> Text -> UpdateChannelReadMarker
- updateChannelReadMarker_subChannelId :: Lens' UpdateChannelReadMarker (Maybe Text)
- updateChannelReadMarker_channelArn :: Lens' UpdateChannelReadMarker Text
- updateChannelReadMarker_chimeBearer :: Lens' UpdateChannelReadMarker Text
- data UpdateChannelReadMarkerResponse = UpdateChannelReadMarkerResponse' {
- channelArn :: Maybe Text
- subChannelId :: Maybe Text
- httpStatus :: Int
- newUpdateChannelReadMarkerResponse :: Int -> UpdateChannelReadMarkerResponse
- updateChannelReadMarkerResponse_channelArn :: Lens' UpdateChannelReadMarkerResponse (Maybe Text)
- updateChannelReadMarkerResponse_subChannelId :: Lens' UpdateChannelReadMarkerResponse (Maybe Text)
- updateChannelReadMarkerResponse_httpStatus :: Lens' UpdateChannelReadMarkerResponse Int
Creating a Request
data UpdateChannelReadMarker Source #
See: newUpdateChannelReadMarker smart constructor.
Constructors
| UpdateChannelReadMarker' | |
Fields
| |
Instances
newUpdateChannelReadMarker Source #
Arguments
| :: 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:
UpdateChannelReadMarker, updateChannelReadMarker_subChannelId - The ID of the SubChannel in the request.
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_subChannelId :: Lens' UpdateChannelReadMarker (Maybe Text) Source #
The ID of the SubChannel in the request.
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.
Constructors
| UpdateChannelReadMarkerResponse' | |
Fields
| |
Instances
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:
UpdateChannelReadMarker, updateChannelReadMarkerResponse_channelArn - The ARN of the channel.
UpdateChannelReadMarker, updateChannelReadMarkerResponse_subChannelId - The ID of the SubChannel in the response.
$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_subChannelId :: Lens' UpdateChannelReadMarkerResponse (Maybe Text) Source #
The ID of the SubChannel in the response.
updateChannelReadMarkerResponse_httpStatus :: Lens' UpdateChannelReadMarkerResponse Int Source #
The response's http status code.