libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
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.ChimeSDKMessaging.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.ChimeSDKMessaging.GetChannelMessage

Read GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

Show GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

Generic GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

Associated Types

type Rep GetChannelMessage :: Type -> Type #

NFData GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

Methods

rnf :: GetChannelMessage -> () #

Hashable GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

AWSRequest GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

Associated Types

type AWSResponse GetChannelMessage #

ToHeaders GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

ToPath GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

ToQuery GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

type Rep GetChannelMessage Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

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

Defined in Amazonka.ChimeSDKMessaging.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:channelArn:GetChannelMessage', getChannelMessage_channelArn - The ARN of the channel.

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

$sel:chimeBearer:GetChannelMessage', getChannelMessage_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

Request Lenses

getChannelMessage_chimeBearer :: Lens' GetChannelMessage 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.ChimeSDKMessaging.GetChannelMessage

Show GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

Generic GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

Associated Types

type Rep GetChannelMessageResponse :: Type -> Type #

NFData GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

type Rep GetChannelMessageResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMessage

type Rep GetChannelMessageResponse = D1 ('MetaData "GetChannelMessageResponse" "Amazonka.ChimeSDKMessaging.GetChannelMessage" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" '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