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.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
Eq RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Read RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Show RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Generic RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Associated Types

type Rep RedactChannelMessage :: Type -> Type #

NFData RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Methods

rnf :: RedactChannelMessage -> () #

Hashable RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

ToJSON RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

AWSRequest RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Associated Types

type AWSResponse 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

type Rep RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

type Rep RedactChannelMessage = D1 ('MetaData "RedactChannelMessage" "Amazonka.Chime.RedactChannelMessage" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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))))
type AWSResponse RedactChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

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.

$sel:channelArn:RedactChannelMessage', redactChannelMessage_channelArn - The ARN of the channel containing the messages that you want to redact.

$sel:messageId: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
Eq RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Read RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Show RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Generic RedactChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.RedactChannelMessage

Associated Types

type Rep RedactChannelMessageResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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:

$sel:channelArn:RedactChannelMessage', redactChannelMessageResponse_channelArn - The ARN of the channel containing the messages that you want to redact.

$sel:messageId: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.