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

Description

Gets the full details of a channel 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 GetChannelMessage Source #

See: newGetChannelMessage smart constructor.

Constructors

GetChannelMessage' 

Fields

Instances

Instances details
Eq GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Read GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Show GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Generic GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Associated Types

type Rep GetChannelMessage :: Type -> Type #

NFData GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Methods

rnf :: GetChannelMessage -> () #

Hashable GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

AWSRequest GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Associated Types

type AWSResponse GetChannelMessage #

ToHeaders GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

ToPath GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

ToQuery GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

type Rep GetChannelMessage Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

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

Defined in Amazonka.Chime.GetChannelMessage

newGetChannelMessage Source #

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

$sel:channelArn:GetChannelMessage', getChannelMessage_channelArn - The ARN of the channel.

$sel:messageId:GetChannelMessage', getChannelMessage_messageId - The ID of the message.

Request Lenses

getChannelMessage_chimeBearer :: Lens' GetChannelMessage (Maybe Text) Source #

The AppInstanceUserArn of the user that makes the API call.

Destructuring the Response

data GetChannelMessageResponse Source #

See: newGetChannelMessageResponse smart constructor.

Constructors

GetChannelMessageResponse' 

Fields

Instances

Instances details
Eq GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Show GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Generic GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

Associated Types

type Rep GetChannelMessageResponse :: Type -> Type #

NFData GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

type Rep GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.Chime.GetChannelMessage

type Rep GetChannelMessageResponse = D1 ('MetaData "GetChannelMessageResponse" "Amazonka.Chime.GetChannelMessage" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "GetChannelMessageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessage)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetChannelMessageResponse Source #

Create a value of GetChannelMessageResponse 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:channelMessage:GetChannelMessageResponse', getChannelMessageResponse_channelMessage - The details of and content in the message.

$sel:httpStatus:GetChannelMessageResponse', getChannelMessageResponse_httpStatus - The response's http status code.

Response Lenses