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.RedactChannelMessage

Description

Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.

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

See: newRedactChannelMessage smart constructor.

Constructors

RedactChannelMessage' 

Fields

Instances

Instances details
ToJSON RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

ToHeaders RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

ToPath RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

ToQuery RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

AWSRequest RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Associated Types

type AWSResponse RedactChannelMessage #

Generic RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Associated Types

type Rep RedactChannelMessage :: Type -> Type #

Read RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Show RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

NFData RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Methods

rnf :: RedactChannelMessage -> () #

Eq RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Hashable RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

type AWSResponse RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

type Rep RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

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

newRedactChannelMessage Source #

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

RedactChannelMessage, redactChannelMessage_channelArn - The ARN of the channel containing the messages that you want to redact.

RedactChannelMessage, redactChannelMessage_messageId - The ID of the message being redacted.

Request Lenses

redactChannelMessage_chimeBearer :: Lens' RedactChannelMessage (Maybe Text) Source #

The AppInstanceUserArn of the user that makes the API call.

redactChannelMessage_channelArn :: Lens' RedactChannelMessage Text Source #

The ARN of the channel containing the messages that you want to redact.

redactChannelMessage_messageId :: Lens' RedactChannelMessage Text Source #

The ID of the message being redacted.

Destructuring the Response

data RedactChannelMessageResponse Source #

See: newRedactChannelMessageResponse smart constructor.

Constructors

RedactChannelMessageResponse' 

Fields

Instances

Instances details
Generic RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Associated Types

type Rep RedactChannelMessageResponse :: Type -> Type #

Read RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Show RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

NFData RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Eq RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

type Rep RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

type Rep RedactChannelMessageResponse = D1 ('MetaData "RedactChannelMessageResponse" "Amazonka.Chime.RedactChannelMessage" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "RedactChannelMessageResponse'" '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))))

newRedactChannelMessageResponse Source #

Create a value of RedactChannelMessageResponse 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:

RedactChannelMessage, redactChannelMessageResponse_channelArn - The ARN of the channel containing the messages that you want to redact.

RedactChannelMessage, redactChannelMessageResponse_messageId - The ID of the message being redacted.

$sel:httpStatus:RedactChannelMessageResponse', redactChannelMessageResponse_httpStatus - The response's http status code.

Response Lenses

redactChannelMessageResponse_channelArn :: Lens' RedactChannelMessageResponse (Maybe Text) Source #

The ARN of the channel containing the messages that you want to redact.