amazonka-chime-2.0: Amazon Chime SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Chime.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
ToJSON UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

ToHeaders UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

ToPath UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

ToQuery UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

AWSRequest UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

Associated Types

type AWSResponse UpdateChannelMessage #

Generic UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

Associated Types

type Rep UpdateChannelMessage :: Type -> Type #

Show UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

NFData UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

Methods

rnf :: UpdateChannelMessage -> () #

Eq UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

Hashable UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

type AWSResponse UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

type Rep UpdateChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

type Rep UpdateChannelMessage = D1 ('MetaData "UpdateChannelMessage" "Amazonka.Chime.UpdateChannelMessage" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "UpdateChannelMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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)))))

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:chimeBearer:UpdateChannelMessage', updateChannelMessage_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

UpdateChannelMessage, updateChannelMessage_content - The content of the message being updated.

UpdateChannelMessage, updateChannelMessage_metadata - The metadata of the message being updated.

UpdateChannelMessage, updateChannelMessage_channelArn - The ARN of the channel.

UpdateChannelMessage, updateChannelMessage_messageId - The ID string of the message being updated.

Request Lenses

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

The AppInstanceUserArn of the user that makes the API call.

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.

Destructuring the Response

data UpdateChannelMessageResponse Source #

See: newUpdateChannelMessageResponse smart constructor.

Constructors

UpdateChannelMessageResponse' 

Fields

Instances

Instances details
Generic UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

Associated Types

type Rep UpdateChannelMessageResponse :: Type -> Type #

Read UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

Show UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

NFData UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

Eq UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

type Rep UpdateChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateChannelMessage

type Rep UpdateChannelMessageResponse = D1 ('MetaData "UpdateChannelMessageResponse" "Amazonka.Chime.UpdateChannelMessage" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "UpdateChannelMessageResponse'" 'PrefixI 'True) (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:

UpdateChannelMessage, updateChannelMessageResponse_channelArn - The ARN of the channel.

UpdateChannelMessage, updateChannelMessageResponse_messageId - The ID string of the message being updated.

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

Response Lenses