libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.DeleteChannelMessage

Description

Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage.

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 DeleteChannelMessage Source #

See: newDeleteChannelMessage smart constructor.

Constructors

DeleteChannelMessage' 

Fields

Instances

Instances details
Eq DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Read DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Show DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Generic DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Associated Types

type Rep DeleteChannelMessage :: Type -> Type #

NFData DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Methods

rnf :: DeleteChannelMessage -> () #

Hashable DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

AWSRequest DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Associated Types

type AWSResponse DeleteChannelMessage #

ToHeaders DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

ToPath DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

ToQuery DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

type Rep DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

type Rep DeleteChannelMessage = D1 ('MetaData "DeleteChannelMessage" "Amazonka.Chime.DeleteChannelMessage" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "DeleteChannelMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

newDeleteChannelMessage Source #

Create a value of DeleteChannelMessage 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:DeleteChannelMessage', deleteChannelMessage_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

$sel:channelArn:DeleteChannelMessage', deleteChannelMessage_channelArn - The ARN of the channel.

$sel:messageId:DeleteChannelMessage', deleteChannelMessage_messageId - The ID of the message being deleted.

Request Lenses

deleteChannelMessage_chimeBearer :: Lens' DeleteChannelMessage (Maybe Text) Source #

The AppInstanceUserArn of the user that makes the API call.

deleteChannelMessage_messageId :: Lens' DeleteChannelMessage Text Source #

The ID of the message being deleted.

Destructuring the Response

data DeleteChannelMessageResponse Source #

See: newDeleteChannelMessageResponse smart constructor.

Instances

Instances details
Eq DeleteChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Read DeleteChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Show DeleteChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Generic DeleteChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

Associated Types

type Rep DeleteChannelMessageResponse :: Type -> Type #

NFData DeleteChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

type Rep DeleteChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.DeleteChannelMessage

type Rep DeleteChannelMessageResponse = D1 ('MetaData "DeleteChannelMessageResponse" "Amazonka.Chime.DeleteChannelMessage" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "DeleteChannelMessageResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteChannelMessageResponse :: DeleteChannelMessageResponse Source #

Create a value of DeleteChannelMessageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.