libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Description

Updates the content of a message.

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

Creating a Request

data UpdateChannelMessage Source #

See: newUpdateChannelMessage smart constructor.

Constructors

UpdateChannelMessage' 

Fields

Instances

Instances details
Eq UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Show UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Generic UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Associated Types

type Rep UpdateChannelMessage :: Type -> Type #

NFData UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Methods

rnf :: UpdateChannelMessage -> () #

Hashable UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

ToJSON UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

AWSRequest UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Associated Types

type AWSResponse UpdateChannelMessage #

ToHeaders UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

ToPath UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

ToQuery UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

type Rep UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

type Rep UpdateChannelMessage = D1 ('MetaData "UpdateChannelMessage" "Amazonka.ChimeSDKMessaging.UpdateChannelMessage" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "UpdateChannelMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

newUpdateChannelMessage Source #

Create a value of UpdateChannelMessage 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:content:UpdateChannelMessage', updateChannelMessage_content - The content of the message being updated.

$sel:metadata:UpdateChannelMessage', updateChannelMessage_metadata - The metadata of the message being updated.

$sel:channelArn:UpdateChannelMessage', updateChannelMessage_channelArn - The ARN of the channel.

$sel:messageId:UpdateChannelMessage', updateChannelMessage_messageId - The ID string of the message being updated.

$sel:chimeBearer:UpdateChannelMessage', updateChannelMessage_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

Request Lenses

updateChannelMessage_content :: Lens' UpdateChannelMessage (Maybe Text) Source #

The content of the message being updated.

updateChannelMessage_metadata :: Lens' UpdateChannelMessage (Maybe Text) Source #

The metadata of the message being updated.

updateChannelMessage_messageId :: Lens' UpdateChannelMessage Text Source #

The ID string of the message being updated.

updateChannelMessage_chimeBearer :: Lens' UpdateChannelMessage Text Source #

The AppInstanceUserArn of the user that makes the API call.

Destructuring the Response

data UpdateChannelMessageResponse Source #

See: newUpdateChannelMessageResponse smart constructor.

Constructors

UpdateChannelMessageResponse' 

Fields

Instances

Instances details
Eq UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Read UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Show UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Generic UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

Associated Types

type Rep UpdateChannelMessageResponse :: Type -> Type #

NFData UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

type Rep UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.UpdateChannelMessage

type Rep UpdateChannelMessageResponse = D1 ('MetaData "UpdateChannelMessageResponse" "Amazonka.ChimeSDKMessaging.UpdateChannelMessage" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "UpdateChannelMessageResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessageStatusStructure)) :*: S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateChannelMessageResponse Source #

Create a value of UpdateChannelMessageResponse 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:status:UpdateChannelMessageResponse', updateChannelMessageResponse_status - The status of the message update.

$sel:channelArn:UpdateChannelMessage', updateChannelMessageResponse_channelArn - The ARN of the channel.

$sel:messageId:UpdateChannelMessage', updateChannelMessageResponse_messageId - The ID string of the message being updated.

$sel:httpStatus:UpdateChannelMessageResponse', updateChannelMessageResponse_httpStatus - The response's http status code.

Response Lenses